From c234fee8d42b09a4633857e272a2c43b49220c50 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 18 Aug 2016 11:07:52 -0500 Subject: [PATCH] one more --- 0035-Make-cache-support-translate-URLs.patch | 26 ++++++++++++++++++++ appstream.spec | 3 ++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 0035-Make-cache-support-translate-URLs.patch diff --git a/0035-Make-cache-support-translate-URLs.patch b/0035-Make-cache-support-translate-URLs.patch new file mode 100644 index 0000000..5aa6ffb --- /dev/null +++ b/0035-Make-cache-support-translate-URLs.patch @@ -0,0 +1,26 @@ +From 79bbbe3e486e49b90a74f6eb8b91864212f882e4 Mon Sep 17 00:00:00 2001 +From: Matthias Klumpp +Date: Thu, 18 Aug 2016 17:57:12 +0200 +Subject: [PATCH 35/35] Make cache support translate URLs + +This should resolve the assertion failure described in +https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1614375 +--- + src/pb/ascache.proto | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/pb/ascache.proto b/src/pb/ascache.proto +index d7fea2b..418d6aa 100644 +--- a/src/pb/ascache.proto ++++ b/src/pb/ascache.proto +@@ -74,6 +74,7 @@ message Url { + FAQ = 3; + HELP = 4; + DONATION = 5; ++ TRANSLATE = 6; + } + + required Type type = 1 [default = UNKNOWN]; +-- +2.7.4 + diff --git a/appstream.spec b/appstream.spec index 94e8539..aaa6c56 100644 --- a/appstream.spec +++ b/appstream.spec @@ -16,6 +16,7 @@ Source0: http://www.freedesktop.org/software/appstream/releases/AppStream-%{vers ## upstream patches Patch5: 0005-Resolve-unit-test-failures-on-arm-and-mips.patch Patch30: 0030-Fix-test-failures-on-32bit-architectures.patch +Patch35: 0035-Make-cache-support-translate-URLs.patch ## upstreamable patches @@ -162,7 +163,7 @@ make test -C %{_target_platform} ARGS="--output-on-failure --timeout 300" %changelog * Thu Aug 18 2016 Rex Dieter - 0.9.8-3 -- %%check: pull in upstream fixes +- pull in upstream fixes * Wed Aug 17 2016 Rex Dieter - 0.9.8-2 - (re)enable vala support (#1367892)