From 48c160633f8ed582beff23c61daf74ef825915c9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:19:29 +0100 Subject: [PATCH] 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] --- ...orkspace-5.25.4-hide-qtwindows-style.patch | 8 ++++++++ plasma-workspace.spec | 19 +++++++++++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 plasma-workspace-5.25.4-hide-qtwindows-style.patch diff --git a/plasma-workspace-5.25.4-hide-qtwindows-style.patch b/plasma-workspace-5.25.4-hide-qtwindows-style.patch new file mode 100644 index 0000000..5900c63 --- /dev/null +++ b/plasma-workspace-5.25.4-hide-qtwindows-style.patch @@ -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 diff --git a/plasma-workspace.spec b/plasma-workspace.spec index 000b1b7..a9979d5 100644 --- a/plasma-workspace.spec +++ b/plasma-workspace.spec @@ -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 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 5.25.4-1mamba +- automatic version update by autodist + +* Thu Jul 28 2022 Silvan Calarco 5.25.3.1-2mamba +- plasma-workspace: exclude duplicated kconf_update files for openmambaLookAndFeel + * Fri Jul 15 2022 Automatic Build System 5.25.3.1-1mamba - automatic version update by autodist