Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
UPDATE: copyq-13.0.0
To:
ports@openbsd.org
Cc:
kikadf <kikadf.01@gmail.com>
Date:
Wed, 10 Dec 2025 08:50:08 +0100

Download raw body.

Thread
  • Rafael Sadowski:

    UPDATE: copyq-13.0.0

Simple update copyq-13.0.0. This update unbreaks the build with Qt6.10+

Cheers Rafael

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/copyq/Makefile,v
diff -u -p -u -p -r1.6 Makefile
--- Makefile	18 Jul 2025 05:37:26 -0000	1.6
+++ Makefile	10 Dec 2025 07:48:54 -0000
@@ -1,7 +1,7 @@
 COMMENT =		Qt clipboard manager
 GH_ACCOUNT =		hluk
 GH_PROJECT =		CopyQ
-GH_TAGNAME =		v10.0.0
+GH_TAGNAME =		v13.0.0
 PKGNAME =		${DISTNAME:L}
 CATEGORIES =		x11
 
@@ -10,10 +10,10 @@ MAINTAINER =		kikadf <kikadf.01@gmail.co
 # GPLv3+
 PERMIT_PACKAGE =	Yes
 
-WANTLIB += ${COMPILER_LIBCXX} GL ICE KF6Notifications KF6StatusNotifierItem
-WANTLIB += Qt6Core Qt6DBus Qt6Gui Qt6Network Qt6Qml Qt6Svg Qt6WaylandClient
-WANTLIB += Qt6Widgets Qt6Xml SM X11 Xext Xfixes Xtst c m wayland-client
-WANTLIB += wayland-cursor xkbcommon
+WANTLIB += ${COMPILER_LIBCXX} GL ICE KF6GuiAddons KF6Notifications
+WANTLIB += KF6StatusNotifierItem Qt6Core Qt6DBus Qt6Gui Qt6Network
+WANTLIB += Qt6Qml Qt6Svg Qt6Widgets Qt6Xml SM X11 Xext Xfixes
+WANTLIB += Xtst c m xkbcommon
 
 MODULES =		devel/kf6
 
@@ -22,10 +22,8 @@ RUN_DEPENDS =		devel/desktop-file-utils 
 
 LIB_DEPENDS =		devel/kf6/knotifications \
 			devel/kf6/kstatusnotifieritem \
-			wayland/wayland \
 			x11/qt6/qtdeclarative \
 			x11/qt6/qtsvg \
-			x11/qt6/qtwayland \
 			x11/xkbcommon \
 
 # avoids git usage
@@ -34,4 +32,5 @@ CONFIGURE_ENV +=	GITHUB_SHA=unknown
 CONFIGURE_ARGS =	-DWITH_QT6=ON \
 			-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
 
+LIB_DEPENDS += devel/kf6/kguiaddons
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/copyq/distinfo,v
diff -u -p -u -p -r1.5 distinfo
--- distinfo	18 Jul 2025 05:37:26 -0000	1.5
+++ distinfo	10 Dec 2025 07:48:54 -0000
@@ -1,2 +1,2 @@
-SHA256 (CopyQ-10.0.0.tar.gz) = /7rnpxxVzYnf2IptGEx6XHqMTJSOnfEcEGQMJG2cX1M=
-SIZE (CopyQ-10.0.0.tar.gz) = 3456331
+SHA256 (CopyQ-13.0.0.tar.gz) = x+DJqpW1ZT3uVH8WjVjPWq5PZq1flIVqYXQevpUnrXI=
+SIZE (CopyQ-13.0.0.tar.gz) = 3533218
Index: patches/patch-src_platform_x11_x11platform_cmake
===================================================================
RCS file: patches/patch-src_platform_x11_x11platform_cmake
diff -N patches/patch-src_platform_x11_x11platform_cmake
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_platform_x11_x11platform_cmake	10 Dec 2025 07:48:54 -0000
@@ -0,0 +1,12 @@
+Index: src/platform/x11/x11platform.cmake
+--- src/platform/x11/x11platform.cmake.orig
++++ src/platform/x11/x11platform.cmake
+@@ -39,7 +39,7 @@ if (WITH_X11)
+     set(copyq_LIBRARIES ${copyq_LIBRARIES} ${X11_LIBRARIES} ${X11_Xfixes_LIB})
+ 
+     if(WITH_QT6)
+-        if (QT_VERSION VERSION_GREATER_EQUAL "6.10.0")
++        if (Qt6_VERSION VERSION_GREATER_EQUAL "6.10.0")
+             find_package(${copyq_qt} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS GuiPrivate)
+         endif()
+         list(APPEND copyq_LIBRARIES Qt::GuiPrivate)
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/copyq/pkg/PLIST,v
diff -u -p -u -p -r1.2 PLIST
--- pkg/PLIST	18 Jul 2025 05:37:26 -0000	1.2
+++ pkg/PLIST	10 Dec 2025 07:48:54 -0000
@@ -14,6 +14,7 @@ share/applications/com.github.hluk.copyq
 share/bash-completion/completions/copyq
 share/copyq/
 share/copyq/themes/
+share/copyq/themes/black.ini
 share/copyq/themes/dark.ini
 share/copyq/themes/forest.ini
 share/copyq/themes/items.css
@@ -39,12 +40,14 @@ share/copyq/translations/copyq_es.qm
 share/copyq/translations/copyq_fa.qm
 share/copyq/translations/copyq_fi.qm
 share/copyq/translations/copyq_fr.qm
+share/copyq/translations/copyq_ga.qm
 share/copyq/translations/copyq_he.qm
 share/copyq/translations/copyq_hr.qm
 share/copyq/translations/copyq_hu.qm
 share/copyq/translations/copyq_id.qm
 share/copyq/translations/copyq_it.qm
 share/copyq/translations/copyq_ja.qm
+share/copyq/translations/copyq_kab.qm
 share/copyq/translations/copyq_ko.qm
 share/copyq/translations/copyq_lt.qm
 share/copyq/translations/copyq_nb.qm
@@ -57,6 +60,7 @@ share/copyq/translations/copyq_sk.qm
 share/copyq/translations/copyq_sv.qm
 share/copyq/translations/copyq_tr.qm
 share/copyq/translations/copyq_uk.qm
+share/copyq/translations/copyq_vi.qm
 share/copyq/translations/copyq_zh_CN.qm
 share/copyq/translations/copyq_zh_TW.qm
 share/icons/hicolor/128x128/apps/copyq.png