pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
plasma6-kwin: fix build with qt6.10.2
Module Name: pkgsrc-wip
Committed By: Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By: markd
Date: Sun Feb 1 23:27:36 2026 +1300
Changeset: 6070713ea3121225ea19661fdb15dc88502ab742
Modified Files:
plasma6-kwin/distinfo
Added Files:
plasma6-kwin/patches/patch-src_plugins_qpa_integration.cpp
Log Message:
plasma6-kwin: fix build with qt6.10.2
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6070713ea3121225ea19661fdb15dc88502ab742
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
plasma6-kwin/distinfo | 1 +
.../patches/patch-src_plugins_qpa_integration.cpp | 39 ++++++++++++++++++++++
2 files changed, 40 insertions(+)
diffs:
diff --git a/plasma6-kwin/distinfo b/plasma6-kwin/distinfo
index 0d242d0eee..38bcf5e22a 100644
--- a/plasma6-kwin/distinfo
+++ b/plasma6-kwin/distinfo
@@ -4,6 +4,7 @@ BLAKE2s (kwin-6.5.2.tar.xz) = 0b1bcaf1ab42abe75f75eb2900293da3b66fedbceb93791db9
SHA512 (kwin-6.5.2.tar.xz) = 547a276c0f2d4e5d806bd6917f490a576c975fbd08e4dd59f78697c5903332eef51a46be7454f56025c5a9e8faa3766323beb19a9970f265f27651e9f19d8cce
Size (kwin-6.5.2.tar.xz) = 8797584 bytes
SHA1 (patch-cmake_modules_Findhwdata.cmake) = bcd738a30acc86a95787da05bcd7e8630043de81
+SHA1 (patch-src_plugins_qpa_integration.cpp) = 1d535e7ac99f4ea2bd71872eeca1338ef5e016c6
SHA1 (patch-src_plugins_screencast_pipewirecore.cpp) = 3544fa634925177a77c057fe1eb860935611cd88
SHA1 (patch-src_utils_CMakeLists.txt) = 70c474c5d6d50530be5ca2c0bf31eb7165098ac1
SHA1 (patch-src_utils_ramfile.cpp) = c7dc38ba2cc2fb5ccdb4a5c77a0361cddfcf7b6f
diff --git a/plasma6-kwin/patches/patch-src_plugins_qpa_integration.cpp b/plasma6-kwin/patches/patch-src_plugins_qpa_integration.cpp
new file mode 100644
index 0000000000..0978b3074e
--- /dev/null
+++ b/plasma6-kwin/patches/patch-src_plugins_qpa_integration.cpp
@@ -0,0 +1,39 @@
+$NetBSD$
+
+Build with qt6.10.2
+https://github.com/KDE/kwin/commit/d26749ec3653ae01e3a93fe0356d2fe33905b866
+
+--- src/plugins/qpa/integration.cpp.orig 2025-11-04 14:59:51.000000000 +0000
++++ src/plugins/qpa/integration.cpp
+@@ -88,17 +88,16 @@ bool Integration::hasCapability(Capabili
+ {
+ switch (cap) {
+ case ThreadedPixmaps:
+- return true;
+ case OpenGL:
+- return true;
+- case ThreadedOpenGL:
+- return false;
+- case BufferQueueingOpenGL:
+- return false;
+ case MultipleWindows:
+ case NonFullScreenWindows:
++#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 2)
++ case OffscreenSurface:
++#endif
+ return true;
++ case ThreadedOpenGL:
++ case BufferQueueingOpenGL:
+ case RasterGLSurface:
+ return false;
+ default:
+ return QPlatformIntegration::hasCapability(cap);
+@@ -140,7 +139,7 @@ QPlatformWindow *Integration::createPlat
+
+ QPlatformOffscreenSurface *Integration::createPlatformOffscreenSurface(QOffscreenSurface *surface) const
+ {
+- return new OffscreenSurface(surface);
++ return new KWin::QPA::OffscreenSurface(surface);
+ }
+
+ QPlatformFontDatabase *Integration::fontDatabase() const
Home |
Main Index |
Thread Index |
Old Index