Accepting request 378633 from GNOME:Factory

Update to 3.20.0 (forwarded request 378366 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/378633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-shell?expand=0&rev=111
This commit is contained in:
Dominique Leuenberger 2016-03-29 12:45:51 +00:00 committed by Git OBS Bridge
commit d818fbb0c1
9 changed files with 109 additions and 317 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8517baf8606f970ebf38222411eb7563cab2ae5efbfb088954ce23705b67519b
size 1590348

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ee69f461dd3d03caf788dfc64241275868ec0bcd1ef814f3cd2803c25796b888
size 1605164

View File

@ -1,32 +0,0 @@
From 021cecbce289f1d9c68a156d5b8dd204a73bc715 Mon Sep 17 00:00:00 2001
From: Christophe Fergeau <cfergeau@redhat.com>
Date: Sun, 20 Dec 2015 20:51:52 +0100
Subject: NetworkAgent: Fix double-unref in get_secrets_keyring_cb()
In get_secrets_keyring_cb, we own a ref on the 'attributes' hash table
from secret_item_get_attributes), and a ref on the 'secret' object (from
secret_item_get_secret(), but in the SHELL_KEYRING_SK_TAG case, we unref
these once before breaking out of the loop, and the second time after
breaking out of the loop.
https://bugzilla.gnome.org/show_bug.cgi?id=759708
---
src/shell-network-agent.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/shell-network-agent.c b/src/shell-network-agent.c
index 5d99167..da0f7e5 100644
--- a/src/shell-network-agent.c
+++ b/src/shell-network-agent.c
@@ -314,8 +314,6 @@ get_secrets_keyring_cb (GObject *source,
secrets_found = TRUE;
- g_hash_table_unref (attributes);
- secret_value_unref (secret);
break;
}
}
--
cgit v0.12

View File

@ -1,49 +0,0 @@
From 491e511a9699dad4fce75cf2468067b7ab0b8c64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Thu, 26 Nov 2015 00:04:11 +0100
Subject: altTab: Fix window-switcher on HiDPI displays
We need to take the scale factor into account to avoid tiny window
previews on HiDPI.
https://bugzilla.gnome.org/show_bug.cgi?id=758676
---
js/ui/altTab.js | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/js/ui/altTab.js b/js/ui/altTab.js
index 8765f19..7029bf7 100644
--- a/js/ui/altTab.js
+++ b/js/ui/altTab.js
@@ -685,15 +685,17 @@ const WindowIcon = new Lang.Class({
this._icon.destroy_all_children();
+ let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
+
switch (mode) {
case AppIconMode.THUMBNAIL_ONLY:
size = WINDOW_PREVIEW_SIZE;
- this._icon.add_actor(_createWindowClone(mutterWindow, WINDOW_PREVIEW_SIZE));
+ this._icon.add_actor(_createWindowClone(mutterWindow, size * scaleFactor));
break;
case AppIconMode.BOTH:
size = WINDOW_PREVIEW_SIZE;
- this._icon.add_actor(_createWindowClone(mutterWindow, WINDOW_PREVIEW_SIZE));
+ this._icon.add_actor(_createWindowClone(mutterWindow, size * scaleFactor));
if (this.app)
this._icon.add_actor(this._createAppIcon(this.app,
@@ -705,7 +707,7 @@ const WindowIcon = new Lang.Class({
this._icon.add_actor(this._createAppIcon(this.app, size));
}
- this._icon.set_size(size, size);
+ this._icon.set_size(size * scaleFactor, size * scaleFactor);
},
_createAppIcon: function(app, size) {
--
cgit v0.11.2

View File

@ -1,35 +0,0 @@
From f5d9d188a72e91ab40023dbbca6820a52a8262f6 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@igalia.com>
Date: Thu, 7 Jan 2016 16:03:41 -0600
Subject: authPrompt: Do not allow bypassing disabled Sign In button
The Next and Sign In buttons are disabled when the username/password
field is empty. However, the user can still bypass this button by
pressing the enter key, leading to some odd glitches with the log in
for 'Not Listed?' users.
This is easy to fix by simply not progressing to the next screen when
the button is disabled.
https://bugzilla.gnome.org/show_bug.cgi?id=746180
---
js/gdm/authPrompt.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js
index 88ed2a6..50c66fd 100644
--- a/js/gdm/authPrompt.js
+++ b/js/gdm/authPrompt.js
@@ -189,7 +189,8 @@ const AuthPrompt = new Lang.Class({
this._updateNextButtonSensitivity(this._entry.text.length > 0);
}));
this._entry.clutter_text.connect('activate', Lang.bind(this, function() {
- this.emit('next');
+ if (this.nextButton.reactive)
+ this.emit('next');
}));
},
--
cgit v0.11.2

View File

@ -1,63 +0,0 @@
From 4562a431ad976a3e0df38889d48bb7898f91c672 Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak@v3.sk>
Date: Tue, 26 Jan 2016 17:31:34 +0100
Subject: NetworkAgent: correctly identify the VPN secret requests
The non-interactive requests for 'vpn' settings are forwarded to the UI because
it is able to talk to the auth helpers. However, the VPN requests are identified
by the connection type instead of setting type. That is incorrect and the UI
is not prepared to handle such requests; tries to construct a dialog and fails
miserably:
Gjs-Message: JS LOG: Invalid connection type: vpn
(gnome-shell:13133): Gjs-WARNING **: JS ERROR: Error: No property 'text' in property list (or its value was undefined)
NetworkSecretDialog<._init@resource:///org/gnome/shell/ui/components/networkAgent.js:60
wrapper@resource:///org/gnome/gjs/modules/lang.js:169
_Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110
Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/lang.js:204
NetworkAgent<._handleRequest@resource:///org/gnome/shell/ui/components/networkAgent.js:724
wrapper@resource:///org/gnome/gjs/modules/lang.js:169
NetworkAgent<._newRequest@resource:///org/gnome/shell/ui/components/networkAgent.js:715
wrapper@resource:///org/gnome/gjs/modules/lang.js:169
https://bugzilla.gnome.org/show_bug.cgi?id=760999
---
src/shell-network-agent.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/shell-network-agent.c b/src/shell-network-agent.c
index c6f4b79..8e8c548 100644
--- a/src/shell-network-agent.c
+++ b/src/shell-network-agent.c
@@ -366,8 +366,6 @@ shell_network_agent_get_secrets (NMSecretAgent *agent,
{
ShellNetworkAgent *self = SHELL_NETWORK_AGENT (agent);
ShellAgentRequest *request;
- NMSettingConnection *setting_connection;
- const char *connection_type;
GHashTable *attributes;
char *request_id;
@@ -381,9 +379,6 @@ shell_network_agent_get_secrets (NMSecretAgent *agent,
shell_agent_request_cancel (request);
}
- setting_connection = nm_connection_get_setting_connection (connection);
- connection_type = nm_setting_connection_get_connection_type (setting_connection);
-
request = g_slice_new (ShellAgentRequest);
request->self = g_object_ref (self);
request->cancellable = g_cancellable_new ();
@@ -393,7 +388,7 @@ shell_network_agent_get_secrets (NMSecretAgent *agent,
request->flags = flags;
request->callback = callback;
request->callback_data = callback_data;
- request->is_vpn = !strcmp(connection_type, NM_SETTING_VPN_SETTING_NAME);
+ request->is_vpn = !strcmp(setting_name, NM_SETTING_VPN_SETTING_NAME);
request->entries = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, gvalue_destroy_notify);
if (request->is_vpn)
--
cgit v0.11.2

View File

@ -1,100 +0,0 @@
From 293bc9839424fd5498ba96e946d17818ad33d18c Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@igalia.com>
Date: Mon, 23 Nov 2015 17:21:49 -0600
Subject: loginDialog: Fix TypeError when user is deleted
LoginDialog has a private _user, but UserListItem has a public user.
Easy to get wrong since _user would be the right thing to type in 90% of
this file.
---
js/gdm/loginDialog.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index b400d79..4150649 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -96,7 +96,7 @@ const UserListItem = new Lang.Class({
},
_onDestroy: function() {
- this._user.disconnect(this._userChangedId);
+ this.user.disconnect(this._userChangedId);
},
_onClicked: function() {
--
cgit v0.11.2
From 3001f3376c9ad92c5b5b2b129b001a5d67caaea6 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@igalia.com>
Date: Mon, 23 Nov 2015 18:24:19 -0600
Subject: loginDialog: Reconsider user for user list when user changes
Generally a user-changed operation will be uninteresting, but if the
user is currently in the user list and the account changes to locked, we
want to remove it from the list, or if the user is not in the list and
the account changed to unlocked, we want to add it to the list. This
fixes the case where a new user account created in gnome-control-center
does not appear in the user list. The password mode is set in the new
account immediately after it is created, but the operations are not
atomic, so the login dialog considers the new user account when it is
still locked and rejects it from being displayed, then immediately
afterwards the account is unlocked. This commit causes the login dialog
to show the account when this occurs.
The containsUser() check here is not strictly necessary, but reduces
spurious calls to addUser() and removeUser(), since there's no easy way
to check if the locked status of the account has changed (as it's much
easier to connect to one signal on the UserManager than to
notify::locked on each User object).
https://bugzilla.gnome.org/show_bug.cgi?id=758568
---
js/gdm/loginDialog.js | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index 4150649..46eeb83 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -212,6 +212,10 @@ const UserList = new Lang.Class({
return item;
},
+ containsUser: function(user) {
+ return this._items[user.get_user_name()] != null;
+ },
+
addUser: function(user) {
if (!user.is_loaded)
return;
@@ -1126,6 +1130,10 @@ const LoginDialog = new Lang.Class({
this._userManager.disconnect(this._userRemovedId);
this._userRemovedId = 0;
}
+ if (this._userChangedId) {
+ this._userManager.disconnect(this._userChangedId);
+ this._userChangedId = 0;
+ }
this._textureCache.disconnect(this._updateLogoTextureId);
Main.layoutManager.disconnect(this._startupCompleteId);
if (this._settings) {
@@ -1172,6 +1180,14 @@ const LoginDialog = new Lang.Class({
this._userList.removeUser(user);
}));
+ this._userChangedId = this._userManager.connect('user-changed',
+ Lang.bind(this, function(userManager, user) {
+ if (this._userList.containsUser(user) && user.locked)
+ this._userList.removeUser(user);
+ else if (!this._userList.containsUser(user) && !user.locked)
+ this._userList.addUser(user);
+ }));
+
return GLib.SOURCE_REMOVE;
},
--
cgit v0.11.2

View File

@ -1,3 +1,60 @@
-------------------------------------------------------------------
Wed Mar 23 08:16:13 UTC 2016 - dimstar@opensuse.org
- Update to version 3.20.0:
+ Updated translations.
-------------------------------------------------------------------
Thu Mar 17 08:41:46 UTC 2016 - dimstar@opensuse.org
- Update to version 3.19.92:
+ Update location dialog according to latest mockups
(bgo#762480).
+ Fix deleting chat notifications in calendar (bgo#747991).
+ Updated translations.
-------------------------------------------------------------------
Thu Mar 3 19:50:36 UTC 2016 - zaitor@opensuse.org
- Update to version 3.19.91:
+ location: Ask user only once (bgo#762559).
+ Fix jiggling when auto-hiding legacy tray (bgo#747957).
+ Misc. bug fixes: bgo#762475, bgo#762507, bgo#755659.
+ Updated translations.
-------------------------------------------------------------------
Fri Feb 19 18:27:37 UTC 2016 - zaitor@opensuse.org
- Update to version 3.19.90:
+ Correctly identify VPN secret requests (bgo#760999).
+ Improve week number presentation (bgo#683245).
+ Add audio device selection dialog (bgo#760284).
+ Add media controls to the time and date drop down (bgo#756491).
+ Fix IBus candidate popup position under wayland (bgo#753476).
+ Ask user to grant applications access to location (bgo#762119).
+ Misc. bug fixes: bgo#761208, bgo#761772, bgo#762270.
+ Updated translations.
- Drop gnome-shell-correctly-ident-VPN-secret-req.patch: Fixed
upstream.
-------------------------------------------------------------------
Wed Feb 3 08:34:28 UTC 2016 - dimstar@opensuse.org
- Update to version 3.19.4:
+ gdm: Do not allow bypassing disabled Sign In button
(bgo#746180).
+ Style week numbers in calendar (bgo#683245).
+ Misc. bug fixes: bgo#759708, bgo#760577, bgo#760945.
+ Updated translations.
- Drop gnome-shell-authprompt-bypass-disabled.patch and
gnome-shell-Fix-double-unref.patch: fixed upstream.
-------------------------------------------------------------------
Tue Feb 2 14:34:09 UTC 2016 - damjanovic.ivo@gmail.com
- Obsolete gnome-shell-wayland: the package no longer exists since
version 3.19.2.
-------------------------------------------------------------------
Mon Feb 1 13:28:18 UTC 2016 - zaitor@opensuse.org
@ -16,6 +73,18 @@ Tue Dec 29 11:31:44 UTC 2015 - zaitor@opensuse.org
pkgconfig(libcanberra-gtk3) BuildRequires: It's what configure
looks for and needed now that libcanberra-devel was split.
-------------------------------------------------------------------
Thu Dec 17 13:17:41 UTC 2015 - dimstar@opensuse.org
- Update to version 3.19.3:
+ Fix thumbnail scaling in window switcher on HiDPI (bgo#758676).
+ Update animated backgrounds on timezone changes (bgo#758939).
+ loginDialog: Update user list on user changes (bgo#758568).
+ Fix touch interaction on wayland (bgo#756748).
+ Updated translations.
- Drop gnome-shell-logindialog-fixes.patch and
gnome-shell-alt-tab-hdpi-fixes.patch: Fixed upstream.
-------------------------------------------------------------------
Sat Dec 12 14:25:50 UTC 2015 - zaitor@opensuse.org
@ -24,6 +93,34 @@ Sat Dec 12 14:25:50 UTC 2015 - zaitor@opensuse.org
- Add gnome-shell-alt-tab-hdpi-fixes.patch: Fix tiny preview in
alt-tab when using HiDPI screens.
-------------------------------------------------------------------
Wed Nov 25 21:02:43 UTC 2015 - zaitor@opensuse.org
- Update to version 3.19.2:
+ Make gnome-shell DBus activatable (bgo#741666).
+ Fix browser plugin crash in Firefox (bgo#737932, bgo#757940).
+ Optionally show battery percentage in system status area
(bgo#735771).
+ Misc. bug fixes: bgo#757418, bgo#757668, bgo#757779,
bgo#757816, bgo#745626, bgo#758220.
+ Updated translations.
- Rename gnome-shell.desktop to org.gnome.Shell.desktop following
upstream.
- Drop gnome-shell-wayland subpackage as it is merged into
gnome-shell.
-------------------------------------------------------------------
Tue Nov 24 22:52:29 UTC 2015 - zaitor@opensuse.org
- Update to version 3.19.1:
+ Respect text-scaling factor under wayland (bgo#756447).
+ Show the Bluetooth submenu when there were setup devices
(bgo#723848).
+ Misc. bug fixes: bgo#756697, bgo#756714, bgo#756605,
bgo#754814, bgo#738942, bgo#756983, bgo#756925, bgo#757011,
bgo#673235, bgo#75715.
+ Updated translations.
-------------------------------------------------------------------
Tue Nov 17 22:27:14 UTC 2015 - zaitor@opensuse.org

View File

@ -17,25 +17,15 @@
Name: gnome-shell
Version: 3.18.3
Version: 3.20.0
Release: 0
Summary: GNOME Shell
License: GPL-2.0+
Group: System/GUI/GNOME
Url: http://live.gnome.org/GnomeShell
Source: http://download.gnome.org/sources/gnome-shell/3.18/%{name}-%{version}.tar.xz
Source: http://download.gnome.org/sources/gnome-shell/3.20/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM gnome-shell-private-connection.patch bnc#751211 bgo#646187 dimstar@opensuse.org -- create private connections if the user is not authorized
Patch1: gnome-shell-private-connection.patch
# PATCH-FIX-UPSTREAM gnome-shell-logindialog-fixes.patch zaitor@opensuse.org -- 2 commits from upstream fixing misc logindialog issues.
Patch2: gnome-shell-logindialog-fixes.patch
# PATCH-FIX-UPSTREAM gnome-shell-alt-tab-hdpi-fixes.patch zaitor@opensuse.org -- Fix tiny previews in alt-tab when using hidpi screens.
Patch3: gnome-shell-alt-tab-hdpi-fixes.patch
# PATCH-FIX-UPSTREAM gnome-shell-authprompt-bypass-disabled.patch bgo#746180 zaitor@opensuse.org -- Do not allow bypassing disabled Sign In button
Patch4: gnome-shell-authprompt-bypass-disabled.patch
# PATCH-FIX-UPSTREAM gnome-shell-correctly-ident-VPN-secret-req.patch bgo#760999 zaitor@opensuse.org -- NetworkAgent: correctly identify the VPN secret requests.
Patch5: gnome-shell-correctly-ident-VPN-secret-req.patch
# PATCH-FIX-UPSTREAM gnome-shell-Fix-double-unref.patch bgo#760924 zaitor@opensuse.org -- NetworkAgent: Fix double-unref in get_secrets_keyring_cb()
Patch6: gnome-shell-Fix-double-unref.patch
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gcc-c++
BuildRequires: intltool
@ -55,7 +45,7 @@ BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.9.0
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.7.90
BuildRequires: pkgconfig(gnome-keybindings)
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.45.4
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.7.4
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.19.2
BuildRequires: pkgconfig(gstreamer-1.0) >= 0.11.92
BuildRequires: pkgconfig(gstreamer-base-1.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.15.0
@ -65,7 +55,7 @@ BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(libcroco-0.6) >= 0.6.8
BuildRequires: pkgconfig(libedataserver-1.2) >= 3.5.3
BuildRequires: pkgconfig(libgnome-menu-3.0) >= 3.5.3
BuildRequires: pkgconfig(libmutter) >= 3.18.1
BuildRequires: pkgconfig(libmutter) >= 3.20.0
BuildRequires: pkgconfig(libnm-glib)
BuildRequires: pkgconfig(libnm-gtk) >= 0.9.8
BuildRequires: pkgconfig(libnm-util) >= 0.9.8
@ -107,6 +97,9 @@ Recommends: gnome-clocks
Recommends: gnome-shell-search-provider-documents
# network system icon
Recommends: NetworkManager-gnome
#merged into gnome-shell in 3.19
Obsoletes: gnome-shell-wayland
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires
@ -115,15 +108,6 @@ The GNOME Shell redefines user interactions with the GNOME desktop. In
particular, it offers new paradigms for launching applications, accessing
documents, and organizing open windows in GNOME.
%package wayland
Summary: GNOME Shell -- Wayland session
Group: System/GUI/GNOME
Requires: %{name} = %{version}
Requires: gnome-settings-daemon
%description wayland
This package contains the definition of the default GNOME Shell on Wayland.
%package devel
Summary: GNOME Shell -- Development Files
Group: Development/Libraries/GNOME
@ -162,11 +146,6 @@ into GNOME Shell calendar.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
translation-update-upstream
%build
@ -185,8 +164,7 @@ install -d %{buildroot}%{_datadir}/gnome-shell/extensions
# This is the directory where search providers get installed
install -d %{buildroot}%{_datadir}/gnome-shell/search-providers
%find_lang %{name} %{?no_lang_C}
%suse_update_desktop_file %{name}
%suse_update_desktop_file gnome-shell-wayland
%suse_update_desktop_file org.gnome.Shell
%suse_update_desktop_file gnome-shell-extension-prefs
# Work around race, as reported in bnc#844891 & bgo#709313.
install -d %{buildroot}%{_datadir}/gnome-shell/modes
@ -215,7 +193,7 @@ rm -rf %{buildroot}
%dir %{_datadir}/GConf
%dir %{_datadir}/GConf/gsettings
%{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
%{_datadir}/applications/gnome-shell.desktop
%{_datadir}/applications/org.gnome.Shell.desktop
%{_datadir}/applications/gnome-shell-extension-prefs.desktop
%{_datadir}/applications/org.gnome.Shell.PortalHelper.desktop
%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
@ -229,10 +207,6 @@ rm -rf %{buildroot}
%{_datadir}/gnome-shell/
%doc %{_mandir}/man?/gnome-shell.*
%files wayland
%defattr(-,root,root)
%{_datadir}/applications/gnome-shell-wayland.desktop
%files devel
%defattr(-,root,root)
%{_bindir}/gnome-shell-extension-tool