Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-shell for openSUSE:Factory 
checked in at 2026-02-03 21:25:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-shell (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-shell.new.1995 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-shell"

Tue Feb  3 21:25:36 2026 rev:284 rq:1330365 version:49.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-shell/gnome-shell.changes  2026-01-27 
16:07:55.259049946 +0100
+++ /work/SRC/openSUSE:Factory/.gnome-shell.new.1995/gnome-shell.changes        
2026-02-03 21:25:49.494329982 +0100
@@ -1,0 +2,7 @@
+Fri Jan 30 13:29:53 UTC 2026 - Alynx Zhou <[email protected]>
+
+- Add 32.patch: Fix duplicated new devices introduced by
+  glgo#GNOME/libgnome-volume-control!31
+  (bsc#1257512, glgo#GNOME/libgnome-volume-control#39).
+
+-------------------------------------------------------------------

New:
----
  32.patch

----------(New B)----------
  New:
- Add 32.patch: Fix duplicated new devices introduced by
  glgo#GNOME/libgnome-volume-control!31
----------(New E)----------

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

Other differences:
------------------
++++++ gnome-shell.spec ++++++
--- /var/tmp/diff_new_pack.w8zyEa/_old  2026-02-03 21:25:50.694380327 +0100
+++ /var/tmp/diff_new_pack.w8zyEa/_new  2026-02-03 21:25:50.698380495 +0100
@@ -44,6 +44,8 @@
 
 # PATCH-FIX-UPSTREAM - High patch ID nummber, as it needs to be manually 
applied in the gvc submodule directory
 Patch2000:      
https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/merge_requests/31.patch
+# PATCH-FIX-UPSTREAM 32.patch bsc#1257512, 
glgo#GNOME/libgnome-volume-control#39 [email protected] -- Fix duplicated new 
devices introduced by glgo#GNOME/libgnome-volume-control!31
+Patch2001:      
https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/merge_requests/32.patch
 
 ## NOTE: Keep SLE-only patches at bottom (starting on 1000).
 # PATCH-FEATURE-SLE gnome-shell-gdm-login-applet.patch fate#314545 
[email protected] -- Add an applet on login UI to display suse icon, product 
name, hostname.
@@ -188,6 +190,7 @@
 mv libgnome-volume-control-0.gitmodule gvc
 pushd gvc
 %patch -P 2000 -p1
+%patch -P 2001 -p1
 popd
 tar xf %{SOURCE2}
 mv libshew-0.gitmodule libshew

++++++ 32.patch ++++++
>From 3e68238ed7c9d3f26f8bfaf03780f79ce7c7043e Mon Sep 17 00:00:00 2001
From: Alynx Zhou <[email protected]>
Date: Fri, 30 Jan 2026 21:02:50 +0800
Subject: [PATCH] mixer-control: Check whether we are handling new device in
 sync_devices()

Previously sync_devices() is only called when there is a new device, but
with [1] we always call it, and create duplicated new devices. Fix it by
check whether we are handling new devices before creating.

Closes: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/issues/39

[1]: 
https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/commit/b9d0b120c6022cc2d1a728820a81beacc9360366
---
 gvc-mixer-control.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gvc-mixer-control.c b/gvc-mixer-control.c
index a8c75a0..51e389f 100644
--- a/gvc-mixer-control.c
+++ b/gvc-mixer-control.c
@@ -1336,6 +1336,7 @@ clear_stream_from_devices (GvcMixerControl    *control,
 static void
 sync_devices (GvcMixerControl *control,
               GvcMixerStream*  stream,
+              gboolean         is_new,
               gboolean         is_bluetooth)
 {
         /* Go through ports to see what outputs can be created. */
@@ -1350,7 +1351,7 @@ sync_devices (GvcMixerControl *control,
                 return;
         }
 
-        if (stream_ports == NULL) {
+        if (stream_ports == NULL && is_new) {
                 GvcMixerUIDevice *device;
                 GObject *object;
 
@@ -1547,7 +1548,7 @@ update_sink (GvcMixerControl    *control,
         is_bt = is_bluetooth (info->proplist);
         /* Sync devices as the port on the stream might have changed */
         if (!is_new)
-                sync_devices (control, stream, is_bt);
+                sync_devices (control, stream, is_new, is_bt);
 
         /* Messy I know but to set the port everytime regardless of whether it 
has changed will cost us a
          * port change notify signal which causes the frontend to resync.
@@ -1576,7 +1577,7 @@ update_sink (GvcMixerControl    *control,
                 add_stream (control, stream);
                 /* Always sync on a new stream to able to assign the right 
stream id
                  * to the appropriate outputs (multiple potential outputs per 
stream). */
-                sync_devices (control, stream, is_bt);
+                sync_devices (control, stream, is_new, is_bt);
         } else {
                 g_signal_emit (G_OBJECT (control),
                                signals[STREAM_CHANGED],
@@ -1685,7 +1686,7 @@ update_source (GvcMixerControl      *control,
         is_bt = is_bluetooth (info->proplist);
         /* Sync devices as the port on the stream might have changed */
         if (!is_new)
-                sync_devices (control, stream, is_bt);
+                sync_devices (control, stream, is_new, is_bt);
 
         if (info->active_port != NULL) {
                 if (is_new)
@@ -1707,7 +1708,7 @@ update_source (GvcMixerControl      *control,
                                      GUINT_TO_POINTER (info->index),
                                      g_object_ref (stream));
                 add_stream (control, stream);
-                sync_devices (control, stream, is_bt);
+                sync_devices (control, stream, is_new, is_bt);
         } else {
                 g_signal_emit (G_OBJECT (control),
                                signals[STREAM_CHANGED],
-- 
GitLab

Reply via email to