Accepting request 585109 from GNOME:Factory

- Update to version 0.7.6+git.12:

OBS-URL: https://build.opensuse.org/request/show/585109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=62
This commit is contained in:
Dominique Leuenberger 2018-03-14 18:25:48 +00:00 committed by Git OBS Bridge
commit 4d8797f3ca
6 changed files with 105 additions and 39 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.7.4+git.@TAG_OFFSET@</param>
<param name="versionformat">0.7.6+git.@TAG_OFFSET@</param>
<param name="changesgenerate">enable</param>
<param name="revision">473f3ab19f91e13014d6cefdbf57209337a6d407</param>
<param name="revision">0c54573e420b25c201a016df829906c9aee45472</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">473f3ab19f91e13014d6cefdbf57209337a6d407</param></service></servicedata>
<param name="changesrevision">0c54573e420b25c201a016df829906c9aee45472</param></service></servicedata>

View File

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

View File

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

View File

@ -1,3 +1,64 @@
-------------------------------------------------------------------
Fri Mar 09 16:12:16 UTC 2018 - dimstar@opensuse.org
- Update to version 0.7.6+git.12:
+ Always resize AppStream icons to fit the destination size.
+ Add AS_IMAGE_LOAD_FLAG_ALWAYS_RESIZE to always resize the
pixbuf.
+ Correctly validate files using OR in the metadata_license.
+ Update the SPDX license list to v3.0.
+ Don't abort the build if pngquant fails.
+ Add custom metadata key for shell extension uuid.
+ Do not fail to validate if the timestamps are out of order.
+ Treat pngquant exit code of 98 (nothing done) as success.
-------------------------------------------------------------------
Wed Feb 28 16:22:56 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner.
-------------------------------------------------------------------
Sun Feb 11 03:11:36 UTC 2018 - luc14n0@linuxmail.org
- Update to version 0.7.6:
+ Never include '&' in attribute values.
+ Add support for release types.
+ Fix an invalid read when using as_app_parse_data() from Python.
+ as-app-desktop: don't deference invalid lists.
- Use pkgconfig(yaml-0.1) instead of libyaml-devel: it's what meson
actually looks for.
- Add docbook-xsl-stylesheets and gtk-doc BuildRequires to avoid
implicit dependencies.
- Drop intltool BuildRequires: it is no longer required since
upstream migrated to Gettext long ago, and gthread-2.0 and
sqlite3 BuildRequires: both of them are no longer used/needed.
- Pass dep11, builder, rpm, man, gtk-doc and introspection meson
options as true, and alpm, fonts and stemmer as false, ensuring
the desired features are enabled and visa versa.
-------------------------------------------------------------------
Thu Jan 25 15:55:23 UTC 2018 - dimstar@opensuse.org
- Update to version 0.7.5:
+ Add as_app_parse_data().
+ Add as_store_get_apps_by_provide().
+ Add more GObject Introspection annotations for Python.
+ Describe connection problems/HTTP errors when validating
images.
+ Do not use an 'enable' prefix for meson arguments.
+ Don't expect an enum when really passing a bitfield.
+ Dont fall back to en if other languages are available.
+ Explicitly require a new enough json-glib.
+ Fix a crash when calling as_release_add_location() directly.
+ Fix appstream-compose when using new-style desktop IDs.
+ Fix compile with GCab v1.0.
+ Generate icons and samples for emoji fonts..
+ Never change the default screenshot when processing AppData.
+ Support OARS v1.1 additions.
+ Use pngquant to make the application icons take up less space.
- Add pngquant Requires: new runtime dependency to make the
application icons take up less space.
-------------------------------------------------------------------
Mon Nov 13 11:08:55 UTC 2017 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package appstream-glib
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014 Dominique Leuenberger, Amsterdam, The Netherlands
#
# All modifications and additions to the file contributed by third parties
@ -17,41 +17,41 @@
#
%define _build_from_vcs 1
%define _build_from_vcs 0
Name: appstream-glib
Version: 0.7.4+git.3
Version: 0.7.6+git.12
Release: 0
Summary: AppStream Abstraction Library
License: LGPL-2.1+ AND GPL-2.0+
License: LGPL-2.1-or-later AND GPL-2.0-or-later
Group: System/Libraries
Url: http://people.freedesktop.org/~hughsient/appstream-glib/
URL: http://people.freedesktop.org/~hughsient/appstream-glib/
Source0: %{name}-%{version}.tar.xz
Source1: openSUSE-appstream-process
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gcab >= 0.6
BuildRequires: gobject-introspection-devel
BuildRequires: gperf
BuildRequires: intltool >= 0.40.0
BuildRequires: libyaml-devel
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.14
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.31.5
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.16.1
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.45.8
BuildRequires: pkgconfig(glib-2.0) >= 2.45.8
BuildRequires: pkgconfig(gmodule-2.0) >= 2.45.8
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(json-glib-1.0) >= 1.1.1
BuildRequires: pkgconfig(json-glib-1.0) >= 1.1.2
BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(libgcab-1.0)
BuildRequires: pkgconfig(libsoup-2.4) >= 2.24
BuildRequires: pkgconfig(libsoup-2.4) >= 2.51.92
BuildRequires: pkgconfig(rpm)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(yaml-0.1)
Requires: gcab
# Required in order to be able to convert .svg icons
Requires: gdk-pixbuf-loader-rsvg
Requires: pngquant >= 2.8
%if %{_build_from_vcs}
BuildRequires: gnome-common
%else
@ -74,7 +74,7 @@ This library allows to:
%package -n libappstream-glib8
Summary: AppStream Abstraction Library
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: System/Libraries
%description -n libappstream-glib8
@ -84,7 +84,7 @@ nodes and convert to and from the standardized XML representation.
%package -n libappstream-builder8
Summary: AppStream Abstraction Library
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: System/Libraries
%description -n libappstream-builder8
@ -94,7 +94,7 @@ nodes and convert to and from the standardized XML representation.
%package -n typelib-1_0-AppStreamBuilder-1_0
Summary: Introspection bindings for the AppStream abstraction library
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: System/Libraries
%description -n typelib-1_0-AppStreamBuilder-1_0
@ -104,7 +104,7 @@ nodes and convert to and from the standardized XML representation.
%package -n typelib-1_0-AppStreamGlib-1_0
Summary: Introspection bindings for the AppStream abstraction library
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: System/Libraries
%description -n typelib-1_0-AppStreamGlib-1_0
@ -114,7 +114,7 @@ nodes and convert to and from the standardized XML representation.
%package devel
Summary: Development files for the AppStream abstraction library
License: LGPL-2.1+ AND GPL-2.0+
License: LGPL-2.1-or-later AND GPL-2.0-or-later
Group: Development/Languages/C and C++
Requires: %{name} = %{version}
Requires: libappstream-builder8 = %{version}
@ -142,7 +142,7 @@ This library allows to:
%package -n openSUSE-appstream-process
Summary: Appstream processor employed by kiwi
License: LGPL-2.1+ AND GPL-2.0+
License: LGPL-2.1-or-later AND GPL-2.0-or-later
Group: Development/Tools/Building
Requires: appstream-glib >= %{version}
Requires: openSUSE-appdata-extra
@ -157,18 +157,22 @@ for the repositories to be published
%setup -q
%build
%{meson} \
-Denable-rpm=true \
-Denable-gtk-doc=true \
-Denable-stemmer=false \
%{nil}
%{meson_build}
%meson \
-Ddep11=true \
-Dbuilder=true \
-Drpm=true \
-Dalpm=false \
-Dfonts=false \
-Dstemmer=false \
-Dman=true \
-Dgtk-doc=true \
-Dintrospection=true
%meson_build
%install
%{meson_install}
%meson_install
# We don't care for 'installed tests'; that's used by GNOME Smoke Testing.
rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/*.test
find %{buildroot} -type f -name "*.la" -delete -print
# install the appstream process script to be used by kiwi
install -d -m 0755 %{_buildroot}%{_bindir}
@ -192,6 +196,7 @@ fi
%postun -n libappstream-builder8 -p /sbin/ldconfig
%files
%doc AUTHORS NEWS
%{_bindir}/appstream-builder
%{_bindir}/appstream-compose
%{_bindir}/appstream-util
@ -203,11 +208,10 @@ fi
%{_mandir}/man1/appstream-util.1%{?ext_man}
%files -n libappstream-builder8
%doc COPYING
%license COPYING
%{_libdir}/libappstream-builder.so.*
%files -n libappstream-glib8
%doc COPYING
%{_libdir}/libappstream-glib.so.*
%files -n typelib-1_0-AppStreamBuilder-1_0
@ -217,6 +221,7 @@ fi
%{_libdir}/girepository-1.0/AppStreamGlib-1.0.typelib
%files devel
%doc MAINTAINERS README.md
%{_datadir}/aclocal/appdata-xml.m4
%{_datadir}/aclocal/appstream-xml.m4
%dir %{_datadir}/gettext/its
@ -231,9 +236,9 @@ fi
%{_libdir}/libappstream-builder.so
%{_libdir}/libappstream-glib.so
%files lang -f %{name}.lang
%files -n openSUSE-appstream-process
%{_bindir}/openSUSE-appstream-process
%files lang -f %{name}.lang
%changelog