Accepting request 847224 from GNOME:Factory

Push GNOME 3.38

OBS-URL: https://build.opensuse.org/request/show/847224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-shell?expand=0&rev=189
This commit is contained in:
Dominique Leuenberger 2020-11-19 10:55:57 +00:00 committed by Git OBS Bridge
commit 722c2d5b63
8 changed files with 148 additions and 101 deletions

View File

@ -1,17 +0,0 @@
<services>
<service name="obs_scm" mode="disabled" >
<param name="url">https://gitlab.gnome.org/GNOME/gnome-shell.git</param>
<param name="scm">git</param>
<param name="revision">3.36.7</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled" />
</services>

View File

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

View File

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

View File

@ -1,35 +0,0 @@
From be12c71534199a1a1fd0a334d046ddb85c6f165e Mon Sep 17 00:00:00 2001
From: Xiaoguang Wang <xwang@suse.com>
Date: Tue, 21 Apr 2020 16:17:09 +0800
Subject: [PATCH] loginDialog: Get resource scale by get_resource_scale
To shut up 'Getting invalid resource scale property' warnings in the log.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1206
---
js/gdm/loginDialog.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index 16a7536ce..0ee51e637 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -810,12 +810,13 @@ var LoginDialog = GObject.registerClass({
return;
this._logoBin.destroy_all_children();
- if (this._logoFile && this._logoBin.resource_scale > 0) {
+ const [valid, resourceScale] = this._logoBin.get_resource_scale();
+ if (this._logoFile && valid) {
let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
this._logoBin.add_child(this._textureCache.load_file_async(this._logoFile,
-1, -1,
scaleFactor,
- this._logoBin.resource_scale));
+ resourceScale));
}
}
--
2.26.0

View File

@ -10,13 +10,9 @@ if the system administrator decides so.
https://bugzilla.gnome.org/show_bug.cgi?id=646187
---
js/ui/status/network.js | 38 ++++++++++++++++++++++++++++++++------
1 file changed, 32 insertions(+), 6 deletions(-)
Index: gnome-shell-3.36.1/js/ui/status/network.js
===================================================================
--- gnome-shell-3.36.1.orig/js/ui/status/network.js
+++ gnome-shell-3.36.1/js/ui/status/network.js
diff -urp gnome-shell-3.37.91.orig/js/ui/status/network.js gnome-shell-3.37.91/js/ui/status/network.js
--- gnome-shell-3.37.91.orig/js/ui/status/network.js 2020-08-24 10:54:20.009785700 -0500
+++ gnome-shell-3.37.91/js/ui/status/network.js 2020-09-05 15:44:29.877496217 -0500
@@ -1,6 +1,6 @@
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
/* exported NMApplet */
@ -25,7 +21,7 @@ Index: gnome-shell-3.36.1/js/ui/status/network.js
const Signals = imports.signals;
const Animation = imports.ui.animation;
@@ -327,6 +327,11 @@ var NMConnectionDevice = class NMConnect
@@ -356,6 +356,11 @@ var NMConnectionDevice = class NMConnect
_autoConnect() {
let connection = new NM.SimpleConnection();
@ -37,7 +33,7 @@ Index: gnome-shell-3.36.1/js/ui/status/network.js
this._client.add_and_activate_connection_async(connection, this._device, null, null, null);
}
@@ -462,10 +467,11 @@ var NMConnectionDevice = class NMConnect
@@ -491,10 +496,11 @@ var NMConnectionDevice = class NMConnect
};
var NMDeviceWired = class extends NMConnectionDevice {
@ -50,7 +46,7 @@ Index: gnome-shell-3.36.1/js/ui/status/network.js
}
get category() {
@@ -694,11 +700,12 @@ var NMWirelessDialogItem = GObject.regis
@@ -722,11 +728,12 @@ var NMWirelessDialogItem = GObject.regis
var NMWirelessDialog = GObject.registerClass(
class NMWirelessDialog extends ModalDialog.ModalDialog {
@ -64,8 +60,8 @@ Index: gnome-shell-3.36.1/js/ui/status/network.js
this._wirelessEnabledChangedId = this._client.connect('notify::wireless-enabled',
this._syncView.bind(this));
@@ -932,6 +939,11 @@ class NMWirelessDialog extends ModalDial
this._device.get_path(), accessPoints[0].get_path()]);
@@ -959,6 +966,11 @@ class NMWirelessDialog extends ModalDial
this._device.get_path(), accessPoints[0].get_path());
} else {
let connection = new NM.SimpleConnection();
+ if (this._privateConnections) {
@ -76,7 +72,7 @@ Index: gnome-shell-3.36.1/js/ui/status/network.js
this._client.add_and_activate_connection_async(connection, this._device, accessPoints[0].get_path(), null, null);
}
}
@@ -1168,9 +1180,10 @@ class NMWirelessDialog extends ModalDial
@@ -1195,9 +1207,10 @@ class NMWirelessDialog extends ModalDial
});
var NMDeviceWireless = class {
@ -88,7 +84,7 @@ Index: gnome-shell-3.36.1/js/ui/status/network.js
this._description = '';
@@ -1255,7 +1268,7 @@ var NMDeviceWireless = class {
@@ -1282,7 +1295,7 @@ var NMDeviceWireless = class {
}
_showDialog() {
@ -97,10 +93,10 @@ Index: gnome-shell-3.36.1/js/ui/status/network.js
this._dialog.connect('closed', this._dialogClosed.bind(this));
this._dialog.open();
}
@@ -1632,6 +1645,19 @@ class Indicator extends PanelMenu.System
@@ -1660,6 +1673,20 @@ class Indicator extends PanelMenu.System
async _getClient() {
this._client = await NM.Client.new_async(null);
_clientGot(obj, result) {
this._client = NM.Client.new_finish(result);
+
+ // Check if newly created connections should be private or not
+ this._privateConnections = true;
@ -114,10 +110,11 @@ Index: gnome-shell-3.36.1/js/ui/status/network.js
+ null /* cancellable */);
+ if (authResult)
+ this._privateConnections = !authResult.get_is_authorized();
+
this._activeConnections = [];
this._connections = [];
@@ -1752,7 +1778,7 @@ class Indicator extends PanelMenu.System
this._connectivityQueue = [];
@@ -1779,7 +1806,7 @@ class Indicator extends PanelMenu.System
let wrapperClass = this._dtypes[device.get_device_type()];
if (wrapperClass) {
@ -125,5 +122,4 @@ Index: gnome-shell-3.36.1/js/ui/status/network.js
+ let wrapper = new wrapperClass(this._client, device, this._privateConnections);
device._delegate = wrapper;
this._addDeviceWrapper(wrapper);

View File

@ -1,3 +1,115 @@
-------------------------------------------------------------------
Thu Oct 8 03:38:01 UTC 2020 - dimstar@opensuse.org
- Update to version 3.38.1:
+ Add screen recordings to recent items.
+ Tweak peek-password feature.
+ Fix workspace glitches in overview.
+ Improve DND behavior in app picker.
+ Misc. bug fixes and cleanups.
+ Updated translations.
- Enable gtk-doc building again.
-------------------------------------------------------------------
Thu Oct 8 03:38:00 UTC 2020 - dimstar@opensuse.org
- Update to version 3.38.0:
+ Misc. bug fixes and cleanups.
+ Updated translations.
-------------------------------------------------------------------
Thu Oct 8 03:37:52 UTC 2020 - dimstar@opensuse.org
- Update to version 3.37.92:
+ Fix screen recorder shortcut.
+ Support cycle-group cycling only over windows in the workspac3.
+ Misc bugfixes and cleanups.
+ Updated translations.
-------------------------------------------------------------------
Thu Oct 8 03:37:51 UTC 2020 - Michael Gorse <mgorse@suse.com>
- Rebase gnome-shell-private-connection.patch.
-------------------------------------------------------------------
Thu Oct 8 03:37:51 UTC 2020 - dimstar@opensuse.org
- Update to version 3.37.91:
+ Fix potential stack overflow in libcroco.
+ Fix page removal in app picker.
+ Fix "old style" VPN authentication.
+ Fix X11 session login.
+ Fix week number alignment when using font-scaling.
+ Fix lock screen on systems without GLSL shader support.
- Changes from version 3.37.90:
+ Fix extension updates when many extensions are installed.
+ Fix missing icons in on-screen keyboard.
+ Fix delay when showing calendar events.
+ Allow rearranging items in app picker.
+ Fix top bar navigation when NumLock is active.
+ Delay login animation until wallpaper has loaded.
+ Reset auth prompt on login screen on VT switch before fade in.
+ Move screencasting into a separate service.
+ Replace loaded terms with more descriptive one.
+ Add "Boot Options" support to restart dialog.
+ Move "Restart" into a separate menu item/dialog.
+ Default to not installing updates on low battery.
- Changes from version 3.37.3:
+ Refactor and clean up window picker.
+ Move calendar events out of notifications list.
+ Refine app folder dialogs.
+ Hide switch-user button on lock screen if unsupported.
+ Refactor and clean up app picker pagination.
+ Add API to retrieve specified mimetypes from clipboards.
+ Support prepending workspace with horizontal layouts.
+ Update microphone icon on input volume changes.
+ Cache labels on GPU.
+ Fix regressions in redesigned modal dialogs.
+ Use GIcon for all application icons.
+ Support pre-authenticated logins in vmware environments.
+ Better support sandboxed apps with multiple .desktop files.
+ Fix on-screen keyboard size in portrait orientation.
- Changes from version 3.37.2:
+ Add support for "PrefersNonDefaultGPU" desktop key.
+ Only start systemd units when running under systemd.
+ Fix "ghost" media controls.
+ Fix zombie sockets from extensions downloader.
+ Update world clocks offsets when timezone changes.
+ Support scrolling anywhere in slider menu items.
+ Fix "Do Not Disturb" setting getting reset on startup.
+ Only allow updates for extensions that aren't cached.
+ Fix matching notifications by PID.
+ Indicate extension errors in Extensions app.
+ Add clipboard API for querying supported mimetypes.
+ Add preview to color picker.
+ Improve world clocks styling.
+ Remove Frequent view from app picker.
+ Fix pad OSD glitches.
+ Expose actor tree in looking glass.
- Changes from version 3.37.1:
+ Improve bluetooth submenu title.
+ Add openPrefs() convenience method for extensions.
+ Bring back support for empty StIcons.
+ Wake up screen when unlocking programmatically.
+ Improve extensions tool error reporting.
+ Improve handling of scale-factor changes.
+ Tone down weekend days with events in calendar.
+ Fix showing bluetooth submenu when devices were set up.
+ Add support for parental controls filtering.
+ Provide alternative extension templates.
+ Improve weather section's empty state.
+ Fix translations of folder names>
+ Fix delay on lock screen after entering wrong password.
+ Inhibit remote access when disabled by session mode.
+ Improve calendar-server performance.
+ Add gnome-shell-extension-prefs wrapper for compatibility.
+ Fix stuck lock screen after unlock.
+ Updated translations.
- Drop gnome-shell-Get-resource-scale-by-get_resource_scale.patch:
fixed upstream.
- Do not apply gnome-shell-private-connection.patch: needs rebase.
- Disable gtk-doc building: failure to build in this beta.
-------------------------------------------------------------------
Wed Oct 7 19:02:07 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
@ -11,7 +123,7 @@ Wed Oct 7 19:02:07 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
-------------------------------------------------------------------
Sun Sep 13 12:33:45 UTC 2020 - QK ZHU <qkzhu@suse.com>
- Update gnome-shell-fate324570-Make-GDM-background-image-configurable.patch:
- Update gnome-shell-fate324570-Make-GDM-background-image-configurable.patch:
Bring noise-texture.png back which will be used as the default
value of org.gnome.desktop.background.lockdialog picture-uri
(boo#1176418).
@ -47,7 +159,7 @@ Wed Aug 12 21:11:10 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
+ Reset auth prompt on login screen on VT switch before fade in.
+ Fix stuck grab when destroying open popup menu.
+ Misc. bug fixes and cleanups.
+ Updated translations.
+ Updated translations.
-------------------------------------------------------------------
Fri Aug 7 05:43:21 UTC 2020 - QK ZHU <qkzhu@suse.com>

View File

@ -1,5 +0,0 @@
name: gnome-shell
version: 3.36.7
mtime: 1602009762
commit: 64d57a2d9e6e3e138593b2c9988a3992ff144f24

View File

@ -19,14 +19,14 @@
%global __requires_exclude typelib\\(Meta\\)
Name: gnome-shell
Version: 3.36.7
Version: 3.38.1
Release: 0
Summary: GNOME Shell
# shew extension is LGPL 2.1; gnome-shell-extension-tool is GPL-3.0-or-later
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later
Group: System/GUI/GNOME
URL: https://wiki.gnome.org/Projects/GnomeShell
Source: %{name}-%{version}.tar.xz
Source: https://download.gnome.org/sources/gnome-shell/3.38/%{name}-%{version}.tar.xz
# SOURCE-FEATURE-SLE aboutMenu fate#314545 dliang@suse.com -- Add an applet on login UI to display suse icon, product name, hostname.
Source1: aboutMenu.js
# SOURCE-FEATURE-OPENSUSE noise-texture boo#1176418 qkzhu@suse.com -- Add noise-texture as the default greeter background, used by patch4.
@ -40,8 +40,6 @@ Patch2: gnome-shell-disable-ibus-when-not-installed.patch
Patch4: gnome-shell-fate324570-Make-GDM-background-image-configurable.patch
# PATCH-NEEDS-REBASE gnome-shell-jscSLE9267-Remove-sessionList-of-endSessionDialog.patch jsc#SLE-9267 qkzhu@suse.com -- Remove sessionList of endSessionDialog (WAS: PATCH-FEATURE-OPENSUSE)
Patch5: gnome-shell-jscSLE9267-Remove-sessionList-of-endSessionDialog.patch
# PATCH-FIX-UPSTREAM gnome-shell-Get-resource-scale-by-get_resource_scale.patch bsc#1169845 glgo#GNOME/gnome-shell!1206 xwang@suse.com -- Get resource scale by get_resource_scale
Patch6: gnome-shell-Get-resource-scale-by-get_resource_scale.patch
## NOTE: Keep SLE-only patches at bottom (starting on 1000).
# PATCH-FEATURE-SLE gnome-shell-gdm-login-applet.patch fate#314545 dliang@suse.com -- Add an applet on login UI to display suse icon, product name, hostname.
@ -80,10 +78,10 @@ BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gdk-x11-3.0)
BuildRequires: pkgconfig(gio-2.0) >= 2.56.0
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.56.0
BuildRequires: pkgconfig(gjs-1.0) >= 1.63.2
BuildRequires: pkgconfig(gjs-1.0) >= 1.65.1
BuildRequires: pkgconfig(gnome-autoar-0)
BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.9.0
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.34.2
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.35.90
BuildRequires: pkgconfig(gnome-keybindings)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.49.1
@ -97,9 +95,9 @@ BuildRequires: pkgconfig(libcanberra)
BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(libcroco-0.6) >= 0.6.8
BuildRequires: pkgconfig(libecal-2.0) >= 3.33.1
BuildRequires: pkgconfig(libedataserver-1.2) >= 3.17.2
BuildRequires: pkgconfig(libedataserver-1.2) >= 3.33.1
BuildRequires: pkgconfig(libgnome-menu-3.0) >= 3.5.3
BuildRequires: pkgconfig(libmutter-6) >= 3.36.1
BuildRequires: pkgconfig(libmutter-7) >= 3.38.0
BuildRequires: pkgconfig(libnm) >= 1.10.4
BuildRequires: pkgconfig(libpulse) >= 2.0
BuildRequires: pkgconfig(libpulse-mainloop-glib)
@ -108,9 +106,9 @@ BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.11
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(mutter-clutter-6) >= 3.36.1
BuildRequires: pkgconfig(mutter-cogl-6) >= 3.36.1
BuildRequires: pkgconfig(mutter-cogl-pango-6) >= 3.36.1
BuildRequires: pkgconfig(mutter-clutter-7) >= 3.37.91
BuildRequires: pkgconfig(mutter-cogl-7) >= 3.37.91
BuildRequires: pkgconfig(mutter-cogl-pango-7) >= 3.37.91
BuildRequires: pkgconfig(polkit-agent-1) >= 0.100
BuildRequires: pkgconfig(x11)
BuildRequires: python(abi) >= 3
@ -176,11 +174,10 @@ This package contains an optional extensions app for managing GNOME Shell extens
%prep
%setup -q
%patch1 -p1
#patch1 -p1
%patch2 -p1
%patch4 -p1
#patch5 -p1
%patch6 -p1
translation-update-upstream
@ -271,11 +268,10 @@ rm -f %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Extensions.D
%dir %{_datadir}/xdg-desktop-portal
%dir %{_datadir}/xdg-desktop-portal/portals
%{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal
%{_userunitdir}/gnome-shell-wayland.target
%{_userunitdir}/gnome-shell-x11.target
%{_userunitdir}/gnome-shell-wayland.service
%{_userunitdir}/gnome-shell-x11.service
%{_userunitdir}/gnome-shell-disable-extensions.service
%{_userunitdir}/org.gnome.Shell.target
%{_userunitdir}/org.gnome.Shell@wayland.service
%{_userunitdir}/org.gnome.Shell@x11.service
%{_userunitdir}/org.gnome.Shell-disable-extensions.service
%{_sysconfdir}/xdg/autostart/gnome-shell-overrides-migration.desktop
%{_libexecdir}/gnome-shell/gnome-shell-overrides-migration.sh
%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.gschema.override