summaryrefslogtreecommitdiff
path: root/kde-plasma/kwin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-07 20:12:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-07 20:12:29 +0100
commit1f45d596fc838ad34ca4c17b7db7882f5048cec2 (patch)
treee5e2e397951ee044e0751efacb8b59ea81f9b605 /kde-plasma/kwin
parent32c7b79bcc8a67e6bc6516adbc729e83f957a368 (diff)
gentoo auto-resync : 07:08:2022 - 20:12:29
Diffstat (limited to 'kde-plasma/kwin')
-rw-r--r--kde-plasma/kwin/Manifest10
-rw-r--r--kde-plasma/kwin/files/kwin-5.24.5-effects-overview-hide-panels.patch65
-rw-r--r--kde-plasma/kwin/files/kwin-5.24.5-fix-multi-gpu-double-copy.patch59
-rw-r--r--kde-plasma/kwin/files/kwin-5.24.5-fix-nvidia-render-glitches.patch42
-rw-r--r--kde-plasma/kwin/files/kwin-5.24.5-fix-plasmashell-crash-1.patch307
-rw-r--r--kde-plasma/kwin/files/kwin-5.24.5-fix-plasmashell-crash-2.patch35
-rw-r--r--kde-plasma/kwin/files/kwin-5.24.5-tabbox-dont-dismiss-popups.patch32
-rw-r--r--kde-plasma/kwin/files/kwin-5.24.5-update-device-outputName.patch32
-rw-r--r--kde-plasma/kwin/kwin-5.24.5-r2.ebuild142
-rw-r--r--kde-plasma/kwin/kwin-5.24.6.ebuild133
10 files changed, 0 insertions, 857 deletions
diff --git a/kde-plasma/kwin/Manifest b/kde-plasma/kwin/Manifest
index f578b5273b21..036ef0c7df26 100644
--- a/kde-plasma/kwin/Manifest
+++ b/kde-plasma/kwin/Manifest
@@ -1,18 +1,8 @@
AUX kwin-5.21.80-gstreamer-optional.patch 971 BLAKE2B f31d18f865a9108ff1bfb711ea95a281295487090be982719a8623faeb5fbc645b8c55468fdfa8482fc052b1546bb2445e4b150c10b239e1ca149f1402b97bff SHA512 cf08106ca39cb455044c47da104b66eb470b72573803a3a1fd6be0eaa58f80b9b7a163898a3234f28552214a1aa3d651f633490377bf87ec4d883878b115b7bc
-AUX kwin-5.24.5-effects-overview-hide-panels.patch 2059 BLAKE2B 1f5477757d7c56e2c862d35c0052c53ac6295ba17b0a16a20bf15f80df09756011429d3ffb589dc8a367e468b55672e2de42e79d5b6c4445d7835d271ddbd483 SHA512 d5410cde9f264bb3a2fc5cc5583c9655afa51af42eec056ff04adcd9a2102be9972052f9ce5a93709adfe8cfec9079f28c9e51cf1bd9c1fc322738e8fc0c634d
-AUX kwin-5.24.5-fix-multi-gpu-double-copy.patch 1762 BLAKE2B 45e37e6f6b7a134284d5c4c63ba63f2657be6921e37ff7b49d52c09f87174ff7dd0e0860dbc487d217ea236f4622a15e350684919b7efb9728cb0b9a7ddf0622 SHA512 b3954c5c6a64c7c3e3a5ee78d80b6c7b0a053ab91686363035e4e730d29449c98d2beb4fc23aeac2e678e09de0a3771ed72da7eeec2f2f7bfe9354fc1a8157ce
-AUX kwin-5.24.5-fix-nvidia-render-glitches.patch 1674 BLAKE2B ef1db8231b6931857c53d24b21a6dc0fb54257d62c171a1717c65569fc93f788479b3389fdb3d455b0e3e22baae899e6f8c80a44a4d4969cf05e831c286aa176 SHA512 f4905d81d03596b9d8a56d5ed580c6f1291f160ab39b20fbf06c70a2ac4d2de08a137e5cb13bf2fd4532adbbe89fd906a18dc0c51ba52f51a8b5c68186b08f29
-AUX kwin-5.24.5-fix-plasmashell-crash-1.patch 11170 BLAKE2B 0e7877953d8a9c35c4d618f7ac95fae1222516edae8fb6ba644d28c495621189bbc145cd8410f3e70852ce342f72592b6b2c633d6fc38196472921c14376d967 SHA512 71f9d67fa2d2200b7b0f9a4d130fd9518032b5bd79076a3d47a1a1e77a3bbca49113880ce7ef6f281d86a04ba568f9e26f7d30f7402343308a7f6748f9efa7ae
-AUX kwin-5.24.5-fix-plasmashell-crash-2.patch 982 BLAKE2B dbb3bc31d65384ec14164f7af58254482e0c0bcbb31b06386ea1981bb886a220cf0b727aa7b2b963eaa3c44454344801b0c7fcdce7929c2ffddc6bee6e30cdca SHA512 604ccaab296defceb37ed0bffb5ba6e2c40563bbcf8b4fb2d899c0669de5d180a59ca73fb16f8a2e7939f00ba54c2f4daa96d33b99a4543b88957926d574a3fd
-AUX kwin-5.24.5-tabbox-dont-dismiss-popups.patch 1111 BLAKE2B 017199e01456961ece0335f54d42e18162c703868e7a7f95e84ea1440014ceaaed798e7668dbba4e7392492d82171e29d5453a554f669a789eb8b52a15f47c88 SHA512 538b79201b70eaf162ec75a37dcc40c264b5f1021c6a940ab67274c9e33566962053867f11b45f309d1dfe35d30573139419f666333e06bfd4a5d1c08ca97e6a
-AUX kwin-5.24.5-update-device-outputName.patch 959 BLAKE2B c39d0a94210ea82fa4c7292cb29d5fd93aa793d74e3743f23b3a86462a898594e17798a7beb272cd8462e557875560a05ae642463cee78d7d2a35ee0cd11e576 SHA512 fc4ec093ea882b9d73ef11024d4279d566faeee1979a7fb0f8f29c5e89c658f32b89a3f40faee286c428ac95297dde684ceefcc5e0d3276cdd8d512084f02a19
AUX kwin-5.24.6-emit-rowsChanged.patch 999 BLAKE2B ed3519679b81e56a4c52e7d20b91516cefeaa4c4cdb432795edeb9fb8f98aba0ec720662966a2b9ff764ec3bf5126ab2aafe08a209dac826b30dc0139737cc6b SHA512 f6b865aededd119fed69b19d994604179de0ac69efbbefc300872a396125bb3acd635b2784dd54ab961d517b5752e2520c7e2c701263abbc47c3ca3335d44bb3
AUX kwin-5.24.6-fix-color-picker.patch 1952 BLAKE2B 36409ce88f6a0ec2a9b561ed33134db8d10c9a1e3f2e936d7a4375d9eef2f6f41c64a3c584187ef8b0e7cbd2b91f0f3248f462bf5093a17108f27722bbdf7afd SHA512 77cc88b24baaadbcd0737a8bd2a8b14f5f2b4f5bd7348553c67d406032ba886720b448691ba9c99c12e1da41f5af31752955caaa43f2f75064816ca4f739b105
-DIST kwin-5.24.5.tar.xz 6453932 BLAKE2B cd042dd8c9168e11bc39d15969c57a97fd5c47b1af3e3a6235cabad166c4925c51541d52f7bf96f3132b3ecfeb91547845d6af3893ab5f31b41df4a926e83993 SHA512 4fad8b39a588a44f89e2640358d8e563047fa889a9bdaf246c1c87d320aa5f5b9d3d6bef702314fb06d2bfe16d0445efe736de60d94b4409f9b5efcdac48d089
DIST kwin-5.24.6.tar.xz 6464412 BLAKE2B e3dabbac99cb1ad4eab9995987b6070d2ae0c7d24b8745edad51d573f955783ef4dfafa91ef686a9325659b7ff32282f8448c4beca90b8ad357d83d210964008 SHA512 582464134046c672f9dd798a5485eb2ea93c71676ad20aebda60d978d459104e74fe1283cb0e16968216faf53827dc3e47d669d4c977e0fb7a5a4bb408f77eeb
DIST kwin-5.25.4.tar.xz 6639040 BLAKE2B d2160b7e9bedb77ed50033eee9e901edf962c3b6c2b6d0c4e5b19651a1a466c4e5868a2b66dc6b2b00f73381661a59fc9da317fc9cda48488b57ee86f7543f7f SHA512 14ffb4ea0eb069811803253b8abb7737eecb5c121c99c477c1b085a80812eae10d9e2012e3343b326f1a3258a2854d1f8b138dad2f31e548835b9bf09769c0fd
-EBUILD kwin-5.24.5-r2.ebuild 4421 BLAKE2B f9a50bba822c9da8867b4a5cb3fab9c9bab2ab75d93f20f3cfd467672c425fcb6cc9da401f49c444726f7bb3fed7de636c3bc696fffa949c02c133125a4f4311 SHA512 32eec4d57c7525e27ef2c1cd5b0aed37a6eafaf459146ed6170763773f31805a89b9b7d7d8cc9e22230236c9936a21624cf089a0b0f9923c148a73f16cc8359f
EBUILD kwin-5.24.6-r1.ebuild 4126 BLAKE2B 4f12925511011887954c13882f644182eb24dbbe9c39d58974be95565afdfa48b8d770f382b614a7a45439cdce8c1c2229ed2b486aa4c7724a8c352bfd87a7f6 SHA512 79bba7223739f8b61744feaead7eca554d526e0d1c8e84e61c2f1f73d05c645767221ecd77a6e292f0c9bb97da9734faaeafb01c92aa51e2d5cafb25d6c724c1
-EBUILD kwin-5.24.6.ebuild 4013 BLAKE2B a850a37e5eb679b37ee34edb89e37dee88b602a999a1a2b73ded9ef960b4be6857b94e5315e7b831612eebf7fdeccc7c2cfca2ed25acd681daa223120f20794f SHA512 a899fca29d7d9fcc31b75fe46cc949c0d2dbff1978e3a2062fdcc716181afc89e13450bc2d968212de1216e3d0a5e64e6fb0431398ccd9a6baf45df34e5bb4a1
EBUILD kwin-5.25.4.ebuild 4181 BLAKE2B eef592139d6af524533aa989206225cd5cfe0c8c82d99188b4af762630e9b0557923fbf114f10fe944ac35d657a35d7bb1103689f55ec747dfefe14a18f9f58c SHA512 1ac7e4dc4227204bc5a3fe082dcf4487712c0d97a669f8dc14856d493681f54e16fb33a652cebf70fe9abed9d0449002cc478896dd6ada5e03c94bd25ead25df
MISC metadata.xml 505 BLAKE2B 41f9200ff14d77161bb0863065be67315f5459fa8232da5f0cf18aacd8abb15f7e858277a59a219e59f777fbd2d2d1f035c941d1a06e459b01935b70921e678d SHA512 19c2af1c8b56be6989b617adc24fc0a8bc33d4913eecf22a4ecef3c1a2cf2994e814655f3a885a75ad17613af1dc41b6babb5e4375a3e217f0cc5842ba969a29
diff --git a/kde-plasma/kwin/files/kwin-5.24.5-effects-overview-hide-panels.patch b/kde-plasma/kwin/files/kwin-5.24.5-effects-overview-hide-panels.patch
deleted file mode 100644
index d5b1f8c3864e..000000000000
--- a/kde-plasma/kwin/files/kwin-5.24.5-effects-overview-hide-panels.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From 7fcf36d636f62f101397d88ad6c448f54da79e46 Mon Sep 17 00:00:00 2001
-From: Marco Martin <notmart@gmail.com>
-Date: Fri, 13 May 2022 15:37:13 +0000
-Subject: [PATCH] effects/overview: hide panels
-
-This makes it consistent with WindowView (and the panel window doesn't respond
-to input anyways even if shown, which is misleading).
-
-BUG: 444274
-FIXED-IN: 5.24.6
-
-
-(cherry picked from commit db2af5500f964f3eefde60183b69f21125aeb194)
----
- src/effects/overview/qml/ScreenView.qml | 20 ++++++++------------
- 1 file changed, 8 insertions(+), 12 deletions(-)
-
-diff --git a/src/effects/overview/qml/ScreenView.qml b/src/effects/overview/qml/ScreenView.qml
-index 40cc29f4c7..39119e40b9 100644
---- a/src/effects/overview/qml/ScreenView.qml
-+++ b/src/effects/overview/qml/ScreenView.qml
-@@ -70,16 +70,8 @@ FocusScope {
- }
- }
-
-- ExpoArea {
-- id: heapArea
-- screen: targetScreen
-- }
--
- Column {
-- x: heapArea.x
-- y: heapArea.y
-- width: heapArea.width
-- height: heapArea.height
-+ anchors.fill: parent
-
- Item {
- id: topBar
-@@ -176,15 +168,19 @@ FocusScope {
-
- KWinComponents.WindowThumbnailItem {
- id: windowThumbnail
-- visible: !model.client.hidden
-+ visible: !model.client.hidden && opacity > 0
- wId: model.client.internalId
- x: model.client.x - targetScreen.geometry.x
- y: model.client.y - targetScreen.geometry.y
- width: model.client.width
- height: model.client.height
-+ opacity: container.effect.gestureInProgress
-+ ? 1 - container.effect.partialActivationFactor
-+ : (model.client.hidden || container.organized) ? 0 : 1
-
-- TapHandler {
-- onTapped: effect.deactivate();
-+ Behavior on opacity {
-+ enabled: !container.effect.gestureInProgress
-+ NumberAnimation { duration: animationDuration; easing.type: Easing.OutCubic }
- }
- }
- }
---
-GitLab
-
diff --git a/kde-plasma/kwin/files/kwin-5.24.5-fix-multi-gpu-double-copy.patch b/kde-plasma/kwin/files/kwin-5.24.5-fix-multi-gpu-double-copy.patch
deleted file mode 100644
index 53c05da522ec..000000000000
--- a/kde-plasma/kwin/files/kwin-5.24.5-fix-multi-gpu-double-copy.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From 3b58fe4bde0722b352e4114adb992a2ed2c96423 Mon Sep 17 00:00:00 2001
-From: Xaver Hugl <xaver.hugl@gmail.com>
-Date: Sat, 7 May 2022 21:23:17 +0200
-Subject: [PATCH] backends/drm: consider escaped separators KWIN_DRM_DEVICES
-
-':' conflicts with the file names in /dev/dri/by-path, so allow it to be
-escaped with '\'
-
-CCBUG: 453386
-
-
-(cherry picked from commit a110aabbccf56019bdc324b3c751112f35ec3f6c)
----
- src/backends/drm/drm_backend.cpp | 24 +++++++++++++++++++++++-
- 1 file changed, 23 insertions(+), 1 deletion(-)
-
-diff --git a/src/backends/drm/drm_backend.cpp b/src/backends/drm/drm_backend.cpp
-index 272dba702c..567ea3f696 100644
---- a/src/backends/drm/drm_backend.cpp
-+++ b/src/backends/drm/drm_backend.cpp
-@@ -57,12 +57,34 @@
- namespace KWin
- {
-
-+static QStringList splitPathList(const QString &input, const QChar delimiter)
-+{
-+ QStringList ret;
-+ QString tmp;
-+ for (int i = 0; i < input.size(); i++) {
-+ if (input[i] == delimiter) {
-+ if (i > 0 && input[i - 1] == '\\') {
-+ tmp[tmp.size() - 1] = delimiter;
-+ } else if (!tmp.isEmpty()) {
-+ ret.append(tmp);
-+ tmp = QString();
-+ }
-+ } else {
-+ tmp.append(input[i]);
-+ }
-+ }
-+ if (!tmp.isEmpty()) {
-+ ret.append(tmp);
-+ }
-+ return ret;
-+}
-+
- DrmBackend::DrmBackend(QObject *parent)
- : Platform(parent)
- , m_udev(new Udev)
- , m_udevMonitor(m_udev->monitor())
- , m_session(Session::create(this))
-- , m_explicitGpus(qEnvironmentVariable("KWIN_DRM_DEVICES").split(':', Qt::SkipEmptyParts))
-+ , m_explicitGpus(splitPathList(qEnvironmentVariable("KWIN_DRM_DEVICES"), ':'))
- , m_dpmsFilter()
- {
- setSupportsPointerWarping(true);
---
-GitLab
-
diff --git a/kde-plasma/kwin/files/kwin-5.24.5-fix-nvidia-render-glitches.patch b/kde-plasma/kwin/files/kwin-5.24.5-fix-nvidia-render-glitches.patch
deleted file mode 100644
index d38e11375bbe..000000000000
--- a/kde-plasma/kwin/files/kwin-5.24.5-fix-nvidia-render-glitches.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From e2d271b6365188a86755af82745ad37535ceb4d7 Mon Sep 17 00:00:00 2001
-From: Erik Kurzinger <ekurzinger@nvidia.com>
-Date: Sun, 8 May 2022 12:16:20 -0700
-Subject: [PATCH] platforms/drm: set read buffer in
- GbmSurface::makeContextCurrent
-
-The first time the GBM backend's EGL context is made current after
-creation, both the read and draw surfaces are set to EGL_NO_SURFACE.
-This will set the GL read and draw buffers to GL_NONE in accordance with
-the EGL spec.
-
-When a real surface is later made current, however, the spec is arguably
-unclear on whether the read and draw buffers should remain set to
-GL_NONE or whether they should be restored to the default GL_BACK. The
-Mesa driver does the latter, the NVIDIA driver does the former.
-
-To work around this difference, Kwin has an explicit call to
-glDrawBuffer in GbmSurface::makeContextCurrent. It does not have a
-corresponding call to glReadBuffer, though, which can cause some desktop
-effects such as background contrast to render incorrectly with the
-NVIDIA driver. This change adds that missing call.
-
-(cherry picked from commit e6d2bc153f499d1ec3510c02badca38d4c42c340)
----
- src/backends/drm/egl_gbm_backend.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/backends/drm/egl_gbm_backend.cpp b/src/backends/drm/egl_gbm_backend.cpp
-index 5a0be7ccaf..b34fa1320b 100644
---- a/src/backends/drm/egl_gbm_backend.cpp
-+++ b/src/backends/drm/egl_gbm_backend.cpp
-@@ -377,6 +377,7 @@ bool EglGbmBackend::makeContextCurrent(const Output::RenderData &render) const
- }
- if (!GLPlatform::instance()->isGLES()) {
- glDrawBuffer(GL_BACK);
-+ glReadBuffer(GL_BACK);
- }
- return true;
- }
---
-GitLab
-
diff --git a/kde-plasma/kwin/files/kwin-5.24.5-fix-plasmashell-crash-1.patch b/kde-plasma/kwin/files/kwin-5.24.5-fix-plasmashell-crash-1.patch
deleted file mode 100644
index 46b6f0ad9c71..000000000000
--- a/kde-plasma/kwin/files/kwin-5.24.5-fix-plasmashell-crash-1.patch
+++ /dev/null
@@ -1,307 +0,0 @@
-From 4c3195270d6c8e1da8c3e2e3abe5aae75d5bf3c2 Mon Sep 17 00:00:00 2001
-From: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
-Date: Fri, 26 Nov 2021 12:03:14 +0200
-Subject: [PATCH] Ensure that Toplevel::output() stays always in sync with
- geometry
-
-Currently, if geometry updates are blocked, the Toplevel.output property
-won't be updated. On the other hand, it's reasonable to use the output
-property instead of manually looking up the output in window management
-code, e.g. Workspace::clientArea().
-
-In other words, using the Toplevel.output property is like walking on a
-mine field, things can blow up. You can't use Toplevel.output even if it
-makes perfect sense.
-
-This change ensures that Toplevel.output property is always kept in sync
-with the frame geometry. Unfortunately, this means that the output
-property no longer can be updated when the frameGeometryChanged() signal
-is emitted. It has to be done in moveResizeInternal() method.
-
-BUG: 448064
-
-(cherry picked from 510a41eeb89f51843405fa0258c852ab06d05bb8)
-
-Part-of: <https://invent.kde.org/plasma/kwin/-/merge_requests/2448>
----
- src/abstract_client.cpp | 3 ---
- src/events.cpp | 1 +
- src/internal_client.cpp | 6 ++++++
- src/toplevel.cpp | 17 -----------------
- src/toplevel.h | 10 ++--------
- src/unmanaged.cpp | 6 ++++++
- src/unmanaged.h | 1 +
- src/waylandclient.cpp | 6 ++++++
- src/x11client.cpp | 7 +++++++
- src/x11client.h | 1 +
- 10 files changed, 30 insertions(+), 28 deletions(-)
-
-diff --git a/src/abstract_client.cpp b/src/abstract_client.cpp
-index 0714b9ac3f..ddff11e53c 100644
---- a/src/abstract_client.cpp
-+++ b/src/abstract_client.cpp
-@@ -63,8 +63,6 @@ AbstractClient::AbstractClient()
- {
- connect(this, &AbstractClient::clientStartUserMovedResized, this, &AbstractClient::moveResizedChanged);
- connect(this, &AbstractClient::clientFinishUserMovedResized, this, &AbstractClient::moveResizedChanged);
-- connect(this, &AbstractClient::clientStartUserMovedResized, this, &AbstractClient::removeCheckOutputConnection);
-- connect(this, &AbstractClient::clientFinishUserMovedResized, this, &AbstractClient::setupCheckOutputConnection);
-
- connect(this, &AbstractClient::windowShown, this, &AbstractClient::hiddenChanged);
- connect(this, &AbstractClient::windowHidden, this, &AbstractClient::hiddenChanged);
-@@ -1011,7 +1009,6 @@ void AbstractClient::finishInteractiveMoveResize(bool cancel)
- if (cancel) {
- moveResize(initialInteractiveMoveResizeGeometry());
- }
-- checkOutput(); // needs to be done because clientFinishUserMovedResized has not yet re-activated online alignment
- if (output() != interactiveMoveResizeStartOutput()) {
- workspace()->sendClientToOutput(this, output()); // checks rule validity
- if (isFullScreen() || maximizeMode() != MaximizeRestore) {
-diff --git a/src/events.cpp b/src/events.cpp
-index b9bb9bbd36..a22960f0d0 100644
---- a/src/events.cpp
-+++ b/src/events.cpp
-@@ -1261,6 +1261,7 @@ void Unmanaged::configureNotifyEvent(xcb_configure_notify_event_t *e)
- m_clientGeometry = newgeom;
- m_frameGeometry = newgeom;
- m_bufferGeometry = newgeom;
-+ checkOutput();
- Q_EMIT bufferGeometryChanged(this, old);
- Q_EMIT clientGeometryChanged(this, old);
- Q_EMIT frameGeometryChanged(this, old);
-diff --git a/src/internal_client.cpp b/src/internal_client.cpp
-index 3be51ff27b..b4c9250fd3 100644
---- a/src/internal_client.cpp
-+++ b/src/internal_client.cpp
-@@ -10,6 +10,7 @@
- #include "internal_client.h"
- #include "decorations/decorationbridge.h"
- #include "deleted.h"
-+#include "platform.h"
- #include "surfaceitem.h"
- #include "workspace.h"
-
-@@ -477,6 +478,7 @@ void InternalClient::commitGeometry(const QRect &rect)
- // The client geometry and the buffer geometry are the same.
- const QRect oldClientGeometry = m_clientGeometry;
- const QRect oldFrameGeometry = m_frameGeometry;
-+ const AbstractOutput *oldOutput = m_output;
-
- m_clientGeometry = frameRectToClientRect(rect);
- m_frameGeometry = rect;
-@@ -486,6 +488,7 @@ void InternalClient::commitGeometry(const QRect &rect)
- return;
- }
-
-+ m_output = kwinApp()->platform()->outputAt(rect.center());
- syncGeometryToInternalWindow();
-
- if (oldClientGeometry != m_clientGeometry) {
-@@ -495,6 +498,9 @@ void InternalClient::commitGeometry(const QRect &rect)
- if (oldFrameGeometry != m_frameGeometry) {
- Q_EMIT frameGeometryChanged(this, oldFrameGeometry);
- }
-+ if (oldOutput != m_output) {
-+ Q_EMIT screenChanged();
-+ }
- Q_EMIT geometryShapeChanged(this, oldFrameGeometry);
- }
-
-diff --git a/src/toplevel.cpp b/src/toplevel.cpp
-index 698f6998e5..ff216835c4 100644
---- a/src/toplevel.cpp
-+++ b/src/toplevel.cpp
-@@ -47,7 +47,6 @@ Toplevel::Toplevel()
- , m_skipCloseAnimation(false)
- {
- connect(screens(), &Screens::changed, this, &Toplevel::screenChanged);
-- setupCheckOutputConnection();
- connect(this, &Toplevel::bufferGeometryChanged, this, &Toplevel::inputTransformationChanged);
-
- // Only for compatibility reasons, drop in the next major release.
-@@ -379,22 +378,6 @@ void Toplevel::deleteEffectWindow()
- effect_window = nullptr;
- }
-
--void Toplevel::checkOutput()
--{
-- setOutput(kwinApp()->platform()->outputAt(frameGeometry().center()));
--}
--
--void Toplevel::setupCheckOutputConnection()
--{
-- connect(this, &Toplevel::frameGeometryChanged, this, &Toplevel::checkOutput);
-- checkOutput();
--}
--
--void Toplevel::removeCheckOutputConnection()
--{
-- disconnect(this, &Toplevel::frameGeometryChanged, this, &Toplevel::checkOutput);
--}
--
- int Toplevel::screen() const
- {
- return kwinApp()->platform()->enabledOutputs().indexOf(m_output);
-diff --git a/src/toplevel.h b/src/toplevel.h
-index f6b5dd4e61..3309647eb4 100644
---- a/src/toplevel.h
-+++ b/src/toplevel.h
-@@ -636,13 +636,6 @@ Q_SIGNALS:
- void visibleGeometryChanged();
-
- protected Q_SLOTS:
-- /**
-- * Checks whether the screen number for this Toplevel changed and updates if needed.
-- * Any method changing the geometry of the Toplevel should call this method.
-- */
-- void checkOutput();
-- void setupCheckOutputConnection();
-- void removeCheckOutputConnection();
- void setReadyForPainting();
-
- protected:
-@@ -673,6 +666,8 @@ protected:
- void deleteShadow();
- void deleteEffectWindow();
- void setDepth(int depth);
-+
-+ AbstractOutput *m_output = nullptr;
- QRect m_frameGeometry;
- QRect m_clientGeometry;
- QRect m_bufferGeometry;
-@@ -700,7 +695,6 @@ private:
- QRegion opaque_region;
- mutable QRegion m_shapeRegion;
- mutable bool m_shapeRegionIsValid = false;
-- AbstractOutput *m_output = nullptr;
- bool m_skipCloseAnimation;
- quint32 m_pendingSurfaceId = 0;
- QPointer<KWaylandServer::SurfaceInterface> m_surface;
-diff --git a/src/unmanaged.cpp b/src/unmanaged.cpp
-index de3caa303d..3164813a75 100644
---- a/src/unmanaged.cpp
-+++ b/src/unmanaged.cpp
-@@ -12,6 +12,7 @@
- #include "workspace.h"
- #include "effects.h"
- #include "deleted.h"
-+#include "platform.h"
- #include "surfaceitem_x11.h"
- #include "utils/common.h"
-
-@@ -206,6 +207,11 @@ QWindow *Unmanaged::findInternalWindow() const
- return nullptr;
- }
-
-+void Unmanaged::checkOutput()
-+{
-+ setOutput(kwinApp()->platform()->outputAt(frameGeometry().center()));
-+}
-+
- void Unmanaged::damageNotifyEvent()
- {
- Q_ASSERT(kwinApp()->operationMode() == Application::OperationModeX11);
-diff --git a/src/unmanaged.h b/src/unmanaged.h
-index e874fc1724..fa543eb0b8 100644
---- a/src/unmanaged.h
-+++ b/src/unmanaged.h
-@@ -45,6 +45,7 @@ private:
- void configureNotifyEvent(xcb_configure_notify_event_t *e);
- void damageNotifyEvent();
- QWindow *findInternalWindow() const;
-+ void checkOutput();
- void associate();
- void initialize();
- bool m_outline = false;
-diff --git a/src/waylandclient.cpp b/src/waylandclient.cpp
-index 39d6ea22bc..9d8070c7f8 100644
---- a/src/waylandclient.cpp
-+++ b/src/waylandclient.cpp
-@@ -7,6 +7,7 @@
- */
-
- #include "waylandclient.h"
-+#include "platform.h"
- #include "screens.h"
- #include "wayland_server.h"
- #include "workspace.h"
-@@ -289,6 +290,7 @@ void WaylandClient::updateGeometry(const QRect &rect)
- const QRect oldClientGeometry = m_clientGeometry;
- const QRect oldFrameGeometry = m_frameGeometry;
- const QRect oldBufferGeometry = m_bufferGeometry;
-+ const AbstractOutput *oldOutput = m_output;
-
- m_clientGeometry = frameRectToClientRect(rect);
- m_frameGeometry = rect;
-@@ -310,6 +312,7 @@ void WaylandClient::updateGeometry(const QRect &rect)
- return;
- }
-
-+ m_output = kwinApp()->platform()->outputAt(rect.center());
- updateWindowRules(Rules::Position | Rules::Size);
-
- if (changedGeometries & WaylandGeometryBuffer) {
-@@ -321,6 +324,9 @@ void WaylandClient::updateGeometry(const QRect &rect)
- if (changedGeometries & WaylandGeometryFrame) {
- Q_EMIT frameGeometryChanged(this, oldFrameGeometry);
- }
-+ if (oldOutput != m_output) {
-+ Q_EMIT screenChanged();
-+ }
- Q_EMIT geometryShapeChanged(this, oldFrameGeometry);
- }
-
-diff --git a/src/x11client.cpp b/src/x11client.cpp
-index ce275fff1b..d7ed823128 100644
---- a/src/x11client.cpp
-+++ b/src/x11client.cpp
-@@ -4062,6 +4062,8 @@ void X11Client::moveResizeInternal(const QRect &rect, MoveResizeMode mode)
- m_lastClientGeometry == m_clientGeometry) {
- return;
- }
-+
-+ m_output = kwinApp()->platform()->outputAt(frameGeometry.center());
- if (areGeometryUpdatesBlocked()) {
- setPendingMoveResizeMode(mode);
- return;
-@@ -4070,6 +4072,7 @@ void X11Client::moveResizeInternal(const QRect &rect, MoveResizeMode mode)
- const QRect oldBufferGeometry = m_lastBufferGeometry;
- const QRect oldFrameGeometry = m_lastFrameGeometry;
- const QRect oldClientGeometry = m_lastClientGeometry;
-+ const AbstractOutput *oldOutput = m_lastOutput;
-
- updateServerGeometry();
- updateWindowRules(Rules::Position|Rules::Size);
-@@ -4077,6 +4080,7 @@ void X11Client::moveResizeInternal(const QRect &rect, MoveResizeMode mode)
- m_lastBufferGeometry = m_bufferGeometry;
- m_lastFrameGeometry = m_frameGeometry;
- m_lastClientGeometry = m_clientGeometry;
-+ m_lastOutput = m_output;
-
- if (isActive()) {
- workspace()->setActiveOutput(output());
-@@ -4092,6 +4096,9 @@ void X11Client::moveResizeInternal(const QRect &rect, MoveResizeMode mode)
- if (oldFrameGeometry != m_frameGeometry) {
- Q_EMIT frameGeometryChanged(this, oldFrameGeometry);
- }
-+ if (oldOutput != m_output) {
-+ Q_EMIT screenChanged();
-+ }
- Q_EMIT geometryShapeChanged(this, oldFrameGeometry);
- }
-
-diff --git a/src/x11client.h b/src/x11client.h
-index b523044d3d..adb8b0e8df 100644
---- a/src/x11client.h
-+++ b/src/x11client.h
-@@ -524,6 +524,7 @@ private:
- QMetaObject::Connection m_edgeGeometryTrackingConnection;
-
- QMargins m_clientFrameExtents;
-+ AbstractOutput *m_lastOutput = nullptr;
- QRect m_lastBufferGeometry;
- QRect m_lastFrameGeometry;
- QRect m_lastClientGeometry;
---
-GitLab
-
diff --git a/kde-plasma/kwin/files/kwin-5.24.5-fix-plasmashell-crash-2.patch b/kde-plasma/kwin/files/kwin-5.24.5-fix-plasmashell-crash-2.patch
deleted file mode 100644
index 026efdf9465b..000000000000
--- a/kde-plasma/kwin/files/kwin-5.24.5-fix-plasmashell-crash-2.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From a8477c1cf7acbf3358c85e53b236150dd43b4640 Mon Sep 17 00:00:00 2001
-From: Xaver Hugl <xaver.hugl@gmail.com>
-Date: Thu, 14 Apr 2022 18:48:56 +0200
-Subject: [PATCH] toplevel: set valid output in the constructor
-
-This makes it less easy to cause crashes and fixes some segfaults.
-
-BUG: 452433
-BUG: 448064
-
-(cherry picked from commit e48a5c0535f01dc380449ba8481c869ff23e5558)
-
-Tested-by: Merge Service <https://invent.kde.org/plasma/kwin/-/merge_requests/2448>
-Part-of: <https://invent.kde.org/plasma/kwin/-/merge_requests/2448>
----
- src/toplevel.cpp | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/toplevel.cpp b/src/toplevel.cpp
-index ff216835c4..5d3d7a5dde 100644
---- a/src/toplevel.cpp
-+++ b/src/toplevel.cpp
-@@ -34,7 +34,8 @@ namespace KWin
- {
-
- Toplevel::Toplevel()
-- : m_visual(XCB_NONE)
-+ : m_output(workspace()->activeOutput())
-+ , m_visual(XCB_NONE)
- , bit_depth(24)
- , info(nullptr)
- , ready_for_painting(false)
---
-GitLab
-
diff --git a/kde-plasma/kwin/files/kwin-5.24.5-tabbox-dont-dismiss-popups.patch b/kde-plasma/kwin/files/kwin-5.24.5-tabbox-dont-dismiss-popups.patch
deleted file mode 100644
index f79d4bba71ce..000000000000
--- a/kde-plasma/kwin/files/kwin-5.24.5-tabbox-dont-dismiss-popups.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From f7b1edc79e9526fe6bad69a8ad475a5d77e5aead Mon Sep 17 00:00:00 2001
-From: Xaver Hugl <xaver.hugl@gmail.com>
-Date: Tue, 10 May 2022 13:07:03 +0200
-Subject: [PATCH] tabbox: don't dismiss popups
-
-The glitches that dismissing popups was supposed to prevent are apparently
-no longer present.
-
-BUG: 446318
-(cherry picked from commit 94b0ca814688bf3622aa53f4d4d26f97d8de7306)
----
- src/tabbox/tabbox.cpp | 4 ----
- 1 file changed, 4 deletions(-)
-
-diff --git a/src/tabbox/tabbox.cpp b/src/tabbox/tabbox.cpp
-index a1c50b27fc..76a50795ad 100644
---- a/src/tabbox/tabbox.cpp
-+++ b/src/tabbox/tabbox.cpp
-@@ -1020,10 +1020,6 @@ void TabBox::navigatingThroughWindows(bool forward, const QKeySequence &shortcut
- // CDE style raise / lower
- CDEWalkThroughWindows(forward);
- } else {
-- workspace()->forEachAbstractClient([](Toplevel *toplevel) {
-- if (toplevel->isPopupWindow())
-- toplevel->popupDone();
-- });
- if (areModKeysDepressed(shortcut)) {
- if (startKDEWalkThroughWindows(mode))
- KDEWalkThroughWindows(forward);
---
-GitLab
-
diff --git a/kde-plasma/kwin/files/kwin-5.24.5-update-device-outputName.patch b/kde-plasma/kwin/files/kwin-5.24.5-update-device-outputName.patch
deleted file mode 100644
index d1dbb3fb9bb8..000000000000
--- a/kde-plasma/kwin/files/kwin-5.24.5-update-device-outputName.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 1b96d21507a3b6b0a9ac6eac424d4e4db5602839 Mon Sep 17 00:00:00 2001
-From: David Redondo <kde@david-redondo.de>
-Date: Wed, 18 May 2022 13:34:45 +0200
-Subject: [PATCH] Update device outputName when setting output
-
-BUG:451279
-FIXED-IN:5.25.0
-
-
-(cherry picked from commit d3a37aa9aef58fbaedcef77d2797c22a015dc9c0)
----
- src/backends/libinput/device.cpp | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/backends/libinput/device.cpp b/src/backends/libinput/device.cpp
-index f247b66d74..30f51aca3c 100644
---- a/src/backends/libinput/device.cpp
-+++ b/src/backends/libinput/device.cpp
-@@ -668,8 +668,10 @@ void Device::setOutput(AbstractOutput *output)
- {
- m_output = output;
- if (m_output) {
-+ m_outputName = output->name();
- writeEntry(ConfigKey::OutputName, output->name());
- } else {
-+ m_outputName = QString();
- writeEntry(ConfigKey::OutputName, QString());
- }
- Q_EMIT outputNameChanged();
---
-GitLab
-
diff --git a/kde-plasma/kwin/kwin-5.24.5-r2.ebuild b/kde-plasma/kwin/kwin-5.24.5-r2.ebuild
deleted file mode 100644
index 8e56a5025394..000000000000
--- a/kde-plasma/kwin/kwin-5.24.5-r2.ebuild
+++ /dev/null
@@ -1,142 +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="optional"
-KFMIN=5.90.0
-PVCUT=$(ver_cut 1-3)
-QTMIN=5.15.2
-VIRTUALX_REQUIRED="test"
-inherit ecm kde.org optfeature
-
-DESCRIPTION="Flexible, composited Window Manager for windowing systems on Linux"
-
-LICENSE="GPL-2+"
-SLOT="5"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
-IUSE="accessibility caps gles2-only multimedia plasma screencast"
-
-RESTRICT="test"
-
-COMMON_DEPEND="
- >=dev-libs/libinput-1.19
- >=dev-libs/wayland-1.2
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtdeclarative-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5=[gles2-only=,libinput]
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtx11extras-${QTMIN}:5
- >=kde-frameworks/kactivities-${KFMIN}:5
- >=kde-frameworks/kauth-${KFMIN}:5
- >=kde-frameworks/kcmutils-${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/kglobalaccel-${KFMIN}:5=
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kidletime-${KFMIN}:5=
- >=kde-frameworks/knewstuff-${KFMIN}:5
- >=kde-frameworks/knotifications-${KFMIN}:5
- >=kde-frameworks/kpackage-${KFMIN}:5
- >=kde-frameworks/kservice-${KFMIN}:5
- >=kde-frameworks/ktextwidgets-${KFMIN}:5
- >=kde-frameworks/kwayland-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
- >=kde-frameworks/kwindowsystem-${KFMIN}:5=[X]
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- >=kde-frameworks/plasma-${KFMIN}:5
- >=kde-plasma/breeze-${PVCUT}:5
- >=kde-plasma/kdecoration-${PVCUT}:5
- >=kde-plasma/kscreenlocker-${PVCUT}:5
- >=kde-plasma/kwayland-server-${PVCUT}:5
- media-libs/fontconfig
- media-libs/freetype
- media-libs/lcms:2
- media-libs/libepoxy
- >=media-libs/mesa-21.1[egl(+),gbm(+),wayland,X]
- virtual/libudev:=
- x11-libs/libX11
- x11-libs/libXi
- x11-libs/libdrm
- >=x11-libs/libxcb-1.10
- >=x11-libs/libxkbcommon-0.7.0
- x11-libs/xcb-util-cursor
- x11-libs/xcb-util-image
- x11-libs/xcb-util-keysyms
- x11-libs/xcb-util-wm
- accessibility? ( media-libs/libqaccessibilityclient:5 )
- caps? ( sys-libs/libcap )
- gles2-only? ( media-libs/mesa[gles2] )
- plasma? ( >=kde-frameworks/krunner-${KFMIN}:5 )
- screencast? ( >=media-video/pipewire-0.3:= )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-qt/qtquickcontrols-${QTMIN}:5
- >=dev-qt/qtquickcontrols2-${QTMIN}:5
- >=dev-qt/qtvirtualkeyboard-${QTMIN}:5
- >=kde-frameworks/kirigami-${KFMIN}:5
- >=kde-frameworks/kitemmodels-${KFMIN}:5[qml]
- sys-apps/hwdata
- x11-base/xwayland
- multimedia? ( >=dev-qt/qtmultimedia-${QTMIN}:5[gstreamer,qml] )
-"
-DEPEND="${COMMON_DEPEND}
- >=dev-qt/designer-${QTMIN}:5
- >=dev-qt/qtconcurrent-${QTMIN}:5
- x11-base/xorg-proto
- test? (
- dev-libs/plasma-wayland-protocols
- >=dev-libs/wayland-protocols-1.19
- )
-"
-BDEPEND="test? ( >=dev-qt/qtwaylandscanner-${QTMIN}:5 )"
-PDEPEND=">=kde-plasma/kde-cli-tools-${PVCUT}:5"
-
-PATCHES=(
- "${FILESDIR}"/${P}-fix-multi-gpu-double-copy.patch # KDE-bug 453386
- "${FILESDIR}"/${P}-tabbox-dont-dismiss-popups.patch # KDE-bug 446318
- "${FILESDIR}"/${P}-effects-overview-hide-panels.patch # KDE-bug 444274
- "${FILESDIR}"/${P}-fix-nvidia-render-glitches.patch
- "${FILESDIR}"/${P}-update-device-outputName.patch # KDE-bug 451279
- "${FILESDIR}"/${P}-fix-plasmashell-crash-{1,2}.patch # KDE-bugs 448064, 452433
-)
-
-src_prepare() {
- ecm_src_prepare
- use multimedia || eapply "${FILESDIR}/${PN}-5.21.80-gstreamer-optional.patch"
-
- # TODO: try to get a build switch upstreamed
- if ! use screencast; then
- sed -e "s/^pkg_check_modules.*PipeWire/#&/" -i CMakeLists.txt || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- $(cmake_use_find_package accessibility QAccessibilityClient)
- $(cmake_use_find_package caps Libcap)
- $(cmake_use_find_package plasma KF5Runner)
- )
-
- ecm_src_configure
-}
-
-pkg_postinst() {
- ecm_pkg_postinst
- optfeature "color management support" x11-misc/colord
- elog
- elog "In Plasma 5.20, default behavior of the Task Switcher to move minimised"
- elog "windows to the end of the list was changed so that it remains in the"
- elog "original order. To revert to the well established behavior:"
- elog
- elog " - Edit ~/.config/kwinrc"
- elog " - Find [TabBox] section"
- elog " - Add \"MoveMinimizedWindowsToEndOfTabBoxFocusChain=true\""
-}
diff --git a/kde-plasma/kwin/kwin-5.24.6.ebuild b/kde-plasma/kwin/kwin-5.24.6.ebuild
deleted file mode 100644
index 502e17873105..000000000000
--- a/kde-plasma/kwin/kwin-5.24.6.ebuild
+++ /dev/null
@@ -1,133 +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="optional"
-KFMIN=5.92.0
-PVCUT=$(ver_cut 1-3)
-QTMIN=5.15.4
-VIRTUALX_REQUIRED="test"
-inherit ecm plasma.kde.org optfeature
-
-DESCRIPTION="Flexible, composited Window Manager for windowing systems on Linux"
-
-LICENSE="GPL-2+"
-SLOT="5"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
-IUSE="accessibility caps gles2-only multimedia plasma screencast"
-
-RESTRICT="test"
-
-COMMON_DEPEND="
- >=dev-libs/libinput-1.19
- >=dev-libs/wayland-1.2
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtdeclarative-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5=[gles2-only=,libinput]
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtx11extras-${QTMIN}:5
- >=kde-frameworks/kactivities-${KFMIN}:5
- >=kde-frameworks/kauth-${KFMIN}:5
- >=kde-frameworks/kcmutils-${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/kglobalaccel-${KFMIN}:5=
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kidletime-${KFMIN}:5=
- >=kde-frameworks/knewstuff-${KFMIN}:5
- >=kde-frameworks/knotifications-${KFMIN}:5
- >=kde-frameworks/kpackage-${KFMIN}:5
- >=kde-frameworks/kservice-${KFMIN}:5
- >=kde-frameworks/ktextwidgets-${KFMIN}:5
- >=kde-frameworks/kwayland-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
- >=kde-frameworks/kwindowsystem-${KFMIN}:5=[X]
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- >=kde-frameworks/plasma-${KFMIN}:5
- >=kde-plasma/breeze-${PVCUT}:5
- >=kde-plasma/kdecoration-${PVCUT}:5
- >=kde-plasma/kscreenlocker-${PVCUT}:5
- >=kde-plasma/kwayland-server-${PVCUT}:5
- media-libs/fontconfig
- media-libs/freetype
- media-libs/lcms:2
- media-libs/libepoxy
- >=media-libs/mesa-21.1[egl(+),gbm(+),wayland,X]
- virtual/libudev:=
- x11-libs/libX11
- x11-libs/libXi
- x11-libs/libdrm
- >=x11-libs/libxcb-1.10
- >=x11-libs/libxkbcommon-0.7.0
- x11-libs/xcb-util-cursor
- x11-libs/xcb-util-image
- x11-libs/xcb-util-keysyms
- x11-libs/xcb-util-wm
- accessibility? ( media-libs/libqaccessibilityclient:5 )
- caps? ( sys-libs/libcap )
- gles2-only? ( media-libs/mesa[gles2] )
- plasma? ( >=kde-frameworks/krunner-${KFMIN}:5 )
- screencast? ( >=media-video/pipewire-0.3:= )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-qt/qtquickcontrols-${QTMIN}:5
- >=dev-qt/qtquickcontrols2-${QTMIN}:5
- >=dev-qt/qtvirtualkeyboard-${QTMIN}:5
- >=kde-frameworks/kirigami-${KFMIN}:5
- >=kde-frameworks/kitemmodels-${KFMIN}:5[qml]
- sys-apps/hwdata
- x11-base/xwayland
- multimedia? ( >=dev-qt/qtmultimedia-${QTMIN}:5[gstreamer,qml] )
-"
-DEPEND="${COMMON_DEPEND}
- >=dev-qt/designer-${QTMIN}:5
- >=dev-qt/qtconcurrent-${QTMIN}:5
- x11-base/xorg-proto
- test? (
- dev-libs/plasma-wayland-protocols
- >=dev-libs/wayland-protocols-1.19
- )
-"
-BDEPEND="test? ( >=dev-qt/qtwaylandscanner-${QTMIN}:5 )"
-PDEPEND=">=kde-plasma/kde-cli-tools-${PVCUT}:5"
-
-src_prepare() {
- ecm_src_prepare
- use multimedia || eapply "${FILESDIR}/${PN}-5.21.80-gstreamer-optional.patch"
-
- # TODO: try to get a build switch upstreamed
- if ! use screencast; then
- sed -e "s/^pkg_check_modules.*PipeWire/#&/" -i CMakeLists.txt || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- $(cmake_use_find_package accessibility QAccessibilityClient)
- $(cmake_use_find_package caps Libcap)
- $(cmake_use_find_package plasma KF5Runner)
- )
-
- ecm_src_configure
-}
-
-pkg_postinst() {
- ecm_pkg_postinst
- optfeature "color management support" x11-misc/colord
- elog
- elog "In Plasma 5.20, default behavior of the Task Switcher to move minimised"
- elog "windows to the end of the list was changed so that it remains in the"
- elog "original order. To revert to the well established behavior:"
- elog
- elog " - Edit ~/.config/kwinrc"
- elog " - Find [TabBox] section"
- elog " - Add \"MoveMinimizedWindowsToEndOfTabBoxFocusChain=true\""
-}