pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   markd
Date:           Sun Jul 21 20:35:03 UTC 2024

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/plasma6-kwayland: DESCR Makefile PLIST buildlink3.mk
            distinfo
        pkgsrc/devel/plasma6-kwayland/patches: patch-src_client_fakeinput.cpp

Log Message:
plasma6-kwayland: add version 6.0.5

KWayland is a Qt-style API to interact with the wayland-client API.

This is the QT6/Plasma6 version.


To generate a diff of this commit:
cvs rdiff -u -r1.4315 -r1.4316 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/plasma6-kwayland/DESCR \
    pkgsrc/devel/plasma6-kwayland/Makefile \
    pkgsrc/devel/plasma6-kwayland/PLIST \
    pkgsrc/devel/plasma6-kwayland/buildlink3.mk \
    pkgsrc/devel/plasma6-kwayland/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/plasma6-kwayland/patches/patch-src_client_fakeinput.cpp

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.4315 pkgsrc/devel/Makefile:1.4316
--- pkgsrc/devel/Makefile:1.4315        Wed Jul 17 12:03:59 2024
+++ pkgsrc/devel/Makefile       Sun Jul 21 20:35:03 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4315 2024/07/17 12:03:59 pin Exp $
+# $NetBSD: Makefile,v 1.4316 2024/07/21 20:35:03 markd Exp $
 #
 
 COMMENT=       Development utilities
@@ -2383,6 +2383,7 @@ SUBDIR+=  pipestatus
 SUBDIR+=       pkg-config
 SUBDIR+=       pkgconf
 SUBDIR+=       plasma-wayland-protocols
+SUBDIR+=       plasma6-kwayland
 SUBDIR+=       ply
 SUBDIR+=       pmccabe
 SUBDIR+=       poco

Added files:

Index: pkgsrc/devel/plasma6-kwayland/DESCR
diff -u /dev/null pkgsrc/devel/plasma6-kwayland/DESCR:1.1
--- /dev/null   Sun Jul 21 20:35:03 2024
+++ pkgsrc/devel/plasma6-kwayland/DESCR Sun Jul 21 20:35:03 2024
@@ -0,0 +1 @@
+KWayland is a Qt-style API to interact with the wayland-client API.
Index: pkgsrc/devel/plasma6-kwayland/Makefile
diff -u /dev/null pkgsrc/devel/plasma6-kwayland/Makefile:1.1
--- /dev/null   Sun Jul 21 20:35:03 2024
+++ pkgsrc/devel/plasma6-kwayland/Makefile      Sun Jul 21 20:35:03 2024
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2024/07/21 20:35:03 markd Exp $
+
+DISTNAME=      kwayland-${PLASMAVER}
+CATEGORIES=    devel
+
+HOMEPAGE=      https://invent.kde.org/plasma/kwayland
+COMMENT=       Qt-style Client and Server library wrapper for the Wayland libraries
+LICENSE=       gnu-lgpl-v2.1
+
+.include "../../meta-pkgs/kde/plasma6.mk"
+
+TOOL_DEPENDS+= plasma-wayland-protocols>=1.7:../../devel/plasma-wayland-protocols
+
+USE_TOOLS+=    pkg-config
+# Don't do autotests.  Some builds are linux specific.
+CMAKE_ARGS+=   -DBUILD_TESTING=no
+CMAKE_ARGS+=   -DKF_IGNORE_PLATFORM_CHECK=true
+
+.include "../../devel/wayland/platform.mk"
+.if empty(PLATFORM_SUPPORTS_WAYLAND:M[Yy][Ee][Ss])
+PKG_SKIP_REASON+=       "Platform does not support Wayland"
+.endif
+
+.include "../../devel/wayland-protocols/buildlink3.mk"
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../devel/qt6-qtwayland/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/plasma6-kwayland/PLIST
diff -u /dev/null pkgsrc/devel/plasma6-kwayland/PLIST:1.1
--- /dev/null   Sun Jul 21 20:35:03 2024
+++ pkgsrc/devel/plasma6-kwayland/PLIST Sun Jul 21 20:35:03 2024
@@ -0,0 +1,53 @@
+@comment $NetBSD: PLIST,v 1.1 2024/07/21 20:35:03 markd Exp $
+include/KWayland/KWayland/Client/appmenu.h
+include/KWayland/KWayland/Client/blur.h
+include/KWayland/KWayland/Client/buffer.h
+include/KWayland/KWayland/Client/compositor.h
+include/KWayland/KWayland/Client/connection_thread.h
+include/KWayland/KWayland/Client/contrast.h
+include/KWayland/KWayland/Client/datadevice.h
+include/KWayland/KWayland/Client/datadevicemanager.h
+include/KWayland/KWayland/Client/dataoffer.h
+include/KWayland/KWayland/Client/datasource.h
+include/KWayland/KWayland/Client/dpms.h
+include/KWayland/KWayland/Client/event_queue.h
+include/KWayland/KWayland/Client/fakeinput.h
+include/KWayland/KWayland/Client/idleinhibit.h
+include/KWayland/KWayland/Client/keyboard.h
+include/KWayland/KWayland/Client/kwaylandclient_export.h
+include/KWayland/KWayland/Client/output.h
+include/KWayland/KWayland/Client/plasmashell.h
+include/KWayland/KWayland/Client/plasmavirtualdesktop.h
+include/KWayland/KWayland/Client/plasmawindowmanagement.h
+include/KWayland/KWayland/Client/plasmawindowmodel.h
+include/KWayland/KWayland/Client/pointer.h
+include/KWayland/KWayland/Client/pointerconstraints.h
+include/KWayland/KWayland/Client/pointergestures.h
+include/KWayland/KWayland/Client/region.h
+include/KWayland/KWayland/Client/registry.h
+include/KWayland/KWayland/Client/relativepointer.h
+include/KWayland/KWayland/Client/seat.h
+include/KWayland/KWayland/Client/shadow.h
+include/KWayland/KWayland/Client/shell.h
+include/KWayland/KWayland/Client/shm_pool.h
+include/KWayland/KWayland/Client/slide.h
+include/KWayland/KWayland/Client/subcompositor.h
+include/KWayland/KWayland/Client/subsurface.h
+include/KWayland/KWayland/Client/surface.h
+include/KWayland/KWayland/Client/textinput.h
+include/KWayland/KWayland/Client/touch.h
+include/KWayland/KWayland/Client/xdgdecoration.h
+include/KWayland/KWayland/Client/xdgforeign.h
+include/KWayland/KWayland/Client/xdgoutput.h
+include/KWayland/KWayland/Client/xdgshell.h
+include/KWayland/kwayland_version.h
+lib/cmake/KWayland/KWaylandConfig.cmake
+lib/cmake/KWayland/KWaylandConfigVersion.cmake
+lib/cmake/KWayland/KWaylandTargets-noconfig.cmake
+lib/cmake/KWayland/KWaylandTargets.cmake
+lib/libKWaylandClient.so
+lib/libKWaylandClient.so.6
+lib/libKWaylandClient.so.${PKGVERSION}
+lib/pkgconfig/KWaylandClient.pc
+share/qlogging-categories6/kwayland.categories
+share/qlogging-categories6/kwayland.renamecategories
Index: pkgsrc/devel/plasma6-kwayland/buildlink3.mk
diff -u /dev/null pkgsrc/devel/plasma6-kwayland/buildlink3.mk:1.1
--- /dev/null   Sun Jul 21 20:35:03 2024
+++ pkgsrc/devel/plasma6-kwayland/buildlink3.mk Sun Jul 21 20:35:03 2024
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2024/07/21 20:35:03 markd Exp $
+
+BUILDLINK_TREE+=       plasma6-kwayland
+
+.if !defined(PLASMA6_KWAYLAND_BUILDLINK3_MK)
+PLASMA6_KWAYLAND_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.plasma6-kwayland+=       plasma6-kwayland>=6.0.5
+BUILDLINK_PKGSRCDIR.plasma6-kwayland?=         ../../devel/plasma6-kwayland
+
+.include "../../devel/wayland-protocols/buildlink3.mk"
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../devel/qt6-qtwayland/buildlink3.mk"
+.endif # PLASMA6_KWAYLAND_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -plasma6-kwayland
Index: pkgsrc/devel/plasma6-kwayland/distinfo
diff -u /dev/null pkgsrc/devel/plasma6-kwayland/distinfo:1.1
--- /dev/null   Sun Jul 21 20:35:03 2024
+++ pkgsrc/devel/plasma6-kwayland/distinfo      Sun Jul 21 20:35:03 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/07/21 20:35:03 markd Exp $
+
+BLAKE2s (kwayland-6.0.5.tar.xz) = 7ae1745c86e08f3b0e8549b4acbefef751f3a66b6c541539f1f739855e9ac5c3
+SHA512 (kwayland-6.0.5.tar.xz) = 85007a154b223bf87d5b66f00671d8a011125145797e19d60631e0f3d7c95d301bd0004180b9cfaa2fa6790c4057f68b614462870703076e1dcccc09bbc3a84b
+Size (kwayland-6.0.5.tar.xz) = 133720 bytes
+SHA1 (patch-src_client_fakeinput.cpp) = e22343c8fa46bb875fe70c93823ab2cc4448e528

Index: pkgsrc/devel/plasma6-kwayland/patches/patch-src_client_fakeinput.cpp
diff -u /dev/null pkgsrc/devel/plasma6-kwayland/patches/patch-src_client_fakeinput.cpp:1.1
--- /dev/null   Sun Jul 21 20:35:03 2024
+++ pkgsrc/devel/plasma6-kwayland/patches/patch-src_client_fakeinput.cpp        Sun Jul 21 20:35:03 2024
@@ -0,0 +1,36 @@
+$NetBSD: patch-src_client_fakeinput.cpp,v 1.1 2024/07/21 20:35:03 markd Exp $
+
+linux/input.h only for linux
+
+--- src/client/fakeinput.cpp.orig      2024-06-07 08:38:43.065754933 +0000
++++ src/client/fakeinput.cpp
+@@ -10,7 +10,9 @@
+ #include <QPointF>
+ #include <QSizeF>
+ 
++#ifdef Q_OS_LINUX
+ #include <linux/input.h>
++#endif
+ 
+ #include <wayland-fake-input-client-protocol.h>
+ 
+@@ -98,13 +100,19 @@ void FakeInput::Private::sendPointerButt
+     uint32_t b = 0;
+     switch (button) {
+     case Qt::LeftButton:
++#ifdef BTN_LEFT
+         b = BTN_LEFT;
++#endif
+         break;
+     case Qt::RightButton:
++#ifdef BTN_RIGHT
+         b = BTN_RIGHT;
++#endif
+         break;
+     case Qt::MiddleButton:
++#ifdef BTN_MIDDLE
+         b = BTN_MIDDLE;
++#endif
+         break;
+     default:
+         // TODO: more buttons, check implementation in QtWayland



Home | Main Index | Thread Index | Old Index