Accepting request 1205457 from GNOME:Factory

SCripted push of GNOME 47

OBS-URL: https://build.opensuse.org/request/show/1205457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-shell?expand=0&rev=262
This commit is contained in:
Ana Guerrero 2024-10-08 15:17:48 +00:00 committed by Git OBS Bridge
commit 78e8d00f43
10 changed files with 76 additions and 114 deletions

View File

@ -1,62 +0,0 @@
diff --git a/js/ui/status/network.js b/dev/shm/tw/gnome-shell-js/ui/status/network.js
index c3f0aa0..d9a5a86 100644
--- a/js/ui/status/network.js
+++ b/dev/shm/tw/gnome-shell-js/ui/status/network.js
@@ -1975,6 +1975,7 @@ class Indicator extends SystemIndicator {
this._mainConnection = null;
this._notification = null;
+ this._PortalNotification = null;
this._wiredToggle = new NMWiredToggle();
this._wirelessToggle = new NMWirelessToggle();
@@ -2083,8 +2084,10 @@ class Indicator extends SystemIndicator {
}
_mainConnectionStateChanged() {
- if (this._mainConnection.state === NM.ActiveConnectionState.ACTIVATED)
+ if (this._mainConnection.state === NM.ActiveConnectionState.ACTIVATED) {
this._notification?.destroy();
+ this._PortalNotification?.destroy();
+ }
}
_flushConnectivityQueue() {
@@ -2119,7 +2122,7 @@ class Indicator extends SystemIndicator {
}
}
- async _syncConnectivity() {
+ _syncConnectivity() {
if (this._mainConnection == null ||
this._mainConnection.state !== NM.ActiveConnectionState.ACTIVATED) {
this._flushConnectivityQueue();
@@ -2137,10 +2140,28 @@ class Indicator extends SystemIndicator {
if (!isPortal || Main.sessionMode.isGreeter)
return;
+ let name = this._mainConnection.get_id();
let path = this._mainConnection.get_path();
if (this._connectivityQueue.has(path))
return;
+ this._PortalNotification?.destroy();
+ const source = MessageTray.getSystemSource();
+
+ this._PortalNotification = new MessageTray.Notification({
+ source,
+ title: _('Sign Into WiFi Network'),
+ body: _(name),
+ });
+ this._PortalNotification.connect('activated',
+ () => this._onNotificationActivated(path));
+ this._PortalNotification.connect('destroy',
+ () => (this._PortalNotification = null));
+
+ source.addNotification(this._PortalNotification);
+ }
+
+ async _onNotificationActivated(path) {
let timestamp = global.get_current_time();
if (!this._portalHelperProxy) {
this._portalHelperProxy = new Gio.DBusProxy({

View File

@ -3,7 +3,7 @@
<service name="obs_scm" mode="manual"> <service name="obs_scm" mode="manual">
<param name="scm">git</param> <param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/gnome-shell.git</param> <param name="url">https://gitlab.gnome.org/GNOME/gnome-shell.git</param>
<param name="revision">46.5</param> <param name="revision">47.0</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param> <param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param> <param name="versionrewrite-replacement">\1</param>

View File

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

3
gnome-shell-47.0.obscpio Normal file
View File

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

View File

@ -1,27 +1,6 @@
Index: gnome-shell-44.beta/data/meson.build Index: gnome-shell-47.beta/data/org.gnome.Shell-disable-extensions.service
=================================================================== ===================================================================
--- gnome-shell-44.beta.orig/data/meson.build --- gnome-shell-47.beta.orig/data/org.gnome.Shell-disable-extensions.service
+++ gnome-shell-44.beta/data/meson.build
@@ -117,8 +117,14 @@ if have_systemd
install_dir: systemduserunitdir
)
- units = files('org.gnome.Shell.target',
- 'org.gnome.Shell-disable-extensions.service')
+ configure_file(
+ input: 'org.gnome.Shell-disable-extensions.service.in',
+ output: 'org.gnome.Shell-disable-extensions.service',
+ configuration: unitconf,
+ install_dir: systemduserunitdir
+ )
+
+ units = files('org.gnome.Shell.target')
install_data(units, install_dir: systemduserunitdir)
endif
Index: gnome-shell-44.beta/data/org.gnome.Shell-disable-extensions.service
===================================================================
--- gnome-shell-44.beta.orig/data/org.gnome.Shell-disable-extensions.service
+++ /dev/null +++ /dev/null
@@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
-[Unit] -[Unit]
@ -39,10 +18,10 @@ Index: gnome-shell-44.beta/data/org.gnome.Shell-disable-extensions.service
-# Disable extensions -# Disable extensions
-ExecStart=gsettings set org.gnome.shell disable-user-extensions true -ExecStart=gsettings set org.gnome.shell disable-user-extensions true
-Restart=no -Restart=no
Index: gnome-shell-44.beta/data/org.gnome.Shell-disable-extensions.service.in Index: gnome-shell-47.beta/data/org.gnome.Shell-disable-extensions.service.in
=================================================================== ===================================================================
--- /dev/null --- /dev/null
+++ gnome-shell-44.beta/data/org.gnome.Shell-disable-extensions.service.in +++ gnome-shell-47.beta/data/org.gnome.Shell-disable-extensions.service.in
@@ -0,0 +1,15 @@ @@ -0,0 +1,15 @@
+[Unit] +[Unit]
+Description=Disable GNOME Shell extensions after failure +Description=Disable GNOME Shell extensions after failure

View File

@ -1,8 +1,8 @@
Index: gnome-shell-45.0/src/main.c Index: gnome-shell-47.0/src/main.c
=================================================================== ===================================================================
--- gnome-shell-45.0.orig/src/main.c --- gnome-shell-47.0.orig/src/main.c
+++ gnome-shell-45.0/src/main.c +++ gnome-shell-47.0/src/main.c
@@ -736,7 +736,7 @@ main (int argc, char **argv) @@ -718,7 +718,7 @@ main (int argc, char **argv)
g_object_unref (shell_global_get ()); g_object_unref (shell_global_get ());
g_debug ("Tearing down the mutter context"); g_debug ("Tearing down the mutter context");

View File

@ -10,11 +10,11 @@ currently it will pass 1, which is the wrong previous value.
js/misc/inputMethod.js | 4 +--- js/misc/inputMethod.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-) 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/js/misc/inputMethod.js b/js/misc/inputMethod.js Index: gnome-shell-47.beta/js/misc/inputMethod.js
index d8c3e62f0..2642aca9e 100644 ===================================================================
--- a/js/misc/inputMethod.js --- gnome-shell-47.beta.orig/js/misc/inputMethod.js
+++ b/js/misc/inputMethod.js +++ gnome-shell-47.beta/js/misc/inputMethod.js
@@ -163,9 +163,7 @@ export const InputMethod = GObject.registerClass({ @@ -161,9 +161,7 @@ export const InputMethod = GObject.regis
} }
_onHidePreeditText() { _onHidePreeditText() {
@ -25,6 +25,3 @@ index d8c3e62f0..2642aca9e 100644
this._preeditVisible = false; this._preeditVisible = false;
} }
--
2.45.0

View File

@ -1,3 +1,51 @@
-------------------------------------------------------------------
Mon Sep 16 20:55:02 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.0:
+ Fix new wifi connections for restricted users
+ Do not disable required animations
+ Fix showing pending PAM messages on login screen
+ Misc. bug fixes and cleanups
+ Updated translations.
- Drop gnome-shell-private-connection.patch: Following changes
upstream, this patch should not be needed anymore.
- Refresh gnome-shell-exit-crash-workaround.patch with quilt.
- Disable gnome-shell-executable-path-not-absolute.patch: Needs
rebase or dropping.
-------------------------------------------------------------------
Mon Sep 16 19:08:17 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.rc:
+ Fix smartcard logins
+ Mark drag to dash as move operation
+ Use rst2man to generate man pages
+ Fix glitch when quick settings menu animation is interrupted
+ Plugged leak
+ Misc. bug fixes and cleanups
+ Updated translations.
- Add docutils BuildRequires, new dependency (rst2man).
-------------------------------------------------------------------
Mon Sep 16 18:22:47 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.beta:
+ Use hardware encoding for screen recordings if possible
+ Allow notification portal to always use GTK protocol
+ Improve Persian on-screen keyboard layout
+ Build and publish GNOME OS systemd-sysext extensions
+ Make overview startup notification more reliable
+ Fix keyboard navigation in app folders
+ Support exporting DebugControl service from looking glass
+ Use low-power pipeline in screen recorder if possible
+ Show notification when detecting captive portal
+ Fix connecting to WPA2 enterprise networks
+ Use unlinked rounded buttons in notifications and dialogs
+ Misc. bug fixes and cleanups
- Bump mutter_api to 15 following upstream changes.
- Rebase patches with quilt, drop CVE-2024-36472.patch, fixed
upstream.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 15 12:09:55 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com> Sun Sep 15 12:09:55 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -1,4 +1,4 @@
name: gnome-shell name: gnome-shell
version: 46.5 version: 47.0
mtime: 1726341607 mtime: 1726327052
commit: a6b6a58190d648f8a0e38ecb84644ea13d110153 commit: 957504b1f673cb016e32ccea26bac3a6723d34a1

View File

@ -17,11 +17,11 @@
%global __requires_exclude typelib\\(Meta|MetaTest|Soup|St|Cogl|Clutter|TelepathyGlib\\) %global __requires_exclude typelib\\(Meta|MetaTest|Soup|St|Cogl|Clutter|TelepathyGlib\\)
%define mutter_api 14 %define mutter_api 15
%define mutter_req 46.0 %define mutter_req 46.0
Name: gnome-shell Name: gnome-shell
Version: 46.5 Version: 47.0
Release: 0 Release: 0
Summary: GNOME Shell Summary: GNOME Shell
# shew extension is LGPL 2.1; gnome-shell-extension-tool is GPL-3.0-or-later # shew extension is LGPL 2.1; gnome-shell-extension-tool is GPL-3.0-or-later
@ -35,14 +35,12 @@ Source1: libgnome-volume-control-0.gitmodule.tar.zst
# SOURCE-FEATURE-OPENSUSE noise-texture boo#1176418 qkzhu@suse.com -- Add noise-texture as the default greeter background, used by patch4. # SOURCE-FEATURE-OPENSUSE noise-texture boo#1176418 qkzhu@suse.com -- Add noise-texture as the default greeter background, used by patch4.
Source100: noise-texture.png Source100: noise-texture.png
# PATCH-FIX-OPENSUSE gnome-shell-executable-path-not-absolute.patch bsc#1176051 xwang@suse.com -- Fix ExecStart is not absolute path # PATCH-NEEDS-REBASE # PATCH-FIX-OPENSUSE gnome-shell-executable-path-not-absolute.patch bsc#1176051 xwang@suse.com -- Fix ExecStart is not absolute path
Patch7: gnome-shell-executable-path-not-absolute.patch Patch7: gnome-shell-executable-path-not-absolute.patch
# PATCH-FIX-UPSTREAM gnome-shell-exit-crash-workaround.patch bsc#1190878 glgo#GNOME/gnome-shell#4344 qkzhu@suse.com -- Workaround logout crashing # PATCH-FIX-UPSTREAM gnome-shell-exit-crash-workaround.patch bsc#1190878 glgo#GNOME/gnome-shell#4344 qkzhu@suse.com -- Workaround logout crashing
Patch8: gnome-shell-exit-crash-workaround.patch Patch8: gnome-shell-exit-crash-workaround.patch
# PATCH-FIX-UPSTREAM gnome-shell-fix-cursor-on-hide-preedit.patch glgo#GNOME/gnome-shell!3318 alynx.zhou@suse.com -- Correctly reset cursor when hide preedit # PATCH-FIX-UPSTREAM gnome-shell-fix-cursor-on-hide-preedit.patch glgo#GNOME/gnome-shell!3318 alynx.zhou@suse.com -- Correctly reset cursor when hide preedit
Patch9: gnome-shell-fix-cursor-on-hide-preedit.patch Patch9: gnome-shell-fix-cursor-on-hide-preedit.patch
# PATCH-FIX-UPSTREAM CVE-2024-36472.patch glgo#GNOME/gnome-shell#7688 bsc#1225567 xiaoguang.wang@suse.com -- Show notification when detecting captive portal
Patch10: CVE-2024-36472.patch
## NOTE: Keep SLE-only patches at bottom (starting on 1000). ## 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. # 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.
@ -70,6 +68,7 @@ Patch1013: gnome-shell-add-linkoption-dl.patch
BuildRequires: asciidoc BuildRequires: asciidoc
BuildRequires: dbus-1 BuildRequires: dbus-1
BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook-xsl-stylesheets
BuildRequires: docutils
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: meson >= 0.58.0 BuildRequires: meson >= 0.58.0
@ -188,10 +187,10 @@ pushd subprojects
tar xf %{SOURCE1} tar xf %{SOURCE1}
mv libgnome-volume-control-0.gitmodule gvc mv libgnome-volume-control-0.gitmodule gvc
popd popd
%patch -P 7 -p1 # Patch needs rebase
#%%patch -P 7 -p1
%patch -P 8 -p1 %patch -P 8 -p1
%patch -P 9 -p1 %patch -P 9 -p1
%patch -P 10 -p1
%if 0%{?sle_version} %if 0%{?sle_version}
%patch -P 1001 -p1 %patch -P 1001 -p1
@ -240,7 +239,6 @@ rm -f %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Extensions.D
%doc README.md NEWS %doc README.md NEWS
%{_bindir}/gnome-shell %{_bindir}/gnome-shell
%{_bindir}/gnome-extensions %{_bindir}/gnome-extensions
%{_bindir}/gnome-shell-extension-prefs
%{_bindir}/gnome-shell-extension-tool %{_bindir}/gnome-shell-extension-tool
%{_bindir}/gnome-shell-test-tool %{_bindir}/gnome-shell-test-tool
%dir %{_libdir}/gnome-shell %dir %{_libdir}/gnome-shell
@ -307,6 +305,8 @@ rm -f %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Extensions.D
%{_datadir}/bash-completion/completions/gnome-extensions %{_datadir}/bash-completion/completions/gnome-extensions
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Shell.Extensions.svg %{_datadir}/icons/hicolor/scalable/apps/org.gnome.Shell.Extensions.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Shell.Extensions-symbolic.svg %{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Shell.Extensions-symbolic.svg
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Shell.CaptivePortal.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Shell.CaptivePortal-symbolic.svg
%{_userunitdir}/org.gnome.Shell-disable-extensions.service %{_userunitdir}/org.gnome.Shell-disable-extensions.service
%{_datadir}/applications/org.gnome.Shell.Extensions.desktop %{_datadir}/applications/org.gnome.Shell.Extensions.desktop
%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Extensions.xml %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Extensions.xml