Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package AppStream for openSUSE:Factory checked in at 2023-02-09 16:21:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/AppStream (Old) and /work/SRC/openSUSE:Factory/.AppStream.new.4462 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "AppStream" Thu Feb 9 16:21:53 2023 rev:32 rq:1063768 version:0.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/AppStream/AppStream.changes 2023-01-14 20:31:47.133236890 +0100 +++ /work/SRC/openSUSE:Factory/.AppStream.new.4462/AppStream.changes 2023-02-09 16:22:02.286351668 +0100 @@ -1,0 +2,36 @@ +Sat Feb 4 03:14:38 UTC 2023 - Luna D Dragon <luna.dra...@suse.com> + +- Update to version 0.16.0: + * Features: + + pool: Offer API to look up components by bundles + + Bump format version to 0.16 + + Add new AsSystemInfo to read information about the current OS and device + + Add helper to get device names from a modalias + + Implement support for external release metadata + + Add validation support for external release metadata + + compose: Validate external release metadata used for the catalog as well + + its: Add rule for standalone release metadata + + Add function to test if an AsRelation is satisfied on the current system + + cli: Add command to list category contents + + cli: Display colored checkmarks if possible + + cli: Add new is-satisfied check to test relations from the command-line + + cli: Add Markdown export support for metainfo-to-news + + qt: Add support for SystemInfo & relation satisfication checks + * Specification: + + spec: Specify a metadata format for external release descriptions + * Bugfixes: + + Fix build with Clang 15 + + Give a better error message if trying to list too many categories + + Adjust documentation of AsPool.get_components_by_categories to reflect reality + + validator: Validate merge component catalog data properly again + * Miscellaneous: + + Consistently name catalog metadata as such everywhere +- Update support-meson0.59.patch for latest version of AppStream +- Build AppStream with compose support as a separate package. + +------------------------------------------------------------------- +Fri Jan 13 22:51:34 UTC 2023 - Bjørn Lie <bjorn....@gmail.com> + +- Use %ldconfig_scriptlets. Leap 15.3 is out of maintenance. + +------------------------------------------------------------------- Old: ---- AppStream-0.15.6.tar.xz AppStream-0.15.6.tar.xz.asc New: ---- AppStream-0.16.0.tar.xz AppStream-0.16.0.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ AppStream.spec ++++++ --- /var/tmp/diff_new_pack.YR5x1I/_old 2023-02-09 16:22:02.794354286 +0100 +++ /var/tmp/diff_new_pack.YR5x1I/_new 2023-02-09 16:22:02.802354327 +0100 @@ -18,11 +18,12 @@ %define libappstream_sover 4 %define libAppStreamQt_sover 2 +%define libappstream_compose_sover 0 %if 0%{?sle_version} >= 150300 && 0%{?is_opensuse} || 0%{?suse_version} > 1500 %bcond_without vala %endif Name: AppStream -Version: 0.15.6 +Version: 0.16.0 Release: 0 Summary: Tools and libraries to work with AppStream metadata License: LGPL-2.1-or-later @@ -32,7 +33,9 @@ Source1: http://www.freedesktop.org/software/appstream/releases/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring Patch0: support-meson0.59.patch +BuildRequires: cairo-devel BuildRequires: docbook-xsl-stylesheets +BuildRequires: gdk-pixbuf-loader-rsvg BuildRequires: gettext BuildRequires: gperf BuildRequires: itstool @@ -41,11 +44,15 @@ BuildRequires: xsltproc BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Test) +BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.62 BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(librsvg-2.0) +BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(xmlb) >= 0.3.6 BuildRequires: pkgconfig(yaml-0.1) Recommends: curl @@ -85,6 +92,36 @@ configuration files and development tools (with manual pages) needed to compile and link applications using the Qt bindings for AppStream. +%package compose +Summary: Support for appstreamcli compose +License: GPL-2.0-or-later AND LGPL-2.1-or-later +Group: System/Libraries +Requires: %{name} = %{version} +Requires: gdk-pixbuf-loader-rsvg + +%description compose +This package contains all necessary files, libraries, +configuration files to add compose support to appstreamcli. + +%package -n libappstream-compose%{libappstream_compose_sover} +Summary: Libraries for appstream compose support +License: GPL-2.0-or-later AND LGPL-2.1-or-later +Group: System/Libraries + +%description -n libappstream-compose%{libappstream_compose_sover} +The library for AppStream compose support. + +%package compose-devel +Summary: Header files for AppStream Compose support +License: GPL-2.0-or-later AND LGPL-2.1-or-later +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} +Requires: AppStream-compose = %{version} + +%description compose-devel +This package contains all necessary files, libraries, +configuration files to add compose support using compose. + %package devel Summary: Header files for AppStream development License: GPL-2.0-or-later @@ -97,6 +134,8 @@ configuration files and development tools (with manual pages) needed to compile and link applications using AppStream. +This package contains the documentation for AppStream. + %package doc Summary: Documentation for AppStream License: GPL-2.0-or-later @@ -109,6 +148,14 @@ This package contains the documentation files for AppStream. +%package -n typelib-1_0-AppStream-compose-1.0 +Summary: Introspection bindings for AppStream Compose +License: LGPL-2.1-or-later +Group: System/Libraries + +%description -n typelib-1_0-AppStream-compose-1.0 +GObject introspection bindings for interfaces provided by AppStream Compose + %package -n typelib-1_0-AppStream-1.0 Summary: Introspection bindings for AppStream License: LGPL-2.1-or-later @@ -124,6 +171,7 @@ %build %meson -Dqt=true \ + -Dcompose=true \ %if %{with vala} -Dvapi=true \ %else @@ -145,10 +193,8 @@ %find_lang appstream %{name}.lang -%post -n libAppStreamQt%{libAppStreamQt_sover} -p /sbin/ldconfig -%post -n libappstream%{libappstream_sover} -p /sbin/ldconfig -%postun -n libAppStreamQt%{libAppStreamQt_sover} -p /sbin/ldconfig -%postun -n libappstream%{libappstream_sover} -p /sbin/ldconfig +%ldconfig_scriptlets -n libappstream%{libappstream_sover} +%ldconfig_scriptlets -n libAppStreamQt%{libAppStreamQt_sover} %files lang -f %{name}.lang @@ -174,6 +220,20 @@ %{_libdir}/cmake/AppStreamQt/ %{_libdir}/libAppStreamQt.so +%files compose +%{_datadir}/metainfo/org.freedesktop.appstream.compose.metainfo.xml +%{_libexecdir}/appstreamcli-compose + +%files -n libappstream-compose%{libappstream_compose_sover} +%{_libdir}/libappstream-compose.so.%{version} +%{_libdir}/libappstream-compose.so.%{libappstream_compose_sover} + +%files compose-devel +%{_libdir}/libappstream-compose.so +%{_libdir}/pkgconfig/appstream-compose.pc +%{_includedir}/appstream-compose/ +%{_datadir}/gir-1.0/AppStreamCompose-1.0.gir + %files devel %{_libdir}/libappstream.so %{_libdir}/pkgconfig/appstream.pc @@ -185,12 +245,15 @@ %dir %{_datadir}/vala/vapi/ %{_datadir}/vala/vapi/appstream.deps %{_datadir}/vala/vapi/appstream.vapi +%{_datadir}/doc/appstream +%{_mandir}/man1/appstreamcli-compose*.1.gz %endif %files -n typelib-1_0-AppStream-1.0 %{_libdir}/girepository-1.0/AppStream-1.0.typelib -%files doc -%{_datadir}/doc/appstream +%files -n typelib-1_0-AppStream-compose-1.0 +%{_libdir}/girepository-1.0/AppStreamCompose-1.0.typelib + %changelog ++++++ AppStream-0.15.6.tar.xz -> AppStream-0.16.0.tar.xz ++++++ ++++ 102391 lines of diff (skipped) ++++++ support-meson0.59.patch ++++++ --- /var/tmp/diff_new_pack.YR5x1I/_old 2023-02-09 16:22:03.694358922 +0100 +++ /var/tmp/diff_new_pack.YR5x1I/_new 2023-02-09 16:22:03.702358963 +0100 @@ -1,7 +1,37 @@ -Index: AppStream-0.15.6/meson.build -=================================================================== ---- AppStream-0.15.6.orig/meson.build -+++ AppStream-0.15.6/meson.build +diff --git a/data/meson.build b/data/meson.build +index aea0cb25..55da0981 100644 +--- a/data/meson.build ++++ b/data/meson.build +@@ -17,6 +17,17 @@ metainfo_with_relinfo = custom_target('gen-output', + command : [ascli_exe, 'news-to-metainfo', '--limit=6', '@INPUT0@', '@INPUT1@', '@OUTPUT@'] + ) + ++if meson.version().version_compare('<0.62') ++metainfo_i18n = i18n.merge_file ( ++ input: metainfo_with_relinfo, ++ output: 'org.freedesktop.appstream.cli.metainfo.xml', ++ type: 'xml', ++ data_dirs: [meson.current_source_dir()], ++ po_dir: join_paths (source_root, 'po'), ++ install: true, ++ install_dir: metainfo_dir ++) ++else + metainfo_i18n = i18n.itstool_join( + input: metainfo_with_relinfo, + output: 'org.freedesktop.appstream.cli.metainfo.xml', +@@ -25,6 +36,7 @@ metainfo_i18n = i18n.itstool_join( + install: true, + install_dir: metainfo_dir, + ) ++endif + + test('as-validate_metainfo.cli', + ascli_exe, +diff --git a/meson.build b/meson.build +index b67d1a65..10e3d815 100644 +--- a/meson.build ++++ b/meson.build @@ -1,5 +1,5 @@ project('AppStream', 'c', - meson_version: '>=0.62', @@ -9,30 +39,33 @@ default_options: ['c_std=c11', 'cpp_std=gnu++14'], license: 'LGPL-2.1+', -@@ -112,6 +112,7 @@ add_project_arguments( +@@ -114,7 +114,7 @@ add_project_arguments( '-Werror=missing-include-dirs', '-Werror=declaration-after-statement', '-Werror=format-security', +- + '-Werror=format', - '-Wno-missing-field-initializers', '-Wno-error=missing-field-initializers', -@@ -130,6 +131,7 @@ add_project_arguments( + '-Wno-unused-parameter', +@@ -132,9 +132,7 @@ add_project_arguments( '-Werror=return-type', '-Werror=misleading-indentation', '-Werror=format-security', +- +- # NOTE: Can be removed with AppStream 1.0 +- '-Wno-error=c++20-compat', + '-Werror=format', language: 'cpp' ) - add_project_arguments('-DAS_COMPILATION', language: 'c') -Index: AppStream-0.15.6/po/meson.build -=================================================================== ---- AppStream-0.15.6.orig/po/meson.build -+++ AppStream-0.15.6/po/meson.build -@@ -1,5 +1,20 @@ + +diff --git a/po/meson.build b/po/meson.build +index e9ede195..f7c1d842 100644 +--- a/po/meson.build ++++ b/po/meson.build +@@ -1,5 +1,19 @@ as_gettext_domain = 'appstream' -+ +if meson.version().version_compare('<0.62') +i18n.gettext(as_gettext_domain, + preset : 'glib', @@ -50,7 +83,7 @@ i18n_result = i18n.gettext(as_gettext_domain, preset : 'glib', data_dirs: [join_paths(source_root, 'data')], -@@ -12,6 +27,7 @@ i18n_result = i18n.gettext(as_gettext_do +@@ -12,6 +26,7 @@ i18n_result = i18n.gettext(as_gettext_domain, '--msgid-bugs-address=appstr...@lists.freedesktop.org' ] ) @@ -58,35 +91,4 @@ run_target ('make-linguas', command: ['sh', -Index: AppStream-0.15.6/data/meson.build -=================================================================== ---- AppStream-0.15.6.orig/data/meson.build -+++ AppStream-0.15.6/data/meson.build -@@ -17,6 +17,18 @@ metainfo_with_relinfo = custom_target('g - command : [ascli_exe, 'news-to-metainfo', '--limit=6', '@INPUT0@', '@INPUT1@', '@OUTPUT@'] - ) - -+ # generates XML with mangled description markup tags, but better than nothing... -+if meson.version().version_compare('<0.62') -+metainfo_i18n = i18n.merge_file ( -+ input: metainfo_with_relinfo, -+ output: 'org.freedesktop.appstream.cli.metainfo.xml', -+ type: 'xml', -+ data_dirs: [meson.current_source_dir()], -+ po_dir: join_paths (source_root, 'po'), -+ install: true, -+ install_dir: metainfo_dir -+) -+else - metainfo_i18n = i18n.itstool_join( - input: metainfo_with_relinfo, - output: 'org.freedesktop.appstream.cli.metainfo.xml', -@@ -25,6 +37,7 @@ metainfo_i18n = i18n.itstool_join( - install: true, - install_dir: metainfo_dir, - ) -+endif - - test('as-validate_metainfo.cli', - ascli_exe,