pkgsrc-WIP-changes archive

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

LXQt/lxqt-session: finish update



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Fri Nov 15 11:10:20 2024 +0100
Changeset:	b55485d7d00aaa3908340715198250014d621430

Modified Files:
	Makefile
Added Files:
	lxqt-session/COMMIT_MSG
	lxqt-session/DESCR
	lxqt-session/Makefile
	lxqt-session/PLIST
	lxqt-session/distinfo
	lxqt-session/options.mk
	lxqt-session/patches/patch-CMakeLists.txt
	lxqt-session/patches/patch-autostart_CMakeLists.txt

Log Message:
LXQt/lxqt-session: finish update

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

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

diffstat:
 Makefile                                           |   1 +
 lxqt-session/COMMIT_MSG                            |  17 +++
 lxqt-session/DESCR                                 |   1 +
 lxqt-session/Makefile                              |  44 ++++++
 lxqt-session/PLIST                                 | 163 +++++++++++++++++++++
 lxqt-session/distinfo                              |   7 +
 lxqt-session/options.mk                            |  12 ++
 lxqt-session/patches/patch-CMakeLists.txt          |  19 +++
 .../patches/patch-autostart_CMakeLists.txt         |  14 ++
 9 files changed, 278 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 1ee7673b87..cc5222deca 100644
--- a/Makefile
+++ b/Makefile
@@ -2236,6 +2236,7 @@ SUBDIR+=	lxqt-policykit
 SUBDIR+=	lxqt-powermanagement
 SUBDIR+=	lxqt-qtplugin
 SUBDIR+=	lxqt-runner
+SUBDIR+=	lxqt-session
 SUBDIR+=	lxqt-sudo
 SUBDIR+=	lxqt-themes
 SUBDIR+=	lzs-lkm
diff --git a/lxqt-session/COMMIT_MSG b/lxqt-session/COMMIT_MSG
new file mode 100644
index 0000000000..5dbda32383
--- /dev/null
+++ b/lxqt-session/COMMIT_MSG
@@ -0,0 +1,17 @@
+x11/lxqt-session: update to 2.1.0
+
+lxqt-session-2.1.0 / 2024-11-05
+================================
+ * Reenable lock settings under wayland.
+ * Fixed the errors in KF6 check.
+ * Under wayland, show the leave dialog on the screen with the cursor.
+ * Don't start apps with "X-LXQt-X11-Only" under wayland.
+ * Check if `wordexp` succeeds before using output (to prevent a segfault).
+ * Improved the desktop entry.
+ * Added a section for wayland settings.
+ * Added a checkbox for "X-LXQt-X11-Only" to autostart editor.
+ * Set `palette_override` to `true` by default.
+ * Added tooltip for screen scaling under Wayland.
+ * Added a config file for Wayland compositors.
+ * Set the layer shell scope to "dialog" for the leave dialog.
+ * Added GUI for custom screenlocker on x11.
diff --git a/lxqt-session/DESCR b/lxqt-session/DESCR
new file mode 100644
index 0000000000..fc1ad5ce0e
--- /dev/null
+++ b/lxqt-session/DESCR
@@ -0,0 +1 @@
+LXQt session manager.
diff --git a/lxqt-session/Makefile b/lxqt-session/Makefile
new file mode 100644
index 0000000000..d3c06b1cea
--- /dev/null
+++ b/lxqt-session/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.39 2024/11/01 12:55:08 wiz Exp $
+
+DISTNAME=	lxqt-session-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-session/
+COMMENT=	Session manager
+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-xscreensaver-autostart.desktop \
+			${PKG_SYSCONFDIR}/autostart/lxqt-xscreensaver-autostart.desktop
+
+SUBST_CLASSES+=		prefix
+SUBST_MESSAGE.prefix=	Fixing paths.
+SUBST_STAGE.prefix=	pre-configure
+SUBST_FILES.prefix=	lxqt-config-session/autostartedit.cpp
+SUBST_FILES.prefix+=	lxqt-config-session/sessionconfigwindow.cpp
+SUBST_FILES.prefix+=	lxqt-session/src/wmselectdialog.cpp
+SUBST_SED.prefix=	-e 's,/usr/bin,${PREFIX}/bin,g'
+
+TOOL_DEPENDS+=	lxqt-build-tools>=2.1.0:../../devel/lxqt-build-tools
+TOOL_DEPENDS+=	qt6-qttools-[0-9]*:../../devel/qt6-qttools
+DEPENDS+=	qtxdg-tools>=4.0.0:../../x11/qtxdg-tools
+DEPENDS+=	xdg-user-dirs-[0-9]*:../../x11/xdg-user-dirs
+
+.include "options.mk"
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../x11/kf6-kwindowsystem/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/liblxqt/buildlink3.mk"
+.include "../../x11/plasma6-layer-shell-qt/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lxqt-session/PLIST b/lxqt-session/PLIST
new file mode 100644
index 0000000000..c84466c5a7
--- /dev/null
+++ b/lxqt-session/PLIST
@@ -0,0 +1,163 @@
+@comment $NetBSD$
+bin/lxqt-config-session
+bin/lxqt-leave
+bin/lxqt-session
+bin/startlxqt
+man/man1/lxqt-config-session.1
+man/man1/lxqt-leave.1
+man/man1/lxqt-session.1
+man/man1/startlxqt.1
+share/applications/lxqt-config-session.desktop
+share/applications/lxqt-hibernate.desktop
+share/applications/lxqt-leave.desktop
+share/applications/lxqt-lockscreen.desktop
+share/applications/lxqt-logout.desktop
+share/applications/lxqt-reboot.desktop
+share/applications/lxqt-shutdown.desktop
+share/applications/lxqt-suspend.desktop
+share/examples/autostart/lxqt-xscreensaver-autostart.desktop
+share/lxqt/lxqt.conf
+share/lxqt/session.conf
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_ar.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_arn.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_ast.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_bg.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_ca.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_cs.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_cy.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_da.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_de.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_el.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_eo.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_es.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_es_UY.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_es_VE.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_et.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_eu.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_fi.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_fr.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_gl.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_he.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_hr.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_hu.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_ia.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_id.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_it.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_ja.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_ko.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_lg.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_lt.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_nb_NO.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_nl.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_oc.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_pa.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_pl.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_pt.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_pt_BR.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_ro_RO.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_ru.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_si.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_sk_SK.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_sl.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_sr%latin.qm@localhost
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_sr_RS.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_th_TH.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_tr.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_uk.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_zh_CN.qm
+share/lxqt/translations/lxqt-config-session/lxqt-config-session_zh_TW.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_ar.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_arn.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_ast.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_bg.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_ca.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_cs.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_cy.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_da.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_de.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_el.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_es.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_et.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_fi.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_fr.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_gl.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_he.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_hr.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_hu.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_id.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_it.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_ja.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_kk.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_ko.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_lg.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_lt.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_nb_NO.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_nl.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_oc.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_pa.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_pl.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_pt.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_pt_BR.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_ru.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_si.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_sk.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_sl.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_tr.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_uk.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_vi.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_zh_CN.qm
+share/lxqt/translations/lxqt-leave/lxqt-leave_zh_TW.qm
+share/lxqt/translations/lxqt-session/lxqt-session_ar.qm
+share/lxqt/translations/lxqt-session/lxqt-session_arn.qm
+share/lxqt/translations/lxqt-session/lxqt-session_ast.qm
+share/lxqt/translations/lxqt-session/lxqt-session_bg.qm
+share/lxqt/translations/lxqt-session/lxqt-session_ca.qm
+share/lxqt/translations/lxqt-session/lxqt-session_cs.qm
+share/lxqt/translations/lxqt-session/lxqt-session_cy.qm
+share/lxqt/translations/lxqt-session/lxqt-session_da.qm
+share/lxqt/translations/lxqt-session/lxqt-session_de.qm
+share/lxqt/translations/lxqt-session/lxqt-session_el.qm
+share/lxqt/translations/lxqt-session/lxqt-session_eo.qm
+share/lxqt/translations/lxqt-session/lxqt-session_es.qm
+share/lxqt/translations/lxqt-session/lxqt-session_es_UY.qm
+share/lxqt/translations/lxqt-session/lxqt-session_es_VE.qm
+share/lxqt/translations/lxqt-session/lxqt-session_et.qm
+share/lxqt/translations/lxqt-session/lxqt-session_eu.qm
+share/lxqt/translations/lxqt-session/lxqt-session_fi.qm
+share/lxqt/translations/lxqt-session/lxqt-session_fr.qm
+share/lxqt/translations/lxqt-session/lxqt-session_gl.qm
+share/lxqt/translations/lxqt-session/lxqt-session_he.qm
+share/lxqt/translations/lxqt-session/lxqt-session_hr.qm
+share/lxqt/translations/lxqt-session/lxqt-session_hu.qm
+share/lxqt/translations/lxqt-session/lxqt-session_ia.qm
+share/lxqt/translations/lxqt-session/lxqt-session_id.qm
+share/lxqt/translations/lxqt-session/lxqt-session_it.qm
+share/lxqt/translations/lxqt-session/lxqt-session_ja.qm
+share/lxqt/translations/lxqt-session/lxqt-session_kk.qm
+share/lxqt/translations/lxqt-session/lxqt-session_ko.qm
+share/lxqt/translations/lxqt-session/lxqt-session_lg.qm
+share/lxqt/translations/lxqt-session/lxqt-session_lt.qm
+share/lxqt/translations/lxqt-session/lxqt-session_nb_NO.qm
+share/lxqt/translations/lxqt-session/lxqt-session_nl.qm
+share/lxqt/translations/lxqt-session/lxqt-session_oc.qm
+share/lxqt/translations/lxqt-session/lxqt-session_or.qm
+share/lxqt/translations/lxqt-session/lxqt-session_pa.qm
+share/lxqt/translations/lxqt-session/lxqt-session_pl.qm
+share/lxqt/translations/lxqt-session/lxqt-session_pt.qm
+share/lxqt/translations/lxqt-session/lxqt-session_pt_BR.qm
+share/lxqt/translations/lxqt-session/lxqt-session_ro_RO.qm
+share/lxqt/translations/lxqt-session/lxqt-session_ru.qm
+share/lxqt/translations/lxqt-session/lxqt-session_si.qm
+share/lxqt/translations/lxqt-session/lxqt-session_sk_SK.qm
+share/lxqt/translations/lxqt-session/lxqt-session_sl.qm
+share/lxqt/translations/lxqt-session/lxqt-session_sr%latin.qm@localhost
+share/lxqt/translations/lxqt-session/lxqt-session_sr_BA.qm
+share/lxqt/translations/lxqt-session/lxqt-session_sr_RS.qm
+share/lxqt/translations/lxqt-session/lxqt-session_th_TH.qm
+share/lxqt/translations/lxqt-session/lxqt-session_tr.qm
+share/lxqt/translations/lxqt-session/lxqt-session_uk.qm
+share/lxqt/translations/lxqt-session/lxqt-session_zh_CN.qm
+share/lxqt/translations/lxqt-session/lxqt-session_zh_TW.qm
+share/lxqt/waylandwindowmanagers.conf
+share/lxqt/windowmanagers.conf
+share/xsessions/lxqt.desktop
diff --git a/lxqt-session/distinfo b/lxqt-session/distinfo
new file mode 100644
index 0000000000..a19956ca54
--- /dev/null
+++ b/lxqt-session/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.17 2024/08/02 17:49:05 pin Exp $
+
+BLAKE2s (lxqt-session-2.1.0.tar.xz) = 683566126c91feb774c03959c2f0567eb7fdb977c11d3f945eeeee2c67689a27
+SHA512 (lxqt-session-2.1.0.tar.xz) = b0f70ef1f166fd5c48394f66794c655f1a26411d69c831f671c07ca5eaf9434d2902fbcda507f3b75b69d165a6e234a774c5f8f3f85d7cb924fa3152866d88b5
+Size (lxqt-session-2.1.0.tar.xz) = 212308 bytes
+SHA1 (patch-CMakeLists.txt) = c1e1e86f8339753228d707fdd2e5773a30dc80fd
+SHA1 (patch-autostart_CMakeLists.txt) = a791cc51e03e794e1bf81bf0d6f8462ba11e2e84
diff --git a/lxqt-session/options.mk b/lxqt-session/options.mk
new file mode 100644
index 0000000000..11274e3360
--- /dev/null
+++ b/lxqt-session/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.2 2024/08/25 06:19:20 wiz Exp $
+
+PKG_OPTIONS_VAR=		PKG_OPTIONS.lxqt-session
+PKG_SUPPORTED_OPTIONS=		udev
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mudev)
+.  include "../../sysutils/libudev/buildlink3.mk"
+.else
+CMAKE_CONFIGURE_ARGS+=	-DWITH_LIBUDEV=OFF
+.endif
diff --git a/lxqt-session/patches/patch-CMakeLists.txt b/lxqt-session/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..e499ac6bab
--- /dev/null
+++ b/lxqt-session/patches/patch-CMakeLists.txt
@@ -0,0 +1,19 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2023/06/05 20:35:45 abs Exp $
+
+Ensure we use ${CMAKE_INSTALL_PREFIX}/share rather than /usr/share,
+as otherwise the "Welcome to LXQt" dialog cannot find any window
+managers to suggest
+
+--- CMakeLists.txt.orig	2023-04-15 15:50:30.000000000 +0000
++++ CMakeLists.txt
+@@ -71,8 +71,8 @@ set(PREDEF_XDG_DATA_DIRS "$XDG_DATA_HOME
+ if(NOT("${LXQT_DATA_DIR}" MATCHES "^/usr(/local)?/share$"))
+     set(PREDEF_XDG_DATA_DIRS "${PREDEF_XDG_DATA_DIRS}:${LXQT_DATA_DIR}")
+ endif()
+-set(PREDEF_XDG_DATA_DIRS "${PREDEF_XDG_DATA_DIRS}:/usr/local/share:/usr/share")
+-set(PREDEF_XDG_CONFIG_DIRS "/etc:${LXQT_ETC_XDG_DIR}:/usr/share")
++set(PREDEF_XDG_DATA_DIRS "${PREDEF_XDG_DATA_DIRS}:/usr/local/share:${CMAKE_INSTALL_PREFIX}/share")
++set(PREDEF_XDG_CONFIG_DIRS "/etc:${LXQT_ETC_XDG_DIR}:${CMAKE_INSTALL_PREFIX}/share")
+ configure_file(startlxqt.in startlxqt @ONLY)
+ install(PROGRAMS
+     "${CMAKE_CURRENT_BINARY_DIR}/startlxqt"
diff --git a/lxqt-session/patches/patch-autostart_CMakeLists.txt b/lxqt-session/patches/patch-autostart_CMakeLists.txt
new file mode 100644
index 0000000000..b8705792b3
--- /dev/null
+++ b/lxqt-session/patches/patch-autostart_CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD: patch-autostart_CMakeLists.txt,v 1.1 2020/12/07 13:03:40 pin Exp $
+
+Install config file to proper location
+
+--- autostart/CMakeLists.txt.orig	2020-10-31 08:58:17.000000000 +0000
++++ autostart/CMakeLists.txt
+@@ -10,6 +10,6 @@ add_custom_target(lxqt_sesstion_autostar
+ 
+ install(FILES
+     ${DESKTOP_FILES}
+-    DESTINATION "${LXQT_ETC_XDG_DIR}/autostart"
++    DESTINATION "share/examples/autostart"
+     COMPONENT Runtime
+ )


Home | Main Index | Thread Index | Old Index