Accepting request 356714 from GNOME:Next
- openSUSE-appstream-process: use specific temporary/cache directories between calls. Otherwise, icons extracted from a previous run bleed into the next one. OBS-URL: https://build.opensuse.org/request/show/356714 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/appstream-glib?expand=0&rev=57
This commit is contained in:
parent
ac30d2ac5d
commit
d99a4249f3
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 29 16:02:58 UTC 2016 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- openSUSE-appstream-process: use specific temporary/cache
|
||||||
|
directories between calls. Otherwise, icons extracted from a
|
||||||
|
previous run bleed into the next one.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 29 11:57:01 UTC 2016 - dimstar@opensuse.org
|
Fri Jan 29 11:57:01 UTC 2016 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -7,17 +7,22 @@ URL=https://static.opensuse.org/appstream/tumbleweed
|
|||||||
# Users interested in them can always produce them locally out of the appdata.xml.gz file
|
# Users interested in them can always produce them locally out of the appdata.xml.gz file
|
||||||
HTMLOUT=no
|
HTMLOUT=no
|
||||||
|
|
||||||
|
TMDIR=$(mktemp -d)
|
||||||
|
|
||||||
/usr/bin/appstream-builder \
|
/usr/bin/appstream-builder \
|
||||||
--enable-hidpi \
|
--enable-hidpi \
|
||||||
--include-failed \
|
--include-failed \
|
||||||
--temp-dir=/tmp/apb \
|
--temp-dir=${TMPDIR}/apb \
|
||||||
--cache-dir=/tmp/apb/cache \
|
--cache-dir=${TMPDIR}/apb/cache \
|
||||||
--origin=appdata \
|
--origin=appdata \
|
||||||
--api-version=0.8 \
|
--api-version=0.8 \
|
||||||
--basename=appdata \
|
--basename=appdata \
|
||||||
--packages-dir=${SRC} \
|
--packages-dir=${SRC} \
|
||||||
--output-dir=${DEST}
|
--output-dir=${DEST}
|
||||||
|
|
||||||
|
# clean up TMPDIR again
|
||||||
|
rm -rf ${TMPDIR}
|
||||||
|
|
||||||
# Change screenshot URLs to our own infrastructure; disabled, as infra not ready
|
# Change screenshot URLs to our own infrastructure; disabled, as infra not ready
|
||||||
# appstream-util mirror-screenshots \
|
# appstream-util mirror-screenshots \
|
||||||
# ${DEST}/appdata.xml.gz \
|
# ${DEST}/appdata.xml.gz \
|
||||||
|
Loading…
Reference in New Issue
Block a user