Accepting request 450495 from KDE:Frameworks5

Update to latest version, needed by plasma5-desktop and discover. Renames the library name and a lot of internals, have fun...

OBS-URL: https://build.opensuse.org/request/show/450495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2017-01-31 10:53:07 +00:00 committed by Git OBS Bridge
commit ecb8c1e05e
4 changed files with 141 additions and 20 deletions

View File

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

3
AppStream-0.10.5.tar.xz Normal file
View File

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

View File

@ -1,3 +1,121 @@
-------------------------------------------------------------------
Thu Jan 12 21:35:52 UTC 2017 - fabian@ritter-vogt.de
- Update to version 0.10.5:
Features:
* Match modalias wildcards on regular searches (Matthias Klumpp)
* xml: Add methods to get/set custom data in metainfo/collection files (Matthias Klumpp)
* Make cache update issue messages slightly more verbose (Matthias Klumpp)
* Add preliminary code for reading metainfo files in addition to .desktop files (Matthias Klumpp)
* cache: Cache custom fields as well (Matthias Klumpp)
Bugfixes:
* qt: Make sure dependencies are fetched when looking for the package (Aleix Pol)
* yaml: Consistently read/write the Suggests field (Matthias Klumpp)
* Correctly read bundle kind from XML data (Matthias Klumpp)
- Update to version 0.10.4:
Features:
* qt: Introduce AppStream::Suggested in the Qt frontend (Aleix Pol)
Bugfixes:
* Properly validate suggests tag (Matthias Klumpp)
* qt: Add an empty check to Provided and return it if necessary (Matthias Klumpp)
* Add path search to find libstemmer headers (#91) (Neal Gompa)
- Update to version 0.10.3:
Notes:
* The release breaks the Qt library API. Patches to make KDE Discover use the new API exist
in its Git master branch, and will be available with Plasma 5.9.
The patches will likely not enter the stable branch, so if you want to upgrade AppStream,
you might need to ship patches for Discover downstream to use the new API.
Features:
* qt: Update API to reflect more recent AppStream features, be easier to
extend and also a bit faster due to removing needless data conversions.
(Matthias Klumpp, Aleix Pol)
* Make components record their origin kind internally (Matthias Klumpp)
* Provide a file:/ URL for icons when we know a file name (Matthias Klumpp)
* Add support for Snappy/Snap bundles (Matthias Klumpp)
Specification:
* Add new AppStream logo and button (Ken Vermette)
* Add new AppStream logo and buttons to the docs (Matthias Klumpp)
Bugfixes:
* ascli: When converting, always include all translations (Matthias Klumpp)
* Match .desktop files and metainfo data properly if ID is lacking .desktop suffix (Matthias Klumpp)
- Update to version 0.10.2:
Features:
* test: Add unittests for reading urls (Matthias Klumpp)
* qt: Add AppStream::Category class (Matthias Klumpp)
* qt: Add missing URL type (Matthias Klumpp)
* Handle "font" provided type in XML and YAML (Matthias Klumpp)
* Replace Intltool with modern Gettext/Itstool (Matthias Klumpp)
* Add logic to parse desktop entries (Matthias Klumpp)
* Don't add ignored components to the pool (Matthias Klumpp)
* validator: Validate fd.o domain name, make GNOME warning only pedantic (Matthias Klumpp)
* validator: Allow languages tag in metainfo files (Matthias Klumpp)
* Read information from .desktop files and add it to the pool (Matthias Klumpp)
* Give the client app full control on what data sources we load (Matthias Klumpp)
* Add private API for component scoping (Matthias Klumpp)
Specification:
* docs: Clarify name/summary essentialness for desktop-apps (Matthias Klumpp)
* spec: Clarify how fonts provides should be handled (Matthias Klumpp)
* spec: Simplify font metainfo, add more examples and clarify requirements (Matthias Klumpp)
Bugfixes:
* ascli: Replace refresh-index with refresh-cache in help text (#81) (Larry Price)
* qt: nullptr access on unopened databases resulting in a crash (Harald Sitter)
* qt: The data pool must always be valid during the Database lifetime (Matthias Klumpp)
* If search results are going to be sorted, it makes sense for higher scores to be at the top of the list. Fixes #77. (Larry Price)
* validator: Don't enforce long descriptions on fonts (Matthias Klumpp)
* Hardcode metainfo directory (Matthias Klumpp)
* ascli: Make every module use the global no-color flag properly (Matthias Klumpp)
* validator: Don't emit excess warnings on missing type properties (Matthias Klumpp)
- Update to version 0.10.1:
Features:
* Add AppStream button image (Ken Vermette)
* Ship a metainfo file (Matthias Klumpp)
* Don't use an extra hash table for AsProvided (Matthias Klumpp)
* Register bundle type for AppImageKit (Matthias Klumpp)
* Implement localization component type (Matthias Klumpp)
* validator: Complain less-loudly when encontering GNOME-specific tags (Matthias Klumpp)
* validator: Check for superfluous dots (Matthias Klumpp)
* validator: Strictly validate ID for KDE and GNOME (Matthias Klumpp)
* ascli: Modernize the way we handle subcommands (Matthias Klumpp)
* qt: Allow retrieving the desktop-id of a component (Matthias Klumpp)
Specification:
* Add new driver component type (Matthias Klumpp)
* spec: Describe localization component type (Matthias Klumpp)
Bugfixes:
* docs: Add a few missing classes to the API docs (Matthias Klumpp)
* Fix cache (de)serialization for screenshots and suggestions (Matthias Klumpp)
* yaml: Set screenshot image type correctly (Matthias Klumpp)
* cache: Iterate the right dictionary when looking at checksums (#71) (Iain Lane)
* apt: Ignore broken symlinks in /var/lib/apt/lists (Iain Lane)
* as_get_yml_data_origin: Error out if opening the file fails for any reason (Iain Lane)
* Make addons find their target component again (Matthias Klumpp)
* yaml: Don't fail if we encounter a translated node without template (Matthias Klumpp)
* Don't use GObject ref on GPtrArray (Matthias Klumpp)
* ascli: Read metainfo files correctly when converting files (Matthias Klumpp)
* xml: Properly serialize provides tag (Matthias Klumpp)
* pool: Correctly update addon info when loading data from a cache object (Matthias Klumpp)
* ascli: Auto-disable colors if we are not on a tty (Matthias Klumpp)
* yaml: Enforce string/int type on YAML scalars (Matthias Klumpp)
* yaml: Fix loading of cached icons in all formats (Matthias Klumpp)
* qt: Never lie about a component kind (Matthias Klumpp)
-------------------------------------------------------------------
Wed Sep 21 19:17:57 UTC 2016 - fabian@ritter-vogt.de

View File

@ -1,7 +1,7 @@
#
# spec file for package AppStream
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,9 +17,10 @@
%define libappstream_sover 4
%define libAppStreamQt_sover 2
Name: AppStream
Version: 0.10.0
Version: 0.10.5
Release: 0
Summary: Utilities to generate, maintain and access the AppStream Xapian database
License: GPL-2.0+ and LGPL-2.1+
@ -29,10 +30,12 @@ Source: http://www.freedesktop.org/software/appstream/releases/%{name}-%
BuildRequires: cmake >= 3.1.0
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: itstool
BuildRequires: xmlto
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.46
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(packagekit-glib2)
@ -54,22 +57,22 @@ Group: System/Libraries
%description -n libappstream%{libappstream_sover}
The main library for AppStream.
%package -n libAppstreamQt1
%package -n libAppStreamQt%{libAppStreamQt_sover}
Summary: Qt5 bindings for AppStream
License: GPL-2.0+ and LGPL-2.1+
Group: System/Libraries
%description -n libAppstreamQt1
%description -n libAppStreamQt%{libAppStreamQt_sover}
The Qt5 bindings for AppStream.
%package -n libAppstreamQt-devel
%package -n libAppStreamQt-devel
Summary: Needed include files and libraries for development
License: GPL-2.0+ and LGPL-2.1+
Group: Development/Libraries/C and C++
Requires: libAppstreamQt1 = %{version}
Requires: libAppStreamQt%{libAppStreamQt_sover} = %{version}
Requires: libappstream%{libappstream_sover} = %{version}
%description -n libAppstreamQt-devel
%description -n libAppStreamQt-devel
This package contains all necessary include files, libraries,
configuration files and development tools (with manual pages) needed to
compile and link applications using the Qt bindings for AppStream.
@ -127,9 +130,9 @@ SUFFIX=""
%postun -n libappstream%{libappstream_sover} -p /sbin/ldconfig
%post -n libAppstreamQt1 -p /sbin/ldconfig
%post -n libAppStreamQt%{libAppStreamQt_sover} -p /sbin/ldconfig
%postun -n libAppstreamQt1 -p /sbin/ldconfig
%postun -n libAppStreamQt%{libAppStreamQt_sover} -p /sbin/ldconfig
%files lang -f %{name}.lang
@ -138,8 +141,8 @@ SUFFIX=""
%doc LICENSE* NEWS
%{_bindir}/appstreamcli
%config(noreplace) %{_sysconfdir}/appstream.conf
#dir %{_datadir}/app-info
#{_datadir}/app-info/categories.xml
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/org.freedesktop.appstream.cli.metainfo.xml
%{_mandir}/man1/appstreamcli.*
%files -n libappstream%{libappstream_sover}
@ -147,16 +150,16 @@ SUFFIX=""
%doc LICENSE* NEWS
%{_libdir}/libappstream.so.*
%files -n libAppstreamQt1
%files -n libAppStreamQt%{libAppStreamQt_sover}
%defattr(-,root,root)
%doc LICENSE*
%{_libdir}/libAppstreamQt.so.*
%{_libdir}/libAppStreamQt.so.*
%files -n libAppstreamQt-devel
%files -n libAppStreamQt-devel
%defattr(-,root,root)
%{_includedir}/AppstreamQt/
%{_libdir}/cmake/AppstreamQt/
%{_libdir}/libAppstreamQt.so
%{_includedir}/AppStreamQt/
%{_libdir}/cmake/AppStreamQt/
%{_libdir}/libAppStreamQt.so
%files devel
%defattr(-,root,root)