plasma-lookandfeel-openmamba: kdeglobals: provide openmamba as default light and dark themes to fix systemsettings landingpage

qtwindows.themerec: patched to hide windows 9x style from applications style settings [release 5.25.4-2mamba;Wed Aug 10 2022]
This commit is contained in:
Silvan Calarco 2024-01-06 10:19:29 +01:00
parent d093d34480
commit 48c160633f
2 changed files with 25 additions and 2 deletions

View File

@ -0,0 +1,8 @@
--- plasma-workspace-5.25.4/themes/qtwindows.themerc.orig 2022-08-10 15:42:47.056175559 +0200
+++ plasma-workspace-5.25.4/themes/qtwindows.themerc 2022-08-10 15:43:00.045106045 +0200
@@ -168,3 +168,5 @@
Comment[zh_TW]=內建的 Windows 9x 樣式
[KDE]
WidgetStyle=Windows
+[Desktop Entry]
+Hidden=true

View File

@ -1,8 +1,8 @@
%define plasmaver %(echo %version | cut -d. -f1-3)
Name: plasma-workspace
Version: 5.25.3.1
Release: 1mamba
Version: 5.25.4
Release: 2mamba
Summary: KDE Frameworks 5 Workspace
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
@ -18,6 +18,7 @@ Source5: openmamba-dark.desktop
Source6: openmambaLookAndFeel.upd
Source7: openmambaLookAndFeel.sh
Patch0: plasma-workspace-5.19.4-gpsd-3.21.patch
Patch1: plasma-workspace-5.25.4-hide-qtwindows-style.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -189,6 +190,7 @@ openmamba theme for KDE Plasma.
#-D -T
#:<< _EOF
#%patch0 -p1
%patch1 -p1
# From Fedora
@ -279,6 +281,8 @@ install -d -m0755 %{buildroot}%{_sysconfdir}/xdg
cat > %{buildroot}%{_sysconfdir}/xdg/kdeglobals << _EOF
[KDE]
LookAndFeelPackage=org.openmamba.light.desktop
DefaultLightLookAndFeel=org.openmamba.light.desktop
DefaultDarkLookAndFeel=org.openmamba.dark.desktop
_EOF
install -D -m0644 %{SOURCE6} %{buildroot}%{_datadir}/kconf_update/openmambaLookAndFeel.upd
@ -331,6 +335,7 @@ install -D -m0755 %{SOURCE7} %{buildroot}%{_datadir}/kconf_update/openmambaLookA
%{_datadir}/dbus-1/system.d/org.kde.fontinst.conf
%{_datadir}/desktop-directories/kf5-*.directory
%{_datadir}/kconf_update/*
%exclude %{_datadir}/kconf_update/openmambaLookAndFeel.*
#%{_datadir}/kdisplay/app-defaults/*.ad
%{_datadir}/kglobalaccel/org.kde.krunner.desktop
%{_datadir}/kio_desktop/directory.desktop
@ -484,6 +489,16 @@ install -D -m0755 %{SOURCE7} %{buildroot}%{_datadir}/kconf_update/openmambaLookA
%{_datadir}/sddm/themes/openmamba/*
%changelog
* Wed Aug 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.25.4-2mamba
- plasma-lookandfeel-openmamba: kdeglobals: provide openmamba as default light and dark themes to fix systemsettings landingpage
- qtwindows.themerec: patched to hide windows 9x style from applications style settings
* Wed Aug 03 2022 Automatic Build System <autodist@mambasoft.it> 5.25.4-1mamba
- automatic version update by autodist
* Thu Jul 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.25.3.1-2mamba
- plasma-workspace: exclude duplicated kconf_update files for openmambaLookAndFeel
* Fri Jul 15 2022 Automatic Build System <autodist@mambasoft.it> 5.25.3.1-1mamba
- automatic version update by autodist