Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-packagekit for 
openSUSE:Factory checked in at 2021-09-21 21:12:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-packagekit (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-packagekit.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-packagekit"

Tue Sep 21 21:12:19 2021 rev:136 rq:920045 version:3.32.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-packagekit/gnome-packagekit.changes        
2021-05-20 19:24:45.450017021 +0200
+++ 
/work/SRC/openSUSE:Factory/.gnome-packagekit.new.1899/gnome-packagekit.changes  
    2021-09-21 21:12:25.842590327 +0200
@@ -1,0 +2,7 @@
+Thu Sep 16 01:46:52 UTC 2021 - Jonathan Kang <[email protected]>
+
+- Add gnome-packagekit-drop-NEWEST-on-get-updates.patch: Don't use
+  PK_FILTER_ENUM_NEWEST filter when getting updates
+  (glgo#GNOME/gnome-packagekit!3, bsc#1190330).
+
+-------------------------------------------------------------------

New:
----
  gnome-packagekit-drop-NEWEST-on-get-updates.patch

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

Other differences:
------------------
++++++ gnome-packagekit.spec ++++++
--- /var/tmp/diff_new_pack.uaEKwI/_old  2021-09-21 21:12:26.646591236 +0200
+++ /var/tmp/diff_new_pack.uaEKwI/_new  2021-09-21 21:12:26.650591240 +0200
@@ -43,6 +43,8 @@
 Patch6:         gnome-packagekit-bring-back-logout-support.patch
 # PATCH-FIX-UPSTREAM gnome-packagekit-define-HAVE_SYSTEMD.patch 
glgo#GNOME/gnome-packagekit!3, bsc#1134544 [email protected] -- define 
HAVE_SYSTEMD macro if systemd if found.
 Patch7:         gnome-packagekit-define-HAVE_SYSTEMD.patch
+# PATCH-FIX-UPSTREAM gnome-packagekit-drop-NEWEST-on-get-updates.patch 
glgo#GNOME/gnome-packagekit!3, bsc#1190330 [email protected] -- Don't use 
PK_FILTER_ENUM_NEWEST filter when getting updates
+Patch8:         gnome-packagekit-drop-NEWEST-on-get-updates.patch
 
 BuildRequires:  PackageKit-devel
 BuildRequires:  desktop-file-utils

++++++ gnome-packagekit-drop-NEWEST-on-get-updates.patch ++++++
>From 7346b97737ccf909380ad59917c5df01a0099ffa Mon Sep 17 00:00:00 2001
From: Jonathan Kang <[email protected]>
Date: Mon, 13 Sep 2021 13:55:50 +0800
Subject: [PATCH] Don't use PK_FILTER_ENUM_NEWEST filter when getting updates

Calling PackageKit's get-updates method returns the optimal updates.
So a PK_FILTER_ENUM_NEWEST is not needed, and can cause some updates
not shown.

http://bugzilla.opensuse.org/show_bug.cgi?id=1190330
---
 src/gpk-update-viewer.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index 16031d94..67e15f09 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -2423,13 +2423,6 @@ gpk_update_viewer_get_new_update_array (void)
        text = g_strdup_printf ("<big><b>%s</b></big>", _("Checking for 
updates???"));
        gtk_label_set_label (GTK_LABEL(widget), text);
 
-       /* only show newest updates? */
-       ret = g_settings_get_boolean (settings, GPK_SETTINGS_ONLY_NEWEST);
-       if (ret) {
-               g_debug ("only showing newest updates");
-               filter = pk_bitfield_from_enums (PK_FILTER_ENUM_NEWEST, -1);
-       }
-
        /* get new array */
        pk_client_get_updates_async (PK_CLIENT(task), filter, cancellable,
                                     (PkProgressCallback) 
gpk_update_viewer_progress_cb, NULL,
-- 
2.31.1

Reply via email to