commit appstream-glib for openSUSE:Factory
Hello community, here is the log from the commit of package appstream-glib for openSUSE:Factory checked in at 2015-05-29 09:46:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/appstream-glib (Old) and /work/SRC/openSUSE:Factory/.appstream-glib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "appstream-glib" Changes: -------- --- /work/SRC/openSUSE:Factory/appstream-glib/appstream-glib.changes 2015-05-16 20:07:08.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.appstream-glib.new/appstream-glib.changes 2015-05-29 09:46:15.000000000 +0200 @@ -1,0 +2,10 @@ +Wed May 27 09:49:34 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.4.0: + + Version the builder plugin location. + + Show a warning when the origin or basename isn't specified. + + Do not use the cache location when using install-origin with a + DESTDIR. + + Release version 0.4.0. + +------------------------------------------------------------------- Old: ---- appstream-glib-0.3.6+git.20150506.tar.xz New: ---- appstream-glib-0.4.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ appstream-glib.spec ++++++ --- /var/tmp/diff_new_pack.CAL8PY/_old 2015-05-29 09:46:16.000000000 +0200 +++ /var/tmp/diff_new_pack.CAL8PY/_new 2015-05-29 09:46:16.000000000 +0200 @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.3.6+git.20150506 +Version: 0.4.0 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -210,7 +210,7 @@ %{_bindir}/appstream-util %{_datadir}/bash-completion/completions/appstream-builder %{_datadir}/bash-completion/completions/appstream-util -%{_libdir}/asb-plugins/ +%{_libdir}/asb-plugins-2/ %{_mandir}/man1/appstream-builder.1%{?ext_man} %{_mandir}/man1/appstream-util.1%{?ext_man} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.CAL8PY/_old 2015-05-29 09:46:16.000000000 +0200 +++ /var/tmp/diff_new_pack.CAL8PY/_new 2015-05-29 09:46:16.000000000 +0200 @@ -2,10 +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.3.6+git.%cd</param> + <param name="versionformat">0.4.0</param> <param name="changesgenerate">enable</param> -<!-- - <param name="revision">refs/tags/appstream_glib_0_3_6</param> --> + <param name="revision">refs/tags/appstream_glib_0_4_0</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.CAL8PY/_old 2015-05-29 09:46:16.000000000 +0200 +++ /var/tmp/diff_new_pack.CAL8PY/_new 2015-05-29 09:46:16.000000000 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/hughsie/appstream-glib.git</param> - <param name="changesrevision">6a27bb88ead9f9696c6e2964ca523ce55ab1e205</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">2e6efb2a00a9064768ecfa0085cb581bae654521</param></service></servicedata> \ No newline at end of file ++++++ appstream-glib-0.3.6+git.20150506.tar.xz -> appstream-glib-0.4.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.3.6+git.20150506/NEWS new/appstream-glib-0.4.0/NEWS --- old/appstream-glib-0.3.6+git.20150506/NEWS 2015-05-11 08:16:16.000000000 +0200 +++ new/appstream-glib-0.4.0/NEWS 2015-05-27 11:49:33.000000000 +0200 @@ -1,3 +1,28 @@ +Version 0.4.0 +~~~~~~~~~~~~~ +Released: 2015-05-26 + +Notes: + - Remove extra-appstream support from the builder (Richard Hughes) + - Remove all networking support when building metadata (Richard Hughes) + - Remove the batch output option from the builder (Richard Hughes) + - Remove the extra screenshots and appdata options from the builder (Richard Hughes) + +New Features: + - Add a mirror-screenshots command to appstream-util (Richard Hughes) + - Detect recolorable symbolic icons (Richard Hughes) + +Bugfixes: + - Add text icons and sample text for some languages (Parag Nemade) + - Allow using unwrapped description markup (Richard Hughes) + - Check for duplicate screenshots when adding fonts (Richard Hughes) + - Do not use the cache location when using install-origin with a DESTDIR (Richard Hughes) + - Fix a crash for an invalid AppData file (Richard Hughes) + - Fix exo-web-browser blacklist entry (Kalev Lember) + - Link libasb_plugin_font.la with GTK3 (Dominique Leuenberger) + - Remove overzealous blacklisting entry (Richard Hughes) + - Version the builder plugin location (Richard Hughes) + Version 0.3.6 ~~~~~~~~~~~~~ Released: 2015-03-30 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.3.6+git.20150506/client/as-builder.c new/appstream-glib-0.4.0/client/as-builder.c --- old/appstream-glib-0.3.6+git.20150506/client/as-builder.c 2015-05-11 08:16:16.000000000 +0200 +++ new/appstream-glib-0.4.0/client/as-builder.c 2015-05-27 11:49:33.000000000 +0200 @@ -257,12 +257,18 @@ icons_dir = g_build_filename (temp_dir, "icons", NULL); if (cache_dir == NULL) cache_dir = g_strdup ("./cache"); - if (basename == NULL) - basename = g_strdup ("appstream"); - if (origin == NULL) - origin = g_strdup ("example"); setlocale (LC_ALL, ""); + /* this really ought to be set */ + if (basename == NULL) { + g_print ("WARNING: Metadata basename not set, using 'appstream'\n"); + basename = g_strdup ("example"); + } + if (origin == NULL) { + g_print ("WARNING: Metadata origin not set, using 'example'\n"); + origin = g_strdup ("example"); + } + ctx = asb_context_new (); asb_context_set_api_version (ctx, api_version); asb_context_set_old_metadata (ctx, old_metadata); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.3.6+git.20150506/client/as-util.c new/appstream-glib-0.4.0/client/as-util.c --- old/appstream-glib-0.3.6+git.20150506/client/as-util.c 2015-05-11 08:16:16.000000000 +0200 +++ new/appstream-glib-0.4.0/client/as-util.c 2015-05-27 11:49:33.000000000 +0200 @@ -1400,6 +1400,7 @@ as_util_install_origin (AsUtilPrivate *priv, gchar **values, GError **error) { guint i; + const gchar *destdir; /* check args */ if (g_strv_length (values) < 2) { @@ -1413,10 +1414,12 @@ /* for each item on the command line, install the xml files and * explode the icon files */ + destdir = g_getenv ("DESTDIR"); for (i = 1; values[i] != NULL; i++) { - if (!as_utils_install_filename (AS_UTILS_LOCATION_CACHE, + if (!as_utils_install_filename (destdir != NULL ? AS_UTILS_LOCATION_SHARED : + AS_UTILS_LOCATION_CACHE, values[i], values[0], - g_getenv ("DESTDIR"), + destdir, error)) return FALSE; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.3.6+git.20150506/configure.ac new/appstream-glib-0.4.0/configure.ac --- old/appstream-glib-0.3.6+git.20150506/configure.ac 2015-05-11 08:16:16.000000000 +0200 +++ new/appstream-glib-0.4.0/configure.ac 2015-05-27 11:49:34.000000000 +0200 @@ -24,6 +24,12 @@ AC_SUBST(AS_MICRO_VERSION) AC_SUBST(AS_VERSION) +# this refers to the plugin API version +# this is not in any way related to a package or soname version +AS_PLUGIN_VERSION=2 +AC_SUBST(AS_PLUGIN_VERSION) +AC_DEFINE_UNQUOTED([AS_PLUGIN_VERSION], "$AS_PLUGIN_VERSION", [plugin API version]) + # enable nice build output on automake1.11 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) @@ -45,7 +51,7 @@ # fixed, change: # REVISION += 1 LT_CURRENT=7 -LT_REVISION=4 +LT_REVISION=5 LT_AGE=0 AC_SUBST(LT_CURRENT) AC_SUBST(LT_REVISION) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.3.6+git.20150506/contrib/libappstream-glib.spec.in new/appstream-glib-0.4.0/contrib/libappstream-glib.spec.in --- old/appstream-glib-0.3.6+git.20150506/contrib/libappstream-glib.spec.in 2015-05-11 08:16:16.000000000 +0200 +++ new/appstream-glib-0.4.0/contrib/libappstream-glib.spec.in 2015-05-27 11:49:33.000000000 +0200 @@ -37,6 +37,9 @@ Obsoletes: appdata-tools < 0.1.9 Provides: appdata-tools +# this is not a library version +%define as_plugin_version 2 + %description This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. It also provides a simple DOM implementation that @@ -83,7 +86,7 @@ %__rm -f %{buildroot}%{_libdir}/libappstream-glib*.la %__rm -f %{buildroot}%{_libdir}/libappstream-builder*.la -%__rm -f %{buildroot}%{_libdir}/asb-plugins/*.la +%__rm -f %{buildroot}%{_libdir}/asb-plugins-%{as_plugin_version}/*.la %find_lang appstream-glib @@ -117,7 +120,7 @@ %doc COPYING %{_bindir}/appstream-builder %{_datadir}/bash-completion/completions/appstream-builder -%{_libdir}/asb-plugins/*.so +%{_libdir}/asb-plugins-%{as_plugin_version}/*.so %{_libdir}/libappstream-builder.so.7* %{_mandir}/man1/appstream-builder.1.gz diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.3.6+git.20150506/libappstream-builder/Makefile.am new/appstream-glib-0.4.0/libappstream-builder/Makefile.am --- old/appstream-glib-0.3.6+git.20150506/libappstream-builder/Makefile.am 2015-05-11 08:16:16.000000000 +0200 +++ new/appstream-glib-0.4.0/libappstream-builder/Makefile.am 2015-05-27 11:49:34.000000000 +0200 @@ -24,7 +24,7 @@ -DAS_COMPILATION \ -DTESTDIRSRC=\""$(top_srcdir)/data/tests"\" \ -DTESTDIRBUILD=\""$(top_builddir)/data/tests"\" \ - -DASB_PLUGIN_DIR=\"$(libdir)/asb-plugins\" \ + -DASB_PLUGIN_DIR=\"$(libdir)/asb-plugins-$(AS_PLUGIN_VERSION)\" \ -DG_LOG_DOMAIN=\"Asb\" AS_GLIB_LIBS = \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.3.6+git.20150506/libappstream-builder/plugins/Makefile.am new/appstream-glib-0.4.0/libappstream-builder/plugins/Makefile.am --- old/appstream-glib-0.3.6+git.20150506/libappstream-builder/plugins/Makefile.am 2015-05-11 08:16:16.000000000 +0200 +++ new/appstream-glib-0.4.0/libappstream-builder/plugins/Makefile.am 2015-05-27 11:49:34.000000000 +0200 @@ -13,7 +13,7 @@ -I$(top_builddir)/libappstream-builder \ -DG_LOG_DOMAIN=\"Asb\" -plugindir = $(libdir)/asb-plugins +plugindir = $(libdir)/asb-plugins-$(AS_PLUGIN_VERSION) plugin_LTLIBRARIES = \ libasb_plugin_absorb.la \ libasb_plugin_appdata.la \
participants (1)
-
root@hilbert.suse.de