1 |
commit: e049a8de6a38f3027fbcf0b84bd5be53c840c1a3 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 30 14:20:21 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 30 14:32:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e049a8de |
7 |
|
8 |
kde-plasma/plasma-workspace: drop 5.23.3* |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
kde-plasma/plasma-workspace/Manifest | 1 - |
13 |
...earchrunner-emit-DBus-error-when-disabled.patch | 75 -------- |
14 |
...systemtray-check-if-service-already-added.patch | 41 ---- |
15 |
...pace-5.23.3-systemtray-fix-race-condition.patch | 54 ------ |
16 |
.../plasma-workspace-5.23.3-r2.ebuild | 212 --------------------- |
17 |
5 files changed, 383 deletions(-) |
18 |
|
19 |
diff --git a/kde-plasma/plasma-workspace/Manifest b/kde-plasma/plasma-workspace/Manifest |
20 |
index d16cc13a2fe9..b47676d433af 100644 |
21 |
--- a/kde-plasma/plasma-workspace/Manifest |
22 |
+++ b/kde-plasma/plasma-workspace/Manifest |
23 |
@@ -1,3 +1,2 @@ |
24 |
DIST plasma-workspace-5.22.5.tar.xz 8401412 BLAKE2B 3479549ffb302f8beca8f37853540bd71cc03a02183826435ec47ded0df69f4b19e103d8b6e2cd16af001a9c04a34e2f37a98a461f40fb8837ed7e7128a6fcba SHA512 753ba35c3f0c3a5affe10d3a6149f1ebca7ed51b0710c079606e33ceada94a50eee1c1bafbb465fcc194038915c33edef1d79e0865e5702aab7a334d6d508c47 |
25 |
-DIST plasma-workspace-5.23.3.tar.xz 9006500 BLAKE2B 651780480736ae0478b059e8dcff40d5411310693d3b0b24b9a8a5c442c45c555e69a99c3e0f20d82a4e0dc3a099537c172589e17afa2b34c68d314164913e73 SHA512 34f8835d35063b582b12b343475474b2c7b338ecef148871f28348fe73f2b1ea36d938553c8e97fd108ce441cbb7c97b450590b186c788608c9cf29c82d8c786 |
26 |
DIST plasma-workspace-5.23.4.tar.xz 9012468 BLAKE2B 491c211bbfdecb1a4e7adb15647c6f9d7d2ded3314ddef855b79b4a222e1bedb4ac88b8a380d66ea296b6696248d67d0ce4757853d01300abdfbe85394936abe SHA512 730e8a69e5dc2e22db1356832aa2adc9255de179ed139c0abe06ad6b44dd0cffb8f214b32eb1f882eb73c337f44e16f64873789130939e25b2b8bab23d2dcfc2 |
27 |
|
28 |
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.3-baloosearchrunner-emit-DBus-error-when-disabled.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.3-baloosearchrunner-emit-DBus-error-when-disabled.patch |
29 |
deleted file mode 100644 |
30 |
index be4b6e51b3e2..000000000000 |
31 |
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.3-baloosearchrunner-emit-DBus-error-when-disabled.patch |
32 |
+++ /dev/null |
33 |
@@ -1,75 +0,0 @@ |
34 |
-From afff43effadd78ab682ecf4c6c9919bdcbbedbcd Mon Sep 17 00:00:00 2001 |
35 |
-From: Alexander Lohnau <alexander.lohnau@×××.de> |
36 |
-Date: Fri, 12 Nov 2021 11:10:15 +0100 |
37 |
-Subject: [PATCH] baloosearchruner: Emit DBus error when baloo is disabled |
38 |
- |
39 |
-Otherwise we exit and KRunner runner into a long timeout. |
40 |
- |
41 |
-By making this a dedicated DBus error KRunner can also know, that this |
42 |
-runner can not be started. Consequently making new attempts to query |
43 |
-this runner can be prevented. |
44 |
- |
45 |
-Because the runner is DBus-Activated, we can not exit the process, otherwise other |
46 |
-processes (like the search in the app launcher) will have the same issue with the timeout. |
47 |
-BUG: 445342 |
48 |
- |
49 |
- |
50 |
-(cherry picked from commit fa5ac3fe3421a0077d9d80f52b89536daa732afa) |
51 |
---- |
52 |
- runners/baloo/baloosearchrunner.cpp | 14 ++++++++++---- |
53 |
- runners/baloo/baloosearchrunner.h | 2 +- |
54 |
- 2 files changed, 11 insertions(+), 5 deletions(-) |
55 |
- |
56 |
-diff --git a/runners/baloo/baloosearchrunner.cpp b/runners/baloo/baloosearchrunner.cpp |
57 |
-index 08f24b362..768709cee 100644 |
58 |
---- a/runners/baloo/baloosearchrunner.cpp |
59 |
-+++ b/runners/baloo/baloosearchrunner.cpp |
60 |
-@@ -31,10 +31,6 @@ static const QString s_openParentDirId = QStringLiteral("openParentDir"); |
61 |
- |
62 |
- int main(int argc, char **argv) |
63 |
- { |
64 |
-- Baloo::IndexerConfig config; |
65 |
-- if (!config.fileIndexingEnabled()) { |
66 |
-- return -1; |
67 |
-- } |
68 |
- QCoreApplication::setAttribute(Qt::AA_DisableSessionManager); |
69 |
- QApplication::setQuitOnLastWindowClosed(false); |
70 |
- QApplication app(argc, argv); // KRun needs widgets for error message boxes |
71 |
-@@ -60,11 +56,21 @@ SearchRunner::~SearchRunner() |
72 |
- |
73 |
- RemoteActions SearchRunner::Actions() |
74 |
- { |
75 |
-+ Baloo::IndexerConfig config; |
76 |
-+ if (!config.fileIndexingEnabled()) { |
77 |
-+ sendErrorReply(QDBusError::ErrorType::NotSupported); |
78 |
-+ } |
79 |
- return RemoteActions({RemoteAction{s_openParentDirId, i18n("Open Containing Folder"), QStringLiteral("document-open-folder")}}); |
80 |
- } |
81 |
- |
82 |
- RemoteMatches SearchRunner::Match(const QString &searchTerm) |
83 |
- { |
84 |
-+ Baloo::IndexerConfig config; |
85 |
-+ if (!config.fileIndexingEnabled()) { |
86 |
-+ sendErrorReply(QDBusError::ErrorType::NotSupported); |
87 |
-+ return {}; |
88 |
-+ } |
89 |
-+ |
90 |
- // Do not try to show results for queries starting with = |
91 |
- // this should trigger the calculator, but the AdvancedQueryParser::parse method |
92 |
- // in baloo interpreted it as an operator, BUG 345134 |
93 |
-diff --git a/runners/baloo/baloosearchrunner.h b/runners/baloo/baloosearchrunner.h |
94 |
-index 5006c9ae3..4836769c9 100644 |
95 |
---- a/runners/baloo/baloosearchrunner.h |
96 |
-+++ b/runners/baloo/baloosearchrunner.h |
97 |
-@@ -14,7 +14,7 @@ |
98 |
- #include "dbusutils_p.h" |
99 |
- #include <KRunner/QueryMatch> |
100 |
- |
101 |
--class SearchRunner : public QObject |
102 |
-+class SearchRunner : public QObject, protected QDBusContext |
103 |
- { |
104 |
- Q_OBJECT |
105 |
- |
106 |
--- |
107 |
-GitLab |
108 |
- |
109 |
|
110 |
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.3-systemtray-check-if-service-already-added.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.3-systemtray-check-if-service-already-added.patch |
111 |
deleted file mode 100644 |
112 |
index 6258b66f6e70..000000000000 |
113 |
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.3-systemtray-check-if-service-already-added.patch |
114 |
+++ /dev/null |
115 |
@@ -1,41 +0,0 @@ |
116 |
-From 931a5441746daf10d9476409f347263719ef6c63 Mon Sep 17 00:00:00 2001 |
117 |
-From: Fushan Wen <qydwhotmail@×××××.com> |
118 |
-Date: Mon, 1 Nov 2021 22:17:53 +0800 |
119 |
-Subject: [PATCH] systemtray: Check if a service is already added before |
120 |
- processing QDBusReply |
121 |
- |
122 |
-Due to async nature of QDBusPendingReply, services could be already |
123 |
-registered by QDBusServiceWatcher when the pending reply takes a long |
124 |
-time to finish, so it's possible that QDBusServiceWatcher::serviceRegistered |
125 |
-signal is emitted before the pending reply emits QDBusPendingCallWatcher::finished, |
126 |
-which will make the same service added twice and crash plasmashell. |
127 |
- |
128 |
-We need to check if a service is already added in m_sniServices before |
129 |
-processing registered items in QDBusReply. |
130 |
- |
131 |
-BUG: 443961 |
132 |
- |
133 |
- |
134 |
-(cherry picked from commit c0b8f6871e75bbc268165844ad5780f13a5f88ac) |
135 |
---- |
136 |
- applets/systemtray/statusnotifieritemhost.cpp | 4 +++- |
137 |
- 1 file changed, 3 insertions(+), 1 deletion(-) |
138 |
- |
139 |
-diff --git a/applets/systemtray/statusnotifieritemhost.cpp b/applets/systemtray/statusnotifieritemhost.cpp |
140 |
-index c17eedd6c..4108b2b82 100644 |
141 |
---- a/applets/systemtray/statusnotifieritemhost.cpp |
142 |
-+++ b/applets/systemtray/statusnotifieritemhost.cpp |
143 |
-@@ -101,7 +101,9 @@ void StatusNotifierItemHost::registerWatcher(const QString &service) |
144 |
- QDBusReply<QDBusVariant> reply = *watcher; |
145 |
- QStringList registeredItems = reply.value().variant().toStringList(); |
146 |
- foreach (const QString &service, registeredItems) { |
147 |
-- addSNIService(service); |
148 |
-+ if (!m_sniServices.contains(service)) { // due to async nature of this call, service may be already there |
149 |
-+ addSNIService(service); |
150 |
-+ } |
151 |
- } |
152 |
- }); |
153 |
- |
154 |
--- |
155 |
-GitLab |
156 |
- |
157 |
|
158 |
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.3-systemtray-fix-race-condition.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.3-systemtray-fix-race-condition.patch |
159 |
deleted file mode 100644 |
160 |
index bbe9a152c608..000000000000 |
161 |
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.3-systemtray-fix-race-condition.patch |
162 |
+++ /dev/null |
163 |
@@ -1,54 +0,0 @@ |
164 |
-From a9fba8b5416dd3b130045ccac40e5412714563ea Mon Sep 17 00:00:00 2001 |
165 |
-From: Fushan Wen <qydwhotmail@×××××.com> |
166 |
-Date: Sat, 20 Nov 2021 21:04:06 +0800 |
167 |
-Subject: [PATCH] systemtray: Connect to StatusNotifierWatcher before |
168 |
- initializing QDBusPendingReply |
169 |
- |
170 |
-This fixes a race condition. |
171 |
- |
172 |
- |
173 |
-(cherry picked from commit 644588739e617cfde8ee097dff4a72cc08c421aa) |
174 |
---- |
175 |
- applets/systemtray/statusnotifieritemhost.cpp | 19 +++++++++---------- |
176 |
- 1 file changed, 9 insertions(+), 10 deletions(-) |
177 |
- |
178 |
-diff --git a/applets/systemtray/statusnotifieritemhost.cpp b/applets/systemtray/statusnotifieritemhost.cpp |
179 |
-index 4108b2b82..117c29f17 100644 |
180 |
---- a/applets/systemtray/statusnotifieritemhost.cpp |
181 |
-+++ b/applets/systemtray/statusnotifieritemhost.cpp |
182 |
-@@ -93,6 +93,15 @@ void StatusNotifierItemHost::registerWatcher(const QString &service) |
183 |
- m_statusNotifierWatcher->path(), |
184 |
- m_statusNotifierWatcher->connection()); |
185 |
- |
186 |
-+ connect(m_statusNotifierWatcher, |
187 |
-+ &OrgKdeStatusNotifierWatcherInterface::StatusNotifierItemRegistered, |
188 |
-+ this, |
189 |
-+ &StatusNotifierItemHost::serviceRegistered); |
190 |
-+ connect(m_statusNotifierWatcher, |
191 |
-+ &OrgKdeStatusNotifierWatcherInterface::StatusNotifierItemUnregistered, |
192 |
-+ this, |
193 |
-+ &StatusNotifierItemHost::serviceUnregistered); |
194 |
-+ |
195 |
- QDBusPendingReply<QDBusVariant> pendingItems = propetriesIface.Get(m_statusNotifierWatcher->interface(), "RegisteredStatusNotifierItems"); |
196 |
- |
197 |
- QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingItems, this); |
198 |
-@@ -106,16 +115,6 @@ void StatusNotifierItemHost::registerWatcher(const QString &service) |
199 |
- } |
200 |
- } |
201 |
- }); |
202 |
-- |
203 |
-- connect(m_statusNotifierWatcher, |
204 |
-- &OrgKdeStatusNotifierWatcherInterface::StatusNotifierItemRegistered, |
205 |
-- this, |
206 |
-- &StatusNotifierItemHost::serviceRegistered); |
207 |
-- connect(m_statusNotifierWatcher, |
208 |
-- &OrgKdeStatusNotifierWatcherInterface::StatusNotifierItemUnregistered, |
209 |
-- this, |
210 |
-- &StatusNotifierItemHost::serviceUnregistered); |
211 |
-- |
212 |
- } else { |
213 |
- delete m_statusNotifierWatcher; |
214 |
- m_statusNotifierWatcher = nullptr; |
215 |
--- |
216 |
-GitLab |
217 |
- |
218 |
|
219 |
diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.23.3-r2.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.23.3-r2.ebuild |
220 |
deleted file mode 100644 |
221 |
index 9d9161b72295..000000000000 |
222 |
--- a/kde-plasma/plasma-workspace/plasma-workspace-5.23.3-r2.ebuild |
223 |
+++ /dev/null |
224 |
@@ -1,212 +0,0 @@ |
225 |
-# Copyright 1999-2021 Gentoo Authors |
226 |
-# Distributed under the terms of the GNU General Public License v2 |
227 |
- |
228 |
-EAPI=8 |
229 |
- |
230 |
-ECM_HANDBOOK="forceoptional" |
231 |
-ECM_TEST="forceoptional" |
232 |
-KFMIN=5.86.0 |
233 |
-PVCUT=$(ver_cut 1-3) |
234 |
-QTMIN=5.15.2 |
235 |
-VIRTUALX_REQUIRED="test" |
236 |
-inherit ecm kde.org |
237 |
- |
238 |
-DESCRIPTION="KDE Plasma workspace" |
239 |
- |
240 |
-LICENSE="GPL-2" # TODO: CHECK |
241 |
-SLOT="5" |
242 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
243 |
-IUSE="appstream +calculator +calendar +fontconfig geolocation gps screencast |
244 |
-+semantic-desktop telemetry" |
245 |
- |
246 |
-REQUIRED_USE="gps? ( geolocation )" |
247 |
-RESTRICT="test" |
248 |
- |
249 |
-# slot op: various private QtWaylandClient headers |
250 |
-COMMON_DEPEND=" |
251 |
- >=dev-libs/wayland-1.15 |
252 |
- >=dev-qt/qtdbus-${QTMIN}:5 |
253 |
- >=dev-qt/qtdeclarative-${QTMIN}:5[widgets] |
254 |
- >=dev-qt/qtgui-${QTMIN}:5=[jpeg,libinput] |
255 |
- >=dev-qt/qtnetwork-${QTMIN}:5 |
256 |
- >=dev-qt/qtsql-${QTMIN}:5 |
257 |
- >=dev-qt/qtsvg-${QTMIN}:5 |
258 |
- >=dev-qt/qtwayland-${QTMIN}:5= |
259 |
- >=dev-qt/qtwidgets-${QTMIN}:5 |
260 |
- >=dev-qt/qtx11extras-${QTMIN}:5 |
261 |
- >=dev-qt/qtxml-${QTMIN}:5 |
262 |
- >=kde-frameworks/kactivities-${KFMIN}:5 |
263 |
- >=kde-frameworks/kactivities-stats-${KFMIN}:5 |
264 |
- >=kde-frameworks/karchive-${KFMIN}:5 |
265 |
- >=kde-frameworks/kauth-${KFMIN}:5 |
266 |
- >=kde-frameworks/kbookmarks-${KFMIN}:5 |
267 |
- >=kde-frameworks/kcompletion-${KFMIN}:5 |
268 |
- >=kde-frameworks/kconfig-${KFMIN}:5 |
269 |
- >=kde-frameworks/kconfigwidgets-${KFMIN}:5 |
270 |
- >=kde-frameworks/kcoreaddons-${KFMIN}:5 |
271 |
- >=kde-frameworks/kcrash-${KFMIN}:5 |
272 |
- >=kde-frameworks/kdbusaddons-${KFMIN}:5 |
273 |
- >=kde-frameworks/kdeclarative-${KFMIN}:5 |
274 |
- >=kde-frameworks/kded-${KFMIN}:5 |
275 |
- >=kde-frameworks/kglobalaccel-${KFMIN}:5 |
276 |
- >=kde-frameworks/kguiaddons-${KFMIN}:5 |
277 |
- >=kde-frameworks/ki18n-${KFMIN}:5 |
278 |
- >=kde-frameworks/kiconthemes-${KFMIN}:5 |
279 |
- >=kde-frameworks/kidletime-${KFMIN}:5 |
280 |
- >=kde-frameworks/kinit-${KFMIN}:5 |
281 |
- >=kde-frameworks/kio-${KFMIN}:5 |
282 |
- >=kde-frameworks/kitemmodels-${KFMIN}:5 |
283 |
- >=kde-frameworks/kitemviews-${KFMIN}:5 |
284 |
- >=kde-frameworks/kjobwidgets-${KFMIN}:5 |
285 |
- >=kde-frameworks/knewstuff-${KFMIN}:5 |
286 |
- >=kde-frameworks/knotifications-${KFMIN}:5 |
287 |
- >=kde-frameworks/knotifyconfig-${KFMIN}:5 |
288 |
- >=kde-frameworks/kpackage-${KFMIN}:5 |
289 |
- >=kde-frameworks/kpeople-${KFMIN}:5 |
290 |
- >=kde-frameworks/krunner-${KFMIN}:5 |
291 |
- >=kde-frameworks/kservice-${KFMIN}:5 |
292 |
- >=kde-frameworks/ktexteditor-${KFMIN}:5 |
293 |
- >=kde-frameworks/ktextwidgets-${KFMIN}:5 |
294 |
- >=kde-frameworks/kunitconversion-${KFMIN}:5 |
295 |
- >=kde-frameworks/kwallet-${KFMIN}:5 |
296 |
- >=kde-frameworks/kwayland-${KFMIN}:5 |
297 |
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 |
298 |
- >=kde-frameworks/kwindowsystem-${KFMIN}:5 |
299 |
- >=kde-frameworks/kxmlgui-${KFMIN}:5 |
300 |
- >=kde-frameworks/plasma-${KFMIN}:5 |
301 |
- >=kde-frameworks/prison-${KFMIN}:5[qml] |
302 |
- >=kde-frameworks/solid-${KFMIN}:5 |
303 |
- >=kde-plasma/breeze-${PVCUT}:5 |
304 |
- >=kde-plasma/kscreenlocker-${PVCUT}:5 |
305 |
- >=kde-plasma/kwin-${PVCUT}:5 |
306 |
- >=kde-plasma/layer-shell-qt-${PVCUT}:5 |
307 |
- >=kde-plasma/libkscreen-${PVCUT}:5 |
308 |
- >=kde-plasma/libksysguard-${PVCUT}:5 |
309 |
- >=kde-plasma/libkworkspace-${PVCUT}:5 |
310 |
- >=media-libs/phonon-4.11.0 |
311 |
- sys-libs/zlib |
312 |
- x11-libs/libICE |
313 |
- x11-libs/libSM |
314 |
- x11-libs/libX11 |
315 |
- x11-libs/libXau |
316 |
- x11-libs/libxcb |
317 |
- x11-libs/libXcursor |
318 |
- x11-libs/libXfixes |
319 |
- x11-libs/libXrender |
320 |
- x11-libs/libXtst |
321 |
- x11-libs/xcb-util |
322 |
- x11-libs/xcb-util-image |
323 |
- appstream? ( dev-libs/appstream[qt5] ) |
324 |
- calculator? ( sci-libs/libqalculate:= ) |
325 |
- calendar? ( >=kde-frameworks/kholidays-${KFMIN}:5 ) |
326 |
- fontconfig? ( |
327 |
- >=dev-qt/qtprintsupport-${QTMIN}:5 |
328 |
- media-libs/fontconfig |
329 |
- x11-libs/libXft |
330 |
- x11-libs/xcb-util-image |
331 |
- ) |
332 |
- geolocation? ( >=kde-frameworks/networkmanager-qt-${KFMIN}:5 ) |
333 |
- gps? ( sci-geosciences/gpsd ) |
334 |
- screencast? ( |
335 |
- >=dev-qt/qtgui-${QTMIN}:5=[egl] |
336 |
- media-libs/libglvnd |
337 |
- >=media-video/pipewire-0.3:= |
338 |
- x11-libs/libdrm |
339 |
- ) |
340 |
- semantic-desktop? ( >=kde-frameworks/baloo-${KFMIN}:5 ) |
341 |
- telemetry? ( dev-libs/kuserfeedback:5 ) |
342 |
-" |
343 |
-DEPEND="${COMMON_DEPEND} |
344 |
- >=dev-libs/plasma-wayland-protocols-1.1.1 |
345 |
- >=dev-qt/qtconcurrent-${QTMIN}:5 |
346 |
- >=dev-util/wayland-scanner-1.19.0 |
347 |
- x11-base/xorg-proto |
348 |
- fontconfig? ( x11-libs/libXrender ) |
349 |
-" |
350 |
-RDEPEND="${COMMON_DEPEND} |
351 |
- app-text/iso-codes |
352 |
- >=dev-qt/qdbus-${QTMIN}:5 |
353 |
- >=dev-qt/qtgraphicaleffects-${QTMIN}:5 |
354 |
- >=dev-qt/qtpaths-${QTMIN}:5 |
355 |
- >=dev-qt/qtquickcontrols-${QTMIN}:5[widgets] |
356 |
- >=dev-qt/qtquickcontrols2-${QTMIN}:5 |
357 |
- kde-apps/kio-extras:5 |
358 |
- >=kde-frameworks/kdesu-${KFMIN}:5 |
359 |
- >=kde-frameworks/kirigami-${KFMIN}:5 |
360 |
- >=kde-frameworks/kquickcharts-${KFMIN}:5 |
361 |
- >=kde-plasma/milou-${PVCUT}:5 |
362 |
- >=kde-plasma/plasma-integration-${PVCUT}:5 |
363 |
- x11-apps/xmessage |
364 |
- x11-apps/xprop |
365 |
- x11-apps/xrdb |
366 |
- x11-apps/xsetroot |
367 |
- sys-apps/dbus |
368 |
- !<kde-plasma/breeze-5.22.90:5 |
369 |
- !<kde-plasma/plasma-desktop-5.21.90:5 |
370 |
-" |
371 |
-BDEPEND="virtual/pkgconfig" |
372 |
-PDEPEND=">=kde-plasma/kde-cli-tools-${PVCUT}:5" |
373 |
- |
374 |
-PATCHES=( |
375 |
- "${FILESDIR}/${PN}-5.21.5-split-libkworkspace.patch" # downstream |
376 |
- "${FILESDIR}/${PN}-5.22.5-krunner-cwd-at-home.patch" # TODO upstream: KDE-bug 432975, bug 767478 |
377 |
- "${FILESDIR}/${P}-baloosearchrunner-emit-DBus-error-when-disabled.patch" # KDE-bug 445342 |
378 |
- "${FILESDIR}/${P}-systemtray-check-if-service-already-added.patch" # KDE-bug 443961 |
379 |
- "${FILESDIR}/${P}-systemtray-fix-race-condition.patch" |
380 |
-) |
381 |
- |
382 |
-src_prepare() { |
383 |
- ecm_src_prepare |
384 |
- |
385 |
- cmake_comment_add_subdirectory libkworkspace |
386 |
- # delete colliding libkworkspace translations |
387 |
- if [[ ${KDE_BUILD_TYPE} = release ]]; then |
388 |
- find po -type f -name "*po" -and -name "libkworkspace*" -delete || die |
389 |
- fi |
390 |
- |
391 |
- # TODO: try to get a build switch upstreamed |
392 |
- if ! use screencast; then |
393 |
- sed -e "s/^pkg_check_modules.*PipeWire/#&/" -i CMakeLists.txt || die |
394 |
- fi |
395 |
- |
396 |
- # KDE-bug: 433730 |
397 |
- use calculator || |
398 |
- cmake_run_in runners cmake_comment_add_subdirectory calculator |
399 |
-} |
400 |
- |
401 |
-src_configure() { |
402 |
- local mycmakeargs=( |
403 |
- -DBUILD_xembed-sni-proxy=OFF |
404 |
- -DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt5=ON |
405 |
- $(cmake_use_find_package appstream AppStreamQt) |
406 |
- $(cmake_use_find_package calendar KF5Holidays) |
407 |
- $(cmake_use_find_package fontconfig Fontconfig) |
408 |
- $(cmake_use_find_package geolocation KF5NetworkManagerQt) |
409 |
- $(cmake_use_find_package semantic-desktop KF5Baloo) |
410 |
- $(cmake_use_find_package telemetry KUserFeedback) |
411 |
- ) |
412 |
- |
413 |
- use geolocation && mycmakeargs+=( $(cmake_use_find_package gps libgps) ) |
414 |
- |
415 |
- ecm_src_configure |
416 |
-} |
417 |
- |
418 |
-src_install() { |
419 |
- ecm_src_install |
420 |
- |
421 |
- # default startup and shutdown scripts |
422 |
- insinto /etc/xdg/plasma-workspace/env |
423 |
- doins "${FILESDIR}"/10-agent-startup.sh |
424 |
- |
425 |
- insinto /etc/xdg/plasma-workspace/shutdown |
426 |
- doins "${FILESDIR}"/10-agent-shutdown.sh |
427 |
- fperms +x /etc/xdg/plasma-workspace/shutdown/10-agent-shutdown.sh |
428 |
-} |
429 |
- |
430 |
-pkg_postinst () { |
431 |
- ecm_pkg_postinst |
432 |
- |
433 |
- elog "To enable gpg-agent and/or ssh-agent in Plasma sessions," |
434 |
- elog "edit ${EPREFIX}/etc/xdg/plasma-workspace/env/10-agent-startup.sh" |
435 |
- elog "and ${EPREFIX}/etc/xdg/plasma-workspace/shutdown/10-agent-shutdown.sh" |
436 |
-} |