Hello community,

here is the log from the commit of package gnome-shell for openSUSE:Factory 
checked in at 2018-06-02 11:54:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-shell (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-shell.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-shell"

Sat Jun  2 11:54:07 2018 rev:152 rq:612852 version:3.28.2+20180519.a52597ac5

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-shell/gnome-shell.changes  2018-05-22 
16:59:21.153922929 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-shell.new/gnome-shell.changes     
2018-06-02 11:54:13.691422808 +0200
@@ -2 +2,12 @@
-Wed May 09 16:03:10 UTC 2018 - [email protected]
+Mon May 21 20:54:46 UTC 2018 - [email protected]
+
+- Update to version 3.28.2+20180519.a52597ac5:
+  + network: Update the icon in the panel whenever NM's state
+    changes.
+  + Updated translations.
+- Add gnome-shell-network-initialize-async.patch: network:
+  initialize the agent asynchronously (bgo#789811,
+  glgo#GNOME/gnome-shell#63). Patch from upstream git.
+
+-------------------------------------------------------------------
+Wed May 09 16:03:10 UTC 2018 - [email protected]

Old:
----
  gnome-shell-3.28.2+20180509.e1ed4b25e.tar.xz

New:
----
  gnome-shell-3.28.2+20180519.a52597ac5.tar.xz
  gnome-shell-network-initialize-async.patch

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

Other differences:
------------------
++++++ gnome-shell.spec ++++++
--- /var/tmp/diff_new_pack.uUsagm/_old  2018-06-02 11:54:14.371397867 +0200
+++ /var/tmp/diff_new_pack.uUsagm/_new  2018-06-02 11:54:14.375397720 +0200
@@ -18,7 +18,7 @@
 
 %global __requires_exclude typelib\\(Meta\\)
 Name:           gnome-shell
-Version:        3.28.2+20180509.e1ed4b25e
+Version:        3.28.2+20180519.a52597ac5
 Release:        0
 Summary:        GNOME Shell
 License:        GPL-2.0-or-later
@@ -38,6 +38,9 @@
 Patch2:         gnome-shell-disable-ibus-when-not-installed.patch
 # PATCH-FIX-UPSTREAM 
gnome-shell-Avoid-loginDialog-grab-focus-when-locked.patch bsc#1058521 
bgo#788169 [email protected] -- Avoid login dialog grabs focus when screen locked
 Patch3:         gnome-shell-Avoid-loginDialog-grab-focus-when-locked.patch
+# PATCH-FIX-UPSTREAM gnome-shell-network-initialize-async.patch bgo#789811 
glgo#GNOME/gnome-shell#63 -- network: initialize the agent asynchronously
+Patch4:         gnome-shell-network-initialize-async.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.
 Patch1001:      gnome-shell-gdm-login-applet.patch
@@ -91,7 +94,7 @@
 BuildRequires:  pkgconfig(libedataserver-1.2) >= 3.17.2
 BuildRequires:  pkgconfig(libgnome-menu-3.0) >= 3.5.3
 BuildRequires:  pkgconfig(libmutter-2) >= 3.28.2
-BuildRequires:  pkgconfig(libnm) >= 0.9.8
+BuildRequires:  pkgconfig(libnm) >= 1.10.4
 BuildRequires:  pkgconfig(libpulse) >= 2.0
 BuildRequires:  pkgconfig(libpulse-mainloop-glib)
 BuildRequires:  pkgconfig(libsecret-1) >= 0.18
@@ -175,6 +178,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 translation-update-upstream
 
 %if !0%{?is_opensuse}

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.uUsagm/_old  2018-06-02 11:54:14.439395373 +0200
+++ /var/tmp/diff_new_pack.uUsagm/_new  2018-06-02 11:54:14.439395373 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://gitlab.gnome.org/GNOME/gnome-shell.git</param>
-              <param 
name="changesrevision">e1ed4b25e1eea39dfe83829d336c6b065440b1cb</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">a52597ac5b24d7fed519397e0d04af21a8bc96bd</param></service></servicedata>
\ No newline at end of file

++++++ gnome-shell-3.28.2+20180509.e1ed4b25e.tar.xz -> 
gnome-shell-3.28.2+20180519.a52597ac5.tar.xz ++++++
++++ 2767 lines of diff (skipped)

++++++ gnome-shell-network-initialize-async.patch ++++++
>From c82cb918ae8d2dc0b737dc83d4669d3e4bd15ef0 Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <[email protected]>
Date: Thu, 11 Jan 2018 10:50:45 +0100
Subject: [PATCH] network: initialize the agent asynchronously

This also bumps the NM requirement. We actually already use API from
1.0, but regularly hit various NetworkManager bugs with versions prior
to 1.10.2. 1.10.4 fixes the asynchronous agent initialization.

https://bugzilla.gnome.org/show_bug.cgi?id=789811
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/63
---
 js/ui/components/networkAgent.js | 21 +++++++++++++--------
 meson.build                      |  2 +-
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js
index 75f4203..9050b8a 100644
--- a/js/ui/components/networkAgent.js
+++ b/js/ui/components/networkAgent.js
@@ -604,12 +604,17 @@ var NetworkAgent = new Lang.Class({
 
         this._native.connect('new-request', this._newRequest.bind(this));
         this._native.connect('cancel-request', this._cancelRequest.bind(this));
-        try {
-            this._native.init(null);
-        } catch(e) {
-            this._native = null;
-            logError(e, 'error initializing the NetworkManager Agent');
-        }
+
+        this._initialized = false;
+        this._native.init_async(GLib.PRIORITY_DEFAULT, null, (o, res) => {
+            try {
+                this._native.init_finish(res);
+                this._initialized = true;
+            } catch(e) {
+                this._native = null;
+                logError(e, 'error initializing the NetworkManager Agent');
+            }
+        });
     },
 
     enable() {
@@ -617,7 +622,7 @@ var NetworkAgent = new Lang.Class({
             return;
 
         this._native.auto_register = true;
-        if (!this._native.registered)
+        if (this._initialized && !this._native.registered)
             this._native.register_async(null, null);
     },
 
@@ -640,7 +645,7 @@ var NetworkAgent = new Lang.Class({
             return;
 
         this._native.auto_register = false;
-        if (this._native.registered)
+        if (this._initialized && this._native.registered)
             this._native.unregister_async(null, null);
     },
 
diff --git a/meson.build b/meson.build
index bfc2ff7..1c0b68c 100644
--- a/meson.build
+++ b/meson.build
@@ -31,7 +31,7 @@ ibus_req = '>= 1.5.2'
 
 bt_req = '>= 3.9.0'
 gst_req = '>= 0.11.92'
-nm_req = '>= 0.9.8'
+nm_req = '>= 1.10.4'
 secret_req = '>= 0.18'
 
 gnome = import('gnome')
--
libgit2 0.27.0



Reply via email to