pkgsrc-WIP-changes archive

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

LXQt: lxqt-globalkeys



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Thu Nov 14 12:33:48 2024 +0100
Changeset:	2ee0a5c83e8596bbc0c6bd09e0339bf0952c1a61

Modified Files:
	Makefile
Added Files:
	lxqt-globalkeys/COMMIT_MSG
	lxqt-globalkeys/DESCR
	lxqt-globalkeys/Makefile
	lxqt-globalkeys/PLIST
	lxqt-globalkeys/buildlink3.mk
	lxqt-globalkeys/distinfo
	lxqt-globalkeys/patches/patch-autostart_CMakeLists.txt
	lxqt-globalkeys/patches/patch-daemon_core.cpp

Log Message:
LXQt: lxqt-globalkeys

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2ee0a5c83e8596bbc0c6bd09e0339bf0952c1a61

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

diffstat:
 Makefile                                           |  1 +
 lxqt-globalkeys/COMMIT_MSG                         |  9 +++
 lxqt-globalkeys/DESCR                              |  1 +
 lxqt-globalkeys/Makefile                           | 30 +++++++++
 lxqt-globalkeys/PLIST                              | 77 ++++++++++++++++++++++
 lxqt-globalkeys/buildlink3.mk                      | 16 +++++
 lxqt-globalkeys/distinfo                           |  7 ++
 .../patches/patch-autostart_CMakeLists.txt         | 14 ++++
 lxqt-globalkeys/patches/patch-daemon_core.cpp      | 23 +++++++
 9 files changed, 178 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 8520d1d8e1..377fc30964 100644
--- a/Makefile
+++ b/Makefile
@@ -2225,6 +2225,7 @@ SUBDIR+=	lxmusic
 SUBDIR+=	lxqt-about
 SUBDIR+=	lxqt-admin
 SUBDIR+=	lxqt-build-tools
+SUBDIR+=	lxqt-globalkeys
 SUBDIR+=	lxqt-menu-data
 SUBDIR+=	lxqt-openssh-askpass
 SUBDIR+=	lxqt-policykit
diff --git a/lxqt-globalkeys/COMMIT_MSG b/lxqt-globalkeys/COMMIT_MSG
new file mode 100644
index 0000000000..ee7a405522
--- /dev/null
+++ b/lxqt-globalkeys/COMMIT_MSG
@@ -0,0 +1,9 @@
+x11/lxqt-globalkeys: update to 2.1.0
+
+lxqt-globalkeys-2.1.0 / 2024-11-05
+===================================
+ * Show "unsupported" message under wayland.
+ * Added "X-LXQt-X11-Only=true" to the desktop file.
+ * Added "X11" to the Comment of the desktop file.
+ * Added icons to dialog buttons.
+
diff --git a/lxqt-globalkeys/DESCR b/lxqt-globalkeys/DESCR
new file mode 100644
index 0000000000..b0382d1f88
--- /dev/null
+++ b/lxqt-globalkeys/DESCR
@@ -0,0 +1 @@
+LXQt daemon and library for global keyboard shortcuts registration.
diff --git a/lxqt-globalkeys/Makefile b/lxqt-globalkeys/Makefile
new file mode 100644
index 0000000000..8e7f20c73c
--- /dev/null
+++ b/lxqt-globalkeys/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.37 2024/11/01 12:55:07 wiz Exp $
+
+DISTNAME=	lxqt-globalkeys-2.1.0
+CATEGORIES=	x11
+MASTER_SITES=	${MASTER_SITE_GITHUB:=lxqt/}
+GITHUB_RELEASE=	${PKGVERSION_NOREV}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/lxqt/lxqt-globalkeys/
+COMMENT=	Daemon and library for global keyboard shortcuts registration
+LICENSE=	gnu-lgpl-v2.1
+
+USE_TOOLS+=	pkg-config perl
+USE_LANGUAGES=	c c++
+
+AUTOSTART_CONF=		share/examples/autostart
+PKG_SYSCONFSUBDIR=	xdg
+MAKE_DIRS=		${PKG_SYSCONFDIR}/autostart
+
+CONF_FILES+=	${AUTOSTART_CONF}/lxqt-globalkeyshortcuts.desktop \
+		${PKG_SYSCONFDIR}/autostart/lxqt-globalkeyshortcuts.desktop
+
+TOOL_DEPENDS+=	lxqt-build-tools>=2.1.0:../../devel/lxqt-build-tools
+TOOL_DEPENDS+=	qt6-qttools-[0-9]*:../../devel/qt6-qttools
+
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../x11/liblxqt/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lxqt-globalkeys/PLIST b/lxqt-globalkeys/PLIST
new file mode 100644
index 0000000000..23e3a83e36
--- /dev/null
+++ b/lxqt-globalkeys/PLIST
@@ -0,0 +1,77 @@
+@comment $NetBSD: PLIST,v 1.9 2024/08/02 17:31:01 pin Exp $
+bin/lxqt-config-globalkeyshortcuts
+bin/lxqt-globalkeysd
+include/lxqt-globalkeys-ui/LXQtGlobalKeysUi/ShortcutSelector
+include/lxqt-globalkeys-ui/shortcut_selector.h
+include/lxqt-globalkeys-ui/shortcutselector.h
+include/lxqt-globalkeys/LXQtGlobalKeys/Action
+include/lxqt-globalkeys/LXQtGlobalKeys/Client
+include/lxqt-globalkeys/LXQtGlobalKeys/LXQtGlobalKeys
+include/lxqt-globalkeys/action.h
+include/lxqt-globalkeys/client.h
+include/lxqt-globalkeys/lxqt-globalkeys.h
+include/lxqt-globalkeys/lxqtglobalkeys.h
+lib/liblxqt-globalkeys-ui.so
+lib/liblxqt-globalkeys-ui.so.2
+lib/liblxqt-globalkeys-ui.so.${PKGVERSION}
+lib/liblxqt-globalkeys.so
+lib/liblxqt-globalkeys.so.2
+lib/liblxqt-globalkeys.so.${PKGVERSION}
+lib/pkgconfig/lxqt-globalkeys-ui.pc
+lib/pkgconfig/lxqt-globalkeys.pc
+share/applications/lxqt-config-globalkeyshortcuts.desktop
+share/cmake/lxqt-globalkeys-ui/lxqt-globalkeys-ui-config-version.cmake
+share/cmake/lxqt-globalkeys-ui/lxqt-globalkeys-ui-config.cmake
+share/cmake/lxqt-globalkeys-ui/lxqt-globalkeys-ui-targets-release.cmake
+share/cmake/lxqt-globalkeys-ui/lxqt-globalkeys-ui-targets.cmake
+share/cmake/lxqt-globalkeys/lxqt-globalkeys-config-version.cmake
+share/cmake/lxqt-globalkeys/lxqt-globalkeys-config.cmake
+share/cmake/lxqt-globalkeys/lxqt-globalkeys-targets-release.cmake
+share/cmake/lxqt-globalkeys/lxqt-globalkeys-targets.cmake
+share/examples/autostart/lxqt-globalkeyshortcuts.desktop
+share/lxqt/globalkeyshortcuts.conf
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_ar.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_arn.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_ast.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_bg.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_ca.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_cs.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_cy.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_da.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_de.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_el.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_en_GB.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_eo.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_es.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_es_VE.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_et.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_eu.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_fi.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_fr.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_gl.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_he.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_hr.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_hu.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_id.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_it.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_ja.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_ko.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_lg.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_lt.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_lv.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_nb_NO.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_nl.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_oc.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_pl.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_pt.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_pt_BR.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_ro_RO.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_ru.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_si.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_sk_SK.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_sl.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_th_TH.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_tr.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_uk.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_zh_CN.qm
+share/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_zh_TW.qm
diff --git a/lxqt-globalkeys/buildlink3.mk b/lxqt-globalkeys/buildlink3.mk
new file mode 100644
index 0000000000..ba80436fc5
--- /dev/null
+++ b/lxqt-globalkeys/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.28 2024/11/01 12:55:07 wiz Exp $
+
+BUILDLINK_TREE+=	lxqt-globalkeys
+
+.if !defined(LXQT_GLOBALKEYS_BUILDLINK3_MK)
+LXQT_GLOBALKEYS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.lxqt-globalkeys+=	lxqt-globalkeys>=2.0.0
+BUILDLINK_ABI_DEPENDS.lxqt-globalkeys?=	lxqt-globalkeys>=2.0.0nb2
+BUILDLINK_PKGSRCDIR.lxqt-globalkeys?=	../../x11/lxqt-globalkeys
+
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../x11/liblxqt/buildlink3.mk"
+.endif	# LXQT_GLOBALKEYS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-lxqt-globalkeys
diff --git a/lxqt-globalkeys/distinfo b/lxqt-globalkeys/distinfo
new file mode 100644
index 0000000000..70460114a7
--- /dev/null
+++ b/lxqt-globalkeys/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.16 2024/08/07 15:50:50 abs Exp $
+
+BLAKE2s (lxqt-globalkeys-2.1.0.tar.xz) = 3c487fc81de7cb25a194bd795f61f5fcbe1ec58ac58b9d19a1b9409182a6bf42
+SHA512 (lxqt-globalkeys-2.1.0.tar.xz) = 71619e070f06db0640c0a81675dd743401c41037c400efc6d4e6c5ebe10c2b93c6a3f38503467771599077c3fbdc1458cb16a2952e2c85e30f6a72baaa4f372a
+Size (lxqt-globalkeys-2.1.0.tar.xz) = 77352 bytes
+SHA1 (patch-autostart_CMakeLists.txt) = 4e04483f41a25d9cb4ef6cdf9270f25ba51f6359
+SHA1 (patch-daemon_core.cpp) = 6a8ddb797c39986fe35021e14a6c3c2324b7f189
diff --git a/lxqt-globalkeys/patches/patch-autostart_CMakeLists.txt b/lxqt-globalkeys/patches/patch-autostart_CMakeLists.txt
new file mode 100644
index 0000000000..6c59a47a2a
--- /dev/null
+++ b/lxqt-globalkeys/patches/patch-autostart_CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD: patch-autostart_CMakeLists.txt,v 1.2 2024/08/02 17:33:55 pin Exp $
+
+Install config file to proper location
+
+--- autostart/CMakeLists.txt.orig	2020-11-02 09:35:42.000000000 +0000
++++ autostart/CMakeLists.txt
+@@ -10,6 +10,6 @@ add_custom_target(lxqt_notificationd_aut
+ 
+ install(FILES
+     ${DESKTOP_FILES}
+-    DESTINATION "${LXQT_ETC_XDG_DIR}/autostart"
++    DESTINATION "share/examples/autostart"
+     COMPONENT Runtime
+ )
diff --git a/lxqt-globalkeys/patches/patch-daemon_core.cpp b/lxqt-globalkeys/patches/patch-daemon_core.cpp
new file mode 100644
index 0000000000..1f55484cc0
--- /dev/null
+++ b/lxqt-globalkeys/patches/patch-daemon_core.cpp
@@ -0,0 +1,23 @@
+$NetBSD: patch-daemon_core.cpp,v 1.4 2023/01/07 01:26:14 gutteridge Exp $
+
+Fix SunOS and OpenBSD builds, and work around a bug in NetBSD with the same
+macro (PR lib/57172).
+
+--- daemon/core.cpp.orig	2022-11-05 08:17:16.000000000 +0000
++++ daemon/core.cpp
+@@ -59,6 +59,15 @@
+ 
+ #include "core.h"
+
++/* 
++ * SunOS and modern OpenBSD don't define this, and NetBSD's version has an
++ * incorrect shift applied (log facilities are already defined with "<<3", it
++ * shouldn't be done a second time).
++ */
++#if !defined(LOG_MAKEPRI) || defined(__NetBSD__)
++#define LOG_MAKEPRI(fac, pri)    ((fac) | (pri))
++#endif
++
+ 
+ enum
+ {


Home | Main Index | Thread Index | Old Index