Hello community,

here is the log from the commit of package gnome-software for openSUSE:Factory 
checked in at 2013-10-20 10:51:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-software (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-software.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-software"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-software/gnome-software.changes    
2013-10-15 10:41:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-software.new/gnome-software.changes       
2013-10-20 10:51:37.000000000 +0200
@@ -1,0 +2,9 @@
+Fri Oct 18 17:40:07 UTC 2013 - dims...@opensuse.org
+
+- Update to version 3.10.2:
+  + Do not crash if the AppData metadata does not have <pkgname>.
+  + Don't emit a critical warning if there are no AppStream icons.
+  + Do not use the package icon when referring to software.
+  + Set a cache age when using PackageKit.
+
+-------------------------------------------------------------------

Old:
----
  gnome-software-3.10.1.tar.xz

New:
----
  gnome-software-3.10.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-software.spec ++++++
--- /var/tmp/diff_new_pack.gkgb6y/_old  2013-10-20 10:51:37.000000000 +0200
+++ /var/tmp/diff_new_pack.gkgb6y/_new  2013-10-20 10:51:37.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           gnome-software
-Version:        3.10.1
+Version:        3.10.2
 Release:        0
 Summary:        GNOME Software Store
 License:        GPL-2.0+

++++++ gnome-software-3.10.1.tar.xz -> gnome-software-3.10.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-software-3.10.1/Makefile.in 
new/gnome-software-3.10.2/Makefile.in
--- old/gnome-software-3.10.1/Makefile.in       2013-10-11 13:01:56.000000000 
+0200
+++ new/gnome-software-3.10.2/Makefile.in       2013-10-18 11:45:19.000000000 
+0200
@@ -82,7 +82,7 @@
        $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
        $(top_srcdir)/configure $(am__configure_deps) \
        $(srcdir)/config.h.in COPYING TODO compile config.guess \
-       config.sub install-sh missing ltmain.sh
+       config.sub depcomp install-sh missing ltmain.sh
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-software-3.10.1/NEWS 
new/gnome-software-3.10.2/NEWS
--- old/gnome-software-3.10.1/NEWS      2013-10-14 14:40:37.000000000 +0200
+++ new/gnome-software-3.10.2/NEWS      2013-10-18 17:49:38.000000000 +0200
@@ -1,3 +1,13 @@
+Version 3.10.2
+~~~~~~~~~~~~~~
+Released: 2013-10-18
+
+* Bugfix:
+ - Do not crash if the AppData metadata does not have <pkgname> (Richard 
Hughes)
+ - Don't emit a critical warning if there are no AppStream icons (Richard 
Hughes)
+ - Do not use the package icon when referring to software (Richard Hughes)
+ - Set a cache age when using PackageKit (Richard Hughes)
+
 Version 3.10.1
 ~~~~~~~~~~~~~~
 Released: 2013-10-14
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-software-3.10.1/config.h 
new/gnome-software-3.10.2/config.h
--- old/gnome-software-3.10.1/config.h  2013-10-11 13:02:02.000000000 +0200
+++ new/gnome-software-3.10.2/config.h  2013-10-18 11:45:26.000000000 +0200
@@ -69,7 +69,7 @@
 #define PACKAGE_NAME "gnome-software"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "gnome-software 3.10.1"
+#define PACKAGE_STRING "gnome-software 3.10.2"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gnome-software"
@@ -78,10 +78,10 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "3.10.1"
+#define PACKAGE_VERSION "3.10.2"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
 
 /* Version number of package */
-#define VERSION "3.10.1"
+#define VERSION "3.10.2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-software-3.10.1/configure 
new/gnome-software-3.10.2/configure
--- old/gnome-software-3.10.1/configure 2013-10-11 13:01:54.000000000 +0200
+++ new/gnome-software-3.10.2/configure 2013-10-18 11:45:21.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for gnome-software 3.10.1.
+# Generated by GNU Autoconf 2.69 for gnome-software 3.10.2.
 #
 # Report bugs to 
<http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-software>.
 #
@@ -591,8 +591,8 @@
 # Identity of this package.
 PACKAGE_NAME='gnome-software'
 PACKAGE_TARNAME='gnome-software'
-PACKAGE_VERSION='3.10.1'
-PACKAGE_STRING='gnome-software 3.10.1'
+PACKAGE_VERSION='3.10.2'
+PACKAGE_STRING='gnome-software 3.10.2'
 
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-software'
 PACKAGE_URL=''
 
@@ -1410,7 +1410,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures gnome-software 3.10.1 to adapt to many kinds of 
systems.
+\`configure' configures gnome-software 3.10.2 to adapt to many kinds of 
systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1480,7 +1480,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of gnome-software 3.10.1:";;
+     short | recursive ) echo "Configuration of gnome-software 3.10.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1610,7 +1610,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-gnome-software configure 3.10.1
+gnome-software configure 3.10.2
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2100,7 +2100,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by gnome-software $as_me 3.10.1, which was
+It was created by gnome-software $as_me 3.10.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2964,7 +2964,7 @@
 
 # Define the identity of the package.
  PACKAGE='gnome-software'
- VERSION='3.10.1'
+ VERSION='3.10.2'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -18447,7 +18447,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by gnome-software $as_me 3.10.1, which was
+This file was extended by gnome-software $as_me 3.10.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -18513,7 +18513,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-gnome-software config.status 3.10.1
+gnome-software config.status 3.10.2
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-software-3.10.1/configure.ac 
new/gnome-software-3.10.2/configure.ac
--- old/gnome-software-3.10.1/configure.ac      2013-10-09 10:18:02.000000000 
+0200
+++ new/gnome-software-3.10.2/configure.ac      2013-10-14 14:50:08.000000000 
+0200
@@ -1,7 +1,7 @@
 # Copyright (C) 2010-2012 Richard Hughes <rich...@hughsie.com>
 AC_PREREQ(2.63)
 
-AC_INIT([gnome-software],[3.10.1],[http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-software])
+AC_INIT([gnome-software],[3.10.2],[http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-software])
 AC_CONFIG_SRCDIR(src)
 AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz tar-ustar])
 AC_CONFIG_HEADERS([config.h])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-software-3.10.1/src/gs-plugin.c 
new/gnome-software-3.10.2/src/gs-plugin.c
--- old/gnome-software-3.10.1/src/gs-plugin.c   2013-10-14 13:30:19.000000000 
+0200
+++ new/gnome-software-3.10.2/src/gs-plugin.c   2013-10-18 11:42:31.000000000 
+0200
@@ -41,6 +41,10 @@
                return "downloading";
        if (status == GS_PLUGIN_STATUS_QUERYING)
                return "querying";
+       if (status == GS_PLUGIN_STATUS_INSTALLING)
+               return "installing";
+       if (status == GS_PLUGIN_STATUS_REMOVING)
+               return "removing";
        return "unknown";
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-software-3.10.1/src/gs-plugin.h 
new/gnome-software-3.10.2/src/gs-plugin.h
--- old/gnome-software-3.10.1/src/gs-plugin.h   2013-10-14 13:30:19.000000000 
+0200
+++ new/gnome-software-3.10.2/src/gs-plugin.h   2013-10-18 11:42:31.000000000 
+0200
@@ -42,6 +42,8 @@
        GS_PLUGIN_STATUS_SETUP,
        GS_PLUGIN_STATUS_DOWNLOADING,
        GS_PLUGIN_STATUS_QUERYING,
+       GS_PLUGIN_STATUS_INSTALLING,
+       GS_PLUGIN_STATUS_REMOVING,
        GS_PLUGIN_STATUS_LAST
 } GsPluginStatus;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-software-3.10.1/src/gs-utils.c 
new/gnome-software-3.10.2/src/gs-utils.c
--- old/gnome-software-3.10.1/src/gs-utils.c    2013-10-11 12:56:44.000000000 
+0200
+++ new/gnome-software-3.10.2/src/gs-utils.c    2013-10-18 11:45:11.000000000 
+0200
@@ -164,7 +164,7 @@
        /* TRANSLATORS: this is the summary of a notification that an 
application
         * has been successfully installed */
        summary = g_strdup_printf (_("%s is now installed"), gs_app_get_name 
(app));
-       n = notify_notification_new (summary, NULL, "system-software-install");
+       n = notify_notification_new (summary, NULL, "gnome-software");
        /* TRANSLATORS: this is button that opens the newly installed 
application */
        notify_notification_add_action (n, "launch", _("Launch"),
                                        launch_app, g_object_ref (app), 
g_object_unref);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-software-3.10.1/src/plugins/appstream-cache.c 
new/gnome-software-3.10.2/src/plugins/appstream-cache.c
--- old/gnome-software-3.10.1/src/plugins/appstream-cache.c     2013-10-09 
10:18:02.000000000 +0200
+++ new/gnome-software-3.10.2/src/plugins/appstream-cache.c     2013-10-18 
11:43:39.000000000 +0200
@@ -343,6 +343,7 @@
        AppstreamApp *item;
        AppstreamCachePrivate *priv = helper->cache->priv;
        const gchar *id;
+       const gchar *pkgname;
 
        /* is app compatible with this running desktop */
        id = appstream_app_get_id (helper->item_temp);
@@ -365,9 +366,12 @@
        g_hash_table_insert (priv->hash_id,
                             (gpointer) appstream_app_get_id 
(helper->item_temp),
                             helper->item_temp);
-       g_hash_table_insert (priv->hash_pkgname,
-                            (gpointer) appstream_app_get_pkgname 
(helper->item_temp),
-                            helper->item_temp);
+       pkgname = appstream_app_get_pkgname (helper->item_temp);
+       if (pkgname != NULL) {
+               g_hash_table_insert (priv->hash_pkgname,
+                                    (gpointer) pkgname,
+                                    helper->item_temp);
+       }
 }
 
 /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gnome-software-3.10.1/src/plugins/gs-plugin-appstream.c 
new/gnome-software-3.10.2/src/plugins/gs-plugin-appstream.c
--- old/gnome-software-3.10.1/src/plugins/gs-plugin-appstream.c 2013-10-14 
13:32:09.000000000 +0200
+++ new/gnome-software-3.10.2/src/plugins/gs-plugin-appstream.c 2013-10-18 
11:44:24.000000000 +0200
@@ -51,14 +51,18 @@
 {
        GDir *dir;
        const gchar *tmp;
-       gboolean ret;
+       gboolean ret = TRUE;
 
        /* simply test if the first item is a file and if not, the icons are
         * in the new /var/cache/app-info/icons/${repo}/gimp.png layout */
        dir = g_dir_open (dirname, 0, NULL);
+       if (dir == NULL)
+               goto out;
        tmp = g_dir_read_name (dir);
        ret = g_strstr_len (tmp, -1, ".") == NULL;
-       g_dir_close (dir);
+out:
+       if (dir != NULL)
+               g_dir_close (dir);
        return ret;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gnome-software-3.10.1/src/plugins/gs-plugin-packagekit-refine.c 
new/gnome-software-3.10.2/src/plugins/gs-plugin-packagekit-refine.c
--- old/gnome-software-3.10.1/src/plugins/gs-plugin-packagekit-refine.c 
2013-10-09 10:18:02.000000000 +0200
+++ new/gnome-software-3.10.2/src/plugins/gs-plugin-packagekit-refine.c 
2013-10-18 17:43:26.000000000 +0200
@@ -51,9 +51,9 @@
        /* create private area */
        plugin->priv = GS_PLUGIN_GET_PRIVATE (GsPluginPrivate);
        plugin->priv->client = pk_client_new ();
-       g_object_set (plugin->priv->client,
-                     "background", FALSE,
-                     NULL);
+       pk_client_set_background (plugin->priv->client, FALSE);
+       pk_client_set_interactive (plugin->priv->client, FALSE);
+       pk_client_set_cache_age (plugin->priv->client, G_MAXUINT);
 }
 
 /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gnome-software-3.10.1/src/plugins/gs-plugin-packagekit-updates.c 
new/gnome-software-3.10.2/src/plugins/gs-plugin-packagekit-updates.c
--- old/gnome-software-3.10.1/src/plugins/gs-plugin-packagekit-updates.c        
2013-10-09 10:18:02.000000000 +0200
+++ new/gnome-software-3.10.2/src/plugins/gs-plugin-packagekit-updates.c        
2013-10-18 17:43:26.000000000 +0200
@@ -51,9 +51,9 @@
        /* create private area */
        plugin->priv = GS_PLUGIN_GET_PRIVATE (GsPluginPrivate);
        plugin->priv->task = pk_task_new ();
-       g_object_set (plugin->priv->task,
-                     "background", FALSE,
-                     NULL);
+       pk_client_set_background (PK_CLIENT (plugin->priv->task), FALSE);
+       pk_client_set_interactive (PK_CLIENT (plugin->priv->task), FALSE);
+       pk_client_set_cache_age (PK_CLIENT (plugin->priv->task), G_MAXUINT);
 }
 
 /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gnome-software-3.10.1/src/plugins/gs-plugin-packagekit.c 
new/gnome-software-3.10.2/src/plugins/gs-plugin-packagekit.c
--- old/gnome-software-3.10.1/src/plugins/gs-plugin-packagekit.c        
2013-10-14 14:07:21.000000000 +0200
+++ new/gnome-software-3.10.2/src/plugins/gs-plugin-packagekit.c        
2013-10-18 17:43:26.000000000 +0200
@@ -51,9 +51,9 @@
        /* create private area */
        plugin->priv = GS_PLUGIN_GET_PRIVATE (GsPluginPrivate);
        plugin->priv->task = pk_task_new ();
-       g_object_set (plugin->priv->task,
-                     "background", FALSE,
-                     NULL);
+       pk_client_set_background (PK_CLIENT (plugin->priv->task), FALSE);
+       pk_client_set_interactive (PK_CLIENT (plugin->priv->task), FALSE);
+       pk_client_set_cache_age (PK_CLIENT (plugin->priv->task), G_MAXUINT);
 }
 
 /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gnome-software-3.10.1/src/plugins/packagekit-common.c 
new/gnome-software-3.10.2/src/plugins/packagekit-common.c
--- old/gnome-software-3.10.1/src/plugins/packagekit-common.c   2013-10-09 
10:14:07.000000000 +0200
+++ new/gnome-software-3.10.2/src/plugins/packagekit-common.c   2013-10-18 
11:42:31.000000000 +0200
@@ -43,6 +43,8 @@
                break;
        case PK_STATUS_ENUM_LOADING_CACHE:
        case PK_STATUS_ENUM_TEST_COMMIT:
+       case PK_STATUS_ENUM_RUNNING:
+       case PK_STATUS_ENUM_SIG_CHECK:
                plugin_status = GS_PLUGIN_STATUS_SETUP;
                break;
        case PK_STATUS_ENUM_DOWNLOAD:
@@ -54,6 +56,13 @@
        case PK_STATUS_ENUM_DOWNLOAD_UPDATEINFO:
                plugin_status = GS_PLUGIN_STATUS_DOWNLOADING;
                break;
+       case PK_STATUS_ENUM_INSTALL:
+               plugin_status = GS_PLUGIN_STATUS_INSTALLING;
+               break;
+       case PK_STATUS_ENUM_CLEANUP:
+       case PK_STATUS_ENUM_REMOVE:
+               plugin_status = GS_PLUGIN_STATUS_REMOVING;
+               break;
        case PK_STATUS_ENUM_QUERY:
        case PK_STATUS_ENUM_INFO:
        case PK_STATUS_ENUM_DEP_RESOLVE:

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to