summaryrefslogtreecommitdiff
path: root/kde-plasma
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-14 17:11:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-14 17:11:03 +0100
commit50878a9089d38edec91fb6a8035f9681695189b7 (patch)
treeb388d2365545b4ea6b37568668dacd90f22b3f48 /kde-plasma
parent81b8f20732954c4508baf2f77472b5435e3f851f (diff)
gentoo auto-resync : 14:09:2022 - 17:11:02
Diffstat (limited to 'kde-plasma')
-rw-r--r--kde-plasma/Manifest.gzbin9273 -> 9272 bytes
-rw-r--r--kde-plasma/kinfocenter/Manifest4
-rw-r--r--kde-plasma/kinfocenter/kinfocenter-5.24.6.ebuild1
-rw-r--r--kde-plasma/kinfocenter/kinfocenter-5.25.5.ebuild1
-rw-r--r--kde-plasma/plasma-workspace/Manifest4
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-delay-ksplash-until-after-env-setup.patch82
-rw-r--r--kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r2.ebuild (renamed from kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r1.ebuild)1
-rw-r--r--kde-plasma/plasma-workspace/plasma-workspace-5.25.5.ebuild218
8 files changed, 89 insertions, 222 deletions
diff --git a/kde-plasma/Manifest.gz b/kde-plasma/Manifest.gz
index 7a679b94d312..4c33db87bf11 100644
--- a/kde-plasma/Manifest.gz
+++ b/kde-plasma/Manifest.gz
Binary files differ
diff --git a/kde-plasma/kinfocenter/Manifest b/kde-plasma/kinfocenter/Manifest
index 14420b71cd9c..41d170a26fb6 100644
--- a/kde-plasma/kinfocenter/Manifest
+++ b/kde-plasma/kinfocenter/Manifest
@@ -2,6 +2,6 @@ AUX kcm-about-distrorc 108 BLAKE2B 9324829040a699d8858a739b228b14035f8a33d4cc5e1
DIST glogo-small.png 24583 BLAKE2B 0af2ceae708e56f217120e5d8b880fb71401e3761ab26c4af5e74c0622368aa4e34b05160fae15fbfbbc832077810ab5c1e424826632748299fd22997cbe665c SHA512 648be463ec3812a2edcdab54d7a230bf2bd7e6895f4ffe72321d8fca28a5e1e0980f6e3b9a32f369c8369943ceb802a65a94b9dad820dcf2c81d4581d814cb48
DIST kinfocenter-5.24.6.tar.xz 720088 BLAKE2B f124db8c27ddd95084ed569716807987510f23731ce8ece0d7f303be95f17764bde6e522dc72f8dc209fa5f81305f70e8cccc08e93e7b1fe4b983b6e2f38fdc1 SHA512 bb30faf3fdef1df6df7740210da4a63a596b6a354774dd46fabf7561df265eccac85c8fc500b3e5bcf48b8bbef60b4617aa5b3bc245ea10117e8e9a082f98717
DIST kinfocenter-5.25.5.tar.xz 730600 BLAKE2B ab94fb984cbdb4827a3e06a15e1d3dcc4510be7db3f40bd8124c469bddf461fc2b36311e1e4be57cfd9d6ea5fcdf34be006b73f810efa55bd00ef9299531be3a SHA512 9683cac383d52871a37a4847cb416384d241a5fcd1a2c69be6992c77504453718fd8b0235195008872a3983033d4f63ec2748cd00cdeee6fcf270d054ac6e21c
-EBUILD kinfocenter-5.24.6.ebuild 2270 BLAKE2B 34ab57369856e698351f1891db8c8078ac1f3abcd6f8edf972661618bde2e06d3f4499ca4e2afb436d899486a85c5ba41b4a78a901e5d3fa222c686b4d8021d7 SHA512 ace50dfd238b3796826fa587bffe64df2feb33eb45c44aed9497841506864398018e386670e01835fbfe462476c8301f8aa4abe8068aa18f5bba4ff13b43b51f
-EBUILD kinfocenter-5.25.5.ebuild 2273 BLAKE2B bfc5cbc51f313334b2e6f935b7ae420148b1716aabb603a5dd4b54f70b6c692a6dea7ec299f4c6453901cae408947c4839c619400ef6bd40646a448ca98eaa18 SHA512 741fc4d5907b0dec3158e19bb14c76cff2c6ce616329faa290874066e0cab918f818fa6584c125f20154125dc287791d27b3411b34a3d94f861ae0647d597788
+EBUILD kinfocenter-5.24.6.ebuild 2339 BLAKE2B 66955153f8a905e5ce290ea21bb3d0ed6783ce604bfada2f1671712f6aedb7c530f67179816f987bec868e62840e676d044e51b8302b44ad118932b68b3f8bc7 SHA512 507fa2edb25b4bf3ad5184a4a76327ab3097ddcb7c22bed6a813a0ac898724256c97fff217554e19e719d1982609e958aab9fdd823115261b170921da7acab96
+EBUILD kinfocenter-5.25.5.ebuild 2342 BLAKE2B 94df82c435419a6c0e46f43d9220415a69b50d962c54ab3fea19fc7c0e3ecf0c82525c525c6b896869cf8d9d2eab533472f879b4295a565e1f4f6c0021c6c6e8 SHA512 20968555abf44c558c923d2088e35a338c4078a51fbb8c16822f56cffbfc0b029b598c20b2072953962ab1101e5e60584a47a5c20897548a862f66f505853eff
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
diff --git a/kde-plasma/kinfocenter/kinfocenter-5.24.6.ebuild b/kde-plasma/kinfocenter/kinfocenter-5.24.6.ebuild
index 6d6af0b3b0bc..2c37c0c60433 100644
--- a/kde-plasma/kinfocenter/kinfocenter-5.24.6.ebuild
+++ b/kde-plasma/kinfocenter/kinfocenter-5.24.6.ebuild
@@ -71,6 +71,7 @@ pkg_postinst() {
optfeature "advanced CPU information module" sys-apps/util-linux
fi
optfeature "Wayland information module" app-misc/wayland-utils
+ optfeature "Firmware security module" "app-text/aha sys-apps/fwupd"
optfeature "OpenGL information module" x11-apps/mesa-progs
optfeature "PCI devices information module" sys-apps/pciutils
optfeature "X Server information module" x11-apps/xdpyinfo
diff --git a/kde-plasma/kinfocenter/kinfocenter-5.25.5.ebuild b/kde-plasma/kinfocenter/kinfocenter-5.25.5.ebuild
index a284d1115d5e..3e2dad345769 100644
--- a/kde-plasma/kinfocenter/kinfocenter-5.25.5.ebuild
+++ b/kde-plasma/kinfocenter/kinfocenter-5.25.5.ebuild
@@ -71,6 +71,7 @@ pkg_postinst() {
optfeature "advanced CPU information module" sys-apps/util-linux
fi
optfeature "Wayland information module" app-misc/wayland-utils
+ optfeature "Firmware security module" "app-text/aha sys-apps/fwupd"
optfeature "OpenGL information module" x11-apps/mesa-progs
optfeature "PCI devices information module" sys-apps/pciutils
optfeature "X Server information module" x11-apps/xdpyinfo
diff --git a/kde-plasma/plasma-workspace/Manifest b/kde-plasma/plasma-workspace/Manifest
index a5622e46bd4f..42a04ea1e6e1 100644
--- a/kde-plasma/plasma-workspace/Manifest
+++ b/kde-plasma/plasma-workspace/Manifest
@@ -3,10 +3,10 @@ AUX 10-agent-startup.sh 2139 BLAKE2B 7ea9ee0e6d949eecbdfbc41bd0286919094b6d6837e
AUX plasma-workspace-5.21.5-split-libkworkspace.patch 1154 BLAKE2B d37f649971b95c3fd99c551ec7512054460d8ba04c265e56c2ee53d968c7885929724c81df2895eeae8609a5a0a4c28839461429579f56bcbde4dcaa5646e15b SHA512 c41d2c56170914a309c9765a58a6cccaf4a9afae937ce762387590f3b2ccf59969b5873f702986369c4c3118c74d314f8b68916bfabce5e7379b3cb27daebb50
AUX plasma-workspace-5.22.5-krunner-cwd-at-home.patch 804 BLAKE2B 4bb337ea04037f8992988b70a40896166a2e10b2b557fa5518e3c2bd7129a221fe2efe064465cbffcc3db4abebb13d354599f44884eaf8c1bc029646280921bb SHA512 e49635bbb42c1beeaa9eee6a803f8c96497bc6e768a72d93886281edec922cb641a373fc0a1a482cedb36bd1f400f77b0030247f621373ebc141760a97ef5bbd
AUX plasma-workspace-5.24.80-split-libkworkspace.patch 1175 BLAKE2B 74dabcc26da223fb46bd97c2d07b5913ad51ab85a20062835dbb80b2a555129029996f99129ea9d99af76399722a404cf9baabbea48de4ab4392f068539f3c9f SHA512 95a63a106242449cdf605f943e794e07834b5d1e8fff2ad4e6a025fd68cc20fc6725ec0f0389898c4fe8c87587c7a51381b343cf116b2ff812236f0fe95ed314
+AUX plasma-workspace-5.25.5-delay-ksplash-until-after-env-setup.patch 2718 BLAKE2B 92a97286860d97a64f6bc19bfe0a1e42a85d594a7a9bc7d879ed08a92b3a0a1e03030c6c06315929534c51116e04c00a35330f0642e6fdd22dbb32353b9b58bd SHA512 2ec73f0c30a1bf2d73a4f63b76551bbbabff87462077e7137c699b0d65d6e5b52100d1bf66b279ce5cac8f52f5c54612a9a51e7b7ced91d09740cb8f79cc9497
AUX plasma-workspace-5.25.5-widgetexplorer-recurse-containments.patch 1438 BLAKE2B d33271c8fafe0e7b14205009d541f6d7bba98e405a47f0d5c85fc60028d093a4e8b135dac122a18bc78288ed43d489adef6e66ff53e4ddc2098f74a1525126e6 SHA512 7f623ca5d8a184cb31af5039e49ac0a8a6a35cc9ada2959d2ae38fb2e4e1aafc44d3e684740a9d0c97b00e92af858b2ab374c2d5c793b17dac2e4808239dd0e0
DIST plasma-workspace-5.24.6.tar.xz 18500752 BLAKE2B 1e469e91e8f1828f0b819aaa03f2918fa7df551786d7bbc963c7b4f7078719e9655176c5ddeea262175c36b14ba360e143e182dad78e369f833338ef147af06a SHA512 4e49f59d565e0b84951122155158966a54c05a6999ff99503bfff667c780fac6cfc076326f0cac7d53629bfc1d81599b30e919848168f6beb79a4dc7cf7c5560
DIST plasma-workspace-5.25.5.tar.xz 18638932 BLAKE2B f83aabf84b775c0bf9d1e60db03f94400e3363fa8f45767bdc471706682cda7323fae4948cffa156188cc7ed2d30d05349a385dd370ef941c16464ddddf8fa01 SHA512 0c6cf5104b584b34a8bcb45d57069fed3b25e871fccf1bfefd47d8fc1b595867c1c4f0fcfcc0e07847534e1e77ce8ed1f3be1ac6cb7eea8669a9c7649c8466cb
EBUILD plasma-workspace-5.24.6.ebuild 6504 BLAKE2B 70a8668b7062c419bc5b671f0e0359c590f5a340d2289b0688d24b3f5dac135ea3788863873a304c3c43ee38576424a29fe0dfe2ba60629cd63669b9606c379f SHA512 9d611f6ae062daac80f4d4f9fdeb8535ac5f567b9215797a4eba33e23fd808c3c61ab8b3956a4199e6b46635f766cd7f9bdb7cf20edb4907bb37746f5e54b51e
-EBUILD plasma-workspace-5.25.5-r1.ebuild 6660 BLAKE2B f9899dcc6d36575998b4af8b2d11a2bc99deec57925ea2730c486205bc9f766a4822c00877dcbfe9daf82d50b1107d42a6c2e8b979d89d8d00c26436e230cddc SHA512 aa63a16f5d4fbf43333e2719979f92feb974d58bbedc814f725179136f64af3e9af3a927cd78f2abeae42a7e219f0021c95b2e31403bfaf073ae362dbac9feaa
-EBUILD plasma-workspace-5.25.5.ebuild 6524 BLAKE2B ba5197b5dd4dda61f530756ebc4ead20877713cdf3b3f7153b2d606d5cc5161048cf2f0260ce47fcb673c729d8ddd107fb8dabf5bca56dff28d53d81bdf56cff SHA512 c5afb8237aa46a9123eec26ceca711d33b691b6ce2bb064a79fabae5db195ce9ba907b49b77f3c0151f6b206ee04dca4ba57e762088dc03493eb8f1beaafd41c
+EBUILD plasma-workspace-5.25.5-r2.ebuild 6752 BLAKE2B 15a43994f708886bd3740a7c020aed7e66a40d1a905a8110b7cc367e675ff24c3bfa2669396ae5aeb930e61ca087290174651ee21be5880099eff88e27b991cc SHA512 72177aa799b5ed60cc6a01784fc915866c162d18be18074d7f8995b615ea9bf9e9669edac8425d034a8a7d2d63aaac02b7a1cea339dc4798c9477c02af3e9f29
MISC metadata.xml 726 BLAKE2B ee1a0b82d5852d7c68784107563ccf0245d26cfcc1c2f2bb4cef243b7ab9a0925c0cbe848f387ebe7928ea68cb50c9c267203c00535b716bdb1c7c56eb4cbcff SHA512 f7ffe99faf800f559dcd966c7f3f72523484a851870fcf9cead18b878f1089bc33a6d20fc682c2c45db012b1e908618bdfdb4590816554245c11dbb9baf10100
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-delay-ksplash-until-after-env-setup.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-delay-ksplash-until-after-env-setup.patch
new file mode 100644
index 000000000000..9fcea5a32cbe
--- /dev/null
+++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-delay-ksplash-until-after-env-setup.patch
@@ -0,0 +1,82 @@
+From 536ba654e43741a18d2b71ee519f1daefeaa7ffd Mon Sep 17 00:00:00 2001
+From: Fushan Wen <qydwhotmail@gmail.com>
+Date: Sat, 4 Jun 2022 18:15:10 +0800
+Subject: [PATCH 1/2] startkde: `Q_UNUSED` ksplash
+
+Variable 'ksplash' is assigned a value that is never used. (CWE-563)
+
+(cherry picked from commit 6bebf9a7e636d6655ede49ce48d33f2254ac75f0)
+---
+ startkde/startplasma-x11.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/startkde/startplasma-x11.cpp b/startkde/startplasma-x11.cpp
+index 817de3511..a80c515fc 100644
+--- a/startkde/startplasma-x11.cpp
++++ b/startkde/startplasma-x11.cpp
+@@ -59,6 +59,7 @@ int main(int argc, char **argv)
+
+ setupCursor(false);
+ QScopedPointer<QProcess, KillBeforeDeleter> ksplash(setupKSplash());
++ Q_UNUSED(ksplash)
+
+ runEnvironmentScripts();
+
+--
+2.37.3
+
+
+From 5e54fbd0b351e43cb68c193bf684dd8cdbd11210 Mon Sep 17 00:00:00 2001
+From: Harald Sitter <sitter@kde.org>
+Date: Tue, 13 Sep 2022 13:54:04 +0200
+Subject: [PATCH 2/2] delay ksplash until after env is set up
+
+otherwise we can dbus invoke with the wrong environment. specifically
+this happens with the latest qtbase changes that introduced color
+picking support on wayland. when we start a qguiapplication with
+incomplete environment that dbus invokes the xdg-portal system and that
+in turn has an incomplete environment resulting in theming and the likes
+not properly applying because the portal doesn't know that it runs
+inside a plasma session.
+
+https://invent.kde.org/qt/qt/qtbase/-/commit/2dc083df009a45c5dacfea27b0affeb85b01f847
+
+BUG: 458865
+(cherry picked from commit 9bf0e56da84de5e9bd2b3ff28bdb2cb1af6de91e)
+
+asturmlechner 2022-09-14: Backported to Plasma/5.25 branch
+---
+ startkde/startplasma-x11.cpp | 10 ++++++----
+ 1 file changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/startkde/startplasma-x11.cpp b/startkde/startplasma-x11.cpp
+index a80c515fc..d1722771b 100644
+--- a/startkde/startplasma-x11.cpp
++++ b/startkde/startplasma-x11.cpp
+@@ -57,10 +57,6 @@ int main(int argc, char **argv)
+ }
+ }
+
+- setupCursor(false);
+- QScopedPointer<QProcess, KillBeforeDeleter> ksplash(setupKSplash());
+- Q_UNUSED(ksplash)
+-
+ runEnvironmentScripts();
+
+ out << "startkde: Starting up...\n";
+@@ -80,6 +76,12 @@ int main(int argc, char **argv)
+ // variables (e.g. LANG and LC_*)
+ importSystemdEnvrionment();
+
++ // NOTE: Do not start QGuiApplications before setting up the environment. We'd be at risk of dbus invoking other
++ // processes with an incomplete environment.
++ setupCursor(false);
++ QScopedPointer<QProcess, KillBeforeDeleter> ksplash(setupKSplash());
++ Q_UNUSED(ksplash)
++
+ if (!startPlasmaSession(false))
+ return 1;
+
+--
+2.37.3
+
diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r1.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r2.ebuild
index 2fac44d7b28b..809aabe37bf7 100644
--- a/kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r1.ebuild
+++ b/kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r2.ebuild
@@ -156,6 +156,7 @@ PATCHES=(
"${FILESDIR}/${PN}-5.24.80-split-libkworkspace.patch" # downstream
"${FILESDIR}/${PN}-5.22.5-krunner-cwd-at-home.patch" # TODO upstream: KDE-bug 432975, bug 767478
"${FILESDIR}/${P}-widgetexplorer-recurse-containments.patch" # https://mail.kde.org/pipermail/distributions/2022-September/001287.html
+ "${FILESDIR}/${P}-delay-ksplash-until-after-env-setup.patch" # KDE-bug 458865 w/ Qt 5.15.6
)
src_prepare() {
diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.25.5.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.25.5.ebuild
deleted file mode 100644
index 1dfcdea1191c..000000000000
--- a/kde-plasma/plasma-workspace/plasma-workspace-5.25.5.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_HANDBOOK="optional"
-ECM_TEST="forceoptional"
-KFMIN=5.95.0
-PVCUT=$(ver_cut 1-3)
-QTMIN=5.15.5
-VIRTUALX_REQUIRED="test"
-inherit ecm plasma.kde.org
-
-DESCRIPTION="KDE Plasma workspace"
-
-LICENSE="GPL-2" # TODO: CHECK
-SLOT="5"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
-IUSE="appstream +calendar +fontconfig geolocation gps +policykit
-screencast +semantic-desktop telemetry"
-
-REQUIRED_USE="gps? ( geolocation )"
-RESTRICT="test"
-
-# slot op: various private QtWaylandClient headers
-COMMON_DEPEND="
- >=dev-libs/wayland-1.15
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtdeclarative-${QTMIN}:5[widgets]
- >=dev-qt/qtgui-${QTMIN}:5=[jpeg,libinput]
- >=dev-qt/qtnetwork-${QTMIN}:5
- >=dev-qt/qtsql-${QTMIN}:5
- >=dev-qt/qtsvg-${QTMIN}:5
- >=dev-qt/qtwayland-${QTMIN}:5=
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtx11extras-${QTMIN}:5
- >=dev-qt/qtxml-${QTMIN}:5
- >=kde-frameworks/kactivities-${KFMIN}:5
- >=kde-frameworks/kactivities-stats-${KFMIN}:5
- >=kde-frameworks/karchive-${KFMIN}:5
- >=kde-frameworks/kauth-${KFMIN}:5
- >=kde-frameworks/kbookmarks-${KFMIN}:5
- >=kde-frameworks/kcompletion-${KFMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kconfigwidgets-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/kcrash-${KFMIN}:5
- >=kde-frameworks/kdbusaddons-${KFMIN}:5
- >=kde-frameworks/kdeclarative-${KFMIN}:5
- >=kde-frameworks/kded-${KFMIN}:5
- >=kde-frameworks/kglobalaccel-${KFMIN}:5
- >=kde-frameworks/kguiaddons-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kidletime-${KFMIN}:5
- >=kde-frameworks/kinit-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
- >=kde-frameworks/kitemmodels-${KFMIN}:5
- >=kde-frameworks/kitemviews-${KFMIN}:5
- >=kde-frameworks/kjobwidgets-${KFMIN}:5
- >=kde-frameworks/knewstuff-${KFMIN}:5
- >=kde-frameworks/knotifications-${KFMIN}:5
- >=kde-frameworks/knotifyconfig-${KFMIN}:5
- >=kde-frameworks/kpackage-${KFMIN}:5
- >=kde-frameworks/kpeople-${KFMIN}:5
- >=kde-frameworks/krunner-${KFMIN}:5
- >=kde-frameworks/kservice-${KFMIN}:5
- >=kde-frameworks/ktexteditor-${KFMIN}:5
- >=kde-frameworks/ktextwidgets-${KFMIN}:5
- >=kde-frameworks/kunitconversion-${KFMIN}:5
- >=kde-frameworks/kwallet-${KFMIN}:5
- >=kde-frameworks/kwayland-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
- >=kde-frameworks/kwindowsystem-${KFMIN}:5
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- >=kde-frameworks/plasma-${KFMIN}:5
- >=kde-frameworks/prison-${KFMIN}:5[qml]
- >=kde-frameworks/solid-${KFMIN}:5
- >=kde-plasma/breeze-${PVCUT}:5
- >=kde-plasma/kscreenlocker-${PVCUT}:5
- >=kde-plasma/kwin-${PVCUT}:5
- >=kde-plasma/layer-shell-qt-${PVCUT}:5
- >=kde-plasma/libkscreen-${PVCUT}:5
- >=kde-plasma/libksysguard-${PVCUT}:5
- >=kde-plasma/libkworkspace-${PVCUT}:5
- >=media-libs/phonon-4.11.0
- sci-libs/libqalculate:=
- sys-libs/zlib
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libxcb
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/xcb-util
- x11-libs/xcb-util-image
- appstream? ( dev-libs/appstream[qt5] )
- calendar? ( >=kde-frameworks/kholidays-${KFMIN}:5 )
- fontconfig? (
- >=dev-qt/qtprintsupport-${QTMIN}:5
- media-libs/fontconfig
- x11-libs/libXft
- x11-libs/xcb-util-image
- )
- geolocation? ( >=kde-frameworks/networkmanager-qt-${KFMIN}:5 )
- gps? ( sci-geosciences/gpsd )
- policykit? ( virtual/libcrypt:= )
- screencast? (
- >=dev-qt/qtgui-${QTMIN}:5=[egl]
- media-libs/libglvnd
- >=media-video/pipewire-0.3:=
- x11-libs/libdrm
- )
- semantic-desktop? ( >=kde-frameworks/baloo-${KFMIN}:5 )
- telemetry? ( dev-libs/kuserfeedback:5 )
-"
-DEPEND="${COMMON_DEPEND}
- >=dev-libs/plasma-wayland-protocols-1.6.0
- >=dev-qt/qtconcurrent-${QTMIN}:5
- >=dev-util/wayland-scanner-1.19.0
- x11-base/xorg-proto
- fontconfig? ( x11-libs/libXrender )
- test? ( >=dev-libs/wayland-protocols-1.24 )
-"
-RDEPEND="${COMMON_DEPEND}
- app-text/iso-codes
- >=dev-qt/qdbus-${QTMIN}:*
- >=dev-qt/qtgraphicaleffects-${QTMIN}:5
- >=dev-qt/qtpaths-${QTMIN}:5
- >=dev-qt/qtquickcontrols-${QTMIN}:5[widgets]
- >=dev-qt/qtquickcontrols2-${QTMIN}:5
- kde-apps/kio-extras:5
- >=kde-frameworks/kirigami-${KFMIN}:5
- >=kde-frameworks/kquickcharts-${KFMIN}:5
- >=kde-plasma/milou-${PVCUT}:5
- >=kde-plasma/plasma-integration-${PVCUT}:5
- sys-apps/dbus
- x11-apps/xmessage
- x11-apps/xprop
- x11-apps/xrdb
- x11-apps/xsetroot
- !<kde-plasma/breeze-5.22.90:5
- !<kde-plasma/plasma-desktop-5.23.90:5
- policykit? ( sys-apps/accountsservice )
-"
-BDEPEND="
- >=dev-qt/qtwaylandscanner-${QTMIN}:5
- virtual/pkgconfig
-"
-PDEPEND=">=kde-plasma/kde-cli-tools-${PVCUT}:5"
-
-PATCHES=(
- "${FILESDIR}/${PN}-5.24.80-split-libkworkspace.patch" # downstream
- "${FILESDIR}/${PN}-5.22.5-krunner-cwd-at-home.patch" # TODO upstream: KDE-bug 432975, bug 767478
-)
-
-src_prepare() {
- ecm_src_prepare
-
- cmake_comment_add_subdirectory libkworkspace
- # delete colliding libkworkspace translations
- if [[ ${KDE_BUILD_TYPE} = release ]]; then
- find po -type f -name "*po" -and -name "libkworkspace*" -delete || die
- fi
-
- # TODO: try to get a build switch upstreamed
- if ! use screencast; then
- sed -e "s/^pkg_check_modules.*PipeWire/#&/" -i CMakeLists.txt || die
- fi
-
- # TODO: try to get a build switch upstreamed
- if use geolocation; then
- use gps || sed -e "s/^pkg_check_modules.*LIBGPS/#&/" \
- -i dataengines/geolocation/CMakeLists.txt || die
- fi
-
- if ! use policykit; then
- cmake_run_in kcms cmake_comment_add_subdirectory users
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_xembed-sni-proxy=OFF
- -DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt5=ON
- $(cmake_use_find_package appstream AppStreamQt)
- $(cmake_use_find_package calendar KF5Holidays)
- $(cmake_use_find_package fontconfig Fontconfig)
- $(cmake_use_find_package geolocation KF5NetworkManagerQt)
- $(cmake_use_find_package semantic-desktop KF5Baloo)
- $(cmake_use_find_package telemetry KUserFeedback)
- )
-
- ecm_src_configure
-}
-
-src_install() {
- ecm_src_install
-
- # default startup and shutdown scripts
- insinto /etc/xdg/plasma-workspace/env
- doins "${FILESDIR}"/10-agent-startup.sh
-
- insinto /etc/xdg/plasma-workspace/shutdown
- doins "${FILESDIR}"/10-agent-shutdown.sh
- fperms +x /etc/xdg/plasma-workspace/shutdown/10-agent-shutdown.sh
-}
-
-pkg_postinst () {
- ecm_pkg_postinst
-
- elog "To enable gpg-agent and/or ssh-agent in Plasma sessions,"
- elog "edit ${EPREFIX}/etc/xdg/plasma-workspace/env/10-agent-startup.sh"
- elog "and ${EPREFIX}/etc/xdg/plasma-workspace/shutdown/10-agent-shutdown.sh"
-}