aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNewbyte <newbie13xd@gmail.com>2021-01-05 19:42:56 +0100
committerRasmus Thomsen <oss@cogitri.dev>2021-01-05 19:27:56 +0000
commitf0df1eee41ae9a204627ad137331fccdef5c0f4e (patch)
tree42ce5303155aae31cc5dc098f83d3630bbeab8cd
parent68a2239e28891cb5b4f233e10d3d7ab9c2cec083 (diff)
community/appstream: upgrade to 0.13.1
-rw-r--r--community/appstream/1109c847b272be6b65ec3d2a4c58e91f0be369fc.patch34
-rw-r--r--community/appstream/APKBUILD10
2 files changed, 4 insertions, 40 deletions
diff --git a/community/appstream/1109c847b272be6b65ec3d2a4c58e91f0be369fc.patch b/community/appstream/1109c847b272be6b65ec3d2a4c58e91f0be369fc.patch
deleted file mode 100644
index cd9712bee48..00000000000
--- a/community/appstream/1109c847b272be6b65ec3d2a4c58e91f0be369fc.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Upstream: Yes
-From 1109c847b272be6b65ec3d2a4c58e91f0be369fc Mon Sep 17 00:00:00 2001
-From: Matthias Klumpp <matthias@tenstral.net>
-Date: Thu, 3 Sep 2020 00:07:48 +0200
-Subject: [PATCH] validator: Don't pass NULL to vprintf, it's not an allowed
- value
-
-The format parameter is listed as non-nullable in the API documentation,
-and crashes were reported indicating that this does cause real-world
-issues. This likely fixes
-https://github.com/ximion/appstream-generator/issues/83
----
- src/as-validator.c | 8 +++++---
- 1 file changed, 5 insertions(+), 3 deletions(-)
-
-diff --git a/src/as-validator.c b/src/as-validator.c
-index 32704b70..53d87f8f 100644
---- a/src/as-validator.c
-+++ b/src/as-validator.c
-@@ -158,9 +158,11 @@ as_validator_add_issue (AsValidator *validator, xmlNode *node, const gchar *tag,
- explanation = tag_data->explanation;
- }
-
-- va_start (args, format);
-- buffer = g_strdup_vprintf (format, args);
-- va_end (args);
-+ if (format != NULL) {
-+ va_start (args, format);
-+ buffer = g_strdup_vprintf (format, args);
-+ va_end (args);
-+ }
-
- issue = as_validator_issue_new ();
- as_validator_issue_set_tag (issue, tag_final);
diff --git a/community/appstream/APKBUILD b/community/appstream/APKBUILD
index de438bc2a47..9b49f6994c1 100644
--- a/community/appstream/APKBUILD
+++ b/community/appstream/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=appstream
-pkgver=0.12.11
-pkgrel=2
+pkgver=0.13.1
+pkgrel=0
pkgdesc="Provides a standard for creating app stores across distributions"
url="https://distributions.freedesktop.org/wiki/AppStream"
arch="all"
@@ -12,8 +12,7 @@ makedepends="meson yaml-dev libxml2-dev glib-dev lmdb-dev gobject-introspection-
triggers="$pkgname.trigger=/usr/share/app-info/*"
install="$pkgname.post-install $pkgname.post-upgrade"
subpackages="$pkgname-dev $pkgname-doc $pkgname-qt $pkgname-lang $pkgname-dbg"
-source="https://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz
- https://github.com/ximion/appstream/commit/1109c847b272be6b65ec3d2a4c58e91f0be369fc.patch"
+source="https://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz"
builddir="$srcdir/AppStream-$pkgver"
build() {
@@ -45,5 +44,4 @@ qt() {
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libAppStreamQt.so.* "$subpkgdir"/usr/lib
}
-sha512sums="6000f4e9f995b2d481374db2409f212da9d48893c4a757cb7287e2731117f50d0ed284dedc0e24e505b3b7c9c9f38dd9a5f855eeb6c7445eb7203e74d4a5f790 AppStream-0.12.11.tar.xz
-5e7dff5eef8e82d61f451250218d85d46611e57e2480621aba178a84f1e143f78d69296b942abb4343b2fb94a917657d1e71f77b62b5a4be750e21c73a2bf6a6 1109c847b272be6b65ec3d2a4c58e91f0be369fc.patch"
+sha512sums="9cf469bf604bbdd63815a4b824f13555eb7a9465dbed9f67b41ee1c2704454efa80f7653733dd23d7f7ce759531b826f821b58a606591e57bc86fe03d7a94a9f AppStream-0.13.1.tar.xz"