Dominique Leuenberger 2020-02-18 09:34:17 +00:00 committed by Git OBS Bridge
commit 550b07b808
2 changed files with 23 additions and 3 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Feb 14 13:46:01 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <dimstar@opensuse.org> Sat Jan 25 14:11:54 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package gnome-shell-extensions # 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 # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands
# #
# All modifications and additions to the file contributed by third parties # 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-native-window-placement < %{version}
Obsoletes: gnome-shell-extension-places-menu < %{version} Obsoletes: gnome-shell-extension-places-menu < %{version}
Obsoletes: gnome-shell-extension-systemMonitor < %{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-windows-navigator < %{version}
Obsoletes: gnome-shell-extension-workspace-indicator < %{version} Obsoletes: gnome-shell-extension-workspace-indicator < %{version}
Obsoletes: gnome-shell-extension-xrandr-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 This packages provides architecture dependent session files to
gnome-shell classic. 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 %lang_package -n %{name}-common
%prep %prep
@ -128,7 +135,7 @@ sed -i -e 's/openSUSE/SUSE Linux Enterprise/g' README.SUSE
%meson \ %meson \
-D classic_mode=true \ -D classic_mode=true \
-D extension_set=classic \ -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 %meson_build
%install %install
@ -220,6 +227,10 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
%license COPYING %license COPYING
%{_datadir}/gnome-session/sessions/gnome-classic.session %{_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 %files common-lang -f %{name}.lang
%changelog %changelog