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
This commit is contained in:
Bjørn Lie 2020-02-15 19:52:20 +00:00 committed by Git OBS Bridge
parent 1c77eefef8
commit 07278b414d
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