Hello community, here is the log from the commit of package gnome-shell-extensions for openSUSE:Leap:15.2 checked in at 2020-01-30 14:49:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/gnome-shell-extensions (Old) and /work/SRC/openSUSE:Leap:15.2/.gnome-shell-extensions.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-shell-extensions" Thu Jan 30 14:49:48 2020 rev:59 rq:757855 version:3.34.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/gnome-shell-extensions/gnome-shell-extensions.changes 2020-01-15 15:04:55.281888230 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.gnome-shell-extensions.new.26092/gnome-shell-extensions.changes 2020-01-30 14:50:36.706909208 +0100 @@ -1,0 +2,97 @@ +Tue Dec 10 00:58:50 UTC 2019 - Xiaoguang Wang <xw...@suse.com> + +- Update gse-sle-classic-ext.patch: Adapt version 3.34.1 + (bsc#1158496). +- Remove file sle-classic-xorg.desktop: now sle-classic only works + on X, we don't need this file anymore. + +------------------------------------------------------------------- +Mon Dec 2 09:17:46 UTC 2019 - Frederic Crozat <fcro...@suse.com> + +- Rebase patch gnome-classic-s390-not-require-g-s-d_wacom.patch. + +------------------------------------------------------------------- +Thu Oct 17 07:44:40 UTC 2019 - Xiaoguang Wang <xw...@suse.com> + +- Update gse-sle-classic-ext.patch: Change panel background color + to transparent on lock screen and unlock screen. + +------------------------------------------------------------------- +Wed Oct 9 10:32:09 UTC 2019 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 3.34.1: + + Adjust to gnome-settings-daemon plugin removals. + + Updated translations. + +------------------------------------------------------------------- +Tue Oct 8 04:35:27 UTC 2019 - Xiaoguang Wang <xw...@suse.com> + +- Add requires gnome-shell-extension-desktop-icons for package + gnome-shell-classic, when start sle-classic session, enable + extension desktop-icons automatically (bsc#1148036). + +------------------------------------------------------------------- +Wed Sep 11 07:09:01 UTC 2019 - Xiaoguang Wang <xw...@suse.com> + +- Update gse-sle-classic-ext.patch: Missing the solution for + boo#1094148, add it back. + +------------------------------------------------------------------- +Mon Sep 9 16:31:41 CDT 2019 - mgo...@suse.com + +- Update to version 3.34.0: + + Updated translations. + +------------------------------------------------------------------- +Fri Sep 6 01:04:26 UTC 2019 - Xiaoguang Wang <xw...@suse.com> + +- Update to version 3.33.92: + + Translators: Марко Костић [sr], Tim Sabsch [de], + Rūdolfs Mazurs [lv], Matej Urbančič [sl], Balázs Úr [hu], + Claude Paroz [fr], Fran Dieguez [gl], Changwoo Ryu [ko], + Ryuta Fujii [ja], Fabio Tomat [fur], Goran Vidović [hr]. +- Adapt sle-classic to 3.33.92 + + Update file sle-classic.json + + Update sle-clas...@suse.com.tar.gz + + Update gse-sle-classic-ext.patch +- Drop gnome-shell-favorites-menu-at-end.patch: + Merge this function to gse-sle-classic-ext.patch. + +------------------------------------------------------------------- +Wed Sep 4 02:17:34 UTC 2019 - Xiaoguang Wang <xw...@suse.com> + +- Update to version 3.33.91: + + window-list: Support showing windows from all workspaces. + + Misc. bug fixes and cleanups. + + Make GNOME Classic more classic: + - Disable GNOME 3 overview. + - Add window picker button to window list. + - Style improvements and fixes. + - Support horizontal workspace layout in window list. + - Add draggable previews to window list workspace switcher. + - Arrange workspaces horizontally. + + workspace-indicator: Support horizontal workspace layout. + + workspace-indicator: Add draggable previews. +- Drop gse-apps-menu-Add_missing_chain-up.patch: Fixed upstream. +- Rebase gnome-shell-add-app-to-desktop.patch +- Rebase gnome-shell-favorites-menu-at-end.patch +- Rebase gse-sle-classic-ext.patch +- Rebase sle-classic-lock-screen-background.patch + +------------------------------------------------------------------- +Fri Aug 2 18:08:38 UTC 2019 - Bjørn Lie <bjorn....@gmail.com> + +- Add gse-apps-menu-Add_missing_chain-up.patch: PanelMenu.Button is + a bit weird in that it also "contains" its parent actor. That + container is supposed to be destroyed with the button, but as we + currently don't chain up to the parent class' _onDestroy(), we + leave behind an empty container every time the extension is + disabled. Fix this by adding the missing chain-up. + +------------------------------------------------------------------- +Mon Jul 8 07:12:55 UTC 2019 - Chingkai <qk...@suse.com> + +- Update gse-sle-classic-ext.patch: Drop Convenience library since it + is now a gnome-shell built-in module (boo#1139990). + +------------------------------------------------------------------- @@ -9,0 +107,19 @@ +Thu Apr 18 11:16:42 UTC 2019 - Dominique Leuenberger <dims...@opensuse.org> + +- Update to version 3.32.1: + + Fix windowsNavigator extension after ES6 port. + + screenshot-window-sizer: Add phone screenshot sizes. + + Misc. bug fixes and cleanups + + +------------------------------------------------------------------- +Tue Apr 9 07:27:44 UTC 2019 - Chingkai <qk...@suse.com> + +- Rebase sle-clas...@suse.com.tar.gz to version 3.32.0: + + Drop Lang.bind(). + + Drop Convenience library. + + Stop using Shell.GenericContainer. +- Update gse-sle-classic-ext.patch: + + Rename WorkspaceIndicator to WorkspaceIndicatorWList(bsc#1130478). + +------------------------------------------------------------------- @@ -16,0 +133,89 @@ +Wed Mar 20 08:45:23 UTC 2019 - Chingkai <qk...@suse.com> + +- Rebase: the following patches are rebased to version 3.32.0 + + gnome-shell-add-app-to-desktop.patch + + gnome-shell-favorites-menu-at-end.patch + + gse-sle-classic-ext.patch + +------------------------------------------------------------------- +Tue Mar 12 06:31:37 UTC 2019 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 3.32.0: + + Updated translations. +- Disable sle-classic-favorites-menu-at-end.patch: Needs rebase. + +------------------------------------------------------------------- +Fri Feb 22 06:47:35 UTC 2019 - bjorn....@gmail.com + +- Update to version 3.31.91: + + apps-menu: Remove outdated legacy-tray handling. + + user-theme: Allow using XDG user data dir. + + Misc. bug fixes and cleanups. + +------------------------------------------------------------------- +Thu Feb 21 16:19:41 UTC 2019 - bjorn....@gmail.com + +- Update to version 3.31.90: + + Misc. bug fixes and cleanups. + + Updated translations. +- Rebase gnome-shell-favorites-menu-at-end.patch via + refresh_patches service. +- Disable gnome-shell-add-app-to-desktop.patch and + gse-sle-classic-ext.patch, needs rebase. + +------------------------------------------------------------------- +Sat Jan 5 11:01:46 UTC 2019 - bjorn....@gmail.com + +- Update to version 3.31.2: + + Remove obsolete alternate-tab extension. + + Adjust to gnome-shell changes. + +------------------------------------------------------------------- +Tue Oct 9 10:12:44 UTC 2018 - bjorn....@gmail.com + +- Update to version 3.30.1: + + apps-menu: Fix height on HiDPI systems + (glgo#GNOME/gnome-shell-extensions#102). + + window-list: Only switch between windows on active workspace + when scrolling (glgo#GNOME/gnome-shell-extensions#78). + +------------------------------------------------------------------- +Thu Sep 6 08:23:44 UTC 2018 - xw...@suse.com + +- Update sle-classic to adapte version 3.30.0 + + Add 00_org.gnome.shell.extensions.sle-classic.gschema.override + + Update gse-sle-classic-ext.patch + + Update sle-classic-xorg.desktop + + Update sle-classic.desktop + + Update sle-clas...@suse.com.tar.gz + +------------------------------------------------------------------- +Thu Sep 6 03:38:52 UTC 2018 - luc1...@linuxmail.org + +- Update to version 3.30.0: + + No visible changes. +- Changes frome version 3.29.91: + + Misc. bug fixes: glgo#GNOME/gnome-shell-extensions#90. + +------------------------------------------------------------------- +Fri Aug 3 20:49:10 UTC 2018 - bjorn....@gmail.com + +- Update to version 3.29.90: + + Misc. bug fixes: bgo#786496. + +------------------------------------------------------------------- +Fri Aug 3 06:05:03 UTC 2018 - qk...@suse.com + +- Update gse-sle-classic-ext.patch CSS files are generated by Sass + sources in 3.28, the default margin-bottom of popup-menu.panel-menu + is 1.75em which creates an ugly gap between menu and its source ++++ 116 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/gnome-shell-extensions/gnome-shell-extensions.changes ++++ and /work/SRC/openSUSE:Leap:15.2/.gnome-shell-extensions.new.26092/gnome-shell-extensions.changes Old: ---- gnome-shell-extensions-3.26.2.tar.xz gnome-shell-extensions-window-list-app-icon-not-shown.patch gnome-shell-favorites-menu-at-end.patch sle-classic-xorg.desktop New: ---- 00_org.gnome.shell.extensions.sle-classic.gschema.override gnome-shell-extensions-3.34.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-shell-extensions.spec ++++++ --- /var/tmp/diff_new_pack.6Tj6yd/_old 2020-01-30 14:50:37.330909540 +0100 +++ /var/tmp/diff_new_pack.6Tj6yd/_new 2020-01-30 14:50:37.334909542 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnome-shell-extensions # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -13,49 +13,44 @@ # 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-extensions -Version: 3.26.2 +Version: 3.34.1 Release: 0 Summary: A collection of extensions for GNOME Shell -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/GUI/GNOME -Url: https://wiki.gnome.org/Projects/GnomeShell/Extensions -Source: https://download.gnome.org/sources/gnome-shell-extensions/3.26/%{name}-%{version}.tar.xz +URL: https://wiki.gnome.org/Projects/GnomeShell/Extensions +Source0: https://download.gnome.org/sources/gnome-shell-extensions/3.34/%{name}-%{version}.tar.xz Source1: README.SUSE Source2: sle-classic.desktop Source3: SLE-theme.tar.gz -Source4: sle-classic-xorg.desktop Source5: sle-classic.json Source6: sle-clas...@suse.com.tar.gz +Source7: 00_org.gnome.shell.extensions.sle-classic.gschema.override # PATCH-FEATURE-OPENSUSE gnome-shell-add-app-to-desktop.patch bnc#870580 dli...@suse.com -- allow adding app shortcut to desktop easily. Patch1: gnome-shell-add-app-to-desktop.patch -# PATCH-FEATURE-OPENSUSE sle-classic-favorites-menu-at-end.patch bnc#890989 cxi...@suse.com -- put the favorites at the end of the app catogories for accessibility reason -- cxi...@suse.com bnc#890989 -Patch2: gnome-shell-favorites-menu-at-end.patch -# PATCH-FEATURE-SLE sle-classic-lock-screen-background.patch bsc#1007468 xw...@suse.com -- add SUSE logo on lock screen when auth is requested -Patch3: sle-classic-lock-screen-background.patch -# PATCH-FIX-UPSTREAM gnome-shell-extensions-window-list-app-icon-not-shown.patch bgo#745064 xw...@suse.com -- window-list application icon don't show on taskbar -Patch4: gnome-shell-extensions-window-list-app-icon-not-shown.patch # PATCH-FIX-OPENSUSE gnome-classic-s390-not-require-g-s-d_wacom.patch bsc#1129412 yfji...@suse.com -- Remove the runtime requirement of g-s-d Wacom plugin -Patch5: gnome-classic-s390-not-require-g-s-d_wacom.patch +Patch2: gnome-classic-s390-not-require-g-s-d_wacom.patch + ## NOTE keep SLE Classic patch at the bottom # PATCH-FIX-SLE gse-sle-classic-ext.patch Fate#318572 cxi...@suse.com -- add sle classic support Patch1000: gse-sle-classic-ext.patch -# Needed because we build a tarball generated with "git archive" -BuildRequires: gnome-common -# gobject-introspection is needed for the typelib() rpm magic. +# PATCH-FEATURE-SLE sle-classic-lock-screen-background.patch bsc#1007468 xw...@suse.com -- add SUSE logo on lock screen when auth is requested +Patch1001: sle-classic-lock-screen-background.patch +BuildRequires: fdupes BuildRequires: gnome-patch-translation # Needed for directory ownership BuildRequires: gnome-shell +# gobject-introspection is needed for the typelib() rpm magic. BuildRequires: gobject-introspection -BuildRequires: intltool -BuildRequires: pkgconfig +BuildRequires: meson >= 0.44.0 +BuildRequires: sassc BuildRequires: translation-update-upstream -BuildRequires: pkgconfig(gio-2.0) %description GNOME Shell Extensions is a collection of extensions providing @@ -90,6 +85,7 @@ Summary: A collection of extensions for Gnome-shell classic Group: System/GUI/GNOME Requires: gnome-shell-classic-session +Requires: gnome-shell-extension-desktop-icons Recommends: %{name}-common-lang BuildArch: noarch @@ -97,32 +93,32 @@ This GNOME Shell extension adds a power off item in the status menu, and provides the ability to hibernate. -This package provides the extensions required to switch to gnome-shell classic. +This package provides the extensions required to switch to +gnome-shell classic. %package -n gnome-shell-classic-session Summary: A collection of extensions for Gnome-shell classic Group: System/GUI/GNOME %description -n gnome-shell-classic-session -This packages provides architecture dependent session files to gnome-shell classic. +This packages provides architecture dependent session files to +gnome-shell classic. %lang_package -n %{name}-common %prep %setup -q %patch1 -p1 -%patch2 -p1 -%if !0%{?is_opensuse} -translation-update-upstream -gnome-patch-translation-prepare -%patch3 -p1 -%endif -%patch4 -p1 %ifarch s390 s390x -%patch5 -p1 +%patch2 -p1 %endif +translation-update-upstream po %{name} +gnome-patch-translation-prepare po %{name} + %patch1000 -p1 -##gnome-patch-translation-update +%if !0%{?is_opensuse} +%patch1001 -p1 +%endif # In openSUSE GNOME, we don't launch gnome-session directly, but wrap this through a shell script, /usr/bin/gnome sed -i "s:Exec=gnome-session:Exec=gnome:g" data/gnome-classic.desktop.in cp %{SOURCE1} . @@ -131,33 +127,31 @@ %endif %build -CLASSIC_EXTENSIONS=$(awk -F\" '/^CLASSIC_EXTENSIONS=/{ print $2 }' configure.ac) -CLASSIC_EXTENSIONS="${CLASSIC_EXTENSIONS} workspace-indicator" -%configure \ - --enable-classic-mode \ - --enable-extensions="$CLASSIC_EXTENSIONS" -make %{?_smp_mflags} +%meson \ + -D classic_mode=true \ + -D extension_set=classic \ + -D enable_extensions="apps-menu,places-menu,launch-new-instance,window-list,workspace-indicator, horizontal-workspaces" +%meson_build %install -%make_install +%meson_install %find_lang %{name} %{?no_lang_C} +#Install SLE theme +#Install sle-clas...@suse.com extension install -m0644 %{SOURCE2} %{buildroot}/%{_datadir}/xsessions/sle-classic.desktop -cp %{buildroot}/%{_datadir}/gnome-shell/extensions/window-l...@gnome-shell-extensions.gcampax.github.com/classic.css \ +cp %{_builddir}/%{name}-%{version}/extensions/window-list/sle-classic.css \ %{buildroot}/%{_datadir}/gnome-shell/extensions/window-l...@gnome-shell-extensions.gcampax.github.com/sle-classic.css install -m0644 %{SOURCE5} %{buildroot}/%{_datadir}/gnome-shell/modes/sle-classic.json -install -d -m755 %{buildroot}%{_datadir}/wayland-sessions -install -m0644 %{SOURCE2} %{buildroot}/%{_datadir}/wayland-sessions/sle-classic.desktop -# Install SLE theme -#Install sle-clas...@suse.com extension tar -xzvf %{SOURCE6} -install -d %{buildroot}%{_datadir}/gnome-shell/extensions/sle-clas...@suse.com -cp sle-clas...@suse.com/* %{buildroot}%{_datadir}/gnome-shell/extensions/sle-clas...@suse.com +install -d %{buildroot}/%{_datadir}/gnome-shell/extensions/sle-clas...@suse.com +cp sle-clas...@suse.com/* %{buildroot}/%{_datadir}/gnome-shell/extensions/sle-clas...@suse.com +install -m0644 %{SOURCE7} %{buildroot}/%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.extensions.sle-classic.gschema.override %if !0%{?is_opensuse} -install -m0644 %{SOURCE4} %{buildroot}/%{_datadir}/xsessions/sle-classic-xorg.desktop tar -xzvf %{SOURCE3} install -d %{buildroot}%{_datadir}/gnome-shell/theme cp SLE-theme/theme/* %{buildroot}%{_datadir}/gnome-shell/theme %endif +%fdupes %{buildroot}%{_datadir} %if !0%{?is_opensuse} # Prepare for 'default.desktop' being update-alternative handled, boo#1039756 @@ -165,6 +159,7 @@ touch %{buildroot}%{_sysconfdir}/alternatives/default-xsession.desktop ln -s %{_sysconfdir}/alternatives/default-xsession.desktop %{buildroot}%{_datadir}/xsessions/default.desktop touch %{buildroot}%{_sysconfdir}/alternatives/default-waylandsession.desktop +install -d -m755 %{buildroot}%{_datadir}/wayland-sessions ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_datadir}/wayland-sessions/default.desktop %endif @@ -172,32 +167,31 @@ %post -n gnome-shell-classic %{_sbindir}/update-alternatives --install %{_datadir}/xsessions/default.desktop \ default-xsession.desktop %{_datadir}/xsessions/sle-classic.desktop 20 -%{_sbindir}/update-alternatives --install %{_datadir}/wayland-sessions/default.desktop \ - default-waylandsession.desktop %{_datadir}/wayland-sessions/sle-classic.desktop 20 %postun -n gnome-shell-classic [ -f %{_datadir}/xsessions/sle-classic.desktop ] || %{_sbindir}/update-alternatives \ --remove default-xsession.desktop %{_datadir}/xsessions/sle-classic.desktop -[ -f %{_datadir}/wayland-sessions/sle-classic.desktop ] || %{_sbindir}/update-alternatives \ - --remove default-waylandsession.desktop %{_datadir}/wayland-sessions/sle-classic.desktop %endif %files common -%defattr(-,root,root) -%doc COPYING README.SUSE +%license COPYING +%doc README.SUSE HACKING.md NEWS README.md %files -n gnome-shell-classic -%defattr(-,root,root) -%doc COPYING -%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.classic-overrides.gschema.xml +%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml +%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.extensions.classic.gschema.override +%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml +%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml +%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml +%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.extensions.sle-classic.gschema.override %dir %{_datadir}/gnome-shell/extensions -%{_datadir}/gnome-shell/extensions/alternate-...@gnome-shell-extensions.gcampax.github.com/ %{_datadir}/gnome-shell/extensions/apps-m...@gnome-shell-extensions.gcampax.github.com/ %{_datadir}/gnome-shell/extensions/launch-new-insta...@gnome-shell-extensions.gcampax.github.com/ %{_datadir}/gnome-shell/extensions/places-m...@gnome-shell-extensions.gcampax.github.com/ %{_datadir}/gnome-shell/extensions/workspace-indica...@gnome-shell-extensions.gcampax.github.com/ %{_datadir}/gnome-shell/extensions/window-l...@gnome-shell-extensions.gcampax.github.com/ +%{_datadir}/gnome-shell/extensions/horizontal-workspa...@gnome-shell-extensions.gcampax.github.com/ %dir %{_datadir}/gnome-shell/modes %{_datadir}/gnome-shell/modes/classic.json %dir %{_datadir}/gnome-shell/theme/ @@ -214,12 +208,10 @@ %{_datadir}/gnome-shell/extensions/window-l...@gnome-shell-extensions.gcampax.github.com/sle-classic.css %{_datadir}/gnome-shell/modes/sle-classic.json %{_datadir}/gnome-shell/extensions/sle-clas...@suse.com/ -%dir %{_datadir}/wayland-sessions -%{_datadir}/wayland-sessions/sle-classic.desktop %if !0%{?is_opensuse} +%dir %{_datadir}/wayland-sessions %{_datadir}/gnome-shell/theme/sle-background.png %{_datadir}/xsessions/default.desktop -%{_datadir}/xsessions/sle-classic-xorg.desktop %{_datadir}/wayland-sessions/default.desktop %ghost %{_sysconfdir}/alternatives/default-xsession.desktop %ghost %{_sysconfdir}/alternatives/default-waylandsession.desktop @@ -227,7 +219,7 @@ %files -n gnome-shell-classic-session %defattr(-,root,root) -%doc COPYING +%license COPYING %{_datadir}/gnome-session/sessions/gnome-classic.session %files common-lang -f %{name}.lang ++++++ 00_org.gnome.shell.extensions.sle-classic.gschema.override ++++++ [org.gnome.mutter:sle-Classic] dynamic-workspaces=false [org.gnome.desktop.wm.preferences:sle-Classic] button-layout='appmenu:minimize,maximize,close' [org.gnome.desktop.wm.keybindings:sle-Classic] switch-applications=[] switch-windows=['<Super>Tab','<Alt>Tab'] [org.gnome.settings-daemon.plugins.xsettings:sle-Classic] overrides={'Gtk/ShellShowsAppMenu': <0>} ++++++ gnome-classic-s390-not-require-g-s-d_wacom.patch ++++++ --- /var/tmp/diff_new_pack.6Tj6yd/_old 2020-01-30 14:50:37.394909574 +0100 +++ /var/tmp/diff_new_pack.6Tj6yd/_new 2020-01-30 14:50:37.394909574 +0100 @@ -1,9 +1,9 @@ -Index: gnome-shell-extensions-3.26.2/data/gnome-classic.session.desktop.in +Index: gnome-shell-extensions-3.34.1/data/gnome-classic.session.desktop.in =================================================================== ---- gnome-shell-extensions-3.26.2.orig/data/gnome-classic.session.desktop.in -+++ gnome-shell-extensions-3.26.2/data/gnome-classic.session.desktop.in +--- gnome-shell-extensions-3.34.1.orig/data/gnome-classic.session.desktop.in 2019-12-02 10:17:20.012181181 +0100 ++++ gnome-shell-extensions-3.34.1/data/gnome-classic.session.desktop.in 2019-12-02 10:17:37.176181929 +0100 @@ -1,3 +1,3 @@ [GNOME Session] Name=GNOME Classic --RequiredComponents=org.gnome.Shell;org.gnome.SettingsDaemon.A11yKeyboard;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Clipboard;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Mouse;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;nautilus-classic; -+RequiredComponents=org.gnome.Shell;org.gnome.SettingsDaemon.A11yKeyboard;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Clipboard;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Mouse;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.XSettings;nautilus-classic; +-RequiredComponents=org.gnome.Shell;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings; ++RequiredComponents=org.gnome.Shell;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.XSettings; ++++++ gnome-shell-add-app-to-desktop.patch ++++++ --- /var/tmp/diff_new_pack.6Tj6yd/_old 2020-01-30 14:50:37.406909580 +0100 +++ /var/tmp/diff_new_pack.6Tj6yd/_new 2020-01-30 14:50:37.406909580 +0100 @@ -1,47 +1,46 @@ -Index: gnome-shell-extensions-3.26.1/extensions/apps-menu/extension.js +Index: gnome-shell-extensions-3.33.91/extensions/apps-menu/extension.js =================================================================== ---- gnome-shell-extensions-3.26.1.orig/extensions/apps-menu/extension.js -+++ gnome-shell-extensions-3.26.1/extensions/apps-menu/extension.js -@@ -7,6 +7,8 @@ const Lang = imports.lang; - const Shell = imports.gi.Shell; - const St = imports.gi.St; - const Clutter = imports.gi.Clutter; +--- gnome-shell-extensions-3.33.91.orig/extensions/apps-menu/extension.js ++++ gnome-shell-extensions-3.33.91/extensions/apps-menu/extension.js +@@ -5,6 +5,8 @@ const { + Atk, Clutter, Gio, GLib, GMenu, GObject, Gtk, Meta, Shell, St, + } = imports.gi; + const Signals = imports.signals; +const BoxPointer = imports.ui.boxpointer; +const AppFavorites = imports.ui.appFavorites; - const Main = imports.ui.main; - const Meta = imports.gi.Meta; - const PanelMenu = imports.ui.panelMenu; -@@ -68,9 +70,20 @@ const ApplicationMenuItem = new Lang.Cla + + const DND = imports.ui.dnd; + const ExtensionUtils = imports.misc.extensionUtils; +@@ -46,8 +48,19 @@ class ApplicationMenuItem extends PopupM let textureCache = St.TextureCache.get_default(); let iconThemeChangedId = textureCache.connect('icon-theme-changed', - Lang.bind(this, this._updateIcon)); + this._updateIcon.bind(this)); + -+ this.actor.connect('button-press-event', Lang.bind(this, this._onButtonPress)); -+ this.actor.connect('popup-menu', Lang.bind(this, this._onKeyboardPopupMenu)); ++ this.actor.connect('button-press-event', this._onButtonPress.bind(this)); ++ this.actor.connect('popup-menu', this._onKeyboardPopupMenu.bind(this)); + this._menu = null; + this._menuManager = new PopupMenu.PopupMenuManager(this); + - this.actor.connect('destroy', Lang.bind(this, - function() { - textureCache.disconnect(iconThemeChangedId); -+ if (this._menu) { -+ this._menu.destroy(); -+ this._menu = null; -+ this._menuManager = null; -+ } - })); + this.connect('destroy', () => { + textureCache.disconnect(iconThemeChangedId); ++ if (this._menu) { ++ this._menu.destroy(); ++ this._menu = null; ++ this._menuManager = null; ++ } + }); this._updateIcon(); -@@ -92,6 +105,105 @@ const ApplicationMenuItem = new Lang.Cla - }); - }, +@@ -62,6 +75,106 @@ class ApplicationMenuItem extends PopupM + }; + } -+ _onKeyboardPopupMenu: function() { ++ _onKeyboardPopupMenu() { + this.popupMenu(); + this._menu.actor.navigate_focus(null, Gtk.DirectionType.TAB_FORWARD, false); -+ }, ++ } + -+ _onButtonPress: function(actor, event) { ++ _onButtonPress(actor, event) { + // close any opened menu to avoid input focus grab + if (this._menu && this._menu.isOpen) { + this._menu.close(); @@ -54,18 +53,18 @@ + return true; + } + return false; -+ }, ++ } + -+ popupMenu: function() { ++ popupMenu() { + if (!this._menu) { + this._menu = new PopupMenu.PopupMenu(this.actor, 0.0, St.Side.TOP, 0); + let openItem = new PopupMenu.PopupMenuItem(_("Open")); + this._menu.addMenuItem(openItem); -+ openItem.connect('activate', Lang.bind(this, function() { ++ openItem.connect('activate', () => { + this._app.open_new_window(-1); + this._button.selectCategory(null, null); + this._button.menu.toggle(); -+ })); ++ }); + + let sepItem = new PopupMenu.PopupSeparatorMenuItem(); + this._menu.addMenuItem(sepItem); @@ -79,7 +78,7 @@ + + let favItem = new PopupMenu.PopupMenuItem(favText); + this._menu.addMenuItem(favItem); -+ favItem.connect('activate', Lang.bind(this, function() { ++ favItem.connect('activate', () => { + let favs = AppFavorites.getAppFavorites(); + let isFavorite = favs.isFavorite(this._app.get_id()); + if (isFavorite) @@ -93,11 +92,11 @@ + + this._button.selectCategory(null, null); + this._button.menu.toggle(); -+ })); ++ }); + + let desktopItem = new PopupMenu.PopupMenuItem(_("Add to Desktop")); + this._menu.addMenuItem(desktopItem); -+ desktopItem.connect('activate', Lang.bind(this, function() { ++ desktopItem.connect('activate', () => { + let desktopApp = this._app.get_app_info(); + let sourcePath = desktopApp.get_filename(); + let sourceFile = Gio.File.new_for_path(sourcePath); @@ -108,7 +107,8 @@ + destDirPath = Glib.build_filenamev([GLib.get_home_dir(), "Desktop"]); + } + let destFile = Gio.File.new_for_path(destDirPath + '/' + sourceFile.get_basename()); -+ if (sourceFile.copy(destFile, Gio.FileCopyFlags.OVERWRITE, null, null)) { ++ if (sourceFile.copy(destFile, Gio.FileCopyFlags.OVERWRITE, ++ null, null, null)) { + // In order to make the general monitor recognize the setting of metadata, + // this function call should before the setting of unix mode. + destFile.set_attribute_string("metadata::trusted", @@ -122,7 +122,7 @@ + } + this._button.selectCategory(null, null); + this._button.menu.toggle(); -+ })); ++ }); + + Main.uiGroup.add_actor(this._menu.actor); + @@ -133,8 +133,8 @@ + this._menuManager.ignoreRelease(); + + return false; -+ }, ++ } + - activate: function(event) { - this._app.open_new_window(-1); - this._button.selectCategory(null, null); + activate(event) { + this._app.open_new_window(-1); + this._button.selectCategory(null); ++++++ gnome-shell-extensions-3.26.2.tar.xz -> gnome-shell-extensions-3.34.1.tar.xz ++++++ ++++ 62715 lines of diff (skipped) ++++++ gse-sle-classic-ext.patch ++++++ ++++ 861 lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/gnome-shell-extensions/gse-sle-classic-ext.patch ++++ and /work/SRC/openSUSE:Leap:15.2/.gnome-shell-extensions.new.26092/gse-sle-classic-ext.patch ++++++ sle-classic-lock-screen-background.patch ++++++ --- /var/tmp/diff_new_pack.6Tj6yd/_old 2020-01-30 14:50:37.710909742 +0100 +++ /var/tmp/diff_new_pack.6Tj6yd/_new 2020-01-30 14:50:37.714909744 +0100 @@ -1,14 +1,12 @@ -Index: gnome-shell-extensions-3.26.0/data/gnome-classic.css +Index: gnome-shell-extensions-3.33.91/data/gnome-shell-sass/_common.scss =================================================================== ---- gnome-shell-extensions-3.26.0.orig/data/gnome-classic.css -+++ gnome-shell-extensions-3.26.0/data/gnome-classic.css -@@ -1602,7 +1602,8 @@ StScrollBar { - - .login-dialog { +--- gnome-shell-extensions-3.33.91.orig/data/gnome-shell-sass/_common.scss ++++ gnome-shell-extensions-3.33.91/data/gnome-shell-sass/_common.scss +@@ -1916,6 +1916,7 @@ StScrollBar { + //reset border: none; -- background-color: transparent; } -+ background-color: transparent; -+ background: #2e3436 url(sle-background.png); } - .login-dialog .modal-dialog-button-box { - spacing: 3px; } - .login-dialog .modal-dialog-button { + background-color: transparent; ++ background: #2e3436 url(sle-background.png); + + $_gdm_fg: #f6f5f4; + $_gdm_bg: lighten(#2e3436, 19%); ++++++ sle-classic.desktop ++++++ --- /var/tmp/diff_new_pack.6Tj6yd/_old 2020-01-30 14:50:37.754909766 +0100 +++ /var/tmp/diff_new_pack.6Tj6yd/_new 2020-01-30 14:50:37.754909766 +0100 @@ -139,4 +139,4 @@ TryExec=gnome-session Icon= Type=Application -DesktopNames=sle-classic;GNOME +DesktopNames=sle-Classic;GNOME ++++++ sle-classic.json ++++++ --- /var/tmp/diff_new_pack.6Tj6yd/_old 2020-01-30 14:50:37.778909778 +0100 +++ /var/tmp/diff_new_pack.6Tj6yd/_new 2020-01-30 14:50:37.778909778 +0100 @@ -8,10 +8,11 @@ "launch-new-insta...@gnome-shell-extensions.gcampax.github.com", "window-l...@gnome-shell-extensions.gcampax.github.com", "workspace-indica...@gnome-shell-extensions.gcampax.github.com", + "desktop-icons@csoriano", "sle-clas...@suse.com" ], "panel": { - "left": ["activities"], + "left": [], "center": [], "right": ["a11y", "keyboard", "dateMenu", "aggregateMenu"] } ++++++ sle-clas...@suse.com.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sle-clas...@suse.com/convenience.js new/sle-clas...@suse.com/convenience.js --- old/sle-clas...@suse.com/convenience.js 2017-12-08 04:11:43.873463586 +0100 +++ new/sle-clas...@suse.com/convenience.js 1970-01-01 01:00:00.000000000 +0100 @@ -1,93 +0,0 @@ -/* -*- mode: js; js-basic-offset: 4; indent-tabs-mode: nil -*- */ -/* - Copyright (c) 2011-2012, Giovanni Campagna <scampa.giova...@gmail.com> - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of the GNOME nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -const Gettext = imports.gettext; -const Gio = imports.gi.Gio; - -const Config = imports.misc.config; -const ExtensionUtils = imports.misc.extensionUtils; - -/** - * initTranslations: - * @domain: (optional): the gettext domain to use - * - * Initialize Gettext to load translations from extensionsdir/locale. - * If @domain is not provided, it will be taken from metadata['gettext-domain'] - */ -function initTranslations(domain) { - let extension = ExtensionUtils.getCurrentExtension(); - - domain = domain || extension.metadata['gettext-domain']; - - // check if this extension was built with "make zip-file", and thus - // has the locale files in a subfolder - // otherwise assume that extension has been installed in the - // same prefix as gnome-shell - let localeDir = extension.dir.get_child('locale'); - if (localeDir.query_exists(null)) - Gettext.bindtextdomain(domain, localeDir.get_path()); - else - Gettext.bindtextdomain(domain, Config.LOCALEDIR); -} - -/** - * getSettings: - * @schema: (optional): the GSettings schema id - * - * Builds and return a GSettings schema for @schema, using schema files - * in extensionsdir/schemas. If @schema is not provided, it is taken from - * metadata['settings-schema']. - */ -function getSettings(schema) { - let extension = ExtensionUtils.getCurrentExtension(); - - schema = schema || extension.metadata['settings-schema']; - - const GioSSS = Gio.SettingsSchemaSource; - - // check if this extension was built with "make zip-file", and thus - // has the schema files in a subfolder - // otherwise assume that extension has been installed in the - // same prefix as gnome-shell (and therefore schemas are available - // in the standard folders) - let schemaDir = extension.dir.get_child('schemas'); - let schemaSource; - if (schemaDir.query_exists(null)) - schemaSource = GioSSS.new_from_directory(schemaDir.get_path(), - GioSSS.get_default(), - false); - else - schemaSource = GioSSS.get_default(); - - let schemaObj = schemaSource.lookup(schema, true); - if (!schemaObj) - throw new Error('Schema ' + schema + ' could not be found for extension ' - + extension.metadata.uuid + '. Please check your installation.'); - - return new Gio.Settings({ settings_schema: schemaObj }); -} - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sle-clas...@suse.com/extension.js new/sle-clas...@suse.com/extension.js --- old/sle-clas...@suse.com/extension.js 2018-07-17 08:52:05.459169464 +0200 +++ new/sle-clas...@suse.com/extension.js 2019-09-06 06:23:44.183867839 +0200 @@ -4,7 +4,7 @@ const GLib = imports.gi.GLib; const Meta = imports.gi.Meta; const Clutter = imports.gi.Clutter; -const Lang = imports.lang; +const Gi = imports._gi; const Panel = imports.ui.panel.Panel; const Layout = imports.ui.layout; const OverviewControls = imports.ui.overviewControls; @@ -15,8 +15,6 @@ const _ = Gettext.gettext; const ExtensionUtils = imports.misc.extensionUtils; -const Me = ExtensionUtils.getCurrentExtension(); -const Convenience = Me.imports.convenience; const CLASSIC_OVERRIDES_SCHEMA = 'org.gnome.shell.extensions.classic-overrides'; @@ -26,18 +24,6 @@ return Main.sessionMode.currentMode == "sle-classic" ? true : false; } -// Simulate classic session -// global-shell.c shell_global_get_overrides_settings -// main.c shell_prefs_init -function initClassicOverridesSchema() { - let settings = new Gio.Settings({ schema_id: CLASSIC_OVERRIDES_SCHEMA}); - let keys = settings.settings_schema.list_keys(); - - for (let key in keys) { - Meta.prefs_override_preference_schema(keys[key], settings.settings_schema.get_id()); - } -} - // panel.js: Replace the original "Panel._allocate". // // The differences are quite subtle but yet pervasive, so despite the @@ -47,7 +33,7 @@ // list. // // NOTE: has to be a *direct* replacement to have proper `this` setup -function sle_classic_allocate (actor, box, flags) { +function sle_classic_allocate (box, flags) { // NOTE: for convenience, the followings are shared. The params of this // function is also shared. let allocWidth = box.x2 - box.x1; @@ -60,7 +46,7 @@ let allocateSC = _allocateSC.bind(this); // For convenience, defined here to allow access to local vars function _allocateSC () { - let isTextDirRTL = ( this.actor.get_text_direction() === Clutter.TextDirection.RTL ); + let isTextDirRTL = ( this.get_text_direction() === Clutter.TextDirection.RTL ); // A mask to create allocation. let maskBox = new Clutter.ActorBox(); @@ -89,7 +75,7 @@ // NOTE: we can set y1 as (MainLayoutManager.primaryMonitor.height - // allocHeight), which seems to be easier, however the solution below is // more generic and versatile. - let node = Main.panel.actor.get_theme_node(); + let node = Main.panel.get_theme_node(); let borderTopWidth = node.get_length("border-top"); let y_offset = borderTopWidth; @@ -306,11 +292,11 @@ let computeScaleAndSpaceOrigin; let computeWindowSlotsOrigin; let layoutAllocationChangedId; -let mainPanelActorAllocateId; let heightChangeId; +let _origVfuncAllocate; function init() { - Convenience.initTranslations(); + ExtensionUtils.initTranslations(); _updateBoxesOrigin = Main.layoutManager._updateBoxes; @@ -323,26 +309,29 @@ if (!isSLEClassicMode()) return; - initClassicOverridesSchema(); + _origVfuncAllocate = Main.panel.__proto__.vfunc_allocate; - mainPanelActorAllocateId = Main.panel.actor.connect('allocate', Lang.bind(Main.panel, sle_classic_allocate)); + Main.panel.__proto__[Gi.hook_up_vfunc_symbol]('allocate', (box, flags) => { + Main.panel.vfunc_allocate.call(Main.panel, box, flags); + sle_classic_allocate.call(Main.panel, box, flags); + }); Main.layoutManager._updateBoxes = _updateBoxesNew; //bsc#1064378 let layout = Main.overview._controls.actor.layout_manager; - layoutAllocationChangedId = layout.connect('allocation-changed', Lang.bind(Main.overview._controls, _updateWorkspacesGeometryNew)); + layoutAllocationChangedId = layout.connect('allocation-changed', _updateWorkspacesGeometryNew.bind(Main.overview._controls)); //bsc#1064378 Workspace.LayoutStrategy.prototype.computeScaleAndSpace = computeScaleAndSpaceNew; Workspace.LayoutStrategy.prototype.computeWindowSlots = computeWindowSlotsNew; //bsc#1046570 - heightChangeId = Main.panel.actor.connect('notify::height', Lang.bind(this, function() { + heightChangeId = Main.panel.connect('notify::height', () => { let primaryMonitor = Main.layoutManager.primaryMonitor; Main.layoutManager.panelBox.set_position(primaryMonitor.x, - primaryMonitor.y + primaryMonitor.height - Main.panel.actor.height); - })); + primaryMonitor.y + primaryMonitor.height - Main.panel.height); + }); Main.layoutManager._monitorsChanged(); } @@ -351,8 +340,10 @@ let primaryMonitor = Main.layoutManager.primaryMonitor; Main.layoutManager.panelBox.set_position(primaryMonitor.x, primaryMonitor.y); - if (mainPanelActorAllocateId) - Main.panel.actor.disconnect(mainPanelActorAllocateId); + if (_origVfuncAllocate) { + Main.panel.__proto__[Gi.hook_up_vfunc_symbol]('allocate', _origVfuncAllocate); + _origVfuncAllocate = null; + } Main.layoutManager._updateBoxes = _updateBoxesOrigin; @@ -367,5 +358,5 @@ //bsc#1046570 if (heightChangeId) - Main.panel.actor.disconnect(heightChangeId); + Main.panel.disconnect(heightChangeId); }