Skip to content

Commit

Permalink
plasma-integration: Update to v6.0.1 for Plasma 6
Browse files Browse the repository at this point in the history
  • Loading branch information
ReillyBrogan committed Mar 14, 2024
1 parent 1ed0230 commit 3754228
Show file tree
Hide file tree
Showing 8 changed files with 942 additions and 152 deletions.
4 changes: 2 additions & 2 deletions packages/p/plasma-integration/abi_libs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
KDEPlasmaPlatformTheme.so
plasmaimplatforminputcontextplugin.so
KDEPlasmaPlatformTheme5.so
KDEPlasmaPlatformTheme6.so
20 changes: 12 additions & 8 deletions packages/p/plasma-integration/abi_symbols
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
KDEPlasmaPlatformTheme.so:org_kde_kwin_appmenu_interface
KDEPlasmaPlatformTheme.so:org_kde_kwin_appmenu_manager_interface
KDEPlasmaPlatformTheme.so:org_kde_kwin_server_decoration_palette_interface
KDEPlasmaPlatformTheme.so:org_kde_kwin_server_decoration_palette_manager_interface
KDEPlasmaPlatformTheme.so:qt_plugin_instance
KDEPlasmaPlatformTheme.so:qt_plugin_query_metadata
plasmaimplatforminputcontextplugin.so:qt_plugin_instance
plasmaimplatforminputcontextplugin.so:qt_plugin_query_metadata
KDEPlasmaPlatformTheme5.so:org_kde_kwin_appmenu_interface
KDEPlasmaPlatformTheme5.so:org_kde_kwin_appmenu_manager_interface
KDEPlasmaPlatformTheme5.so:org_kde_kwin_server_decoration_palette_interface
KDEPlasmaPlatformTheme5.so:org_kde_kwin_server_decoration_palette_manager_interface
KDEPlasmaPlatformTheme5.so:qt_plugin_instance
KDEPlasmaPlatformTheme5.so:qt_plugin_query_metadata
KDEPlasmaPlatformTheme6.so:org_kde_kwin_appmenu_interface
KDEPlasmaPlatformTheme6.so:org_kde_kwin_appmenu_manager_interface
KDEPlasmaPlatformTheme6.so:org_kde_kwin_server_decoration_palette_interface
KDEPlasmaPlatformTheme6.so:org_kde_kwin_server_decoration_palette_manager_interface
KDEPlasmaPlatformTheme6.so:qt_plugin_instance
KDEPlasmaPlatformTheme6.so:qt_plugin_query_metadata_v2
22 changes: 22 additions & 0 deletions packages/p/plasma-integration/abi_used_libs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@ libKF5Notifications.so.5
libKF5WidgetsAddons.so.5
libKF5WindowSystem.so.5
libKF5XmlGui.so.5
libKF6ColorScheme.so.6
libKF6Completion.so.6
libKF6ConfigCore.so.6
libKF6ConfigGui.so.6
libKF6CoreAddons.so.6
libKF6GuiAddons.so.6
libKF6I18n.so.6
libKF6IconThemes.so.6
libKF6KIOCore.so.6
libKF6KIOFileWidgets.so.6
libKF6KIOWidgets.so.6
libKF6StatusNotifierItem.so.6
libKF6WidgetsAddons.so.6
libKF6WindowSystem.so.6
libKF6XmlGui.so.6
libQt5Core.so.5
libQt5DBus.so.5
libQt5Gui.so.5
Expand All @@ -21,6 +36,13 @@ libQt5QuickControls2.so.5
libQt5WaylandClient.so.5
libQt5Widgets.so.5
libQt5X11Extras.so.5
libQt6Core.so.6
libQt6DBus.so.6
libQt6Gui.so.6
libQt6Quick.so.6
libQt6QuickControls2.so.6
libQt6WaylandClient.so.6
libQt6Widgets.so.6
libXcursor.so.1
libc.so.6
libstdc++.so.6
Expand Down
912 changes: 823 additions & 89 deletions packages/p/plasma-integration/abi_used_symbols

Large diffs are not rendered by default.

54 changes: 37 additions & 17 deletions packages/p/plasma-integration/files/0001-Solus-default-tweaks.patch
Original file line number Diff line number Diff line change
@@ -1,35 +1,55 @@
From 86189adb7d1c9a3e6477187e48389caf30f7f9de Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "F. von Gellhorn" <flinux@vongellhorn.ch>
Date: Sat, 20 Feb 2021 19:35:33 +0100
Subject: [PATCH 1/1] Solus default tweaks
Subject: [PATCH] Solus default tweaks

- We use SolusDark as default
- We use BreezeDark as default
---
src/platformtheme/khintssettings.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
qt5/src/platformtheme/khintssettings.cpp | 4 ++--
qt6/src/platformtheme/khintssettings.cpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/platformtheme/khintssettings.cpp b/src/platformtheme/khintssettings.cpp
index 0a4e909..919745f 100644
--- a/src/platformtheme/khintssettings.cpp
+++ b/src/platformtheme/khintssettings.cpp
@@ -56,7 +56,7 @@
diff --git a/qt5/src/platformtheme/khintssettings.cpp b/qt5/src/platformtheme/khintssettings.cpp
index e3b9181..bd66e58 100644
--- a/qt5/src/platformtheme/khintssettings.cpp
+++ b/qt5/src/platformtheme/khintssettings.cpp
@@ -43,7 +43,7 @@
#include <X11/Xcursor/Xcursor.h>
#endif

-static const QString defaultLookAndFeelPackage = QStringLiteral("org.kde.breeze.desktop");
+static const QString defaultLookAndFeelPackage = QStringLiteral("solusdark.desktop");
+static const QString defaultLookAndFeelPackage = QStringLiteral("org.kde.breezedark.desktop");

const QDBusArgument &operator>>(const QDBusArgument &argument, QMap<QString, QVariantMap> &map)
{
@@ -471,7 +471,7 @@ void KHintsSettings::loadPalettes()
@@ -428,7 +428,7 @@ void KHintsSettings::loadPalettes()
return;
}

- const QString scheme = readConfigValue(QStringLiteral("General"), QStringLiteral("ColorScheme"), QStringLiteral("BreezeLight")).toString();
+ const QString scheme = readConfigValue(QStringLiteral("General"), QStringLiteral("ColorScheme"), QStringLiteral("SolusDark")).toString();
+ const QString scheme = readConfigValue(QStringLiteral("General"), QStringLiteral("ColorScheme"), QStringLiteral("BreezeDark")).toString();
path = QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("color-schemes/") + scheme + QStringLiteral(".colors"));

if (!path.isEmpty()) {
--
2.30.0

if (path.isEmpty()) {
diff --git a/qt6/src/platformtheme/khintssettings.cpp b/qt6/src/platformtheme/khintssettings.cpp
index aa36043..40cff1a 100644
--- a/qt6/src/platformtheme/khintssettings.cpp
+++ b/qt6/src/platformtheme/khintssettings.cpp
@@ -43,7 +43,7 @@
#include <private/qtx11extras_p.h>
#endif

-static const QString defaultLookAndFeelPackage = QStringLiteral("org.kde.breeze.desktop");
+static const QString defaultLookAndFeelPackage = QStringLiteral("org.kde.breezedark.desktop");

const QDBusArgument &operator>>(const QDBusArgument &argument, QMap<QString, QVariantMap> &map)
{
@@ -428,7 +428,7 @@ void KHintsSettings::loadPalettes()
return;
}

- const QString scheme = readConfigValue(QStringLiteral("General"), QStringLiteral("ColorScheme"), QStringLiteral("BreezeLight")).toString();
+ const QString scheme = readConfigValue(QStringLiteral("General"), QStringLiteral("ColorScheme"), QStringLiteral("BreezeDark")).toString();
path = QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("color-schemes/") + scheme + QStringLiteral(".colors"));

if (path.isEmpty()) {
1 change: 0 additions & 1 deletion packages/p/plasma-integration/files/series

This file was deleted.

46 changes: 37 additions & 9 deletions packages/p/plasma-integration/package.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,62 @@
name : plasma-integration
version : 5.27.10
release : 98
version : 6.0.1
release : 103
source :
- https://cdn.download.kde.org/stable/plasma/5.27.10/plasma-integration-5.27.10.tar.xz : 35f2c81e8586051acd4bbccd9c44bab7dc86a1b3f5f0988589f43777032affbb
- https://cdn.download.kde.org/stable/plasma/6.0.1/plasma-integration-6.0.1.tar.xz : 16d123dc3f59c492251b8e2fba949c75d3bf0f67f3cecf96c51be48dc414429f
homepage : https://www.kde.org/workspaces/plasmadesktop/
license : LGPL-2.1-only
component : desktop.kde.core
summary : Integration of Qt application with KDE workspaces
description: |
Integration of Qt application with KDE workspaces.
optimize : lto
builddeps :
- pkgconfig(KF5WaylandClient)
- pkgconfig(Qt5QuickControls2)
- pkgconfig(Qt5WaylandClient)
- pkgconfig(Qt5X11Extras)
- pkgconfig(Qt6WaylandClient)
- pkgconfig(xcb)
- pkgconfig(xcursor)
- breeze-devel
- pkgconfig(wayland-server)
- font-hack-ttf
- kconfig-devel
- kconfigwidgets-devel
- kf6-kconfig-devel
- kf6-kconfigwidgets-devel
- kf6-kguiaddons-devel
- kf6-ki18n-devel
- kf6-kiconthemes-devel
- kf6-kio-devel
- kf6-knotifications-devel
- kf6-kstatusnotifieritem-devel
- kf6-kwindowsystem-devel
- kf6-kxmlgui-devel
- ki18n-devel
- kiconthemes-devel
- kio-devel
- knotifications-devel
- kwindowsystem-devel
- kguiaddons-devel
- kxmlgui-devel
- noto-sans-ttf
- plasma-wayland-protocols-devel
- xdg-desktop-portal-kde
rundeps :
- font-hack-ttf
- noto-sans-ttf
- qqc2-desktop-style
- xdg-desktop-portal-kde
clang : yes
optimize :
- speed
- thin-lto
setup : |
%apply_patches
%cmake_ninja
%patch -p1 -i $pkgfiles/0001-Solus-default-tweaks.patch
%cmake_kf6 -B qt5-build -DBUILD_QT5=ON -DBUILD_QT6=OFF
%cmake_kf6 -B qt6-build -DBUILD_QT5=OFF -DBUILD_QT6=ON
build : |
%ninja_build
%ninja_build -C qt5-build
%ninja_build -C qt6-build
install : |
%ninja_install
%ninja_install -C qt5-build
%ninja_install -C qt6-build
35 changes: 9 additions & 26 deletions packages/p/plasma-integration/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,10 @@
</Description>
<PartOf>desktop.kde.core</PartOf>
<Files>
<Path fileType="library">/usr/lib64/qt5/plugins/platforminputcontexts/plasmaimplatforminputcontextplugin.so</Path>
<Path fileType="library">/usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so</Path>
<Path fileType="data">/usr/share/kconf_update/fonts_akregator.pl</Path>
<Path fileType="data">/usr/share/kconf_update/fonts_akregator.upd</Path>
<Path fileType="data">/usr/share/kconf_update/fonts_global.pl</Path>
<Path fileType="data">/usr/share/kconf_update/fonts_global.upd</Path>
<Path fileType="data">/usr/share/kconf_update/fonts_global_toolbar.upd</Path>
<Path fileType="data">/usr/share/kconf_update/fonts_kate.pl</Path>
<Path fileType="data">/usr/share/kconf_update/fonts_kate.upd</Path>
<Path fileType="library">/usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme5.so</Path>
<Path fileType="library">/usr/lib64/qt6/plugins/platformthemes/KDEPlasmaPlatformTheme6.so</Path>
<Path fileType="localedata">/usr/share/locale/ar/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/ast/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/az/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/bg/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/ca/LC_MESSAGES/plasmaintegration5.mo</Path>
Expand All @@ -39,6 +33,7 @@
<Path fileType="localedata">/usr/share/locale/de/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/el/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/en_GB/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/eo/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/es/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/et/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/eu/LC_MESSAGES/plasmaintegration5.mo</Path>
Expand All @@ -50,6 +45,7 @@
<Path fileType="localedata">/usr/share/locale/hu/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/ia/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/id/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/is/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/it/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/ja/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/ka/LC_MESSAGES/plasmaintegration5.mo</Path>
Expand All @@ -65,6 +61,7 @@
<Path fileType="localedata">/usr/share/locale/pt_BR/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/ro/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/ru/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/sa/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/sk/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/sl/LC_MESSAGES/plasmaintegration5.mo</Path>
<Path fileType="localedata">/usr/share/locale/sr/LC_MESSAGES/plasmaintegration5.mo</Path>
Expand All @@ -80,24 +77,10 @@
<Path fileType="localedata">/usr/share/locale/zh_TW/LC_MESSAGES/plasmaintegration5.mo</Path>
</Files>
</Package>
<Package>
<Name>plasma-integration-devel</Name>
<Summary xml:lang="en">Development files for plasma-integration</Summary>
<Description xml:lang="en">Integration of Qt application with KDE workspaces.
</Description>
<PartOf>programming.devel</PartOf>
<RuntimeDependencies>
<Dependency release="98">plasma-integration</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/PlasmaKeyData/plasmakeydata.h</Path>
<Path fileType="data">/usr/lib64/pkgconfig/plasma-key-data.pc</Path>
</Files>
</Package>
<History>
<Update release="98">
<Date>2024-02-11</Date>
<Version>5.27.10</Version>
<Update release="103">
<Date>2024-03-14</Date>
<Version>6.0.1</Version>
<Comment>Packaging update</Comment>
<Name>Reilly Brogan</Name>
<Email>solus@reillybrogan.com</Email>
Expand Down

0 comments on commit 3754228

Please sign in to comment.