No longer produce the html files
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/appstream-glib?expand=0&rev=50
This commit is contained in:
parent
d9c6280089
commit
4d847ca07f
@ -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
|
Sat Nov 7 14:00:47 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
SRC=$1
|
SRC=$1
|
||||||
DEST=$2
|
DEST=$2
|
||||||
URL=https://static.opensuse.org/appstream/tumbleweed
|
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 \
|
/usr/bin/appstream-builder \
|
||||||
--enable-hidpi \
|
--enable-hidpi \
|
||||||
@ -22,18 +25,20 @@ URL=https://static.opensuse.org/appstream/tumbleweed
|
|||||||
# /usr/share/app-screenshots \
|
# /usr/share/app-screenshots \
|
||||||
# /tmp/apb-screenshots
|
# /tmp/apb-screenshots
|
||||||
|
|
||||||
/usr/bin/appstream-util \
|
if [ "$HTMLOUT" = "yes" ]; then
|
||||||
status-html \
|
/usr/bin/appstream-util \
|
||||||
${DEST}/appdata.xml.gz \
|
status-html \
|
||||||
${DEST}/appdata.html
|
${DEST}/appdata.xml.gz \
|
||||||
|
${DEST}/appdata.html
|
||||||
|
|
||||||
# compress the HTML file (boo#942985)
|
# compress the HTML file (boo#942985)
|
||||||
xz -9 ${DEST}/appdata.html
|
xz -9 ${DEST}/appdata.html
|
||||||
|
|
||||||
/usr/bin/appstream-util \
|
/usr/bin/appstream-util \
|
||||||
status-html \
|
status-html \
|
||||||
${DEST}/appdata-failed.xml.gz \
|
${DEST}/appdata-failed.xml.gz \
|
||||||
${DEST}/appdata-failed.html
|
${DEST}/appdata-failed.html
|
||||||
|
|
||||||
# compress the HTML file (boo#942985)
|
# compress the HTML file (boo#942985)
|
||||||
xz -9 ${DEST}/appdata-failed.html
|
xz -9 ${DEST}/appdata-failed.html
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user