summaryrefslogtreecommitdiff
path: root/kde-plasma/kwayland-integration
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-23 19:46:42 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-23 19:46:42 +0000
commit60360664173979c416f4acb44f2fb2368922742d (patch)
tree8776499f297aaa074d48bbb33c8c0c977aeb3b62 /kde-plasma/kwayland-integration
parented8299fef4175104e66b734cfc0482770614f398 (diff)
gentoo auto-resync : 23:12:2023 - 19:46:41
Diffstat (limited to 'kde-plasma/kwayland-integration')
-rw-r--r--kde-plasma/kwayland-integration/Manifest3
-rw-r--r--kde-plasma/kwayland-integration/files/kwayland-integration-5.91.0-kwindowsystem-no-widgets.patch68
-rw-r--r--kde-plasma/kwayland-integration/kwayland-integration-5.91.0.ebuild45
3 files changed, 116 insertions, 0 deletions
diff --git a/kde-plasma/kwayland-integration/Manifest b/kde-plasma/kwayland-integration/Manifest
index 370c12be9518..63e4c50d5363 100644
--- a/kde-plasma/kwayland-integration/Manifest
+++ b/kde-plasma/kwayland-integration/Manifest
@@ -1,5 +1,8 @@
+AUX kwayland-integration-5.91.0-kwindowsystem-no-widgets.patch 2360 BLAKE2B 40c9a01b88e9a26cc6c76baecddf8fb2e003939ca6f4a6ea6d7a07d26a4ff3429deb527e17d74304fdd145ad529794dde354197ba48b0a227a497ece815ee924 SHA512 f29b0adedd44149f911fa907b7490f11e175040f444fc46c579dc269c97532fcf4ad4e5bf061b4d56285719240f8a1e6783e875af2e19f8f44c1cc41208153a5
DIST kwayland-integration-5.27.10.tar.xz 25776 BLAKE2B dbd1b2cedf1128f59318e41036bde63c8062538804a6b26418bce2210860a0b0f1dcbf217f9b823924ec8865b2bc3d6ceae7a06339d8ea1a508d67763e697027 SHA512 c66b08ba2af7675add7d603e0b8bdd20578abfc71af15574c389c8bec9856f309fe856c236f9fc8832e38c0125f5d55a3cc3d649b9d49733ee93d656b9c293fe
DIST kwayland-integration-5.27.9.tar.xz 25776 BLAKE2B dba48b7405edbaa885e1abe938806022546ab5c485f1ef20799399bbd7e97c618a7a2c0755561880f45a28e57b0cd17bb2e219f7af102f86bff638787d4460cf SHA512 aaea32038eb9098387d819e9c9dcff4f5b4634841614a0a5c5db9528a6f51d5197cab5ee24dccfbba400b7c012f6360248b4d8c64948c79ee7a545009a64594f
+DIST kwayland-integration-5.91.0.tar.xz 26352 BLAKE2B 0a3dd88dfa1c0804e128b20c9b6ed8d28de534a19cac4c22584050e8903cc83a9629431e10759125112a486215980fe1bac10d38537fc0e79bd9ed1277a1e250 SHA512 04b68fc1572bf6218bb8dd2e09fbed2c7dfb7ea91581a5d0503cac40865fb83597d537cf4c12a0cbb56d134c585148c4d3f1bb6ff2e52b26231c8be4eddc3baa
EBUILD kwayland-integration-5.27.10.ebuild 1267 BLAKE2B 4413bdbcaf8982c9c2f26ad1d24ef93a92e61d02d73c61729967175a87fd0a953b7ba8e57ec19e2ead0c5652ef5308ece4c76133ca4fdb16b38f0068ea596eb2 SHA512 da1614246de3cb084cf665607d097f38f08e77a85a6b68763755aea595ed525cd6ada85eb58c0e1dd955b8cc8440132a9ba86a5a2c08c370e95110a2e767ee04
EBUILD kwayland-integration-5.27.9.ebuild 1266 BLAKE2B d368801ad492b042f71e9de3483b846e2597445d4b4203421c207e52ba96def528b6f27c455cbfde44941539bb54da65cfd1cd588b9e2bd66b1e67fee3cbf700 SHA512 7d2cabb70e3c8de5e90453255ed7a1295929e1bb11fb6619a7cfab97c5615f73829d61045106537179669f8188cb863cc2d0ba31cc01d4620fcab9302fa94738
+EBUILD kwayland-integration-5.91.0.ebuild 1136 BLAKE2B a4a92ab69fbe84c63748e4f4ca1593a89b55beb56800466ced2a0760a98245ebd2b9467762603bb28610471c9bbb8c63c4677411992997d6f75d6bfe56c29e4b SHA512 9a72adc7965df6d450c4c655dd34bf49e21c7f713320bfa3e85159a2e19ba1e2d92769cfead0870be0438ec04a537c676c8b20945ed5523f7cac5f8cbef64707
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
diff --git a/kde-plasma/kwayland-integration/files/kwayland-integration-5.91.0-kwindowsystem-no-widgets.patch b/kde-plasma/kwayland-integration/files/kwayland-integration-5.91.0-kwindowsystem-no-widgets.patch
new file mode 100644
index 000000000000..5fc4f0092530
--- /dev/null
+++ b/kde-plasma/kwayland-integration/files/kwayland-integration-5.91.0-kwindowsystem-no-widgets.patch
@@ -0,0 +1,68 @@
+From b672d78b8fa59e0e41dab7d06816ea751f24b461 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sat, 16 Dec 2023 19:57:03 +0100
+Subject: [PATCH] Fix build against KF5WindowSystem with
+ -DKWINDOWSYSTEM_NO_WIDGETS=ON
+
+Deprecation #ifdefs got lost between 1102b5470e0573efe817ca12e649977007d3e6c0 and 4a3ae83979507598fae29d1b6d0a449779fda5eb.
+
+5.101 deprecation #ifdefs are still missing after this change.
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ src/windowsystem/windowsystem.cpp | 4 ++++
+ src/windowsystem/windowsystem.h | 2 ++
+ 2 files changed, 6 insertions(+)
+
+diff --git a/src/windowsystem/windowsystem.cpp b/src/windowsystem/windowsystem.cpp
+index 9266ddd..6f67129 100644
+--- a/src/windowsystem/windowsystem.cpp
++++ b/src/windowsystem/windowsystem.cpp
+@@ -192,12 +192,14 @@ QPoint WindowSystem::desktopToViewport(int desktop, bool absolute)
+ return QPoint();
+ }
+
++#if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 0)
+ WId WindowSystem::groupLeader(WId window)
+ {
+ Q_UNUSED(window)
+ qCDebug(KWAYLAND_KWS) << "This plugin does not support group leader";
+ return 0;
+ }
++#endif
+
+ bool WindowSystem::icccmCompliantMappingState()
+ {
+@@ -549,12 +551,14 @@ QList<WId> WindowSystem::stackingOrder()
+ return QList<WId>();
+ }
+
++#if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 0)
+ WId WindowSystem::transientFor(WId window)
+ {
+ Q_UNUSED(window)
+ qCDebug(KWAYLAND_KWS) << "This plugin does not support transient for windows";
+ return 0;
+ }
++#endif
+
+ int WindowSystem::viewportToDesktop(const QPoint &pos)
+ {
+diff --git a/src/windowsystem/windowsystem.h b/src/windowsystem/windowsystem.h
+index 8c978e6..c59675a 100644
+--- a/src/windowsystem/windowsystem.h
++++ b/src/windowsystem/windowsystem.h
+@@ -42,8 +42,10 @@ public:
+ void setOnAllDesktops(WId win, bool b) override;
+ void setOnDesktop(WId win, int desktop) override;
+ void setOnActivities(WId win, const QStringList &activities) override;
++#if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 0)
+ WId transientFor(WId window) override;
+ WId groupLeader(WId window) override;
++#endif
+ QPixmap icon(WId win, int width, int height, bool scale, int flags) override;
+ void setIcons(WId win, const QPixmap &icon, const QPixmap &miniIcon) override;
+ void setType(WId win, NET::WindowType windowType) override;
+--
+GitLab
+
diff --git a/kde-plasma/kwayland-integration/kwayland-integration-5.91.0.ebuild b/kde-plasma/kwayland-integration/kwayland-integration-5.91.0.ebuild
new file mode 100644
index 000000000000..441f9d079db5
--- /dev/null
+++ b/kde-plasma/kwayland-integration/kwayland-integration-5.91.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KFMIN=5.106.0
+QTMIN=5.15.9
+inherit ecm plasma.kde.org
+
+DESCRIPTION="Provides KWindowSystem integration plugin for Wayland"
+HOMEPAGE="https://invent.kde.org/plasma/kwayland-integration"
+
+LICENSE="LGPL-2.1"
+SLOT="5"
+KEYWORDS="~amd64"
+IUSE=""
+
+# dev-qt/qtgui: QtXkbCommonSupport is provided by either IUSE libinput or X
+# slot ops:
+# dev-qt/qtgui: QtXkbCommonSupportPrivate
+# dev-qt/qtwayland: Qt::WaylandClientPrivate (private/qwayland*_p.h) stuff
+# kde-frameworks/kwindowsystem: Various private headers
+RDEPEND="
+ >=dev-libs/wayland-1.15
+ >=dev-qt/qtgui-${QTMIN}:5=
+ || (
+ >=dev-qt/qtgui-${QTMIN}:5[libinput]
+ >=dev-qt/qtgui-${QTMIN}:5[X]
+ )
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtwayland-${QTMIN}:5=
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5=
+ >=kde-plasma/kwayland-${KFMIN}:5
+ x11-libs/libxkbcommon
+"
+DEPEND="${RDEPEND}
+ dev-libs/plasma-wayland-protocols
+"
+BDEPEND="
+ >=dev-qt/qtwaylandscanner-${QTMIN}:5
+ dev-util/wayland-scanner
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}/${P}-kwindowsystem-no-widgets.patch" )