[arch-commits] Commit in appstream-generator/trunk (PKGBUILD stack-size.diff)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Apr 16 20:51:16 UTC 2022
Date: Saturday, April 16, 2022 @ 20:51:15
Author: arojas
Revision: 1186733
Update to 0.8.8
Modified:
appstream-generator/trunk/PKGBUILD
Deleted:
appstream-generator/trunk/stack-size.diff
-----------------+
PKGBUILD | 18 ++++--------------
stack-size.diff | 12 ------------
2 files changed, 4 insertions(+), 26 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-16 20:21:44 UTC (rev 1186732)
+++ PKGBUILD 2022-04-16 20:51:15 UTC (rev 1186733)
@@ -1,8 +1,8 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
pkgname=appstream-generator
-pkgver=0.8.7
-pkgrel=3
+pkgver=0.8.8
+pkgrel=1
pkgdesc='A fast AppStream metadata generator'
arch=(x86_64)
url='https://github.com/ximion/appstream-generator'
@@ -10,19 +10,9 @@
depends=(appstream libarchive librsvg optipng glibd lmdb)
makedepends=(ldc meson ninja mustache-d curl gir-to-d gobject-introspection docbook-xsl)
options=(debug)
-source=(https://github.com/ximion/appstream-generator/archive/v$pkgver/$pkgname-$pkgver.tar.gz
- stack-size.diff)
-sha256sums=('0e8432549e55b653ebd971421aac208956ec8e197dc23c5533a6c1932f125793'
- '73f68b4b85611ddabbcac7189266e49af4bc012d4fb610fb6fc87bae57970c2a')
+source=(https://github.com/ximion/appstream-generator/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('3b5d8d24c377d265ff3ae765fd361c943db88c2f7fcfe453d02779718fc40850')
-prepare() {
- cd $pkgname-$pkgver
-
- # Fix crash due to stack exhaustion trying to initialize iconv in a Generator fiber
- # https://github.com/ximion/appstream-generator/issues/101
- patch -Np1 -i ../stack-size.diff
-}
-
build() {
export LDFLAGS="$(echo -ne $LDFLAGS | sed -e 's/-flto=auto/--flto=full/')"
arch-meson $pkgname-$pkgver build -D download-js=false
Deleted: stack-size.diff
===================================================================
--- stack-size.diff 2022-04-16 20:21:44 UTC (rev 1186732)
+++ stack-size.diff 2022-04-16 20:51:15 UTC (rev 1186733)
@@ -1,12 +0,0 @@
-diff -u -r a/src/asgen/zarchive.d a2/src/asgen/zarchive.d
---- a/src/asgen/zarchive.d 2022-02-22 18:16:54.000000000 +0100
-+++ a2/src/asgen/zarchive.d 2022-03-27 20:51:22.390736900 +0200
-@@ -436,7 +436,7 @@
- aentry.data = this.readEntry (ar);
- yield (aentry);
- }
-- });
-+ }, 65536);
-
- return gen;
- }
More information about the arch-commits
mailing list