import CS gnome-shell-3.32.2-55.el8
This commit is contained in:
parent
ed8ecf1107
commit
0989c8c9cb
@ -0,0 +1,38 @@
|
|||||||
|
From 2ddb51234ca69c0e637b35071b4e760d1b72527a Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
|
||||||
|
Date: Mon, 24 Feb 2020 11:19:28 +0100
|
||||||
|
Subject: [PATCH] overview: Hide the overview on session mode hasOverview
|
||||||
|
changes
|
||||||
|
|
||||||
|
If the sessionMode does not allow to show the overview, we should also
|
||||||
|
hide an already visible overview.
|
||||||
|
|
||||||
|
This fixes a bug where, if the lockscreen was shown while the overview
|
||||||
|
was visible, the Ctrl+Alt+Tab popup would allow navigating inside the
|
||||||
|
overview because the overview actor is still mapped.
|
||||||
|
|
||||||
|
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1043
|
||||||
|
---
|
||||||
|
js/ui/overview.js | 6 +++++-
|
||||||
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/js/ui/overview.js b/js/ui/overview.js
|
||||||
|
index 5bad4cbd62..03cecb6dbc 100644
|
||||||
|
--- a/js/ui/overview.js
|
||||||
|
+++ b/js/ui/overview.js
|
||||||
|
@@ -196,7 +196,11 @@ var Overview = class {
|
||||||
|
}
|
||||||
|
|
||||||
|
_sessionUpdated() {
|
||||||
|
- this.isDummy = !Main.sessionMode.hasOverview;
|
||||||
|
+ const { hasOverview } = Main.sessionMode;
|
||||||
|
+ if (!hasOverview)
|
||||||
|
+ this.hide();
|
||||||
|
+
|
||||||
|
+ this.isDummy = !hasOverview;
|
||||||
|
this._createOverview();
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
26
SOURCES/0001-windowMenu-Ignore-release.patch
Normal file
26
SOURCES/0001-windowMenu-Ignore-release.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From e1eb24fdf731af8736cdb76dc28aa2b10679aa5f Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
||||||
|
Date: Thu, 28 Sep 2023 14:34:24 +0200
|
||||||
|
Subject: [PATCH] windowMenu: Ignore release
|
||||||
|
|
||||||
|
If the menu was open on button-press, make sure it is kept open
|
||||||
|
until explicitly dismissed, regardless of the pointer position.
|
||||||
|
---
|
||||||
|
js/ui/windowMenu.js | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/js/ui/windowMenu.js b/js/ui/windowMenu.js
|
||||||
|
index f8eb4398c3..2ec11c7879 100644
|
||||||
|
--- a/js/ui/windowMenu.js
|
||||||
|
+++ b/js/ui/windowMenu.js
|
||||||
|
@@ -205,6 +205,7 @@ var WindowMenuManager = class {
|
||||||
|
let menu = new WindowMenu(window, this._sourceActor);
|
||||||
|
|
||||||
|
this._manager.addMenu(menu);
|
||||||
|
+ this._manager.ignoreRelease();
|
||||||
|
|
||||||
|
menu.connect('activate', () => {
|
||||||
|
window.check_alive(global.get_current_time());
|
||||||
|
--
|
||||||
|
2.41.0
|
||||||
|
|
47
SOURCES/optional-portal-helper.patch
Normal file
47
SOURCES/optional-portal-helper.patch
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
diff --git a/js/portalHelper/main.js b/js/portalHelper/main.js
|
||||||
|
index e163d6574..c61f3b381 100644
|
||||||
|
--- a/js/portalHelper/main.js
|
||||||
|
+++ b/js/portalHelper/main.js
|
||||||
|
@@ -1,6 +1,13 @@
|
||||||
|
const Format = imports.format;
|
||||||
|
const Gettext = imports.gettext;
|
||||||
|
-const { Gio, GLib, GObject, Gtk, Pango, Soup, WebKit2: WebKit } = imports.gi;
|
||||||
|
+const { Gio, GLib, GObject, Gtk, Pango, Soup } = imports.gi;
|
||||||
|
+
|
||||||
|
+let WebKit;
|
||||||
|
+try {
|
||||||
|
+ WebKit = imports.gi.WebKit2;
|
||||||
|
+} catch {
|
||||||
|
+ WebKit = null;
|
||||||
|
+}
|
||||||
|
|
||||||
|
const _ = Gettext.gettext;
|
||||||
|
|
||||||
|
@@ -340,6 +346,11 @@ function initEnvironment() {
|
||||||
|
function main(argv) {
|
||||||
|
initEnvironment();
|
||||||
|
|
||||||
|
+ if (!WebKit) {
|
||||||
|
+ log('WebKit2 typelib is not installed, captive portal helper will be disabled');
|
||||||
|
+ return 1;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if (!WebKit.WebContext.new_ephemeral) {
|
||||||
|
log('WebKitGTK 2.16 is required for the portal-helper, see https://bugzilla.gnome.org/show_bug.cgi?id=780453');
|
||||||
|
return 1;
|
||||||
|
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
|
||||||
|
index 421d2e7d2..13b6501e7 100644
|
||||||
|
--- a/js/ui/status/network.js
|
||||||
|
+++ b/js/ui/status/network.js
|
||||||
|
@@ -2010,7 +2010,9 @@ var NMApplet = class extends PanelMenu.SystemIndicator {
|
||||||
|
new PortalHelperProxy(Gio.DBus.session, 'org.gnome.Shell.PortalHelper',
|
||||||
|
'/org/gnome/Shell/PortalHelper', (proxy, error) => {
|
||||||
|
if (error) {
|
||||||
|
- log('Error launching the portal helper: ' + error);
|
||||||
|
+ // Timeout is expected if WebKit is unavailable
|
||||||
|
+ if (!error.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.TIMED_OUT))
|
||||||
|
+ log('Error launching the portal helper: ' + error);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
107
SOURCES/owe-support.patch
Normal file
107
SOURCES/owe-support.patch
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
From 9a5bf8df37490de4472699c235236dc73a637ac7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
||||||
|
Date: Mon, 11 Sep 2023 19:20:14 +0200
|
||||||
|
Subject: [PATCH 1/2] status/network: Fix fallback SSID label
|
||||||
|
|
||||||
|
We currently only return the fallback label if the string returned
|
||||||
|
from the ssid was invalid or couldn't be transformed to UTF-8.
|
||||||
|
|
||||||
|
If the ssid parameter itself is empty, we throw an error.
|
||||||
|
|
||||||
|
Handle this case as well, as callers otherwise would need to duplicate
|
||||||
|
the existing error path themselves.
|
||||||
|
---
|
||||||
|
js/ui/status/network.js | 4 +++-
|
||||||
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
|
||||||
|
index 9d6a83b733..bd823384da 100644
|
||||||
|
--- a/js/ui/status/network.js
|
||||||
|
+++ b/js/ui/status/network.js
|
||||||
|
@@ -63,7 +63,9 @@ function signalToIcon(value) {
|
||||||
|
}
|
||||||
|
|
||||||
|
function ssidToLabel(ssid) {
|
||||||
|
- let label = NM.utils_ssid_to_utf8(ssid.get_data());
|
||||||
|
+ let label;
|
||||||
|
+ if (ssid)
|
||||||
|
+ label = NM.utils_ssid_to_utf8(ssid.get_data());
|
||||||
|
if (!label)
|
||||||
|
label = _("<unknown>");
|
||||||
|
return label;
|
||||||
|
--
|
||||||
|
2.41.0
|
||||||
|
|
||||||
|
|
||||||
|
From ffc6c744810a902a0aac2a562c9e410336dfdb57 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
||||||
|
Date: Wed, 30 Aug 2023 01:47:00 +0200
|
||||||
|
Subject: [PATCH 2/2] status/network: Use connection name with hidden AP
|
||||||
|
|
||||||
|
When connected to an OWE transition network, NetworkManager
|
||||||
|
reports the connected API with a hidden SSID.
|
||||||
|
|
||||||
|
Handle this by using the active connection's name before
|
||||||
|
ultimately falling back to the device name.
|
||||||
|
|
||||||
|
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6918
|
||||||
|
|
||||||
|
Part-of:
|
||||||
|
<https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2927>
|
||||||
|
---
|
||||||
|
js/ui/status/network.js | 28 +++++++++++++++++++---------
|
||||||
|
1 file changed, 19 insertions(+), 9 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
|
||||||
|
index bd823384da..ef04f7f3dd 100644
|
||||||
|
--- a/js/ui/status/network.js
|
||||||
|
+++ b/js/ui/status/network.js
|
||||||
|
@@ -1346,26 +1346,36 @@ var NMDeviceWireless = class {
|
||||||
|
_getStatus() {
|
||||||
|
let ap = this._device.active_access_point;
|
||||||
|
|
||||||
|
- if (this._isHotSpotMaster())
|
||||||
|
+ if (this._isHotSpotMaster()) {
|
||||||
|
/* Translators: %s is a network identifier */
|
||||||
|
return _("%s Hotspot Active").format(this._description);
|
||||||
|
- else if (this._device.state >= NM.DeviceState.PREPARE &&
|
||||||
|
- this._device.state < NM.DeviceState.ACTIVATED)
|
||||||
|
+ } else if (this._device.state >= NM.DeviceState.PREPARE &&
|
||||||
|
+ this._device.state < NM.DeviceState.ACTIVATED) {
|
||||||
|
/* Translators: %s is a network identifier */
|
||||||
|
return _("%s Connecting").format(this._description);
|
||||||
|
- else if (ap)
|
||||||
|
- return ssidToLabel(ap.get_ssid());
|
||||||
|
- else if (!this._client.wireless_hardware_enabled)
|
||||||
|
+ } else if (ap) {
|
||||||
|
+ const ssid = ap.get_ssid();
|
||||||
|
+ if (ssid)
|
||||||
|
+ return ssidToLabel(ssid);
|
||||||
|
+
|
||||||
|
+ // Use connection name when connected to hidden AP
|
||||||
|
+ const activeConnection = this._device.get_active_connection();
|
||||||
|
+ if (activeConnection)
|
||||||
|
+ return activeConnection.connection.get_id();
|
||||||
|
+
|
||||||
|
+ return ssidToLabel(null);
|
||||||
|
+ } else if (!this._client.wireless_hardware_enabled) {
|
||||||
|
/* Translators: %s is a network identifier */
|
||||||
|
return _("%s Hardware Disabled").format(this._description);
|
||||||
|
- else if (!this._client.wireless_enabled)
|
||||||
|
+ } else if (!this._client.wireless_enabled) {
|
||||||
|
/* Translators: %s is a network identifier */
|
||||||
|
return _("%s Off").format(this._description);
|
||||||
|
- else if (this._device.state == NM.DeviceState.DISCONNECTED)
|
||||||
|
+ } else if (this._device.state == NM.DeviceState.DISCONNECTED) {
|
||||||
|
/* Translators: %s is a network identifier */
|
||||||
|
return _("%s Not Connected").format(this._description);
|
||||||
|
- else
|
||||||
|
+ } else {
|
||||||
|
return '';
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
|
||||||
|
_getMenuIcon() {
|
||||||
|
--
|
||||||
|
2.41.0
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: gnome-shell
|
Name: gnome-shell
|
||||||
Version: 3.32.2
|
Version: 3.32.2
|
||||||
Release: 50%{?dist}
|
Release: 55%{?dist}
|
||||||
Summary: Window management and application launching for GNOME
|
Summary: Window management and application launching for GNOME
|
||||||
|
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
@ -69,6 +69,9 @@ Patch59: 0001-shell-recorder-Restore-cursor-recording.patch
|
|||||||
Patch60: 0001-st-bin-Disallow-st_bin_set_child-with-already-parent.patch
|
Patch60: 0001-st-bin-Disallow-st_bin_set_child-with-already-parent.patch
|
||||||
Patch61: 0001-layout-Initialize-regions-unconditionally.patch
|
Patch61: 0001-layout-Initialize-regions-unconditionally.patch
|
||||||
Patch62: fix-nm-device-settings.patch
|
Patch62: fix-nm-device-settings.patch
|
||||||
|
Patch63: owe-support.patch
|
||||||
|
Patch64: 0001-windowMenu-Ignore-release.patch
|
||||||
|
Patch65: 0001-overview-Hide-the-overview-on-session-mode-hasOvervi.patch
|
||||||
|
|
||||||
# Backport JS invalid access warnings (#1651894, #1663171, #1642482, #1637622)
|
# Backport JS invalid access warnings (#1651894, #1663171, #1642482, #1637622)
|
||||||
Patch70: fix-invalid-access-warnings.patch
|
Patch70: fix-invalid-access-warnings.patch
|
||||||
@ -106,6 +109,9 @@ Patch20004: 0004-sessionMode-Allow-extensions-at-the-login-and-unlock.patch
|
|||||||
# CVE-2020-17489
|
# CVE-2020-17489
|
||||||
Patch30001: 0001-loginDialog-Reset-auth-prompt-on-vt-switch-before-fa.patch
|
Patch30001: 0001-loginDialog-Reset-auth-prompt-on-vt-switch-before-fa.patch
|
||||||
|
|
||||||
|
# Disable captive portal helper if WebKitGTK is not installed (RHEL-10488)
|
||||||
|
Patch40001: optional-portal-helper.patch
|
||||||
|
|
||||||
%define libcroco_version 0.6.8
|
%define libcroco_version 0.6.8
|
||||||
%define eds_version 3.17.2
|
%define eds_version 3.17.2
|
||||||
%define gnome_desktop_version 3.7.90
|
%define gnome_desktop_version 3.7.90
|
||||||
@ -283,6 +289,25 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/evolution-calendar.de
|
|||||||
%{_mandir}/man1/%{name}.1.gz
|
%{_mandir}/man1/%{name}.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 21 2023 Florian Müllner <fmuellner@redhat.com> - 3.32.2-55
|
||||||
|
- Hide the overview on lock
|
||||||
|
Resolves: RHEL-17349
|
||||||
|
|
||||||
|
* Wed Nov 01 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 3.32.2-54
|
||||||
|
- Disable captive portal helper if WebKitGTK is not installed
|
||||||
|
Resolves: RHEL-10488
|
||||||
|
|
||||||
|
* Wed Oct 18 2023 Florian Müllner <fmuellner@redhat.com> - 3.32.2-53
|
||||||
|
- Fix window-menu closing immediately on open
|
||||||
|
Resolves: RHEL-2662
|
||||||
|
|
||||||
|
* Mon Sep 18 2023 Florian Müllner <fmuellner@redhat.com> - 3.32.2-52
|
||||||
|
- Bump release to avoid conflict with z-stream
|
||||||
|
|
||||||
|
* Mon Sep 11 2023 Florian Müllner <fmuellner@redhat.com> - 3.32.2-51
|
||||||
|
- Support OWE networks
|
||||||
|
Resolves: #2033620
|
||||||
|
|
||||||
* Thu Dec 01 2022 Florian Müllner <fmuellner@redhat.com> - 3.32.2-50
|
* Thu Dec 01 2022 Florian Müllner <fmuellner@redhat.com> - 3.32.2-50
|
||||||
- Fix struts on login screen
|
- Fix struts on login screen
|
||||||
Resolves: #2138941
|
Resolves: #2138941
|
||||||
|
Loading…
Reference in New Issue
Block a user