Hello community,
here is the log from the commit of package AppStream for openSUSE:Factory checked in at 2018-10-22 11:07:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/AppStream (Old)
and /work/SRC/openSUSE:Factory/.AppStream.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "AppStream"
Mon Oct 22 11:07:07 2018 rev:11 rq:642265 version:0.12.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/AppStream/AppStream.changes 2018-06-02 11:52:35.979006834 +0200
+++ /work/SRC/openSUSE:Factory/.AppStream.new/AppStream.changes 2018-10-22 11:07:14.916076383 +0200
@@ -1,0 +2,79 @@
+Tue Oct 16 07:50:17 UTC 2018 - Fabian Vogt
+
+- Update to 0.12.2:
+ * Fix a couple of incorrect g_ptr_array_unrefs (Iain Lane)
+ * Use autofree functions instead of freeing resources
+ explicitly (Matthias Klumpp)
+ * Add missing const (Matthias Klumpp)
+ * Ensure we don't produce a .pc file with unnecessary
+ Requires.private lines (Matthias Klumpp)
+ * Stop leaking local GVariantDict instance contents (Phil Miller)
+ * Drop leaked references to container items (Phil Miller)
+- Update to 0.12.1:
+ Features:
+ * ascli: Add command to compare version numbers (Matthias Klumpp)
+ * yaml: Allow reading multiple localized strings from YAML data
+ (Matthias Klumpp)
+ * yaml: Always include the untranslated strings (Matthias Klumpp)
+ * Allow to ignore media_baseurl when parsing metadata (Matthias Klumpp)
+ * xml: Add implementation of the agreement tag (Matthias Klumpp)
+ * Add new "repository" component type (Matthias Klumpp)
+ * yaml: Implement Agreements field (Matthias Klumpp)
+ * cache: Implement support for agreements (Matthias Klumpp)
+ * tests: Improve cache data tests, add agreement tag test (Matthias Klumpp)
+ * Use gperf for perfect hash generation for some tags (Matthias Klumpp)
+ * tests: Add rundimentary performance test (Matthias Klumpp)
+ * its: Mark agreement sections as translatable (Matthias Klumpp)
+ * qt: Add support for service/repository component types (Matthias Klumpp)
+ Specification:
+ * docs: Describe the custom tag (Matthias Klumpp)
+ * spec: Describe the new agreement tag (Matthias Klumpp)
+ * docs: Clarify that the /usr/share/appdata/ path is legacy and should
+ not be used (Matthias Klumpp)
+ Bugfixes:
+ * its: Allow translation of release descriptions (Marc J)
+ * Load data from desktop files properly again (Matthias Klumpp)
+ * Update desktop-environment list (Matthias Klumpp)
+ * qt: Don't warn about inlining in maintainer mode (Matthias Klumpp)
+- Update to 0.12.0:
+ Features:
+ * Implement release types (Matthias Klumpp)
+ * qt: Support release types (Matthias Klumpp)
+ * Update static data lists (Matthias Klumpp)
+ * Make as_str_replace use as_gstring_replace internally (Matthias Klumpp)
+ * spdx: Add some compatibility workarounds for SPDX 3.0 (Matthias Klumpp)
+ * validator: Validate SPDX license expressions for metadata_license (Matthias Klumpp)
+ * apt: Add config snippets to enable icon downloads (Matthias Klumpp)
+ * yaml: Ensure all string values have whitespaces stripped (Matthias Klumpp)
+ * Make as_component_get_launchables public API (Matthias Klumpp)
+ * Implement support for requires/recommends (Matthias Klumpp)
+ * Add recommends/requires data to the cache (Matthias Klumpp)
+ * Add a quick way to check if a version satisfies an AsRelation requirement (Matthias Klumpp)
+ * ascli: Properly document the --no-net flag (Matthias Klumpp)
+ * ascli: Allow to disable network acces via an environment variable (Matthias Klumpp)
+ * apt: Support 48x48px icons (Matthias Klumpp)
+ * yaml: Make Requires/Recommends data more compact and easier to emit (Matthias Klumpp)
+ * validator: Validate requires/recommends tags (Matthias Klumpp)
+ * Default to format version 0.12 (Matthias Klumpp)
+ Specification:
+ * spec: Add a "type" property to <release/> tag. (Jehan)
+ * spec: Initial draft for requires/recommends (Matthias Klumpp)
+ * spec: Document the YAML Rquires/Recommends fields (Matthias Klumpp)
+ * spec: Clarify that the memory requirement uses MiB as unit (Matthias Klumpp)
+ Bugfixes:
+ * qt: Implement missing constructors (Aleix Pol)
+ * apt: escape the icon scale factor as it is using the arobase character (Corentin Noël)
+ * Check plain language string in as_component_localized_get as well (Antonio Rojas)
+ * qt: Define location and soname for all configurations, not just Debug (Gabriel Souza Franco)
+ * Never override high-quality data with incomplete .desktop data (Matthias Klumpp)
+ * Make data update script work with recent SPDX (Matthias Klumpp)
+ * Add a timeout to URL validity checks (Matthias Klumpp)
+- Remove patches, now upstream:
+ * 0001-Fix-regression-from-153.patch
+- Add patch to fix assertion failure on cache refresh (boo#1105691):
+ * explicit-variant-types.patch
+- Add patch to fix build on Leap:
+ * workaround-hidden-symbols.patch
+- Run spec-cleaner
+
+-------------------------------------------------------------------
Old:
----
0001-Fix-regression-from-153.patch
AppStream-0.11.8.tar.xz
AppStream-0.11.8.tar.xz.asc
New:
----
AppStream-0.12.2.tar.xz
AppStream-0.12.2.tar.xz.asc
explicit-variant-types.patch
workaround-hidden-symbols.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ AppStream.spec ++++++
--- /var/tmp/diff_new_pack.NKuRS4/_old 2018-10-22 11:07:19.908072223 +0200
+++ /var/tmp/diff_new_pack.NKuRS4/_new 2018-10-22 11:07:19.916072216 +0200
@@ -12,28 +12,32 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define libappstream_sover 4
%define libAppStreamQt_sover 2
-
Name: AppStream
-Version: 0.11.8
+Version: 0.12.2
Release: 0
Summary: Utilities to generate, maintain and access the AppStream Xapian database
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Development/Libraries/C and C++
-Url: https://www.freedesktop.org/software/appstream/docs/
+URL: https://www.freedesktop.org/software/appstream/docs/
Source0: http://www.freedesktop.org/software/appstream/releases/%{name}-%{version}.tar.xz
Source1: http://www.freedesktop.org/software/appstream/releases/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
-Patch0: 0001-Fix-regression-from-153.patch
+# PATCH-FIX-UPSTREAM
+Patch1: explicit-variant-types.patch
+# PATCH-FIX-UPSTREAM (or equivalent)
+Patch2: workaround-hidden-symbols.patch
BuildRequires: gettext
+BuildRequires: gperf
BuildRequires: intltool
BuildRequires: itstool
BuildRequires: meson >= 0.42
+BuildRequires: pkgconfig
BuildRequires: xmlto
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Test)
@@ -47,7 +51,6 @@
BuildRequires: pkgconfig(xapian-core)
BuildRequires: pkgconfig(yaml-0.1)
Recommends: curl
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
AppStream-Core makes it easy to access application information from the
@@ -118,8 +121,7 @@
%lang_package
%prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
%build
%if "%{?_lib}" == "lib64"
@@ -144,17 +146,13 @@
appstreamcli refresh --force || true
%post -n libappstream%{libappstream_sover} -p /sbin/ldconfig
-
%postun -n libappstream%{libappstream_sover} -p /sbin/ldconfig
-
%post -n libAppStreamQt%{libAppStreamQt_sover} -p /sbin/ldconfig
-
%postun -n libAppStreamQt%{libAppStreamQt_sover} -p /sbin/ldconfig
%files lang -f %{name}.lang
%files
-%defattr(-,root,root)
%doc NEWS
%license LICENSE*
%{_bindir}/appstreamcli
@@ -164,24 +162,20 @@
%{_mandir}/man1/appstreamcli.*
%files -n libappstream%{libappstream_sover}
-%defattr(-,root,root)
%doc NEWS
%license LICENSE*
%{_libdir}/libappstream.so.*
%files -n libAppStreamQt%{libAppStreamQt_sover}
-%defattr(-,root,root)
%license LICENSE*
%{_libdir}/libAppStreamQt.so.*
%files -n libAppStreamQt-devel
-%defattr(-,root,root)
%{_includedir}/AppStreamQt/
%{_libdir}/cmake/AppStreamQt/
%{_libdir}/libAppStreamQt.so
%files devel
-%defattr(-,root,root)
%{_libdir}/libappstream.so
%{_libdir}/pkgconfig/appstream.pc
%{_includedir}/appstream/
@@ -193,12 +187,10 @@
%{_datadir}/vala/vapi/appstream.vapi
%files -n typelib-1_0-AppStream-1.0
-%defattr(-,root,root)
%license LICENSE*
%{_libdir}/girepository-1.0/AppStream-1.0.typelib
%files doc
-%defattr(-,root,root)
%{_datadir}/doc/appstream
%changelog
++++++ AppStream-0.11.8.tar.xz -> AppStream-0.12.2.tar.xz ++++++
++++ 24834 lines of diff (skipped)
++++++ explicit-variant-types.patch ++++++
From 734e9da66bf12fcaa94c10465db2dcf8bb2b94cb Mon Sep 17 00:00:00 2001
From: Matthias Klumpp
Date: Sun, 19 Aug 2018 16:21:15 +0200
Subject: [PATCH] cache: Set explicit variant types for cases where they can
not be inferred
This ensures we do not run into assertion failures in case no array or
dict elements exist from which the final variant type can be
automatically inferred.
This resolves #198
---
src/as-agreement.c | 2 +-
src/as-content-rating.c | 2 +-
src/as-release.c | 4 ++--
src/as-screenshot.c | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/as-agreement.c b/src/as-agreement.c
index 0deee865..70fa5e67 100644
--- a/src/as-agreement.c
+++ b/src/as-agreement.c
@@ -450,7 +450,7 @@ as_agreement_to_variant (AsAgreement *agreement, GVariantBuilder *builder)
g_variant_builder_add_parsed (&agreement_b, "{'kind', <%u>}", priv->kind);
g_variant_builder_add_parsed (&agreement_b, "{'version_id', %v}", as_variant_mstring_new (priv->version_id));
- g_variant_builder_init (§ions_b, G_VARIANT_TYPE_ARRAY);
+ g_variant_builder_init (§ions_b, (const GVariantType *) "aa{sv}");
for (guint i = 0; i < priv->sections->len; i++) {
as_agreement_section_to_variant (AS_AGREEMENT_SECTION (g_ptr_array_index (priv->sections, i)), §ions_b);
}
diff --git a/src/as-content-rating.c b/src/as-content-rating.c
index 70b4bcde..263a6d01 100644
--- a/src/as-content-rating.c
+++ b/src/as-content-rating.c
@@ -499,7 +499,7 @@ as_content_rating_to_variant (AsContentRating *content_rating, GVariantBuilder *
GVariantBuilder rating_b;
guint j;
- g_variant_builder_init (&values_b, G_VARIANT_TYPE_ARRAY);
+ g_variant_builder_init (&values_b, (const GVariantType *) "a{su}");
for (j = 0; j < priv->keys->len; j++) {
AsContentRatingKey *key = (AsContentRatingKey*) g_ptr_array_index (priv->keys, j);
g_variant_builder_add (&values_b, "{su}", key->id, key->value);
diff --git a/src/as-release.c b/src/as-release.c
index 7a903519..e0908264 100644
--- a/src/as-release.c
+++ b/src/as-release.c
@@ -922,14 +922,14 @@ as_release_to_variant (AsRelease *release, GVariantBuilder *builder)
gboolean have_sizes = FALSE;
/* build checksum info */
- g_variant_builder_init (&checksum_b, G_VARIANT_TYPE_DICTIONARY);
+ g_variant_builder_init (&checksum_b, (const GVariantType *) "a{us}");
for (j = 0; j < priv->checksums->len; j++) {
AsChecksum *cs = AS_CHECKSUM (g_ptr_array_index (priv->checksums, j));
as_checksum_to_variant (cs, &checksum_b);
}
/* build size info */
- g_variant_builder_init (&sizes_b, G_VARIANT_TYPE_DICTIONARY);
+ g_variant_builder_init (&sizes_b, (const GVariantType *) "a{ut}");
for (j = 0; j < AS_SIZE_KIND_LAST; j++) {
if (as_release_get_size (release, (AsSizeKind) j) > 0) {
g_variant_builder_add (&sizes_b, "{ut}",
diff --git a/src/as-screenshot.c b/src/as-screenshot.c
index 7c834413..6569dbe3 100644
--- a/src/as-screenshot.c
+++ b/src/as-screenshot.c
@@ -596,7 +596,7 @@ as_screenshot_to_variant (AsScreenshot *screenshot, GVariantBuilder *builder)
if (priv->images->len == 0)
return FALSE;
- g_variant_builder_init (&images_b, G_VARIANT_TYPE_ARRAY);
+ g_variant_builder_init (&images_b, (const GVariantType *) "aa{sv}");
for (i = 0; i < priv->images->len; i++)
as_image_to_variant (AS_IMAGE (g_ptr_array_index (priv->images, i)), &images_b);
++++++ workaround-hidden-symbols.patch ++++++
From: Fabian Vogt
Subject: Workaround as-tag marking strcmp/strlen/... as hidden
https://github.com/ximion/appstream/issues/207
Index: AppStream-0.12.2/src/as-tag.c
===================================================================
--- AppStream-0.12.2.orig/src/as-tag.c
+++ AppStream-0.12.2/src/as-tag.c
@@ -36,6 +36,8 @@
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
#endif
+#include
+
#pragma GCC visibility push(hidden)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wconversion"