pkgsrc-WIP-changes archive

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

lxqt-globalkeys: LXQt update



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Mon Apr 17 14:35:40 2023 +0200
Changeset:	0f91c9093fbcab9ed57a89bb0913d0c97759bd53

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

Log Message:
lxqt-globalkeys: LXQt update

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

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

diffstat:
 Makefile                                           |  1 +
 lxqt-globalkeys/DESCR                              |  1 +
 lxqt-globalkeys/Makefile                           | 36 ++++++++++
 lxqt-globalkeys/PLIST                              | 76 ++++++++++++++++++++++
 lxqt-globalkeys/buildlink3.mk                      | 15 +++++
 lxqt-globalkeys/commit_msg                         |  5 ++
 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 a31a9afe1a..12a1239386 100644
--- a/Makefile
+++ b/Makefile
@@ -2288,6 +2288,7 @@ SUBDIR+=	lxqt-about
 SUBDIR+=	lxqt-admin
 SUBDIR+=	lxqt-archiver
 SUBDIR+=	lxqt-build-tools
+SUBDIR+=	lxqt-globalkeys
 SUBDIR+=	lxqt-notificationd
 SUDBIR+=	lxqt-policykit
 SUBDIR+=	lxqt-qtplugin
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..2e8f075afd
--- /dev/null
+++ b/lxqt-globalkeys/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.24 2023/04/03 20:21:28 nros Exp $
+
+DISTNAME=	lxqt-globalkeys-1.3.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_CMAKE=	yes
+USE_TOOLS+=	pkg-config perl
+USE_LANGUAGES=	c c++
+
+CONFIGURE_DIRS=	build
+CMAKE_ARG_PATH=	..
+
+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
+
+pre-configure:
+	${MKDIR} -p ${WRKSRC}/build
+
+TOOL_DEPENDS+=	lxqt-build-tools>=0.13.0:../../devel/lxqt-build-tools
+TOOL_DEPENDS+=	qt5-qttools-[0-9]*:../../x11/qt5-qttools
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/liblxqt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lxqt-globalkeys/PLIST b/lxqt-globalkeys/PLIST
new file mode 100644
index 0000000000..f4599ad5fe
--- /dev/null
+++ b/lxqt-globalkeys/PLIST
@@ -0,0 +1,76 @@
+@comment $NetBSD$
+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.1
+lib/liblxqt-globalkeys-ui.so.${PKGVERSION}
+lib/liblxqt-globalkeys.so
+lib/liblxqt-globalkeys.so.1
+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_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..8066c01a58
--- /dev/null
+++ b/lxqt-globalkeys/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.18 2023/01/29 21:15:12 ryoon Exp $
+
+BUILDLINK_TREE+=	lxqt-globalkeys
+
+.if !defined(LXQT_GLOBALKEYS_BUILDLINK3_MK)
+LXQT_GLOBALKEYS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.lxqt-globalkeys+=	lxqt-globalkeys>=1.3.0
+BUILDLINK_PKGSRCDIR.lxqt-globalkeys?=	../../x11/lxqt-globalkeys
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/liblxqt/buildlink3.mk"
+.endif	# LXQT_GLOBALKEYS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-lxqt-globalkeys
diff --git a/lxqt-globalkeys/commit_msg b/lxqt-globalkeys/commit_msg
new file mode 100644
index 0000000000..44b8398067
--- /dev/null
+++ b/lxqt-globalkeys/commit_msg
@@ -0,0 +1,5 @@
+x11/lxqt-globalkeys: update to 1.3.0
+
+lxqt-globalkeys-1.3.0 / 2023-04-15
+===================================
+ * Updated translations and bumped the version.
diff --git a/lxqt-globalkeys/distinfo b/lxqt-globalkeys/distinfo
new file mode 100644
index 0000000000..7fcf7c58c9
--- /dev/null
+++ b/lxqt-globalkeys/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.12 2023/01/07 01:26:14 gutteridge Exp $
+
+BLAKE2s (lxqt-globalkeys-1.3.0.tar.xz) = c4a33d8a229d082ab113dc47af315dc6e3be7a528b5a9bd40ebece6c60c72058
+SHA512 (lxqt-globalkeys-1.3.0.tar.xz) = 9acdbff95734bc098b312aa906c38766a035041f8f3e58406470716013762a19d7a8f6cc07377dc8921be9aa09647fff2fef69e7c8ed15109dff71cbaf573eb7
+Size (lxqt-globalkeys-1.3.0.tar.xz) = 73844 bytes
+SHA1 (patch-autostart_CMakeLists.txt) = e5c4b76a3b116ee9b4781783a6ada3838f8e570c
+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..6bd2a700db
--- /dev/null
+++ b/lxqt-globalkeys/patches/patch-autostart_CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD: patch-autostart_CMakeLists.txt,v 1.1 2020/12/07 12:25:25 pin Exp $
+
+Install config file to proper location
+
+--- autostart/CMakeLists.txt.orig	2020-11-02 11:16:25.000000000 +0000
++++ autostart/CMakeLists.txt
+@@ -10,6 +10,6 @@ add_custom_target(lxqt_globlalkeys_autos
+ 
+ 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