diff --git a/appstream-glib.changes b/appstream-glib.changes index 2d2d042..a7ea41f 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Nov 17 17:04:18 UTC 2015 - dimstar@opensuse.org + +- openSUSE-appstream-process: Do not produce html files; + the biggest chunks of apps are done and the few users still + caring can produce them anytime out of the provided .xml.gz + files. + ------------------------------------------------------------------- Sat Nov 7 14:00:47 UTC 2015 - zaitor@opensuse.org diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index 270e130..acde898 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -3,6 +3,9 @@ SRC=$1 DEST=$2 URL=https://static.opensuse.org/appstream/tumbleweed +# Do not produce the html files - the biggest tasks are done +# Users interested in them can always produce them locally out of the appdata.xml.gz file +HTMLOUT=no /usr/bin/appstream-builder \ --enable-hidpi \ @@ -22,18 +25,20 @@ URL=https://static.opensuse.org/appstream/tumbleweed # /usr/share/app-screenshots \ # /tmp/apb-screenshots -/usr/bin/appstream-util \ - status-html \ - ${DEST}/appdata.xml.gz \ - ${DEST}/appdata.html +if [ "$HTMLOUT" = "yes" ]; then + /usr/bin/appstream-util \ + status-html \ + ${DEST}/appdata.xml.gz \ + ${DEST}/appdata.html -# compress the HTML file (boo#942985) -xz -9 ${DEST}/appdata.html + # compress the HTML file (boo#942985) + xz -9 ${DEST}/appdata.html -/usr/bin/appstream-util \ - status-html \ - ${DEST}/appdata-failed.xml.gz \ - ${DEST}/appdata-failed.html + /usr/bin/appstream-util \ + status-html \ + ${DEST}/appdata-failed.xml.gz \ + ${DEST}/appdata-failed.html -# compress the HTML file (boo#942985) -xz -9 ${DEST}/appdata-failed.html + # compress the HTML file (boo#942985) + xz -9 ${DEST}/appdata-failed.html +fi