Accepting request 344935 from GNOME:Factory

No longer produce the html files

OBS-URL: https://build.opensuse.org/request/show/344935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=22
This commit is contained in:
Stephan Kulow 2015-11-23 06:30:03 +00:00 committed by Git OBS Bridge
parent b45850ece9
commit 37ecb145ef
7 changed files with 88 additions and 21 deletions

View File

@ -2,9 +2,9 @@
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/hughsie/appstream-glib.git</param>
<param name="scm">git</param>
<param name="versionformat">0.5.1</param>
<param name="versionformat">0.5.2</param>
<param name="changesgenerate">enable</param>
<param name="revision">refs/tags/appstream_glib_0_5_1</param>
<param name="revision">refs/tags/appstream_glib_0_5_2</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/hughsie/appstream-glib.git</param>
<param name="changesrevision">fa69f04c735ea00e78d800701558a9ed42b75db5</param></service></servicedata>
<param name="changesrevision">81a27888453403788605787546bb698a2c836952</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edcbef9b48dad1a0c75cbbabf029f770c4e782e1426094e47a621e7850874721
size 2147708

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd18c820a0d974fd55fdd0b1ca0a50822047438395c2f531d3882bf1800a490d
size 2169976

View File

@ -1,3 +1,65 @@
-------------------------------------------------------------------
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
- Add pkgconfig(libgcab-1.0) BuildRequires: New dependency.
-------------------------------------------------------------------
Mon Nov 02 11:00:29 UTC 2015 - dimstar@opensuse.org
- Update to version 0.5.2:
+ Do not overwrite the AppData URL with the one from the package.
+ Do not ever store the KDE x-test locale data.
+ Require AppData files to be present in the AppStream metadata.
+ Use a sensible warning when processing desktop files with
NoDisplay=true.
+ Simplify veto messages for missing <name> and <summary>.
+ Fix a typo in command name.
+ Support super-HiDPI icons like shipped in Hedgewars.
+ trivial: Do not subsume vetos if AS_APP_SUBSUME_FLAG_PARTIAL is
used.
+ Accept a '0x' hexidecimal prefix when parsing a component.
+ Always use a dotted-decimal representation of the version.
+ Add AsProfile for speed profiling.
+ trivial: Show the path when profiling
as_store_load_installed().
+ as_profile: Non-void function should return a value.
+ trivial: Symbolic stock icons are valid.
+ Add an --enable-profile option to appstream-util.
+ Remove the long-obsolete appdata-validate tool.
+ Add as_profile_set_autodump().
+ Monitor /usr/share/applications for apps without AppData when
using watch flags.
+ Add as_markup_validate() to check descriptions.
+ Allow as_markup_convert() to ignore errors.
+ Always escape AppStream descriptions when doing passthrough.
+ Add support for <size>.
+ Add the ability to attach blobs of data to AsRelease objects.
+ Add the ability to parse .cab archives as AppStream stores.
+ Use AsStoreCab to read .cab files when building metadata.
+ Fix crash in validator when processing '<li></li>'.
+ Do not fail to install firmware if DriverVer is not set.
+ Use as_utils_vercmp() to be correctly check versions for
equality.
+ Try harder to deal with icons that have extension or full path
listed.
+ Only accept UNIX paths for files in cab files.
+ Do not use the DriverVersion for the inf file version.
+ Use a MS-style version number when parsing a hex version.
+ libappstream-glib: Do not parse ISO dates as uint32 version
numbers.
+ Do not attempt to parse the version in
as_release_set_version().
+ Use a wildcard in the self tests to ignore GCab-generated hash
differences.
-------------------------------------------------------------------
Wed Sep 16 09:00:22 UTC 2015 - opensuse-packaging@opensuse.org

View File

@ -20,7 +20,7 @@
%define _build_from_vcs 1
Name: appstream-glib
Version: 0.5.1
Version: 0.5.2
Release: 0
Summary: AppStream Abstraction Library
License: LGPL-2.1+
@ -49,6 +49,7 @@ BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(libgcab-1.0)
BuildRequires: pkgconfig(libsoup-2.4) >= 2.24
BuildRequires: pkgconfig(rpm)
BuildRequires: pkgconfig(sqlite3)
@ -210,7 +211,7 @@ fi
%{_bindir}/appstream-util
%{_datadir}/bash-completion/completions/appstream-builder
%{_datadir}/bash-completion/completions/appstream-util
%{_libdir}/asb-plugins-2/
%{_libdir}/asb-plugins-4/
%{_mandir}/man1/appstream-builder.1%{?ext_man}
%{_mandir}/man1/appstream-util.1%{?ext_man}
@ -234,7 +235,6 @@ fi
%files devel
%defattr(-,root,root)
%{_bindir}/appdata-validate
%{_datadir}/aclocal/appdata-xml.m4
%{_datadir}/aclocal/appstream-xml.m4
%{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir

View File

@ -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