commit gnome-shell for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package gnome-shell for openSUSE:Leap:15.2 checked in at 2020-01-30 14:50:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/gnome-shell (Old) and /work/SRC/openSUSE:Leap:15.2/.gnome-shell.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gnome-shell" Thu Jan 30 14:50:24 2020 rev:56 rq:761857 version:3.34.3+0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/gnome-shell/gnome-shell.changes 2020-01-15 15:04:54.893888028 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.gnome-shell.new.26092/gnome-shell.changes 2020-01-30 14:51:33.706939524 +0100 @@ -2 +2 @@ -Wed May 8 06:55:22 UTC 2019 - Chingkai <qkzhu@suse.com> +Sun Jan 05 14:37:40 UTC 2020 - bjorn.lie@gmail.com @@ -4,4 +4,2 @@ -- Add gnome-shell-partial-screenlock-bypass-CVE-2019-3820.patch: - + shellActionModes: disable POPUP keybindings in unlock screen - + panel: Don't allow opening hidden menus via keybindings - (bsc#1124493, glgo#GNOME/gnome-shell#851, CVE-2019-3820). +- Update to version 3.34.3+0: + * Bump verion to 3.34.3 @@ -10 +8,433 @@ -Mon Apr 1 01:19:37 UTC 2019 - xwang@suse.com +Mon Dec 30 10:08:06 UTC 2019 - Frederic Crozat <fcrozat@suse.com> + +- Update BuildRequires for latest release of gnome-desktop-3 + to get systemd scope support for launched applications. +- Update BuildRequires to mutter libraries >= 3.34.0 and + gsettings-desktop-schemas >= 3.33.1. + +------------------------------------------------------------------- +Fri Dec 27 09:05:56 UTC 2019 - dimstar@opensuse.org + +- Update to version 3.34.2+2: + * polkitAgent: Only set key focus to password entry after opening dialog + +------------------------------------------------------------------- +Tue Dec 24 11:30:30 UTC 2019 - dimstar@opensuse.org + +- Update to version 3.34.2+1: + * keyboard: Stop accessing deprecated actor property + +------------------------------------------------------------------- +Fri Dec 13 06:30:17 UTC 2019 - dead_mozay@opensuse.org + +- Update to version 3.34.2+0: + * popupMenu: Close when a system modal pops up + * switcherPopup: Dismiss when a system modal dialog opens + * weather: Only require auto-location authorization if sandboxed + * util: Place spawned processes into a systemd scope + * shell-global: Place launched applications into a systemd scope + * Update Malay translation + * closeDialog: Fix scale of dialog for x11 clients in Wayland sessions + * switcherPopup: Fix scrollable check + * calendar-server: Use correct timezone for all-day events + * theme: Add light styling to message buttons + * Update Chinese (Taiwan) translation + * appIcon: Draw running dot above the overview icon + * texture-cache: Remove also scaled keys from the cache + * data: Enable clean session shutdown after gnome-shell failure + * extensionSystem: Create a file to flag that extensions are being loaded + * extensions-tool: Fix removing from settings list + * introspect: Fix whitelist check + * theme: Add :active styling to message-close and media control buttons + * theme: Add message close button styling + * theme: Darken hovered message-media-control button + * magnifier: Use new cursor tracker API to keep wayland focus while hidden + * magnifier: Use own showSystemCursor() instead of set_pointer_visible() + * Update Brazilian Portuguese translation + * polkitAgent: Use dialog as confirmation when the user has no password + * polkitAgent: Update user name on user changes + * polkitAgent: Fix a typo of a signal name + * appDisplay: Add a timeout when switching pages during DnD + * appDisplay: Add threshold after overshoot page switches + * appDisplay: Simplify event blocking while folder is opened + * appDisplay: Ensure we don't recreate existing AppIcons for folders + * appDisplay: Add missing .actor + * keyboard: Try harder to find a matching layout + * screenShield: Replace child properties + * switcherPopup: Fix last commit + * switcherPopup: Improve modifier-less keybinding navigation + * switcherPopup: Use roundtrip time when the popup is modifier-less + * appDisplay: Don't crash if app is missing categories + * panel: Update window section items on title changes + * power: Handle "100% but charging" case + * closeDialog: Fix dialog size when using geometry scaling + * appIcon: Remove drag monitor on destroy + * folderView: Reset schemas before removing the folder + * baseAppView: Destroy icon when removing + * allView: Rename variable + * allView, frequentView: Only create icons when necessary + * polkitAgent: Fix spinner + * Increase .calendar-today visibility + * appMenu: Hide stopped spinner actor + * animation: Add parameter for hiding stopped Spinner actor + * animation: Turn Spinner animate parameter into Params option + +------------------------------------------------------------------- +Thu Nov 21 15:58:13 UTC 2019 - Frederic Crozat <fcrozat@suse.com> + +- Update gnome-shell-domain.patch to fix syntax errors. + +------------------------------------------------------------------- +Tue Nov 19 12:09:59 UTC 2019 - dimstar@opensuse.org + +- Update to version 3.34.1+14: + * windowManager: Replace left-over calls to _removeEffect() + * Update Russian translation + * windowManager: Complete interrupted size change effects + * windowManager: Use Sets to track ongoing effects + * ci: Fix checking out mutter on stable branches + * theme: Adjust system-menu-action buttons + * calendar-server: Uses wrong timezone for event times + +------------------------------------------------------------------- +Fri Nov 1 08:03:00 UTC 2019 - Alynx Zhou <alynx.zhou@suse.com> + +- Rebase patch gnome-shell-domain.patch and + gnome-shell-1007468-lock-screen-SUSE-logo-missing.patch. + +------------------------------------------------------------------- +Wed Oct 30 15:41:25 UTC 2019 - dimstar@opensuse.org + +- Update to version 3.34.1+7: + * dnd: Skip drag target when its acceptDrop() throws an exception + +------------------------------------------------------------------- +Wed Oct 23 18:16:39 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 3.34.1+6: + + shell-screenshots: Do not pass a clip for window screenshots. + + workspace: Sort windows in overview grid using cached center. + + screenShield: Compute lock timeout fade duration using + animation settings. + + environment: Only disable unredirection of ongoing transitions. + + js: Replace Tweener time leftovers with ease duration. + + animation: Finish porting to clutter transitions. + +------------------------------------------------------------------- +Wed Oct 9 10:26:03 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> + +- Update to version 3.34.1: + + Fix "Frequent" view icons disappearing on hover + + Allow editing app folder names. + + Skip property transitions while hidden. + + Make menu animations more consistent. + + Improve performance when enabling/disabling all extensions. + + Fix extra icons appearing in "Frequent" view animation. + + Fix fading out desktop icons. + + Fix box-shadow glitch with prerendered resources. + + Fix accidentally skipped animations. + + Fix screenshots and window animations when scaled. + + Don't leak NOTIFY_SOCKET environment variable to applications. + + Fix lock-up on X11 when ibus is already running on startup. + + Fix screen dimming on idle. + + Do not notify systemd before initialization is complete. + + Support SAE secrets in network agent. + + Fix various regressions with dynamic workspaces. + + Fixed crashes. + + Misc. bug fixes and cleanups. + + Updated translations. + +------------------------------------------------------------------- +Sat Sep 21 17:10:28 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 3.34.0+148: + + shell-util: Do not scale the clip in + get_content_for_window_actor() + + Update Galician translation + + screenShield: Stop using deprecated actor property + + unlockDialog: Use inheritance instead of composition + + loginDialog: Stop using deprecated actor property + + environment: Try harder to find a transition + + layout: Don't use the actors pick workaround on update regions + + renameFolderMenu: Use a custom menu item inheriting from + PopupBaseMenuItem + + renameFolderMenu: Move to non-legacy coding style + + renameFolderMenu: Set the entry as menu focus actor + + popupMenu: Add focusActor property to define the default focus + actor + + popupBaseMenuItem: Add support for Hidden Ornament + + renameFolderMenu: Don't save the source + + folderIcon: Remove duplicated addMenu call + + workspace: Fix an incorrect signal check + + appDisplay: Animate DnD app icons at the position they were + dropped + + appDisplay: Add API to animate launch at given position + + workspace: Return results of forwarded acceptDrop + + overview: Only accept AppIcon drops if the app can open a new + window + + shell-app: Never allow opening new windows while an app is + starting + + workspace: Use AppIcon.app to check action-support by the drag + source + + introspect: Check whitelist also for GetRunningWindows() + + st: Fix box-shadow drawing with prerendered_texture + + workspace: Remove unused properties of WindowClone + + viewSelector: Only reset search entry if it has key focus + + workspace: Reset idle hide timeout for overlays on reentry + + workspace: Make title of overlay reactive + + workspace: Continue overlay idle hide timeout when pointing at + close button + + Updated translations. + +------------------------------------------------------------------- +Tue Sep 17 09:11:28 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 3.34.0+117: + + util: Handle trailing LTR/RTL markers in URLs ++++ 833 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/gnome-shell/gnome-shell.changes ++++ and /work/SRC/openSUSE:Leap:15.2/.gnome-shell.new.26092/gnome-shell.changes Old: ---- gnome-shell-1127231-fixesof4-JS-invalid-access.patch gnome-shell-1127231-workspace-JS-invalid-access.patch gnome-shell-3.26.2+20180130.0d9c74212.tar.xz gnome-shell-fix-menutrackeritem-leak.patch gnome-shell-meson.patch gnome-shell-osk-dont-popup-when-not-needed.patch gnome-shell-partial-screenlock-bypass-CVE-2019-3820.patch gnome-shell-private-Avoid-unnecessary-conversions-in-shadow-comp.patch gnome-shell-screenShield-Handle-signal-StatusChanged.patch gnome-shell-st-Do-not-force-allocation-updates-during-shadow-creation.patch New: ---- gnome-shell-3.34.3+0.obscpio gnome-shell-jscSLE9267-Remove-sessionList-of-endSessionDialog.patch gnome-shell.obsinfo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-shell.spec ++++++ --- /var/tmp/diff_new_pack.bBGuan/_old 2020-01-30 14:51:34.442939915 +0100 +++ /var/tmp/diff_new_pack.bBGuan/_new 2020-01-30 14:51:34.442939915 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnome-shell # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,51 +12,37 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global __requires_exclude typelib\\(Meta\\) + Name: gnome-shell -Version: 3.26.2+20180130.0d9c74212 +Version: 3.34.3+0 Release: 0 Summary: GNOME Shell -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/GUI/GNOME -Url: https://wiki.gnome.org/Projects/GnomeShell -#Source0: https://download.gnome.org/sources/gnome-shell/3.26/%%{name}-%%{version}.tar.xz +URL: https://wiki.gnome.org/Projects/GnomeShell Source: %{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. -Source2: aboutMenu.js -# SOURCE-FEATURE-SLE sle-background bsc#1007468 xwang@suse.com -- Add SUSE logo on lock screen for GNOME theme -Source3: sle-background.png -# PATCH-FIX-OPENSUSE gnome-shell-meson.patch dimstar@opensuse.org -- Fix rpath statement for gvc (needs validation, upstream fix) -Patch0: gnome-shell-meson.patch # 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-OPENSUSE gnome-shell-disable-ibus-when-not-installed.patch bsc#987360 qzhao@suse.com -- disable ibus start when outof Chinese, Japanese, Korean area. +# 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-SLE sle-background bsc#1007468 xwang@suse.com -- Add SUSE logo on lock screen for GNOME theme +Source2: sle-background.png + +# PATCH-FIX-OPENSUSE gnome-shell-disable-ibus-when-not-installed.patch bsc#987360 qzhao@suse.com -- disable ibus start when outof Chinese, Japanese, Korean area Patch2: gnome-shell-disable-ibus-when-not-installed.patch # PATCH-FIX-UPSTREAM gnome-shell-Avoid-loginDialog-grab-focus-when-locked.patch bsc#1058521 bgo#788169 xwang@suse.com -- Avoid login dialog grabs focus when screen locked Patch3: gnome-shell-Avoid-loginDialog-grab-focus-when-locked.patch -# PATCH-FIX-UPSTREAM gnome-shell-osk-dont-popup-when-not-needed.patch bgo#788188 badshah400@gmail.com -- Stop the on-screen keyboard from showing up when touchscreen use doesn't activate a text field; patch taken from upstream bug report -Patch4: gnome-shell-osk-dont-popup-when-not-needed.patch -# PATCH-FIX-UPSTREAM gnome-shell-private-Avoid-unnecessary-conversions-in-shadow-comp.patch bgo#788627 bsc#1084341 xwang@suse.com -- Avoid unnecessary conversions in shadow computation -Patch5: gnome-shell-private-Avoid-unnecessary-conversions-in-shadow-comp.patch -# PATCH-FIX-UPSTREAM gnome-shell-st-Do-not-force-allocation-updates-during-shadow-creation.patch bgo#788908 bsc#1084341 xwang@suse.com -- Do not force allocation updates during shadow creation -Patch6: gnome-shell-st-Do-not-force-allocation-updates-during-shadow-creation.patch -# PATCH-FEATURE-OPENSUSE gnome-shell-fate324570-Make-GDM-background-image-configurable.patch fate#324570, glgo#GNOME/gnome-shell#680, bsc#1120178 qkzhu@suse.com -- Make GDM background image configurable -Patch7: gnome-shell-fate324570-Make-GDM-background-image-configurable.patch -# PATCH-FIX-UPSTREAM gnome-shell-fix-menutrackeritem-leak.patch glgo#GNOME/gnome-shell!50, bsc#1093541 hpj@suse.com -- Fix a small memory leak -Patch8: gnome-shell-fix-menutrackeritem-leak.patch -# PATCH-FIX-UPSTREAM gnome-shell-1127231-workspace-JS-invalid-access.patch glgo#GNOME/gnome-shell!143, bgo#791233, bsc#1127231 qkzhu@suse.com -- fixes for some JS warnings of workspace -Patch9: gnome-shell-1127231-workspace-JS-invalid-access.patch -# PATCH-FIX-UPSTREAM gnome-shell-1127231-fixesof4-JS-invalid-access.patch glgo#GNOME/gnome-shell!209, bgo#791233, bsc#1127231 qkzhu@suse.com -- 4 Javascript invalid access fixes -Patch10: gnome-shell-1127231-fixesof4-JS-invalid-access.patch -# PATCH-FIX-UPSTREAM gnome-shell-screenShield-Handle-signal-StatusChanged.patch bsc#1118286 glgo#GNOME/gnome-shell#900 xwang@suse.com -- Enable dimming screen when screen is locked -Patch11: gnome-shell-screenShield-Handle-signal-StatusChanged.patch -# PATCH-FIX-UPSTREAM gnome-shell-partial-screenlock-bypass-CVE-2019-3820.patch bsc#1124493, glgo#GNOME/gnome-shell#851, CVE-2019-3820 qkzhu@suse.com -- Partial screenlock bypass fix -Patch12: gnome-shell-partial-screenlock-bypass-CVE-2019-3820.patch +# PATCH-FEATURE-OPENSUSE gnome-shell-fate324570-Make-GDM-background-image-configurable.patch fate#324570, glgo#GNOME/gnome-shell#680 qkzhu@suse.com -- make GDM background image configurable +Patch4: gnome-shell-fate324570-Make-GDM-background-image-configurable.patch +# PATCH-FEATURE-OPENSUSE gnome-shell-jscSLE9267-Remove-sessionList-of-endSessionDialog.patch jsc#SLE-9267 qkzhu@suse.com -- Remove sessionList of endSessionDialog +Patch5: gnome-shell-jscSLE9267-Remove-sessionList-of-endSessionDialog.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. Patch1001: gnome-shell-gdm-login-applet.patch @@ -76,54 +62,58 @@ Patch1008: gnome-shell-1007468-lock-screen-SUSE-logo-missing.patch # needed for directory ownership +BuildRequires: asciidoc BuildRequires: dbus-1 BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gtk-doc -BuildRequires: meson +BuildRequires: meson >= 0.47.0 BuildRequires: pkgconfig +BuildRequires: sassc +BuildRequires: translation-update-upstream BuildRequires: xsltproc BuildRequires: pkgconfig(atk-bridge-2.0) BuildRequires: pkgconfig(gcr-base-3) >= 3.7.5 BuildRequires: pkgconfig(gdk-pixbuf-2.0) -BuildRequires: pkgconfig(gio-2.0) >= 2.53.0 -BuildRequires: pkgconfig(gjs-1.0) >= 1.47.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.57.3 +BuildRequires: pkgconfig(gnome-autoar-0) BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.9.0 -BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.7.90 +BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.34.2 BuildRequires: pkgconfig(gnome-keybindings) +BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.49.1 -BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.21.2 +BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.33.1 BuildRequires: pkgconfig(gstreamer-1.0) >= 0.11.92 BuildRequires: pkgconfig(gstreamer-base-1.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.15.0 +BuildRequires: pkgconfig(ibus-1.0) >= 1.5.2 BuildRequires: pkgconfig(json-glib-1.0) >= 0.13.2 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(libgnome-menu-3.0) >= 3.5.3 -BuildRequires: pkgconfig(libmutter-1) >= 3.26.1 -BuildRequires: pkgconfig(libnm-glib) -BuildRequires: pkgconfig(libnm-gtk) >= 0.9.8 -BuildRequires: pkgconfig(libnm-util) >= 0.9.8 +BuildRequires: pkgconfig(libmutter-5) >= 3.34.0 +BuildRequires: pkgconfig(libnm) >= 1.10.4 BuildRequires: pkgconfig(libpulse) >= 2.0 BuildRequires: pkgconfig(libpulse-mainloop-glib) -BuildRequires: pkgconfig(libsecret-unstable) +BuildRequires: pkgconfig(libsecret-1) >= 0.18 BuildRequires: pkgconfig(libsoup-2.4) BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.11 BuildRequires: pkgconfig(libsystemd) -BuildRequires: pkgconfig(mutter-clutter-1) >= 3.26.0 -BuildRequires: pkgconfig(mutter-cogl-pango-1) >= 3.25.2 +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(mutter-clutter-5) >= 3.34.0 +BuildRequires: pkgconfig(mutter-cogl-5) >= 3.34.0 +BuildRequires: pkgconfig(mutter-cogl-pango-5) >= 3.34.0 BuildRequires: pkgconfig(polkit-agent-1) >= 0.100 -BuildRequires: pkgconfig(xtst) +BuildRequires: pkgconfig(x11) BuildRequires: python(abi) >= 3 - Requires: gdk-pixbuf-loader-rsvg -## Finally, dependencies for session services that are needed for system icons and the user menu -# bluetooth system icon -# (lowered to recommends due to bsc#1067603, some setups without bluetooth might want to avoid this dependency) -Recommends: gnome-bluetooth # "System settings" menu item Requires: gnome-control-center Requires: gnome-session @@ -134,17 +124,18 @@ Requires: gsettings-desktop-schemas # Due to now private typelib(Meta) Requires: mutter +Requires: typelib(Rsvg) Recommends: %{name}-calendar -Recommends: %{name}-lang -# network system icon -Recommends: NetworkManager-gnome +## Finally, dependencies for session services that are needed for system icons and the user menu +# bluetooth system icon +# (lowered to recommends due to bsc#1067603, some setups without bluetooth might want to avoid this dependency) +Recommends: gnome-bluetooth # The dateTime applet in the panel launches gnome-clocks upon user request Recommends: gnome-clocks # gnome-shell implements the dbus interface org.freedesktop.Notifications directly Provides: dbus(org.freedesktop.Notifications) -%if !0%{?is_opensuse} -BuildRequires: translation-update-upstream -%endif +# gnome-shell-browser-plugin dropped in 3.31.4 +Obsoletes: gnome-shell-browser-plugin <= %{version} %description The GNOME Shell redefines user interactions with the GNOME desktop. In @@ -161,19 +152,6 @@ particular, it offers new paradigms for launching applications, accessing documents, and organizing open windows in GNOME. -%package browser-plugin -Summary: GNOME Shell Browser Plugin for the Extensions Repository -Group: System/GUI/GNOME -Requires: %{name} = %{version} -Supplements: packageand(%{name}:epiphany) - -%description browser-plugin -The GNOME Shell Browser Plugin provides integration with gnome-shell -and the corresponding extensions repository. The plugin allows the -extensions repository to provide good integration, letting the website -know which extensions are enabled and disabled, and allowing the website -to enable, disable and install them. - %package calendar Summary: Evolution Calendar support for GNOME Shell Group: System/GUI/GNOME @@ -190,19 +168,13 @@ %prep %setup -q -%patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 + +translation-update-upstream %if !0%{?is_opensuse} %patch1001 -p1 @@ -213,21 +185,20 @@ %patch1006 -p1 %patch1007 -p1 %patch1008 -p1 -translation-update-upstream %endif + %if !0%{?is_opensuse} -cp %{SOURCE2} js/ui/ -cp %{SOURCE3} data/theme/ +cp %{SOURCE1} js/ui/ +cp %{SOURCE2} data/theme/ %endif %build %meson \ --libexecdir=%{_libexecdir}/%{name} \ - -D enable-browser-plugin=true \ - -D enable-documentation=true \ - -D enable-man=true \ - -D enable-networkmanager=yes \ - -D enable-systemd=yes \ + -Dgtk_doc=true \ + -Dman=true \ + -Dnetworkmanager=true \ + -Dsystemd=true \ %{nil} %meson_build @@ -244,8 +215,9 @@ %files %license COPYING -%doc README NEWS +%doc README.md NEWS %{_bindir}/gnome-shell +%{_bindir}/gnome-extensions %{_bindir}/gnome-shell-extension-prefs %dir %{_libdir}/gnome-shell %dir %{_libexecdir}/gnome-shell @@ -255,7 +227,7 @@ %{_libexecdir}/gnome-shell/gnome-shell-portal-helper %{_libdir}/gnome-shell/Gvc-1.0.typelib %{_libdir}/gnome-shell/Shell-0.1.typelib -%{_libdir}/gnome-shell/ShellMenu-0.1.typelib +#%%{_libdir}/gnome-shell/ShellMenu-0.1.typelib %{_libdir}/gnome-shell/St-1.0.typelib %{_libdir}/gnome-shell/libgnome-shell-menu.so %{_libdir}/gnome-shell/libgnome-shell.so @@ -267,6 +239,8 @@ %{_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.Extensions.xml +%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Introspect.xml %{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml @@ -280,25 +254,31 @@ %dir %{_datadir}/gnome-shell/extensions %dir %{_datadir}/gnome-shell/search-providers %dir %{_datadir}/gnome-shell/modes +%{_datadir}/gnome-shell/gnome-shell-dbus-interfaces.gresource %{_datadir}/gnome-shell/gnome-shell-theme.gresource +%{_datadir}/gnome-shell/gnome-shell-osk-layouts.gresource %{_datadir}/gnome-shell/perf-background.xml %{_mandir}/man?/gnome-shell.?%{ext_man} +%{_mandir}/man?/gnome-extensions.?%{ext_man} %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 +%{_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 %files devel +%doc HACKING.md %doc %{_datadir}/gtk-doc/html %{_bindir}/gnome-shell-extension-tool %{_bindir}/gnome-shell-perf-tool %{_datadir}/gnome-shell/*.gir -%files browser-plugin -%doc browser-plugin/README -%dir %{_libdir}/mozilla/plugins/ -%dir %{_libdir}/mozilla -%{_libdir}/mozilla/plugins/libgnome-shell-browser-plugin.* - %files calendar %{_datadir}/applications/evolution-calendar.desktop %{_libexecdir}/gnome-shell/gnome-shell-calendar-server ++++++ _service ++++++ --- /var/tmp/diff_new_pack.bBGuan/_old 2020-01-30 14:51:34.470939930 +0100 +++ /var/tmp/diff_new_pack.bBGuan/_new 2020-01-30 14:51:34.470939930 +0100 @@ -1,16 +1,16 @@ - <services> - <service mode="disabled" name="tar_scm"> + <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">gnome-3-26</param> - <param name="versionformat">3.26.2+%cd.%h</param> + <param name="revision">gnome-3-34</param> + <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> <param name="changesgenerate">enable</param> </service> - <service mode="disabled" name="recompress"> + <service name="tar" mode="buildtime"/> + <service name="recompress" mode="buildtime"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> - <service mode="disabled" name="set_version" /> + <service name="set_version" mode="disabled" /> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.bBGuan/_old 2020-01-30 14:51:34.486939939 +0100 +++ /var/tmp/diff_new_pack.bBGuan/_new 2020-01-30 14:51:34.486939939 +0100 @@ -1,6 +1,4 @@ <servicedata> <service name="tar_scm"> - <param name="url">git://git.gnome.org/gnome-shell</param> - <param name="changesrevision">15b1810a615ec34f375395f4b93bef3eee04b85e</param></service><service name="tar_scm"> <param name="url">https://gitlab.gnome.org/GNOME/gnome-shell.git</param> - <param name="changesrevision">0d9c742127f4a79416478b46a9fa5273701d92e3</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">f7fe7bc676b0cae37405b941822ba9f2b989add6</param></service></servicedata> \ No newline at end of file ++++++ gnome-shell-1007468-lock-screen-SUSE-logo-missing.patch ++++++ --- /var/tmp/diff_new_pack.bBGuan/_old 2020-01-30 14:51:34.510939952 +0100 +++ /var/tmp/diff_new_pack.bBGuan/_new 2020-01-30 14:51:34.510939952 +0100 @@ -1,37 +1,37 @@ -Index: gnome-shell-3.26.0/data/gnome-shell-theme.gresource.xml +Index: gnome-shell-3.34.1+7/data/gnome-shell-theme.gresource.xml =================================================================== ---- gnome-shell-3.26.0.orig/data/gnome-shell-theme.gresource.xml -+++ gnome-shell-3.26.0/data/gnome-shell-theme.gresource.xml -@@ -38,5 +38,6 @@ +--- gnome-shell-3.34.1+7.orig/data/gnome-shell-theme.gresource.xml ++++ gnome-shell-3.34.1+7/data/gnome-shell-theme.gresource.xml +@@ -31,5 +31,6 @@ + <file>toggle-on.svg</file> + <file>toggle-on-dark.svg</file> <file>toggle-on-hc.svg</file> - <file>ws-switch-arrow-up.png</file> - <file>ws-switch-arrow-down.png</file> + <file>sle-background.png</file> </gresource> </gresources> -Index: gnome-shell-3.26.0/data/theme/gnome-shell.css +Index: gnome-shell-3.34.1+7/data/theme/gnome-shell-sass/_common.scss =================================================================== ---- gnome-shell-3.26.0.orig/data/theme/gnome-shell.css -+++ gnome-shell-3.26.0/data/theme/gnome-shell.css -@@ -1599,6 +1599,9 @@ StScrollBar { - padding-top: 24px; - max-width: 23em; } +--- gnome-shell-3.34.1+7.orig/data/theme/gnome-shell-sass/_common.scss ++++ gnome-shell-3.34.1+7/data/theme/gnome-shell-sass/_common.scss +@@ -1919,6 +1919,9 @@ StScrollBar { + max-width: 23em; + } +.login-dialog-sle { + background: #2e3436 url(sle-background.png); } + .login-dialog { + //reset border: none; - background-color: transparent; } -Index: gnome-shell-3.26.0/js/ui/unlockDialog.js +Index: gnome-shell-3.34.1+7/js/ui/unlockDialog.js =================================================================== ---- gnome-shell-3.26.0.orig/js/ui/unlockDialog.js -+++ gnome-shell-3.26.0/js/ui/unlockDialog.js -@@ -37,6 +37,7 @@ var UnlockDialog = new Lang.Class({ - layout_manager: new Clutter.BoxLayout(), - visible: false }); +--- gnome-shell-3.34.1+7.orig/js/ui/unlockDialog.js ++++ gnome-shell-3.34.1+7/js/ui/unlockDialog.js +@@ -23,6 +23,7 @@ var UnlockDialog = GObject.registerClass + visible: false, + }); -+ this.actor.add_style_class_name('login-dialog-sle'); - this.actor.add_constraint(new Layout.MonitorConstraint({ primary: true })); - parentActor.add_child(this.actor); ++ this.add_style_class_name('login-dialog-sle'); + this.add_constraint(new Layout.MonitorConstraint({ primary: true })); + parentActor.add_child(this); ++++++ gnome-shell-864872-unlock-by-mouse-motion.patch ++++++ --- /var/tmp/diff_new_pack.bBGuan/_old 2020-01-30 14:51:34.522939958 +0100 +++ /var/tmp/diff_new_pack.bBGuan/_new 2020-01-30 14:51:34.522939958 +0100 @@ -1,30 +1,30 @@ -Index: gnome-shell-3.24.2/js/ui/screenShield.js -=================================================================== ---- gnome-shell-3.24.2.orig/js/ui/screenShield.js -+++ gnome-shell-3.24.2/js/ui/screenShield.js -@@ -438,6 +438,8 @@ const ScreenShield = new Lang.Class({ +diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js +index 7b154f2..ff7315d 100644 +--- a/js/ui/screenShield.js ++++ b/js/ui/screenShield.js +@@ -431,6 +431,8 @@ var ScreenShield = class { this.actor = Main.layoutManager.screenShieldGroup; this._lockScreenState = MessageTray.State.HIDDEN; + this._last_x = -1; + this._last_y = -1; - this._lockScreenGroup = new St.Widget({ x_expand: true, - y_expand: true, - reactive: true, -@@ -447,6 +449,8 @@ const ScreenShield = new Lang.Class({ - }); + this._lockScreenGroup = new St.Widget({ + x_expand: true, + y_expand: true, +@@ -441,6 +443,8 @@ var ScreenShield = class { + }); this._lockScreenGroup.connect('key-press-event', - Lang.bind(this, this._onLockScreenKeyPress)); + this._onLockScreenKeyPress.bind(this)); + this._lockScreenGroup.connect('motion-event', -+ Lang.bind(this, this._onLockScreenMotion)); ++ this._onLockScreenMotion.bind(this)); this._lockScreenGroup.connect('scroll-event', - Lang.bind(this, this._onLockScreenScroll)); + this._onLockScreenScroll.bind(this)); Main.ctrlAltTabManager.addGroup(this._lockScreenGroup, _("Lock"), 'changes-prevent-symbolic'); -@@ -686,6 +690,25 @@ const ScreenShield = new Lang.Class({ +@@ -720,6 +724,25 @@ var ScreenShield = class { return Clutter.EVENT_STOP; - }, + } -+ _onLockScreenMotion: function(actor, event) { ++ _onLockScreenMotion(actor, event) { + if (this._lockScreenState != MessageTray.State.SHOWN) + return false; + let [X, Y] = event.get_coords(); @@ -41,12 +41,12 @@ + if (distance >= min_distance) + this._liftShield(true, 0); + return true; -+ }, ++ } + - _onLockScreenScroll: function(actor, event) { + _onLockScreenScroll(actor, event) { if (this._lockScreenState != MessageTray.State.SHOWN) return Clutter.EVENT_PROPAGATE; -@@ -1005,6 +1028,8 @@ const ScreenShield = new Lang.Class({ +@@ -1036,6 +1059,8 @@ var ScreenShield = class { return; this._ensureLockScreen(); ++++++ gnome-shell-Avoid-loginDialog-grab-focus-when-locked.patch ++++++ --- /var/tmp/diff_new_pack.bBGuan/_old 2020-01-30 14:51:34.530939962 +0100 +++ /var/tmp/diff_new_pack.bBGuan/_new 2020-01-30 14:51:34.530939962 +0100 @@ -1,4 +1,4 @@ -From 8a46458bf59300fb73ac4d1271c80c5b9ab571c4 Mon Sep 17 00:00:00 2001 +From 83b01d946517b5995e6423582de13307af91716b Mon Sep 17 00:00:00 2001 From: Xiaoguang Wang <xwang@suse.com> Date: Tue, 26 Sep 2017 16:54:15 +0800 Subject: [PATCH] gdm: Avoid loginDialog grab focus when locked @@ -9,19 +9,19 @@ 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js -index 1cae3db85..b83129150 100644 +index 6c4d135..cfc445b 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js -@@ -1128,7 +1128,8 @@ var LoginDialog = new Lang.Class({ +@@ -1119,7 +1119,8 @@ var LoginDialog = GObject.registerClass({ this._sessionMenuButton.close(); this._setUserListExpanded(true); this._notListedButton.show(); - this._userList.actor.grab_key_focus(); + if (!Main.screenShield.locked) + this._userList.actor.grab_key_focus(); - }, + } - _beginVerificationForItem: function(item) { + _beginVerificationForItem(item) { -- -2.12.3 +2.16.4 ++++++ gnome-shell-disable-ibus-when-not-installed.patch ++++++ --- /var/tmp/diff_new_pack.bBGuan/_old 2020-01-30 14:51:34.538939966 +0100 +++ /var/tmp/diff_new_pack.bBGuan/_new 2020-01-30 14:51:34.538939966 +0100 @@ -1,15 +1,27 @@ -Index: gnome-shell-3.26.0/js/misc/ibusManager.js -=================================================================== ---- gnome-shell-3.26.0.orig/js/misc/ibusManager.js -+++ gnome-shell-3.26.0/js/misc/ibusManager.js -@@ -45,6 +45,10 @@ var IBusManager = new Lang.Class({ - _PRELOAD_ENGINES_DELAY_TIME: 30, // sec +From d8109a8e9db11cc7374faba3264b9f00dc5e1699 Mon Sep 17 00:00:00 2001 +From: Chingkai <qkzhu@suse.com> +Date: Wed, 13 Mar 2019 14:50:22 +0800 +Subject: [PATCH] Disable ibus when out of CJK + +--- + js/misc/ibusManager.js | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/js/misc/ibusManager.js b/js/misc/ibusManager.js +index d20ad2f..0595573 100644 +--- a/js/misc/ibusManager.js ++++ b/js/misc/ibusManager.js +@@ -31,6 +31,10 @@ function getIBusManager() { - _init: function() { + var IBusManager = class { + constructor() { + let daemon = Gio.File.new_for_path('/usr/bin/ibus-daemon'); + if (!daemon.query_exists(null)) + return; + - if (!IBus) - return; + IBus.init(); + // This is the longest we'll keep the keyboard frozen until an input +-- +2.16.4 + ++++++ gnome-shell-domain.patch ++++++ --- /var/tmp/diff_new_pack.bBGuan/_old 2020-01-30 14:51:34.542939969 +0100 +++ /var/tmp/diff_new_pack.bBGuan/_new 2020-01-30 14:51:34.546939971 +0100 @@ -1,7 +1,7 @@ -Index: gnome-shell-3.26.0/js/gdm/domain.js +Index: gnome-shell-3.34.1+7/js/gdm/domain.js =================================================================== --- /dev/null -+++ gnome-shell-3.26.0/js/gdm/domain.js ++++ gnome-shell-3.34.1+7/js/gdm/domain.js @@ -0,0 +1,243 @@ +// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* @@ -246,21 +246,21 @@ + } +}); +Signals.addSignalMethods(DomainMenuButton.prototype); -Index: gnome-shell-3.26.0/js/gdm/loginDialog.js +Index: gnome-shell-3.34.1+7/js/gdm/loginDialog.js =================================================================== ---- gnome-shell-3.26.0.orig/js/gdm/loginDialog.js -+++ gnome-shell-3.26.0/js/gdm/loginDialog.js -@@ -33,6 +33,7 @@ const Signals = imports.signals; - const St = imports.gi.St; +--- gnome-shell-3.34.1+7.orig/js/gdm/loginDialog.js ++++ gnome-shell-3.34.1+7/js/gdm/loginDialog.js +@@ -22,6 +22,7 @@ const { AccountsService, Atk, Clutter, G + const Signals = imports.signals; const AuthPrompt = imports.gdm.authPrompt; +const Domain = imports.gdm.domain; const Batch = imports.gdm.batch; const BoxPointer = imports.ui.boxpointer; const CtrlAltTab = imports.ui.ctrlAltTab; -@@ -452,6 +453,14 @@ var LoginDialog = new Lang.Class({ +@@ -437,6 +438,14 @@ var LoginDialog = GObject.registerClass( this._authPrompt.hide(); - this.actor.add_child(this._authPrompt.actor); + this.add_child(this._authPrompt.actor); + this._userLayout = new St.BoxLayout({ vertical: false, + x_expand: true @@ -273,7 +273,7 @@ // translators: this message is shown below the user list on the // login screen. It can be activated to reveal an entry for // manually entering the username. -@@ -469,10 +478,24 @@ var LoginDialog = new Lang.Class({ +@@ -454,10 +463,24 @@ var LoginDialog = GObject.registerClass( this._notListedButton.hide(); @@ -300,11 +300,11 @@ this._bannerView = new St.ScrollView({ style_class: 'login-dialog-banner-view', opacity: 0, -@@ -948,6 +971,37 @@ var LoginDialog = new Lang.Class({ - })); - }, +@@ -942,6 +965,37 @@ var LoginDialog = GObject.registerClass( + }); + } -+ _askForDomainUsernameAndBeginVerification: function(domain) { ++ _askForDomainUsernameAndBeginVerification(domain) { + this._authPrompt.setPasswordChar(''); + this._authPrompt.setQuestion(this._domainMenuButton.getQuestionMessage()); + @@ -333,24 +333,24 @@ + })); + this._updateCancelButton(); + this._showPrompt(); -+ }, ++ } + - _startSession: function(serviceName) { - Tweener.addTween(this.actor, - { opacity: 0, -@@ -1116,6 +1170,11 @@ var LoginDialog = new Lang.Class({ + _startSession(serviceName) { + this._bindOpacity(); + this.ease({ +@@ -1099,6 +1153,11 @@ var LoginDialog = GObject.registerClass( this._askForUsernameAndBeginVerification(); - }, + } -+ _hideUserListAskForDomainUsernameAndBeginVerification: function() { ++ _hideUserListAskForDomainUsernameAndBeginVerification() { + this._hideUserList(); + this._askForDomainUsernameAndBeginVerification(); -+ }, ++ } + - _hideUserListAndBeginVerification: function() { + _hideUserListAndBeginVerification() { this._hideUserList(); this._authPrompt.begin(); -@@ -1128,6 +1187,9 @@ var LoginDialog = new Lang.Class({ +@@ -1111,6 +1170,9 @@ var LoginDialog = GObject.registerClass( this._sessionMenuButton.close(); this._setUserListExpanded(true); this._notListedButton.show(); @@ -359,23 +359,11 @@ + this._userLayout.show(); if (!Main.screenShield.locked) this._userList.actor.grab_key_focus(); - }, -Index: gnome-shell-3.26.0/po/POTFILES.in -=================================================================== ---- gnome-shell-3.26.0.orig/po/POTFILES.in -+++ gnome-shell-3.26.0/po/POTFILES.in -@@ -7,6 +7,7 @@ data/org.gnome.shell.gschema.xml.in - data/org.gnome.Shell.PortalHelper.desktop.in.in - js/extensionPrefs/main.js - js/gdm/authPrompt.js -+js/gdm/domain.js - js/gdm/loginDialog.js - js/gdm/util.js - js/misc/systemActions.js -Index: gnome-shell-3.26.0/js/js-resources.gresource.xml + } +Index: gnome-shell-3.34.1+7/js/js-resources.gresource.xml =================================================================== ---- gnome-shell-3.26.0.orig/js/js-resources.gresource.xml -+++ gnome-shell-3.26.0/js/js-resources.gresource.xml +--- gnome-shell-3.34.1+7.orig/js/js-resources.gresource.xml ++++ gnome-shell-3.34.1+7/js/js-resources.gresource.xml @@ -2,6 +2,7 @@ <gresources> <gresource prefix="/org/gnome/shell"> @@ -384,3 +372,15 @@ <file>gdm/batch.js</file> <file>gdm/fingerprint.js</file> <file>gdm/loginDialog.js</file> +Index: gnome-shell-3.34.1+7/po/POTFILES.in +=================================================================== +--- gnome-shell-3.34.1+7.orig/po/POTFILES.in ++++ gnome-shell-3.34.1+7/po/POTFILES.in +@@ -7,6 +7,7 @@ data/org.gnome.shell.gschema.xml.in + data/org.gnome.Shell.PortalHelper.desktop.in.in + js/extensionPrefs/main.js + js/gdm/authPrompt.js ++js/gdm/domain.js + js/gdm/loginDialog.js + js/gdm/util.js + js/misc/systemActions.js ++++++ gnome-shell-fate324570-Make-GDM-background-image-configurable.patch ++++++ --- /var/tmp/diff_new_pack.bBGuan/_old 2020-01-30 14:51:34.550939973 +0100 +++ /var/tmp/diff_new_pack.bBGuan/_new 2020-01-30 14:51:34.550939973 +0100 @@ -1,6 +1,6 @@ -From 5039e3ba630ecfcd1b7db70696d4251f53e65cd5 Mon Sep 17 00:00:00 2001 -From: Chingkai <qkzhu@suse.com> -Date: Thu, 15 Nov 2018 13:14:08 +0800 +From 7ec0b20a9c8c62f34203e1e93b64764f3fbd20d7 Mon Sep 17 00:00:00 2001 +From: Chingkai <chuchingkai@gmail.com> +Date: Fri, 19 Oct 2018 13:25:35 +0800 Subject: [PATCH] screenShield: Make login and lock screen background configurable @@ -10,26 +10,25 @@ https://gitlab.gnome.org/GNOME/gnome-shell/issues/680 --- - js/ui/screenShield.js | 42 ++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 42 insertions(+) + js/ui/screenShield.js | 41 +++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 41 insertions(+) diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js -index 9f3ff84..d5642ab 100644 +index 3f45b8a..6c09a5d 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js -@@ -37,6 +37,9 @@ const LOCKDOWN_SCHEMA = 'org.gnome.desktop.lockdown'; +@@ -27,6 +27,8 @@ const LOCK_DELAY_KEY = 'lock-delay'; + const LOCKDOWN_SCHEMA = 'org.gnome.desktop.lockdown'; const DISABLE_LOCK_KEY = 'disable-lock-screen'; - const LOCKED_STATE_STR = 'screenShield.locked'; -+ +const LOCKDIALOG_BACKGROUND_SCHEMA = 'org.gnome.desktop.background.lockdialog'; + + const LOCKED_STATE_STR = 'screenShield.locked'; // fraction of screen height the arrow must reach before completing // the slide up automatically - var ARROW_DRAG_THRESHOLD = 0.1; -@@ -511,6 +514,16 @@ var ScreenShield = new Lang.Class({ - this._onStatusChanged(status); - })); +@@ -493,6 +495,16 @@ var ScreenShield = class { + pivot_point: new Clutter.Point({ x: 0.5, y: 0.5 }), + name: 'lockDialogGroup' }); + // Add background for this._lockDialogGroup + this._bgLockDialogGroup = new Clutter.Actor(); @@ -41,12 +40,12 @@ + this._updateBgLockDialogGroup(); + Main.layoutManager.connect('monitors-changed', this._updateBgLockDialogGroup.bind(this)); + - this._screenSaverDBus = new ShellDBus.ScreenSaverDBus(this); + this.actor.add_actor(this._lockDialogGroup); + this.actor.add_actor(this._lockScreenGroup); - this._smartcardManager = SmartcardManager.getSmartcardManager(); -@@ -588,6 +601,35 @@ var ScreenShield = new Lang.Class({ +@@ -586,6 +598,35 @@ var ScreenShield = class { this._syncInhibitor(); - }, + } + _createBgLockDialogGroup(monitorIndex) { + let monitor = Main.layoutManager.monitors[monitorIndex]; @@ -64,7 +63,7 @@ + this._bgManagersLockDialogGroup.push(bgManager); + + this._bgLockDialogGroup.add_child(widget); -+ }, ++ } + + _updateBgLockDialogGroup() { + for (let i = 0; i < this._bgManagersLockDialogGroup.length; i++) @@ -75,9 +74,9 @@ + + for (let i = 0; i < Main.layoutManager.monitors.length; i++) + this._createBgLockDialogGroup(i); -+ }, ++ } + - _createBackground: function(monitorIndex) { + _createBackground(monitorIndex) { let monitor = Main.layoutManager.monitors[monitorIndex]; let widget = new St.Widget({ style_class: 'screen-shield-background', -- ++++++ gnome-shell-gdm-login-applet.patch ++++++ --- /var/tmp/diff_new_pack.bBGuan/_old 2020-01-30 14:51:34.558939978 +0100 +++ /var/tmp/diff_new_pack.bBGuan/_new 2020-01-30 14:51:34.562939979 +0100 @@ -1,19 +1,17 @@ -Index: gnome-shell-3.26.0/js/js-resources.gresource.xml -=================================================================== ---- gnome-shell-3.26.0.orig/js/js-resources.gresource.xml -+++ gnome-shell-3.26.0/js/js-resources.gresource.xml -@@ -34,6 +34,7 @@ - - <file>portalHelper/main.js</file> +diff -urpN gnome-shell-3.33.91.orig/js/js-resources.gresource.xml gnome-shell-3.33.91/js/js-resources.gresource.xml +--- gnome-shell-3.33.91.orig/js/js-resources.gresource.xml 2019-08-21 15:00:39.000000000 -0500 ++++ gnome-shell-3.33.91/js/js-resources.gresource.xml 2019-09-04 10:15:21.233934725 -0500 +@@ -32,6 +32,7 @@ + <file>perf/core.js</file> + <file>perf/hwtest.js</file> + <file>ui/aboutMenu.js</file> <file>ui/accessDialog.js</file> <file>ui/altTab.js</file> <file>ui/animation.js</file> -Index: gnome-shell-3.26.0/js/ui/aboutMenu.js -=================================================================== ---- /dev/null -+++ gnome-shell-3.26.0/js/ui/aboutMenu.js +diff -urpN gnome-shell-3.33.91.orig/js/ui/aboutMenu.js gnome-shell-3.33.91/js/ui/aboutMenu.js +--- gnome-shell-3.33.91.orig/js/ui/aboutMenu.js 1969-12-31 18:00:00.000000000 -0600 ++++ gnome-shell-3.33.91/js/ui/aboutMenu.js 2019-09-04 10:15:40.562037171 -0500 @@ -0,0 +1,150 @@ +// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- + @@ -29,7 +27,7 @@ +const AboutMenuButton = new Lang.Class({ + Name: 'AboutMenuButton', + Extends: PanelMenu.Button, -+ _init: function() { ++ _init() { + this._hostname = null; + this._updateHostnameId = 0; + this._ticket = 1; @@ -95,7 +93,7 @@ + return; + }, + -+ _updateHostname: function(){ ++ _updateHostname(){ + let hostname_text = get_hostname(); + + if ((this._hostname == null) || (this._hostname != hostname_text)) { @@ -115,7 +113,7 @@ + })); + }, + -+ _destroy: function() { ++ _destroy() { + this._ticket = 1; + if (this._updateHostnameId) { + GLib.source_remove (this._updateHostnameId); @@ -165,11 +163,10 @@ + + return hostname; +} -Index: gnome-shell-3.26.0/js/ui/panel.js -=================================================================== ---- gnome-shell-3.26.0.orig/js/ui/panel.js -+++ gnome-shell-3.26.0/js/ui/panel.js -@@ -758,6 +758,7 @@ var AggregateMenu = new Lang.Class({ +diff -urpN gnome-shell-3.33.91.orig/js/ui/panel.js gnome-shell-3.33.91/js/ui/panel.js +--- gnome-shell-3.33.91.orig/js/ui/panel.js 2019-08-21 15:00:39.000000000 -0500 ++++ gnome-shell-3.33.91/js/ui/panel.js 2019-09-04 10:15:40.562037171 -0500 +@@ -769,6 +769,7 @@ class AggregateMenu extends PanelMenu.Bu }); const PANEL_ITEM_IMPLEMENTATIONS = { @@ -177,16 +174,15 @@ 'activities': ActivitiesButton, 'aggregateMenu': AggregateMenu, 'appMenu': AppMenuButton, -Index: gnome-shell-3.26.0/js/ui/sessionMode.js -=================================================================== ---- gnome-shell-3.26.0.orig/js/ui/sessionMode.js -+++ gnome-shell-3.26.0/js/ui/sessionMode.js -@@ -47,7 +47,7 @@ const _modes = { - unlockDialog: imports.gdm.loginDialog.LoginDialog, - components: ['polkitAgent'], +diff -urpN gnome-shell-3.33.91.orig/js/ui/sessionMode.js gnome-shell-3.33.91/js/ui/sessionMode.js +--- gnome-shell-3.33.91.orig/js/ui/sessionMode.js 2019-08-21 15:00:39.000000000 -0500 ++++ gnome-shell-3.33.91/js/ui/sessionMode.js 2019-09-04 10:18:12.262841288 -0500 +@@ -33,7 +33,7 @@ const _modes = { + unlockDialog: null, + components: [], panel: { - left: [], + left: ['aboutMenu'], - center: ['dateMenu'], - right: ['a11yGreeter', 'keyboard', 'aggregateMenu'], + center: [], + right: [] }, ++++++ gnome-shell-jscSLE9267-Remove-sessionList-of-endSessionDialog.patch ++++++ diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js index f51eb7b..5abad41 100644 --- a/js/ui/endSessionDialog.js +++ b/js/ui/endSessionDialog.js @@ -327,11 +327,11 @@ class EndSessionDialog extends ModalDialog.ModalDialog { this._inhibitorSection.add_actor(this._applicationList); this._sessionHeader = new St.Label({ style_class: 'end-session-dialog-list-header', - text: _("Other users are logged in.") }); + text: _("Other users are logged in. You can list these users by 'who' command.") }); this._sessionList = new St.BoxLayout({ style_class: 'end-session-dialog-session-list', vertical: true }); this._inhibitorSection.add_actor(this._sessionHeader); - this._inhibitorSection.add_actor(this._sessionList); + //this._inhibitorSection.add_actor(this._sessionList); Hide _sessionList for jsc#SLE-9267 this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(EndSessionDialogIface, this); this._dbusImpl.export(Gio.DBus.session, '/org/gnome/SessionManager/EndSessionDialog'); ++++++ gnome-shell-lock-bg-on-primary.patch ++++++ --- /var/tmp/diff_new_pack.bBGuan/_old 2020-01-30 14:51:34.574939985 +0100 +++ /var/tmp/diff_new_pack.bBGuan/_new 2020-01-30 14:51:34.574939985 +0100 @@ -1,14 +1,18 @@ -Index: gnome-shell-3.24.2/js/ui/screenShield.js -=================================================================== ---- gnome-shell-3.24.2.orig/js/ui/screenShield.js -+++ gnome-shell-3.24.2/js/ui/screenShield.js -@@ -498,9 +498,31 @@ const ScreenShield = new Lang.Class({ +diff -urp gnome-shell-3.33.91.orig/js/ui/screenShield.js gnome-shell-3.33.91/js/ui/screenShield.js +--- gnome-shell-3.33.91.orig/js/ui/screenShield.js 2019-09-04 14:04:13.523059437 -0500 ++++ gnome-shell-3.33.91/js/ui/screenShield.js 2019-09-04 14:20:01.448084179 -0500 +@@ -492,7 +492,7 @@ var ScreenShield = class { y_expand: true, reactive: true, pivot_point: new Clutter.Point({ x: 0.5, y: 0.5 }), - name: 'lockDialogGroup' }); + name: 'lockDialogGroupReal' }); + // Add background for this._lockDialogGroup + this._bgLockDialogGroup = new Clutter.Actor(); +@@ -505,6 +505,28 @@ var ScreenShield = class { + Main.layoutManager.connect('monitors-changed', this._updateBgLockDialogGroup.bind(this)); + this.actor.add_actor(this._lockDialogGroup); + + let primaryBackground = new St.Widget({ x_expand: true, @@ -17,7 +21,7 @@ + pivot_point: new Clutter.Point({ x: 0.5, y: 0.5 }), + name: 'lockDialogGroup' }); + primaryBackground.add_constraint(new Layout.MonitorConstraint({ primary: true })); -+ this.actor.insert_child_below(primaryBackground, null); +++ this.actor.insert_child_below(primaryBackground, null); + + for (let i = 0; i < Main.layoutManager.monitors.length; i++) { + if (Main.layoutManager.monitors [i].index == Main.layoutManager.primaryMonitor.index) @@ -34,4 +38,4 @@ + this.actor.add_actor(this._lockScreenGroup); - this._presence = new GnomeSession.Presence(Lang.bind(this, function(proxy, error) { + this._presence = new GnomeSession.Presence((proxy, error) => { ++++++ gnome-shell-private-connection.patch ++++++ --- /var/tmp/diff_new_pack.bBGuan/_old 2020-01-30 14:51:34.582939990 +0100 +++ /var/tmp/diff_new_pack.bBGuan/_new 2020-01-30 14:51:34.582939990 +0100 @@ -1,8 +1,7 @@ -From f9a23ba5908fb93d25ef702510ea182c220db8aa Mon Sep 17 00:00:00 2001 +From 342795440012a216d4abb9cfb04d2c3bd0fe8f4d Mon Sep 17 00:00:00 2001 From: Giovanni Campagna <gcampagna@src.gnome.org> Date: Thu, 31 Mar 2011 15:56:13 +0200 -Subject: [PATCH] NetworkMenu: create private connections if the user is not - authorized +Subject: [PATCH] NetworkMenu: create private connections if the user is not authorized Check polkit setting at startup and add, if needed, the "permissions" setting to the connections we create, so that polkit authentication is @@ -11,99 +10,98 @@ https://bugzilla.gnome.org/show_bug.cgi?id=646187 --- - js/ui/status/network.js | 38 +++++++++++++++++++++++++++++++++----- - 1 file changed, 33 insertions(+), 5 deletions(-) + js/ui/status/network.js | 38 ++++++++++++++++++++++++++++++++------ + 1 file changed, 32 insertions(+), 6 deletions(-) -Index: gnome-shell-3.14.0/js/ui/status/network.js +Index: gnome-shell-3.34.0+94/js/ui/status/network.js =================================================================== ---- gnome-shell-3.14.0.orig/js/ui/status/network.js -+++ gnome-shell-3.14.0/js/ui/status/network.js -@@ -7,6 +7,7 @@ const Gtk = imports.gi.Gtk; - const Mainloop = imports.mainloop; - const NetworkManager = imports.gi.NetworkManager; - const NMClient = imports.gi.NMClient; -+const Polkit = imports.gi.Polkit; - const NMGtk = imports.gi.NMGtk; +--- gnome-shell-3.34.0+94.orig/js/ui/status/network.js ++++ gnome-shell-3.34.0+94/js/ui/status/network.js +@@ -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 Shell = imports.gi.Shell; -@@ -369,6 +370,11 @@ const NMConnectionDevice = new Lang.Clas - _autoConnect: function() { - let connection = new NetworkManager.Connection(); -+ if (this._privateConnections) { -+ let connectionSetting = new NetworkManager.SettingConnection(); -+ connectionSetting.add_permission('user', GLib.get_user_name(), null); -+ connection.add_setting(connectionSetting); -+ } - this._client.add_and_activate_connection(connection, this._device, null, null); - }, - -@@ -627,10 +633,12 @@ const NMDeviceBluetooth = new Lang.Class - Extends: NMConnectionDevice, - category: NMConnectionCategory.WWAN, - -- _init: function(client, device, settings) { -+ -+ _init: function(client, device, settings, privateConnections) { - this.parent(client, device, settings); + const Animation = imports.ui.animation; +@@ -326,6 +326,11 @@ var NMConnectionDevice = class NMConnect - this.item.menu.addSettingsAction(_("Bluetooth Settings"), 'gnome-network-panel.desktop'); + _autoConnect() { + let connection = new NM.SimpleConnection(); ++ if (this._privateConnections) { ++ 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); + } + +@@ -462,10 +467,11 @@ var NMConnectionDevice = class NMConnect + }; + + var NMDeviceWired = class extends NMConnectionDevice { +- constructor(client, device) { ++ constructor(client, device, privateConnections) { + super(client, device); + + this.item.menu.addSettingsAction(_("Wired Settings"), 'gnome-network-panel.desktop'); + this._privateConnections = privateConnections; - }, + } + + get category() { +@@ -682,11 +688,12 @@ var NMWirelessDialogItem = GObject.regis - _getDescription: function() { -@@ -727,11 +735,12 @@ const NMWirelessDialog = new Lang.Class( - Name: 'NMWirelessDialog', - Extends: ModalDialog.ModalDialog, - -- _init: function(client, device, settings) { -+ _init: function(client, device, settings, privateConnections) { - this.parent({ styleClass: 'nm-dialog' }); + var NMWirelessDialog = GObject.registerClass( + class NMWirelessDialog extends ModalDialog.ModalDialog { +- _init(client, device) { ++ _init(client, device, privateConnections) { + super._init({ styleClass: 'nm-dialog' }); this._client = client; this._device = device; + this._privateConnections = privateConnections; this._wirelessEnabledChangedId = this._client.connect('notify::wireless-enabled', - Lang.bind(this, this._syncView)); -@@ -964,6 +973,11 @@ const NMWirelessDialog = new Lang.Class( - this._device.get_path(), accessPoints[0].dbus_path]); + this._syncView.bind(this)); +@@ -917,6 +924,11 @@ class NMWirelessDialog extends ModalDial + this._device.get_path(), accessPoints[0].get_path()]); } else { - let connection = new NetworkManager.Connection(); + let connection = new NM.SimpleConnection(); + if (this._privateConnections) { -+ let connectionSetting = new NetworkManager.SettingConnection(); ++ let connectionSetting = new NM.SettingConnection(); + connectionSetting.add_permission('user', GLib.get_user_name(), null); + connection.add_setting(connectionSetting); + } - this._client.add_and_activate_connection(connection, this._device, accessPoints[0].dbus_path, null) + this._client.add_and_activate_connection_async(connection, this._device, accessPoints[0].get_path(), null, null); } } -@@ -1194,10 +1209,11 @@ const NMDeviceWireless = new Lang.Class( - Name: 'NMDeviceWireless', - category: NMConnectionCategory.WIRELESS, +@@ -1153,9 +1165,10 @@ class NMWirelessDialog extends ModalDial + }); -- _init: function(client, device, settings) { -+ _init: function(client, device, settings, privateConnections) { + var NMDeviceWireless = class { +- constructor(client, device) { ++ constructor(client, device, privateConnections) { this._client = client; this._device = device; - this._settings = settings; + this._privateConnections = privateConnections; this._description = ''; -@@ -1280,7 +1295,7 @@ const NMDeviceWireless = new Lang.Class( - }, +@@ -1241,7 +1254,7 @@ var NMDeviceWireless = class { + } - _showDialog: function() { -- this._dialog = new NMWirelessDialog(this._client, this._device, this._settings); -+ this._dialog = new NMWirelessDialog(this._client, this._device, this._settings, this._privateConnections); - this._dialog.connect('closed', Lang.bind(this, this._dialogClosed)); + _showDialog() { +- this._dialog = new NMWirelessDialog(this._client, this._device); ++ this._dialog = new NMWirelessDialog(this._client, this._device, this._privateConnections); + this._dialog.connect('closed', this._dialogClosed.bind(this)); this._dialog.open(); - }, -@@ -1678,6 +1693,19 @@ const NMApplet = new Lang.Class({ - if (!this._client || !this._settings) - return; + } +@@ -1616,6 +1629,19 @@ var NMApplet = class extends PanelMenu.S + _clientGot(obj, result) { + this._client = NM.Client.new_finish(result); ++ + // Check if newly created connections should be private or not + this._privateConnections = true; + let authority = Polkit.Authority.get_sync(null); @@ -116,16 +114,15 @@ + null /* cancellable */); + if (authResult) + this._privateConnections = !authResult.get_is_authorized(); -+ - this._activeConnections = [ ]; - this._connections = [ ]; - this._connectivityQueue = [ ]; -@@ -1807,7 +1835,7 @@ const NMApplet = new Lang.Class({ + + this._activeConnections = []; + this._connections = []; +@@ -1736,7 +1762,7 @@ var NMApplet = class extends PanelMenu.S let wrapperClass = this._dtypes[device.get_device_type()]; if (wrapperClass) { -- let wrapper = new wrapperClass(this._client, device, this._settings); -+ let wrapper = new wrapperClass(this._client, device, this._settings, this._privateConnections); +- let wrapper = new wrapperClass(this._client, device); ++ let wrapper = new wrapperClass(this._client, device, this._privateConnections); device._delegate = wrapper; this._addDeviceWrapper(wrapper); - + \ No newline at end of file ++++++ gnome-shell.obsinfo ++++++ name: gnome-shell version: 3.34.3+0 mtime: 1578226247 commit: f7fe7bc676b0cae37405b941822ba9f2b989add6 ++++++ gs-fate318433-prevent-same-account-multi-logins.patch ++++++ --- /var/tmp/diff_new_pack.bBGuan/_old 2020-01-30 14:51:34.602940001 +0100 +++ /var/tmp/diff_new_pack.bBGuan/_new 2020-01-30 14:51:34.602940001 +0100 @@ -1,17 +1,43 @@ -Index: gnome-shell-3.25.4/js/gdm/loginDialog.js -=================================================================== ---- gnome-shell-3.25.4.orig/js/gdm/loginDialog.js -+++ gnome-shell-3.25.4/js/gdm/loginDialog.js -@@ -926,6 +926,8 @@ var LoginDialog = new Lang.Class({ - this._authPrompt.updateSensitivity(false); - let answer = this._authPrompt.getAnswer(); - this._user = this._userManager.get_user(answer); -+ this._userLoginForbidden = -+ this._user.is_x_logged_in_remotely(); - this._authPrompt.clear(); - this._authPrompt.startSpinning(); - this._authPrompt.begin({ userName: answer }); -@@ -990,6 +992,8 @@ var LoginDialog = new Lang.Class({ +diff -urp gnome-shell-3.33.91.orig/js/gdm/authPrompt.js gnome-shell-3.33.91/js/gdm/authPrompt.js +--- gnome-shell-3.33.91.orig/js/gdm/authPrompt.js 2019-09-04 13:36:37.170279229 -0500 ++++ gnome-shell-3.33.91/js/gdm/authPrompt.js 2019-09-04 15:11:35.568485953 -0500 +@@ -25,7 +25,9 @@ var AuthPromptStatus = { + NOT_VERIFYING: 0, + VERIFYING: 1, + VERIFICATION_FAILED: 2, +- VERIFICATION_SUCCEEDED: 3 ++ VERIFICATION_SUCCEEDED: 3, ++ // NOTE fate#318433 extra state to track multi-login situation ++ VERIFIED_BUT_FORBIDDEN: 4 + }; + + var BeginRequestType = { +@@ -244,7 +246,12 @@ var AuthPrompt = class { + } + + _onVerificationComplete() { ++ // NOTE update the spinning icon + this.setActorInDefaultButtonWell(null); ++ ++ if (this.verificationStatus === AuthPromptStatus.VERIFIED_BUT_FORBIDDEN) { ++ return; ++ } + this.verificationStatus = AuthPromptStatus.VERIFICATION_SUCCEEDED; + this.cancelButton.reactive = false; + } +diff -urp gnome-shell-3.33.91.orig/js/gdm/loginDialog.js gnome-shell-3.33.91/js/gdm/loginDialog.js +--- gnome-shell-3.33.91.orig/js/gdm/loginDialog.js 2019-09-04 12:52:15.396169384 -0500 ++++ gnome-shell-3.33.91/js/gdm/loginDialog.js 2019-09-04 14:47:26.796805978 -0500 +@@ -917,6 +917,8 @@ var LoginDialog = GObject.registerClass( + this._authPrompt.updateSensitivity(false); + let answer = this._authPrompt.getAnswer(); + this._user = this._userManager.get_user(answer); ++ this._userLoginForbidden = ++ this._user.is_x_logged_in_remotely(); + this._authPrompt.clear(); + this._authPrompt.startSpinning(); + this._authPrompt.begin({ userName: answer }); +@@ -984,6 +986,8 @@ var LoginDialog = GObject.registerClass( let answer = this._authPrompt.getAnswer(); let domain_answer = this._domainMenuButton.getDomainUser(answer); this._user = this._userManager.get_user(domain_answer); @@ -20,10 +46,10 @@ this._authPrompt.clear(); this._authPrompt.startSpinning(); this._authPrompt.begin({ userName: domain_answer}); -@@ -1023,6 +1027,28 @@ var LoginDialog = new Lang.Class({ - }, +@@ -1010,6 +1014,28 @@ var LoginDialog = GObject.registerClass( + } - _onSessionOpened: function(client, serviceName) { + _onSessionOpened(client, serviceName) { + if ( this._userLoginForbidden ) { + this._authPrompt.setMessage( + _('Sorry, you have to log out a previous session first. Multiple logins are not supported.'), @@ -46,42 +72,14 @@ + return; + } + - this._authPrompt.finish(Lang.bind(this, function() { - this._startSession(serviceName); - })); -@@ -1206,6 +1232,7 @@ var LoginDialog = new Lang.Class({ + this._authPrompt.finish(() => this._startSession(serviceName)); + } + +@@ -1190,6 +1216,7 @@ var LoginDialog = GObject.registerClass( - _onUserListActivated: function(activatedItem) { + _onUserListActivated(activatedItem) { this._user = activatedItem.user; + this._userLoginForbidden = this._user.is_x_logged_in_remotely(); this._updateCancelButton(); -Index: gnome-shell-3.25.4/js/gdm/authPrompt.js -=================================================================== ---- gnome-shell-3.25.4.orig/js/gdm/authPrompt.js -+++ gnome-shell-3.25.4/js/gdm/authPrompt.js -@@ -30,7 +30,9 @@ var AuthPromptStatus = { - NOT_VERIFYING: 0, - VERIFYING: 1, - VERIFICATION_FAILED: 2, -- VERIFICATION_SUCCEEDED: 3 -+ VERIFICATION_SUCCEEDED: 3, -+ // NOTE fate#318433 extra state to track multi-login situation -+ VERIFIED_BUT_FORBIDDEN: 4 - }; - - var BeginRequestType = { -@@ -261,7 +263,12 @@ var AuthPrompt = new Lang.Class({ - }, - - _onVerificationComplete: function() { -+ // NOTE update the spinning icon - this.setActorInDefaultButtonWell(null); -+ -+ if (this.verificationStatus === AuthPromptStatus.VERIFIED_BUT_FORBIDDEN) { -+ return; -+ } - this.verificationStatus = AuthPromptStatus.VERIFICATION_SUCCEEDED; - this.cancelButton.reactive = false; - },
participants (1)
-
root