Date: Saturday, April 8, 2023 @ 18:49:58 Author: wild Revision: 1442911
archrelease: copy trunk to community-x86_64 Added: appstream-generator/repos/community-x86_64/PKGBUILD (from rev 1442910, appstream-generator/trunk/PKGBUILD) appstream-generator/repos/community-x86_64/undeaD-xml.patch (from rev 1442910, appstream-generator/trunk/undeaD-xml.patch) Deleted: appstream-generator/repos/community-x86_64/PKGBUILD appstream-generator/repos/community-x86_64/undeaD-xml.patch ------------------+ PKGBUILD | 72 +++++++++++++++++++++--------------------- undeaD-xml.patch | 90 ++++++++++++++++++++++++++--------------------------- 2 files changed, 81 insertions(+), 81 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-04-08 18:49:52 UTC (rev 1442910) +++ PKGBUILD 2023-04-08 18:49:58 UTC (rev 1442911) @@ -1,36 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> - -pkgname=appstream-generator -pkgver=0.9.0 -pkgrel=2 -pkgdesc='A fast AppStream metadata generator' -arch=(x86_64) -url='https://github.com/ximion/appstream-generator' -license=(GPL3) -depends=(appstream libarchive librsvg optipng glibd lmdb) -makedepends=(ldc meson ninja mustache-d curl gir-to-d gobject-introspection docbook-xsl) -source=( - https://github.com/ximion/appstream-generator/archive/v$pkgver/$pkgname-$pkgver.tar.gz - "undeaD-1.1.8.tar.gz::https://github.com/dlang/undeaD/archive/refs/tags/v1.1.8.tar.gz" - "undeaD-xml.patch" -) -sha256sums=('7964924feb09348444cb8159fd2c22415f5df61d451d9f769f18d5b606d2cf52' - '36a59b4740b147f4345caa26908f40a97fc7cc67dac6983c226369c59f909e92' - '3075e264251624b8d491d61a07a95ac70a21af8eeabcf5da9493619b3d1eadd2') - -prepare() { - # Patch in undead.xml as std.xml has been removed - patch --directory="$pkgname-$pkgver" --forward --strip=1 --input "$srcdir"/undeaD-xml.patch - cd "$srcdir"/$pkgname-$pkgver - ln -s "$srcdir"/undeaD-1.1.8 -} - -build() { - export LDFLAGS="$(echo -ne $LDFLAGS | sed -e 's/-flto=auto/-flto=full/')" - arch-meson $pkgname-$pkgver build -D download-js=false - meson compile -C build -} - -package() { - meson install -C build --destdir="$pkgdir" -} Copied: appstream-generator/repos/community-x86_64/PKGBUILD (from rev 1442910, appstream-generator/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-04-08 18:49:58 UTC (rev 1442911) @@ -0,0 +1,36 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=appstream-generator +pkgver=0.9.0 +pkgrel=3 +pkgdesc='A fast AppStream metadata generator' +arch=(x86_64) +url='https://github.com/ximion/appstream-generator' +license=(GPL3) +depends=(appstream libarchive librsvg optipng glibd lmdb) +makedepends=(ldc meson ninja mustache-d curl gir-to-d gobject-introspection docbook-xsl) +source=( + https://github.com/ximion/appstream-generator/archive/v$pkgver/$pkgname-$pkgver.tar.gz + "undeaD-1.1.8.tar.gz::https://github.com/dlang/undeaD/archive/refs/tags/v1.1.8.tar.gz" + "undeaD-xml.patch" +) +sha256sums=('7964924feb09348444cb8159fd2c22415f5df61d451d9f769f18d5b606d2cf52' + '36a59b4740b147f4345caa26908f40a97fc7cc67dac6983c226369c59f909e92' + '3075e264251624b8d491d61a07a95ac70a21af8eeabcf5da9493619b3d1eadd2') + +prepare() { + # Patch in undead.xml as std.xml has been removed + patch --directory="$pkgname-$pkgver" --forward --strip=1 --input "$srcdir"/undeaD-xml.patch + cd "$srcdir"/$pkgname-$pkgver + ln -s "$srcdir"/undeaD-1.1.8 +} + +build() { + export LDFLAGS="$(echo -ne $LDFLAGS | sed -e 's/-flto=auto/-flto=full/')" + arch-meson $pkgname-$pkgver build -D download-js=false + meson compile -C build +} + +package() { + meson install -C build --destdir="$pkgdir" +} Deleted: undeaD-xml.patch =================================================================== --- undeaD-xml.patch 2023-04-08 18:49:52 UTC (rev 1442910) +++ undeaD-xml.patch 2023-04-08 18:49:58 UTC (rev 1442911) @@ -1,45 +0,0 @@ -diff --git a/src/asgen/backends/rpmmd/rpmpkgindex.d b/src/asgen/backends/rpmmd/rpmpkgindex.d -index f336919..733e8f1 100644 ---- a/src/asgen/backends/rpmmd/rpmpkgindex.d -+++ b/src/asgen/backends/rpmmd/rpmpkgindex.d -@@ -25,7 +25,7 @@ import std.array : appender, empty; - import std.string : format; - import std.algorithm : canFind, endsWith; - import std.conv : to; --import std.xml; -+import undead.xml; - static import std.file; - - import asgen.logging; -diff --git a/src/asgen/meson.build b/src/asgen/meson.build -index be49dba..d8a5b46 100644 ---- a/src/asgen/meson.build -+++ b/src/asgen/meson.build -@@ -64,6 +64,7 @@ backend_sources = [ - 'backends/ubuntu/ubupkg.d', - 'backends/ubuntu/ubupkgindex.d', - -+ '../../undeaD-1.1.8/src/undead/xml.d', - 'backends/rpmmd/package.d', - 'backends/rpmmd/rpmpkg.d', - 'backends/rpmmd/rpmpkgindex.d', -@@ -76,7 +77,8 @@ asgen_exe = executable('appstream-generator', - [asgen_sources, - backend_sources], - include_directories: [src_dir, -- gir_bind_dir], -+ gir_bind_dir, -+ '../../undeaD-1.1.8/src'], - dependencies: [glibd_dep, - appstream_dep, - ascompose_dep, -@@ -92,7 +94,8 @@ asgen_test_exe = executable('asgen_test', - [asgen_sources, - backend_sources], - include_directories: [src_dir, -- gir_bind_dir], -+ gir_bind_dir, -+ '../../undeaD-1.1.8/src'], - dependencies: [glibd_dep, - appstream_dep, - ascompose_dep, Copied: appstream-generator/repos/community-x86_64/undeaD-xml.patch (from rev 1442910, appstream-generator/trunk/undeaD-xml.patch) =================================================================== --- undeaD-xml.patch (rev 0) +++ undeaD-xml.patch 2023-04-08 18:49:58 UTC (rev 1442911) @@ -0,0 +1,45 @@ +diff --git a/src/asgen/backends/rpmmd/rpmpkgindex.d b/src/asgen/backends/rpmmd/rpmpkgindex.d +index f336919..733e8f1 100644 +--- a/src/asgen/backends/rpmmd/rpmpkgindex.d ++++ b/src/asgen/backends/rpmmd/rpmpkgindex.d +@@ -25,7 +25,7 @@ import std.array : appender, empty; + import std.string : format; + import std.algorithm : canFind, endsWith; + import std.conv : to; +-import std.xml; ++import undead.xml; + static import std.file; + + import asgen.logging; +diff --git a/src/asgen/meson.build b/src/asgen/meson.build +index be49dba..d8a5b46 100644 +--- a/src/asgen/meson.build ++++ b/src/asgen/meson.build +@@ -64,6 +64,7 @@ backend_sources = [ + 'backends/ubuntu/ubupkg.d', + 'backends/ubuntu/ubupkgindex.d', + ++ '../../undeaD-1.1.8/src/undead/xml.d', + 'backends/rpmmd/package.d', + 'backends/rpmmd/rpmpkg.d', + 'backends/rpmmd/rpmpkgindex.d', +@@ -76,7 +77,8 @@ asgen_exe = executable('appstream-generator', + [asgen_sources, + backend_sources], + include_directories: [src_dir, +- gir_bind_dir], ++ gir_bind_dir, ++ '../../undeaD-1.1.8/src'], + dependencies: [glibd_dep, + appstream_dep, + ascompose_dep, +@@ -92,7 +94,8 @@ asgen_test_exe = executable('asgen_test', + [asgen_sources, + backend_sources], + include_directories: [src_dir, +- gir_bind_dir], ++ gir_bind_dir, ++ '../../undeaD-1.1.8/src'], + dependencies: [glibd_dep, + appstream_dep, + ascompose_dep,