From 3f57eaae81742778e9779c271bb71479dfecdf517048264e3bafcd27ec0078e6 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 13 Mar 2015 13:19:51 +0000 Subject: [PATCH 1/3] - Require openSUSE-appstream-extra by openSUSE-appstream-process: Having the extra appstream metadata available will allow the builder to get better results. OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libzypp-plugin-appdata?expand=0&rev=7 --- libzypp-plugin-appdata.changes | 7 +++++++ libzypp-plugin-appdata.spec | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libzypp-plugin-appdata.changes b/libzypp-plugin-appdata.changes index 887393d..d2e31de 100644 --- a/libzypp-plugin-appdata.changes +++ b/libzypp-plugin-appdata.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 13 13:19:07 UTC 2015 - dimstar@opensuse.org + +- Require openSUSE-appstream-extra by openSUSE-appstream-process: + Having the extra appstream metadata available will allow the + builder to get better results. + ------------------------------------------------------------------- Fri Jan 23 12:50:11 UTC 2015 - opensuse-packaging@opensuse.org diff --git a/libzypp-plugin-appdata.spec b/libzypp-plugin-appdata.spec index 1d969b9..b6cf09f 100644 --- a/libzypp-plugin-appdata.spec +++ b/libzypp-plugin-appdata.spec @@ -1,7 +1,7 @@ # # spec file for package libzypp-plugin-appdata # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -48,6 +48,8 @@ At this moment, gnome-software is the only known implementation making use of it Summary: Appstream processor employed by kiwi Group: System Requires: appstream-glib >= 0.2.4 +# external repository with appstream metadata, to assist packages that don't ship their own (yet) +Requires: openSUSE-appstream-extra %description -n openSUSE-appstream-process A wrapper around appstream-builder, called by kiwi in order to produce AppStream metadata From 79e5afa68ece2dda69f82286e08b88d38a72995f38f5cd2ef12a291c6b46be20 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 13 Mar 2015 13:35:31 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libzypp-plugin-appdata?expand=0&rev=8 --- openSUSE-appstream-process | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index 3431586..c98d552 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -3,6 +3,9 @@ SRC=$1 DEST=$2 +# appstream-buider should be more quiet while parsing packages +export ASB_IS_SELF_TEST=1 + /usr/bin/appstream-builder \ --no-net \ --enable-hidpi \ From 56b9799d7a1d43f7347870ed794ef8cca43a088102e4622c042bea92f5b4b77b Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 13 Mar 2015 17:33:28 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libzypp-plugin-appdata?expand=0&rev=9 --- InstallAppdata.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InstallAppdata.sh b/InstallAppdata.sh index 701eb3e..b8793b9 100644 --- a/InstallAppdata.sh +++ b/InstallAppdata.sh @@ -26,7 +26,7 @@ RPMMD=/repodata/ YAST2=/suse/setup/descr # Cleanup existing appdata found on the system -for list in $(find /usr/share/app-info/xmls/*.xml.gz); do +for list in $(find /var/cache/app-info/xmls/*.xml.gz); do appdata=$(basename ${list} .xml.gz) appstream-util uninstall "${appdata}" 2>&1 > /dev/null done