From 07278b414dc6afd00fc32d71cb388e9491dd5625e32725d3004b5a19f0215a63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Sat, 15 Feb 2020 19:52:20 +0000 Subject: [PATCH] Accepting request 774372 from home:dimstar:branches:GNOME:Factory - Enable packaging of user-theme extension: Despite its name, this extension is also used to enable 'system themes' in GMOME Tweaks. And since we have multiple themes in the repository, we should also provide the needed extension to enable them. - No longer obsolete gnome-shell-extension-user-theme. OBS-URL: https://build.opensuse.org/request/show/774372 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=208 --- gnome-shell-extensions.changes | 9 +++++++++ gnome-shell-extensions.spec | 17 ++++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/gnome-shell-extensions.changes b/gnome-shell-extensions.changes index 67a743c..37a7cac 100644 --- a/gnome-shell-extensions.changes +++ b/gnome-shell-extensions.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Feb 14 13:46:01 UTC 2020 - Dominique Leuenberger + +- Enable packaging of user-theme extension: Despite its name, this + extension is also used to enable 'system themes' in GMOME Tweaks. + And since we have multiple themes in the repository, we should + also provide the needed extension to enable them. +- No longer obsolete gnome-shell-extension-user-theme. + ------------------------------------------------------------------- Sat Jan 25 14:11:54 UTC 2020 - Dominique Leuenberger diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec index 29ae4ea..d82a996 100644 --- a/gnome-shell-extensions.spec +++ b/gnome-shell-extensions.spec @@ -1,7 +1,7 @@ # # spec file for package gnome-shell-extensions # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -70,7 +70,6 @@ Obsoletes: gnome-shell-extension-gajim < %{version} Obsoletes: gnome-shell-extension-native-window-placement < %{version} Obsoletes: gnome-shell-extension-places-menu < %{version} Obsoletes: gnome-shell-extension-systemMonitor < %{version} -Obsoletes: gnome-shell-extension-user-theme < %{version} Obsoletes: gnome-shell-extension-windows-navigator < %{version} Obsoletes: gnome-shell-extension-workspace-indicator < %{version} Obsoletes: gnome-shell-extension-xrandr-indicator < %{version} @@ -102,6 +101,14 @@ Group: System/GUI/GNOME This packages provides architecture dependent session files to gnome-shell classic. +%package -n gnome-shell-extension-user-theme +Summary: Allow the user to change GNOME Shell Themes +Group: System/GUI/GNOME + +%description -n gnome-shell-extension-user-theme +This extension allows the user to switch to different themes. It's possible +to pick system installed themes or even themes installed in the user's home. + %lang_package -n %{name}-common %prep @@ -128,7 +135,7 @@ sed -i -e 's/openSUSE/SUSE Linux Enterprise/g' README.SUSE %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" + -D enable_extensions="apps-menu,places-menu,launch-new-instance,window-list,workspace-indicator,horizontal-workspaces,user-theme" %meson_build %install @@ -220,6 +227,10 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_ %license COPYING %{_datadir}/gnome-session/sessions/gnome-classic.session +%files -n gnome-shell-extension-user-theme +%license COPYING +%{_datadir}/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com/ + %files common-lang -f %{name}.lang %changelog