pkgsrc-WIP-changes archive

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

LXQt: lxqt-powermanagement



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Thu Nov 14 22:13:12 2024 +0100
Changeset:	5f1dc7430c2785af793c0e83fad9a926047fa2e1

Modified Files:
	Makefile
Added Files:
	lxqt-powermanagement/COMMIT_MSG
	lxqt-powermanagement/DESCR
	lxqt-powermanagement/Makefile
	lxqt-powermanagement/PLIST
	lxqt-powermanagement/distinfo
	lxqt-powermanagement/patches/patch-autostart_CMakeLists.txt

Log Message:
LXQt: lxqt-powermanagement

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

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

diffstat:
 Makefile                                           |  1 +
 lxqt-powermanagement/COMMIT_MSG                    |  6 ++
 lxqt-powermanagement/DESCR                         |  1 +
 lxqt-powermanagement/Makefile                      | 38 ++++++++++
 lxqt-powermanagement/PLIST                         | 82 ++++++++++++++++++++++
 lxqt-powermanagement/distinfo                      |  6 ++
 .../patches/patch-autostart_CMakeLists.txt         | 14 ++++
 7 files changed, 148 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 4fffd9505c..7904f340f2 100644
--- a/Makefile
+++ b/Makefile
@@ -2231,6 +2231,7 @@ SUBDIR+=	lxqt-menu-data
 SUBDIR+=	lxqt-notificationd
 SUBDIR+=	lxqt-openssh-askpass
 SUBDIR+=	lxqt-policykit
+SUBDIR+=	lxqt-powermanagement
 SUBDIR+=	lxqt-qtplugin
 SUBDIR+=	lxqt-runner
 SUBDIR+=	lxqt-sudo
diff --git a/lxqt-powermanagement/COMMIT_MSG b/lxqt-powermanagement/COMMIT_MSG
new file mode 100644
index 0000000000..5bf35c1c0f
--- /dev/null
+++ b/lxqt-powermanagement/COMMIT_MSG
@@ -0,0 +1,6 @@
+sysutils/lxqt-powermanagement: update to 2.1.0
+
+lxqt-powermanagement-2.1.0 / 2024-11-05
+========================================
+ * Fixed memory leak.
+ * Inform users of XF86 keys under Wayland.
diff --git a/lxqt-powermanagement/DESCR b/lxqt-powermanagement/DESCR
new file mode 100644
index 0000000000..d981af238c
--- /dev/null
+++ b/lxqt-powermanagement/DESCR
@@ -0,0 +1 @@
+LXQt daemon used for power management and auto-suspend.
diff --git a/lxqt-powermanagement/Makefile b/lxqt-powermanagement/Makefile
new file mode 100644
index 0000000000..3228fa6e55
--- /dev/null
+++ b/lxqt-powermanagement/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.35 2024/11/01 12:54:28 wiz Exp $
+
+DISTNAME=	lxqt-powermanagement-2.1.0
+CATEGORIES=	sysutils
+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-powermanagement/
+COMMENT=	Daemon used for power management and auto-suspend
+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-powermanagement.desktop \
+		${PKG_SYSCONFDIR}/autostart/lxqt-powermanagement.desktop
+
+TOOL_DEPENDS+=	lxqt-build-tools>=2.1.0:../../devel/lxqt-build-tools
+TOOL_DEPENDS+=	qt6-qttools-[0-9]*:../../devel/qt6-qttools
+
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+# The dbus option of qt6-qtbase must be enabled for this package to
+# build, it's a hard dependency.
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../graphics/qt6-qtsvg/buildlink3.mk"
+.include "../../x11/liblxqt/buildlink3.mk"
+.include "../../devel/kf6-kidletime/buildlink3.mk"
+.include "../../sysutils/upower/buildlink3.mk"
+.include "../../sysutils/kf6-solid/buildlink3.mk"
+.include "../../x11/lxqt-globalkeys/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lxqt-powermanagement/PLIST b/lxqt-powermanagement/PLIST
new file mode 100644
index 0000000000..0bdd09f543
--- /dev/null
+++ b/lxqt-powermanagement/PLIST
@@ -0,0 +1,82 @@
+@comment $NetBSD: PLIST,v 1.8 2024/08/02 17:36:53 pin Exp $
+bin/lxqt-config-powermanagement
+bin/lxqt-powermanagement
+share/applications/lxqt-config-powermanagement.desktop
+share/examples/autostart/lxqt-powermanagement.desktop
+share/icons/hicolor/scalable/devices/laptop-lid.svg
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_ar.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_arn.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_ast.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_bg.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_ca.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_cs.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_cy.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_da.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_de.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_el.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_es.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_et.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_fi.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_fr.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_gl.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_he.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_hr.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_hu.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_id.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_it.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_ja.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_ko.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_lg.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_lt.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_nb_NO.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_nl.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_oc.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_pa.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_pl.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_pt.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_pt_BR.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_ru.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_si.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_sk_SK.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_tr.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_uk.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_zh_CN.qm
+share/lxqt/translations/lxqt-config-powermanagement/lxqt-config-powermanagement_zh_TW.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_ar.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_arn.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_ast.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_bg.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_ca.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_cs.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_cy.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_da.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_de.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_el.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_es.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_et.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_fi.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_fr.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_gl.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_he.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_hr.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_hu.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_id.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_it.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_ja.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_ko.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_lg.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_lt.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_nb_NO.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_nl.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_oc.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_pa.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_pl.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_pt.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_pt_BR.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_ru.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_si.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_sk_SK.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_tr.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_uk.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_vi.qm
+share/lxqt/translations/lxqt-powermanagement/lxqt-powermanagement_zh_CN.qm
diff --git a/lxqt-powermanagement/distinfo b/lxqt-powermanagement/distinfo
new file mode 100644
index 0000000000..98a87adc01
--- /dev/null
+++ b/lxqt-powermanagement/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.13 2024/08/02 17:36:53 pin Exp $
+
+BLAKE2s (lxqt-powermanagement-2.1.0.tar.xz) = 8f93fee5112de35877e3acd667b8b67739e1486f48aab16d4c74ffcf46915c96
+SHA512 (lxqt-powermanagement-2.1.0.tar.xz) = c82c9ba1d5e45f7390bbb1f9716663d58b716f79e7a8ff962a8e1f4446fed239a9019543da2d5563bb72c93bf3092fac06179d425208016a8b9d00f7477e9f8f
+Size (lxqt-powermanagement-2.1.0.tar.xz) = 98352 bytes
+SHA1 (patch-autostart_CMakeLists.txt) = c69057c7e6ca12ce0f5555110b20220a344d01ef
diff --git a/lxqt-powermanagement/patches/patch-autostart_CMakeLists.txt b/lxqt-powermanagement/patches/patch-autostart_CMakeLists.txt
new file mode 100644
index 0000000000..de36d61860
--- /dev/null
+++ b/lxqt-powermanagement/patches/patch-autostart_CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD: patch-autostart_CMakeLists.txt,v 1.1 2020/12/07 12:34:35 pin Exp $
+
+Install config file to proper location
+
+--- autostart/CMakeLists.txt.orig	2020-11-02 11:10:05.000000000 +0000
++++ autostart/CMakeLists.txt
+@@ -10,6 +10,6 @@ add_custom_target(lxqt_powermanagement_a
+ 
+ install(FILES
+     ${DESKTOP_FILES}
+-    DESTINATION "${LXQT_ETC_XDG_DIR}/autostart"
++    DESTINATION "share/examples/autostart"
+     COMPONENT Runtime
+ )


Home | Main Index | Thread Index | Old Index