pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kf6-kwindowsystem: add version 6.0.0
Module Name: pkgsrc-wip
Committed By: Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By: markd
Date: Wed Mar 20 00:21:51 2024 +1300
Changeset: b79e1d01d7d4c8e5ca306d950ae82913d3ac417a
Modified Files:
Makefile
Added Files:
kf6-kwindowsystem/DESCR
kf6-kwindowsystem/Makefile
kf6-kwindowsystem/PLIST
kf6-kwindowsystem/buildlink3.mk
kf6-kwindowsystem/distinfo
kf6-kwindowsystem/patches/patch-src_platforms_wayland_shm.cpp
Log Message:
kf6-kwindowsystem: add version 6.0.0
an initial kf6 framework package
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b79e1d01d7d4c8e5ca306d950ae82913d3ac417a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
kf6-kwindowsystem/DESCR | 12 ++
kf6-kwindowsystem/Makefile | 30 ++++
kf6-kwindowsystem/PLIST | 155 +++++++++++++++++++++
kf6-kwindowsystem/buildlink3.mk | 15 ++
kf6-kwindowsystem/distinfo | 6 +
.../patches/patch-src_platforms_wayland_shm.cpp | 17 +++
7 files changed, 236 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index eeb0a3117b..a71c961557 100644
--- a/Makefile
+++ b/Makefile
@@ -1778,6 +1778,7 @@ SUBDIR+= kea
SUBDIR+= kea-git
SUBDIR+= keama-git
SUBDIR+= kermit
+SUBDIR+= kf6-kwindowsystem
SUBDIR+= kgamma5
SUBDIR+= kgrab
SUBDIR+= kgraphviewer
diff --git a/kf6-kwindowsystem/DESCR b/kf6-kwindowsystem/DESCR
new file mode 100644
index 0000000000..3c785c43ff
--- /dev/null
+++ b/kf6-kwindowsystem/DESCR
@@ -0,0 +1,12 @@
+Convenience access to certain properties and features of the windowing
+system.
+
+KWindowSystem provides information about the windowing system and
+allows interaction with the windowing system. It provides an high
+level API which is windowing system independent and has platform
+specific implementations. This API is inspired by X11 and thus not all
+functionality is available on all windowing systems.
+
+In addition to the high level API, this framework also provides
+several more low level classes for interaction with the X Windowing
+System.
diff --git a/kf6-kwindowsystem/Makefile b/kf6-kwindowsystem/Makefile
new file mode 100644
index 0000000000..ec76cee975
--- /dev/null
+++ b/kf6-kwindowsystem/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.68 2024/02/06 10:46:35 markd Exp $
+
+DISTNAME= kwindowsystem-${KF6VER}
+PKGNAME= kf6-${DISTNAME}
+CATEGORIES= x11
+
+HOMEPAGE= https://community.kde.org/Frameworks
+COMMENT= Access to the windowing system
+LICENSE= gnu-lgpl-v2.1
+
+.include "../../meta-pkgs/kde/kf6.mk"
+
+USE_TOOLS+= pkg-config
+
+#.include "../../mk/bsd.prefs.mk"
+
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../devel/qt6-qtwayland/buildlink3.mk"
+#PLIST_VARS+= mac x11
+#.if ${OPSYS} == "Darwin"
+#PLIST.mac= yes
+#. include "../../x11/qt6-qtmacextras/buildlink3.mk"
+#.else
+#PLIST.x11= yes
+#. include "../../x11/qt6-qtx11extras/buildlink3.mk"
+#.endif
+BUILDLINK_DEPMETHOD.qt6-qttools= build
+.include "../../devel/qt6-qttools/buildlink3.mk"
+.include "../../devel/wayland-protocols/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/kf6-kwindowsystem/PLIST b/kf6-kwindowsystem/PLIST
new file mode 100644
index 0000000000..0a381d8663
--- /dev/null
+++ b/kf6-kwindowsystem/PLIST
@@ -0,0 +1,155 @@
+@comment $NetBSD$
+include/KF6/KWindowSystem/KKeyServer
+include/KF6/KWindowSystem/KSelectionOwner
+include/KF6/KWindowSystem/KSelectionWatcher
+include/KF6/KWindowSystem/KStartupInfo
+include/KF6/KWindowSystem/KUserTimestamp
+include/KF6/KWindowSystem/KWaylandExtras
+include/KF6/KWindowSystem/KWindowEffects
+include/KF6/KWindowSystem/KWindowInfo
+include/KF6/KWindowSystem/KWindowShadow
+include/KF6/KWindowSystem/KWindowShadowTile
+include/KF6/KWindowSystem/KWindowSystem
+include/KF6/KWindowSystem/KX11Extras
+include/KF6/KWindowSystem/KXMessages
+include/KF6/KWindowSystem/NETWM
+include/KF6/KWindowSystem/config-kwindowsystem.h
+include/KF6/KWindowSystem/fixx11h.h
+include/KF6/KWindowSystem/kkeyserver.h
+include/KF6/KWindowSystem/kselectionowner.h
+include/KF6/KWindowSystem/kselectionwatcher.h
+include/KF6/KWindowSystem/kstartupinfo.h
+include/KF6/KWindowSystem/kusertimestamp.h
+include/KF6/KWindowSystem/kwaylandextras.h
+include/KF6/KWindowSystem/kwindoweffects.h
+include/KF6/KWindowSystem/kwindowinfo.h
+include/KF6/KWindowSystem/kwindowshadow.h
+include/KF6/KWindowSystem/kwindowsystem.h
+include/KF6/KWindowSystem/kwindowsystem_export.h
+include/KF6/KWindowSystem/kwindowsystem_version.h
+include/KF6/KWindowSystem/kx11extras.h
+include/KF6/KWindowSystem/kxmessages.h
+include/KF6/KWindowSystem/netwm.h
+include/KF6/KWindowSystem/netwm_def.h
+include/KF6/KWindowSystem/private/kwindoweffects_p.h
+include/KF6/KWindowSystem/private/kwindowshadow_p.h
+include/KF6/KWindowSystem/private/kwindowsystem_p.h
+include/KF6/KWindowSystem/private/kwindowsystemplugininterface_p.h
+lib/cmake/KF6WindowSystem/KF6WindowSystemConfig.cmake
+lib/cmake/KF6WindowSystem/KF6WindowSystemConfigVersion.cmake
+lib/cmake/KF6WindowSystem/KF6WindowSystemTargets-noconfig.cmake
+lib/cmake/KF6WindowSystem/KF6WindowSystemTargets.cmake
+lib/libKF6WindowSystem.so
+lib/libKF6WindowSystem.so.6
+lib/libKF6WindowSystem.so.${PKGVERSION}
+lib/pkgconfig/KF6WindowSystem.pc
+qt6/plugins/kf6/kwindowsystem/KF6WindowSystemKWaylandPlugin.so
+qt6/plugins/kf6/kwindowsystem/KF6WindowSystemX11Plugin.so
+qt6/qml/org/kde/kwindowsystem/KWindowSystem.qmltypes
+qt6/qml/org/kde/kwindowsystem/kde-qmlmodule.version
+qt6/qml/org/kde/kwindowsystem/libKWindowSystem.so
+qt6/qml/org/kde/kwindowsystem/qmldir
+share/locale/af/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ar/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/as/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ast/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/az/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/be/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/be@latin/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/bg/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/bn/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/bn_IN/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/br/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/bs/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ca/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ca@valencia/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/crh/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/cs/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/csb/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/cy/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/da/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/de/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/el/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/en_GB/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/eo/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/es/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/et/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/eu/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/fa/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/fi/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/fr/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/fy/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ga/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/gd/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/gl/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/gu/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ha/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/he/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/hi/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/hne/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/hr/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/hsb/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/hu/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/hy/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ia/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/id/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/is/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/it/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ja/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ka/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/kk/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/km/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/kn/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ko/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ku/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/lb/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/lt/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/lv/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/mai/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/mk/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ml/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/mr/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ms/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/nb/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/nds/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ne/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/nl/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/nn/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/oc/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/or/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/pa/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/pl/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ps/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/pt/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/pt_BR/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ro/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ru/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/sa/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/se/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/si/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/sk/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/sl/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/sq/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/sr/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/sr@ijekavian/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/sr@ijekavianlatin/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/sr@latin/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/sv/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ta/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/te/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/tg/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/th/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/tr/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/tt/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/ug/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/uk/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/uz/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/uz@cyrillic/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/vi/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/wa/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/xh/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/zh_CN/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/zh_HK/LC_MESSAGES/kwindowsystem6_qt.qm
+share/locale/zh_TW/LC_MESSAGES/kwindowsystem6_qt.qm
+share/qlogging-categories6/kwindowsystem.categories
+share/qlogging-categories6/kwindowsystem.renamecategories
diff --git a/kf6-kwindowsystem/buildlink3.mk b/kf6-kwindowsystem/buildlink3.mk
new file mode 100644
index 0000000000..2e3d5f0877
--- /dev/null
+++ b/kf6-kwindowsystem/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= kf6-kwindowsystem
+
+.if !defined(KF6_KWINDOWSYSTEM_BUILDLINK3_MK)
+KF6_KWINDOWSYSTEM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.kf6-kwindowsystem+= kf6-kwindowsystem>=6.0.0
+BUILDLINK_PKGSRCDIR.kf6-kwindowsystem?= ../../wip/kf6-kwindowsystem
+
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../devel/qt6-qtwayland/buildlink3.mk"
+.endif # KF6_KWINDOWSYSTEM_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -kf6-kwindowsystem
diff --git a/kf6-kwindowsystem/distinfo b/kf6-kwindowsystem/distinfo
new file mode 100644
index 0000000000..49d01d4851
--- /dev/null
+++ b/kf6-kwindowsystem/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.17 2024/02/06 10:46:35 markd Exp $
+
+BLAKE2s (kwindowsystem-6.0.0.tar.xz) = 2679db4d447356bf8380b250570845a95e78d2fccdbc4bad45d5222a3399021b
+SHA512 (kwindowsystem-6.0.0.tar.xz) = 80d7270bc26ca8c7914b2c5d10f014afa033c076a970f82b2d5a0063178349f8f0b430deeba5eb10ea69e8ab42783d50597c3cccc7f749ccee9df48683be1919
+Size (kwindowsystem-6.0.0.tar.xz) = 2393276 bytes
+SHA1 (patch-src_platforms_wayland_shm.cpp) = ff02e14f982bc8f89a46298c7795ee01e8d7a966
diff --git a/kf6-kwindowsystem/patches/patch-src_platforms_wayland_shm.cpp b/kf6-kwindowsystem/patches/patch-src_platforms_wayland_shm.cpp
new file mode 100644
index 0000000000..02d8709d43
--- /dev/null
+++ b/kf6-kwindowsystem/patches/patch-src_platforms_wayland_shm.cpp
@@ -0,0 +1,17 @@
+$NetBSD$
+
+fd not declared if not defined HAVE_MEMFD
+
+--- src/platforms/wayland/shm.cpp.orig 2024-02-21 11:27:59.000000000 +0000
++++ src/platforms/wayland/shm.cpp
+@@ -78,8 +78,9 @@ std::unique_ptr<ShmBuffer> Shm::createBu
+ const int stride = image.bytesPerLine();
+ const int32_t byteCount = image.size().height() * stride;
+
++ int fd;
+ #if defined HAVE_MEMFD
+- int fd = memfd_create("kwayland-shared", MFD_CLOEXEC | MFD_ALLOW_SEALING);
++ fd = memfd_create("kwayland-shared", MFD_CLOEXEC | MFD_ALLOW_SEALING);
+ if (fd >= 0) {
+ fcntl(fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_SEAL);
+ } else
Home |
Main Index |
Thread Index |
Old Index