From 11d12aae4c20d09d74787f3f070b9ed33734fc2a1742ba2f899a84b5a0eba05f Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sat, 17 Sep 2016 17:48:44 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=24 --- AppStream-0.10.0.tar.xz | 3 + AppStream-0.9.6.tar.xz | 3 - AppStream.changes | 130 ++++++++++++++++++++++++++++++++++++++++ AppStream.spec | 21 +++---- 4 files changed, 144 insertions(+), 13 deletions(-) create mode 100644 AppStream-0.10.0.tar.xz delete mode 100644 AppStream-0.9.6.tar.xz diff --git a/AppStream-0.10.0.tar.xz b/AppStream-0.10.0.tar.xz new file mode 100644 index 0000000..7b3ece6 --- /dev/null +++ b/AppStream-0.10.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71e561064522b10039c3f36864cbcbdebb4e94db0500d9c4e92a13760072bbb8 +size 1901672 diff --git a/AppStream-0.9.6.tar.xz b/AppStream-0.9.6.tar.xz deleted file mode 100644 index 1588507..0000000 --- a/AppStream-0.9.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d1c778b5a0b4c65bdfdcaacf19765f691551118326678c109401dba52c7350f -size 1931176 diff --git a/AppStream.changes b/AppStream.changes index 30ec8f6..e462ce3 100644 --- a/AppStream.changes +++ b/AppStream.changes @@ -1,3 +1,133 @@ +------------------------------------------------------------------- +Fri Sep 16 07:45:43 UTC 2016 - alarrosa@suse.com + +- Update to version 0.10.0 +- Disable stemming support until we have libstemmer packaged. +- Generate libappstream4 packages since AppStream changes the ABI in 0.10.0 + +Notes: + * This release breaks API/ABI in order to support multiple metadata sets describing the same + component (needed for bundling support), moving away from the database as central data store + and general cleanup. + * Porting is relatively straightforward, if you were using AsDatabase, you should switch to AsPool + now (AsDatabase has been a wrapper around AsPool for a while anyway). + * Many methods became private API with this release, file a bug if you miss anything. + * The 'categories.xml' file is gone - please account for that if you were reading it directly, + and consider using AsCategory instead, which offers the same functionality. + +Features: + * Remove the AsDatabase class (Matthias Klumpp) + * Use cmakedefine for compile-time features (Matthias Klumpp) + * Rename AsDataPool -> AsPool (Matthias Klumpp) + * Add placeholder enum for web applications (Matthias Klumpp) + * qt: Implement Appstream::Release for the Qt interface (Aleix Pol) + * Recognize the "Pantheon" desktop for Elementary (Matthias Klumpp) + * Get rid of the menu parser and make AsCategory more useful instead (Matthias Klumpp) + * Allow AsComponent to automatically check for list-value duplicates (Matthias Klumpp) + * Give bundles their own class (Matthias Klumpp) + * Stop shipping the categories.xml file (Matthias Klumpp) + * Allow multiple metadata sets in the pool to describe a component (Matthias Klumpp) + * Name AppStream metadata styles consistently (Matthias Klumpp) + * Allow the 'C' description fallback to be turned off (Iain Lane) + * Make AsScreenshot return localized images by default (Matthias Klumpp) + * Allow to compare AsRelease versions easily (Matthias Klumpp) + * Make get_icon_repository_paths private API (Matthias Klumpp) + * ascli: Allow dumping metadata as YAML (Matthias Klumpp) + * Use GVariant instead of ProtoBuf based cache (Matthias Klumpp) + * Enable stemming by default (Matthias Klumpp) + * Make components directly reference their addons, avoiding to query twice (Matthias Klumpp) + * Refactor data pool metadata loading (Matthias Klumpp) + * Allow setting the AppStream format version when (de)serializing data (Matthias Klumpp) + * Always write modern metadata, unless a lower format version is requested explicitly (Matthias Klumpp) + * Also find components in searches which have the search keyword in an addon (Matthias Klumpp) + * ascli: Add function to convert XML to YAML and vice versa (Matthias Klumpp) + * Consistent naming for metadata format and style (Matthias Klumpp) + +Specification: + * spec: Add hint on how the keywords tag should be localized (Matthias Klumpp) + +Bugfixes: + * Resolve unit test failures on arm and mips (Matthias Klumpp) + * gir: Correctly annotate ownership transference of GPtrArrays (Matthias Klumpp) + * l10n: Drop languages without translations (Matthias Klumpp) + * Don't hide symbols in public headers (Matthias Klumpp) + * Properly validate desktop-environment strings (Matthias Klumpp) + * validator: Fix name/summary check in validate-tree (Matthias Klumpp) + * xml: Properly write localized keywords (Matthias Klumpp) + * Avoid watching superfluous directories for metadata (Matthias Klumpp) + * Update architecture diagrams and optimize PNGs (Matthias Klumpp) + * Get rid of Xapian-isms (Matthias Klumpp) + +------------------------------------------------------------------- +Fri Sep 16 07:35:01 UTC 2016 - alarrosa@suse.com + +- Update to version 0.9.8 + +Features: + * qt: Different approach for storing the icon size and url relation (Aleix Pol) + * Strictly validate AppStream IDs (Matthias Klumpp) + * Add AsSuggested class (Lucas Moura) + * tests: Test merges for suggestions (Lucas Moura) + * Add functions handling SPDX license ids and expressions (Matthias Klumpp) + * validator: Include a line-hint in the issue report (Matthias Klumpp) + * Implement console-application component type (Matthias Klumpp) + * validator: Validate files following the new cid scheme properly (Matthias Klumpp) + * validator: Validate metadata_license for permissiveness (Matthias Klumpp) + * Compress cache data (Matthias Klumpp) + * Implement "translate" URL type (Matthias Klumpp) + * xml: Implement the suggests tag (Matthias Klumpp) + * yaml: Implement reading and writing of Suggests field (Matthias Klumpp) + * Consider merge components valid if they have at least an ID (Matthias Klumpp) + * yaml: Read/write merge components (Matthias Klumpp) + +Specification: + * spec: Add console-application component type (Matthias Klumpp) + * spec: Streamline the requirements for component-ids (Matthias Klumpp) + * spec: Define a "translate" URL type (Matthias Klumpp) + * spec: Specify the suggests tag (Matthias Klumpp) + * spec: Describe the merge property (Matthias Klumpp) + * spec: Proofreading fixes (Philip Withnall) + +Bugfixes: + * Make searching for multiple terms work properly again (Matthias Klumpp) + * Don't fail on invalid search terms (Matthias Klumpp) + * Don't re-instantiate stemmer on each use (Matthias Klumpp) + * ascli: Line-wrap unicode texts properly on the console (Matthias Klumpp) + * Add missing docs to the API reference (Matthias Klumpp) + * tests: Add test description to each test (Matthias Klumpp) + * Sort search results by default (Matthias Klumpp) + * Fix a few issues with merging (Matthias Klumpp) + +- From version 0.9.7 + +Features: + * Don't fall back to Debian screenshots server if none is specified for the distro (Matthias Klumpp) + * Split out distro-specific helpers (Matthias Klumpp) + * Implement Xapian-less search (Matthias Klumpp) + * Use a pure PB cache instead of Xapian (Matthias Klumpp) + * qt: Don't rely on Xapian for searches (Matthias Klumpp) + * Deprecate AsDatabase (Matthias Klumpp) + * Hide internal symbols from the symbols table (Matthias Klumpp) + * Allow injecting components into the pool and unittest the cache (Matthias Klumpp) + * Add by-category filter to AsDataPool (Matthias Klumpp) + * Validate Freedesktop category names (Matthias Klumpp) + * Allow building AppStream with stemming support (Matthias Klumpp) + * Cache search tokens (Matthias Klumpp) + +Specification: + * docs/quickstart: Clarify the role of releases/provides (Matthias Klumpp) + * docs/quickstart: Screenshot images don't need to define width/height (Matthias Klumpp) + +Bugfixes: + * qt: Properly expose enums for introspection (Aleix Pol) + * qt: Make it possible to easily output data types using QDebug (Aleix Pol) + * xml: Fix formatting of tag (Matthias Klumpp) + * xml: Work around non-threadsafe behavior of libxml2 (Matthias Klumpp) + * xml: Properly write provides tag (Matthias Klumpp) + * Fix code documentation for as_component_get_id (Lucas Moura) + * Fix some xmldata methods documentation (Lucas Moura) + * cli: Create metainfo directory if it is missing and respect DESTDIR (Matthias Klumpp) + ------------------------------------------------------------------- Thu Jun 9 21:38:35 UTC 2016 - mailaender@opensuse.org diff --git a/AppStream.spec b/AppStream.spec index 41af47a..a018ab6 100644 --- a/AppStream.spec +++ b/AppStream.spec @@ -17,12 +17,12 @@ Name: AppStream -Version: 0.9.6 +Version: 0.10.0 Release: 0 Summary: Utilities to generate, maintain and access the AppStream Xapian database License: GPL-2.0+ and LGPL-2.1+ Group: Development/Libraries/C and C++ -Url: http://www.freedesktop.org/wiki/Distributions/AppStream/Software +Url: https://www.freedesktop.org/software/appstream/docs/ Source: http://www.freedesktop.org/software/appstream/releases/%{name}-%{version}.tar.xz BuildRequires: cmake >= 3.1.0 BuildRequires: gettext @@ -44,12 +44,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build AppStream-Core makes it easy to access application information from the AppStream database over a nice GObject-based interface. -%package -n libappstream3 +%package -n libappstream4 Summary: The main library for AppStream License: GPL-2.0+ and LGPL-2.1+ Group: System/Libraries -%description -n libappstream3 +%description -n libappstream4 The main library for AppStream. %package -n libAppstreamQt1 @@ -65,7 +65,7 @@ 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: libappstream3 = %{version} +Requires: libappstream4 = %{version} %description -n libAppstreamQt-devel This package contains all necessary include files, libraries, @@ -111,6 +111,7 @@ SUFFIX="" -DVAPI=ON \ -DINSTALL_PREBUILT_DOCS=OFF \ -DDOCUMENTATION=OFF \ + -DSTEMMING=OFF \ -DAPPSTREAM_QT_VERSION=5 %make_jobs @@ -120,9 +121,9 @@ SUFFIX="" %find_lang appstream %{name}.lang -%post -n libappstream3 -p /sbin/ldconfig +%post -n libappstream4 -p /sbin/ldconfig -%postun -n libappstream3 -p /sbin/ldconfig +%postun -n libappstream4 -p /sbin/ldconfig %post -n libAppstreamQt1 -p /sbin/ldconfig @@ -135,11 +136,11 @@ SUFFIX="" %doc LICENSE* NEWS %{_bindir}/appstreamcli %config(noreplace) %{_sysconfdir}/appstream.conf -%dir %{_datadir}/app-info -%{_datadir}/app-info/categories.xml +#dir %{_datadir}/app-info +#{_datadir}/app-info/categories.xml %{_mandir}/man1/appstreamcli.* -%files -n libappstream3 +%files -n libappstream4 %defattr(-,root,root) %doc LICENSE* NEWS %{_libdir}/libappstream.so.*