pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add lxqt-globalkeys: part of LXQt-2.0.x
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Wed May 29 07:46:51 2024 +0200
Changeset: 9958330d4c750d1e3271f073c98b448a2e381bb1
Modified Files:
Makefile
Added Files:
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:
Add lxqt-globalkeys: part of LXQt-2.0.x
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9958330d4c750d1e3271f073c98b448a2e381bb1
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 | 31 +++++++++
lxqt-globalkeys/PLIST | 77 ++++++++++++++++++++++
lxqt-globalkeys/buildlink3.mk | 15 +++++
lxqt-globalkeys/distinfo | 7 ++
.../patches/patch-autostart_CMakeLists.txt | 14 ++++
lxqt-globalkeys/patches/patch-daemon_core.cpp | 23 +++++++
8 files changed, 169 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 78165770b1..c46d7000ea 100644
--- a/Makefile
+++ b/Makefile
@@ -2171,6 +2171,7 @@ SUBDIR+= lxqt2-build-tools
SUBDIR+= lxqt-about
SUBDIR+= lxqt-admin
SUBDIR+= lxqt-archiver
+SUBDIR+= lxqt-globalkeys
SUBDIR+= lxqt-menu-data
SUBDIR+= lxqt-openssh-askpass
SUBDIR+= lxqt-policykit
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..0db59b7484
--- /dev/null
+++ b/lxqt-globalkeys/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.32 2024/04/06 08:07:03 wiz Exp $
+
+DISTNAME= lxqt-globalkeys-2.0.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++
+
+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.0.0:../../wip/lxqt2-build-tools
+TOOL_DEPENDS+= qt6-qttools-[0-9]*:../../devel/qt6-qttools
+
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../wip/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..25030f3f67
--- /dev/null
+++ b/lxqt-globalkeys/PLIST
@@ -0,0 +1,77 @@
+@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.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..d3056c0386
--- /dev/null
+++ b/lxqt-globalkeys/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+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_PKGSRCDIR.lxqt-globalkeys?= ../../wip/lxqt-globalkeys
+
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../wip/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..4de173df89
--- /dev/null
+++ b/lxqt-globalkeys/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.14 2023/11/14 04:14:44 gutteridge Exp $
+
+BLAKE2s (lxqt-globalkeys-2.0.0.tar.xz) = ed05441e94c517959c4ed712b20d712e443251023bf9dd86e370742712234cc4
+SHA512 (lxqt-globalkeys-2.0.0.tar.xz) = 8fa7f6e7db65f3a3b93ff65a8d27a1dfe262526d7ab18f8a2d0dd4b14c9f22c8d80de8e54fb83b2be228d7200d769e144b01ee8ea5ad7b3fc54b204f68224c3e
+Size (lxqt-globalkeys-2.0.0.tar.xz) = 74832 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