Accepting request 920947 from GNOME:Next

Scripted push from GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/920947
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell?expand=0&rev=486
This commit is contained in:
Dominique Leuenberger 2021-09-27 06:24:32 +00:00 committed by Git OBS Bridge
parent 75158f0696
commit e7fa5e9cd8
5 changed files with 95 additions and 38 deletions

View File

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

3
gnome-shell-41.0.tar.xz Normal file
View File

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

View File

@ -10,18 +10,11 @@ if the system administrator decides so.
https://bugzilla.gnome.org/show_bug.cgi?id=646187
---
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 */
-const { Clutter, Gio, GLib, GObject, NM, St } = imports.gi;
+const { Clutter, Gio, GLib, GObject, NM, St, Polkit } = imports.gi;
const Signals = imports.signals;
const Animation = imports.ui.animation;
@@ -356,6 +356,11 @@ var NMConnectionDevice = class NMConnect
Index: gnome-shell-41.beta/js/ui/status/network.js
===================================================================
--- gnome-shell-41.beta.orig/js/ui/status/network.js
+++ gnome-shell-41.beta/js/ui/status/network.js
@@ -362,6 +362,11 @@ var NMConnectionDevice = class NMConnect
_autoConnect() {
let connection = new NM.SimpleConnection();
@ -29,11 +22,11 @@ diff -urp gnome-shell-3.37.91.orig/js/ui/status/network.js gnome-shell-3.37.91/j
+ let connectionSetting = new NM.SettingConnection();
+ connectionSetting.add_permission('user', GLib.get_user_name(), null);
+ connection.add_setting(connectionSetting);
+ }
+ }
this._client.add_and_activate_connection_async(connection, this._device, null, null, null);
}
@@ -491,10 +496,11 @@ var NMConnectionDevice = class NMConnect
@@ -497,10 +502,11 @@ var NMConnectionDevice = class NMConnect
};
var NMDeviceWired = class extends NMConnectionDevice {
@ -46,7 +39,7 @@ diff -urp gnome-shell-3.37.91.orig/js/ui/status/network.js gnome-shell-3.37.91/j
}
get category() {
@@ -722,11 +728,12 @@ var NMWirelessDialogItem = GObject.regis
@@ -755,11 +761,12 @@ var NMWirelessDialogItem = GObject.regis
var NMWirelessDialog = GObject.registerClass(
class NMWirelessDialog extends ModalDialog.ModalDialog {
@ -60,7 +53,7 @@ diff -urp gnome-shell-3.37.91.orig/js/ui/status/network.js gnome-shell-3.37.91/j
this._wirelessEnabledChangedId = this._client.connect('notify::wireless-enabled',
this._syncView.bind(this));
@@ -959,6 +966,11 @@ class NMWirelessDialog extends ModalDial
@@ -997,6 +1004,11 @@ class NMWirelessDialog extends ModalDial
this._device.get_path(), accessPoints[0].get_path());
} else {
let connection = new NM.SimpleConnection();
@ -72,7 +65,7 @@ diff -urp gnome-shell-3.37.91.orig/js/ui/status/network.js gnome-shell-3.37.91/j
this._client.add_and_activate_connection_async(connection, this._device, accessPoints[0].get_path(), null, null);
}
}
@@ -1195,9 +1207,10 @@ class NMWirelessDialog extends ModalDial
@@ -1257,9 +1269,10 @@ class NMWirelessDialog extends ModalDial
});
var NMDeviceWireless = class {
@ -84,7 +77,7 @@ diff -urp gnome-shell-3.37.91.orig/js/ui/status/network.js gnome-shell-3.37.91/j
this._description = '';
@@ -1282,7 +1295,7 @@ var NMDeviceWireless = class {
@@ -1344,7 +1357,7 @@ var NMDeviceWireless = class {
}
_showDialog() {
@ -93,11 +86,11 @@ diff -urp gnome-shell-3.37.91.orig/js/ui/status/network.js gnome-shell-3.37.91/j
this._dialog.connect('closed', this._dialogClosed.bind(this));
this._dialog.open();
}
@@ -1660,6 +1673,20 @@ class Indicator extends PanelMenu.System
@@ -1721,6 +1734,20 @@ class Indicator extends PanelMenu.System
async _getClient() {
this._client = await NM.Client.new_async(null);
+
+
+ // Check if newly created connections should be private or not
+ this._privateConnections = true;
+ let authority = Polkit.Authority.get_sync(null);
@ -110,11 +103,11 @@ diff -urp gnome-shell-3.37.91.orig/js/ui/status/network.js gnome-shell-3.37.91/j
+ null /* cancellable */);
+ if (authResult)
+ this._privateConnections = !authResult.get_is_authorized();
+
+
this._activeConnections = [];
this._connections = [];
this._connectivityQueue = [];
@@ -1779,7 +1806,7 @@ class Indicator extends PanelMenu.System
@@ -1850,7 +1877,7 @@ class Indicator extends PanelMenu.System
let wrapperClass = this._dtypes[device.get_device_type()];
if (wrapperClass) {

View File

@ -1,3 +1,69 @@
-------------------------------------------------------------------
Wed Sep 22 19:25:03 UTC 2021 - Michael Gorse <mgorse@suse.com>
- Update to version 41.0:
+ Updated translations.
- Up mutter dependency.
-------------------------------------------------------------------
Wed Sep 22 13:26:54 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 41.rc.1:
+ Make tests optional.
+ Misc. bug fixes.
+ Updated translations.
-------------------------------------------------------------------
Wed Sep 22 03:41:51 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 41.rc:
+ Optimize rendering of fullscreen zoom.
+ Fix glitchy launch animations when leaving overview.
+ Show low priority notifications only in message list.
+ Support Soup 3 instead of 2.4.
+ Set log domain for extensions that use console.log().
+ Fix wrong separator position in dash.
+ Fix OSK not registering button presses on X11.
+ Fix work area getting messed up by hidden panels.
+ Fix IM candidate popover position.
+ Restrict callers of private D-Bus APIs.
+ Support committing preedit string on focus loss.
+ Misc. bug fixes and cleanups.
+ Updated translations.
-------------------------------------------------------------------
Wed Sep 22 03:41:50 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 41.beta:
+ Unbreak Xwayland apps when not using systemd in user session.
+ extension-tool: Always print location on successful creation.
+ Fix distributed man pages.
+ Immediately start app grid drags for non-touch devices.
+ Avoid unnecessary icon shadow changes.
+ Handle screencast failures more gracefully.
+ Use symbolic icons in looking glass toolbar.
+ Allow overriding super+number shortcuts in Settings.
+ Don't include hidden search results in keynav.
+ Use anaccelerated deltas in swipe tracker.
+ status/network: Do not disable on login screen.
+ Always take workarea into account when allocating workspaces.
+ location: Split out geoclue agent from indicator.
+ Add focus indication for switches.
+ Honor switch-user lockdown settings in unlock screen.
+ Fix glitch when dragging window preview in overview.
+ Lock down "Show Text" in password entries.
+ Add power mode selection to status menu.
+ workspace: Handle skip-taskbar changes.
+ status/network: Use WWan settings panel for GSM/LTE modems.
+ extensionUtils: Add gettext convenience helpers.
+ screenShield: Fix suspend inhibitor accounting.
+ Unify app context menus.
+ Use consistent terminology in window menu.
+ Fixed crashes.
+ Misc. bug fixes and cleanups.
+ Updated translations.
- Rebase gnome-shell-private-connection.patch.
-------------------------------------------------------------------
Tue Sep 21 20:25:03 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -19,14 +19,14 @@
%global __requires_exclude typelib\\(Meta\\)
Name: gnome-shell
Version: 40.5
Version: 41.0
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: https://download.gnome.org/sources/gnome-shell/40/%{name}-%{version}.tar.xz
Source: https://download.gnome.org/sources/gnome-shell/41/%{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.
@ -75,26 +75,26 @@ 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.65.1
BuildRequires: pkgconfig(gjs-1.0) >= 1.69.2
BuildRequires: pkgconfig(gnome-autoar-0)
BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.9.0
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
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.33.1
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 41.alpha
BuildRequires: pkgconfig(gstreamer-1.0) >= 0.11.92
BuildRequires: pkgconfig(gstreamer-base-1.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.15.0
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(ibus-1.0) >= 1.5.2
BuildRequires: pkgconfig(ibus-1.0) >= 1.5.19
BuildRequires: pkgconfig(json-glib-1.0) >= 0.13.2
BuildRequires: pkgconfig(libcanberra)
BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(libecal-2.0) >= 3.33.1
BuildRequires: pkgconfig(libedataserver-1.2) >= 3.33.1
BuildRequires: pkgconfig(libgnome-menu-3.0) >= 3.5.3
BuildRequires: pkgconfig(libmutter-8) >= 40.2
BuildRequires: pkgconfig(libmutter-9) >= 41.0
BuildRequires: pkgconfig(libnm) >= 1.10.4
BuildRequires: pkgconfig(libpipewire-0.3)
BuildRequires: pkgconfig(libpulse) >= 2.0
@ -104,9 +104,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-8) >= 40.0
BuildRequires: pkgconfig(mutter-cogl-8) >= 40.0
BuildRequires: pkgconfig(mutter-cogl-pango-8) >= 40.0
BuildRequires: pkgconfig(mutter-clutter-9) >= 41.0
BuildRequires: pkgconfig(mutter-cogl-9) >= 41.0
BuildRequires: pkgconfig(mutter-cogl-pango-9) >= 41.0
BuildRequires: pkgconfig(polkit-agent-1) >= 0.100
BuildRequires: pkgconfig(x11)
BuildRequires: python(abi) >= 3
@ -120,7 +120,7 @@ Requires: gnome-settings-daemon
# "High Contrast" in accessibility status icon
Requires: gnome-themes-accessibility
Requires: gsettings-desktop-schemas
Requires: mutter >= 3.35.90
Requires: mutter >= 41.0
Requires: typelib(Rsvg)
Recommends: %{name}-calendar
## Finally, dependencies for session services that are needed for system icons and the user menu
@ -237,9 +237,6 @@ rm -f %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Extensions.D
%{_libdir}/gnome-shell/libgnome-shell.so
%{_libdir}/gnome-shell/libgvc.so
%{_libdir}/gnome-shell/libst-1.0.so
%dir %{_datadir}/GConf
%dir %{_datadir}/GConf/gsettings
%{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
%{_datadir}/applications/org.gnome.Shell.desktop
%{_datadir}/applications/org.gnome.Shell.Extensions.desktop
%{_datadir}/applications/org.gnome.Shell.PortalHelper.desktop
@ -253,6 +250,7 @@ rm -f %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Extensions.D
%{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
%{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
%{_datadir}/gnome-control-center/keybindings/50-gnome-shell-launchers.xml
%{_datadir}/gnome-control-center/keybindings/50-gnome-shell-system.xml
# Own these dirs for extensions, search-providers and work around a race condition
%dir %{_datadir}/gnome-shell/extensions