diff options
author | Wolfgang Müller | 2024-09-11 19:13:22 +0200 |
---|---|---|
committer | Wolfgang Müller | 2024-09-11 19:13:22 +0200 |
commit | 1f660d9b9692939544253afecf9af35490fe2522 (patch) | |
tree | 52a5fa4c998726f4c1bf66923237ad17648fb8d8 /desktop-plasma | |
parent | 19b13b53330eed1c547e39e14478b0e83963581e (diff) | |
download | portage-roles-1f660d9b9692939544253afecf9af35490fe2522.tar.gz |
desktop-plasma: Add a profile for KDE's Plasma 6 desktop
Diffstat (limited to 'desktop-plasma')
3 files changed, 91 insertions, 0 deletions
diff --git a/desktop-plasma/package.use/09-desktop-plasma b/desktop-plasma/package.use/09-desktop-plasma new file mode 100644 index 0000000..1ee1540 --- /dev/null +++ b/desktop-plasma/package.use/09-desktop-plasma @@ -0,0 +1,31 @@ +*/* activities +*/* declarative +*/* policykit +*/* qml +*/* qt6 +*/* -handbook +*/* -kwallet + +kde-plasma/plasma-meta bluetooth gtk -crash-handler -crypt -firewall -networkmanager -xwayland + +app-accessibility/speech-dispatcher -espeak +dev-build/cmake -qt6 +kde-apps/ark zip +kde-apps/dolphin semantic-desktop +kde-apps/gwenview semantic-desktop -mpris +kde-frameworks/sonnet -hunspell +media-libs/phonon minimal + +# required by kde-plasma/plasma-meta +dev-qt/qtbase libproxy cups X +kde-plasma/kwin lock + +# required by kde-frameworks/kwallet +kde-frameworks/kwindowsystem X + +# required by kde-plasma/kwin +x11-base/xwayland libei + +# required by dev-qt/qtbase[gui] +dev-qt/qtmultimedia X +x11-libs/libxkbcommon X diff --git a/desktop-plasma/patches/kde-frameworks/kio/0001-Pass-arguments-to-weltschmerz-correctly.patch b/desktop-plasma/patches/kde-frameworks/kio/0001-Pass-arguments-to-weltschmerz-correctly.patch new file mode 100644 index 0000000..b7e19fb --- /dev/null +++ b/desktop-plasma/patches/kde-frameworks/kio/0001-Pass-arguments-to-weltschmerz-correctly.patch @@ -0,0 +1,55 @@ +From 532a7c03a4c5cc26a1f06ce4882b1d2010b6c44d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Wolfgang=20M=C3=BCller?= <wolf@oriole.systems> +Date: Tue, 10 Sep 2024 23:11:02 +0200 +Subject: [PATCH] Pass arguments to weltschmerz correctly + +Since weltschmerz does not support the -e flag, we have to drop it for +both desktop file handling and KTerminalLauncherJob. +--- + src/core/desktopexecparser.cpp | 5 ++++- + src/gui/kterminallauncherjob.cpp | 6 +++++- + 2 files changed, 9 insertions(+), 2 deletions(-) + +diff --git a/src/core/desktopexecparser.cpp b/src/core/desktopexecparser.cpp +index 63c924737..b2851077e 100644 +--- a/src/core/desktopexecparser.cpp ++++ b/src/core/desktopexecparser.cpp +@@ -493,6 +493,7 @@ QStringList KIO::DesktopExecParser::resultingArguments() const + QString terminal = cg.readPathEntry("TerminalApplication", QStringLiteral("konsole")); + + const bool isKonsole = (terminal == QLatin1String("konsole")); ++ const bool isWeltschmerz = (terminal == QLatin1String("weltschmerz")); + QStringList terminalParts = KShell::splitArgs(terminal); + QString terminalPath; + if (!terminalParts.isEmpty()) { +@@ -523,7 +524,9 @@ QStringList KIO::DesktopExecParser::resultingArguments() const + } + mx2.expandMacrosShellQuote(terminal); + result = KShell::splitArgs(terminal); // assuming that the term spec never needs a shell! +- result << QStringLiteral("-e"); ++ if (!isWeltschmerz) { ++ result << QStringLiteral("-e"); ++ } + } + + KShell::Errors err; +diff --git a/src/gui/kterminallauncherjob.cpp b/src/gui/kterminallauncherjob.cpp +index edd99327b..beb80b090 100644 +--- a/src/gui/kterminallauncherjob.cpp ++++ b/src/gui/kterminallauncherjob.cpp +@@ -136,7 +136,11 @@ void KTerminalLauncherJob::determineFullCommand(bool fallbackToKonsoleService /* + exec += QLatin1String(" --workdir %1").arg(KShell::quoteArg(workingDir)); + } + if (!d->m_command.isEmpty()) { +- exec += QLatin1String(" -e ") + d->m_command; ++ if (exec == QLatin1String("weltschmerz")) { ++ exec += d->m_command; ++ } else { ++ exec += QLatin1String(" -e ") + d->m_command; ++ } + } + #else + const QString windowsTerminal = QStringLiteral("wt.exe"); +-- +2.46.0 + diff --git a/desktop-plasma/sets/plasma-desktop b/desktop-plasma/sets/plasma-desktop new file mode 100644 index 0000000..72afbac --- /dev/null +++ b/desktop-plasma/sets/plasma-desktop @@ -0,0 +1,5 @@ +kde-apps/ark +kde-apps/dolphin +kde-apps/ffmpegthumbs +kde-apps/gwenview +kde-plasma/plasma-meta |