pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/plasma6-layer-shell-qt



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Mon Jul  7 01:41:22 UTC 2025

Modified Files:
        pkgsrc/x11/plasma6-layer-shell-qt: Makefile distinfo
Added Files:
        pkgsrc/x11/plasma6-layer-shell-qt/patches:
            patch-src_qwaylandlayersurface.cpp

Log Message:
plasma6-layer-shell-qt: fix build with Qt 6 >= 6.9


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/x11/plasma6-layer-shell-qt/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/x11/plasma6-layer-shell-qt/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/x11/plasma6-layer-shell-qt/patches/patch-src_qwaylandlayersurface.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/plasma6-layer-shell-qt/Makefile
diff -u pkgsrc/x11/plasma6-layer-shell-qt/Makefile:1.6 pkgsrc/x11/plasma6-layer-shell-qt/Makefile:1.7
--- pkgsrc/x11/plasma6-layer-shell-qt/Makefile:1.6      Thu Apr 24 14:16:24 2025
+++ pkgsrc/x11/plasma6-layer-shell-qt/Makefile  Mon Jul  7 01:41:21 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2025/04/24 14:16:24 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2025/07/07 01:41:21 gutteridge Exp $
 
 DISTNAME=      layer-shell-qt-${PLASMAVER}
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    x11
 
 HOMEPAGE=      https://invent.kde.org/plasma/layer-shell-qt

Index: pkgsrc/x11/plasma6-layer-shell-qt/distinfo
diff -u pkgsrc/x11/plasma6-layer-shell-qt/distinfo:1.1 pkgsrc/x11/plasma6-layer-shell-qt/distinfo:1.2
--- pkgsrc/x11/plasma6-layer-shell-qt/distinfo:1.1      Sun Jul 21 20:47:13 2024
+++ pkgsrc/x11/plasma6-layer-shell-qt/distinfo  Mon Jul  7 01:41:21 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2024/07/21 20:47:13 markd Exp $
+$NetBSD: distinfo,v 1.2 2025/07/07 01:41:21 gutteridge Exp $
 
 BLAKE2s (layer-shell-qt-6.0.5.tar.xz) = 2496af6d69a355c790c5648f51cfa631df260a023d596bb70b024a74ea5987c4
 SHA512 (layer-shell-qt-6.0.5.tar.xz) = 8da7612be743e9445b492c3e9b19f62e8112a419d9686138aa9dc009b3ec02ac180c156f5bbe74bc71fc13453a00f7bbaf7caa0818985898463eb0d2d218d397
 Size (layer-shell-qt-6.0.5.tar.xz) = 20928 bytes
+SHA1 (patch-src_qwaylandlayersurface.cpp) = 1c3210719dcdecd384ad80261900d5d80cd5f31d

Added files:

Index: pkgsrc/x11/plasma6-layer-shell-qt/patches/patch-src_qwaylandlayersurface.cpp
diff -u /dev/null pkgsrc/x11/plasma6-layer-shell-qt/patches/patch-src_qwaylandlayersurface.cpp:1.1
--- /dev/null   Mon Jul  7 01:41:22 2025
+++ pkgsrc/x11/plasma6-layer-shell-qt/patches/patch-src_qwaylandlayersurface.cpp        Mon Jul  7 01:41:21 2025
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_qwaylandlayersurface.cpp,v 1.1 2025/07/07 01:41:21 gutteridge Exp $
+
+Fix build with Qt 6 >= 6.9.
+https://github.com/KDE/layer-shell-qt/commit/368cf2dd374ce104cbbe1fa356991db2e238c640
+
+--- src/qwaylandlayersurface.cpp.orig  2024-05-21 16:48:51.000000000 +0000
++++ src/qwaylandlayersurface.cpp
+@@ -256,8 +256,10 @@ void QWaylandLayerSurface::sendExpose()
+ {
+ #if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
+     window()->handleExpose(QRect(QPoint(), m_pendingSize));
+-#else
++#elif QT_VERSION < QT_VERSION_CHECK(6, 9, 0)
+     window()->sendRecursiveExposeEvent();
++#else
++    window()->updateExposure();
+ #endif
+ }
+ 



Home | Main Index | Thread Index | Old Index