pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add lxqt-session: part of LXQt-2.0.0
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Fri Jun 7 10:00:31 2024 +0200
Changeset: 6c2bee80020480bfd8475343a8c15fd59d8bdb55
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:
Add lxqt-session: part of LXQt-2.0.0
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6c2bee80020480bfd8475343a8c15fd59d8bdb55
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 | 7 +
lxqt-session/DESCR | 1 +
lxqt-session/Makefile | 45 ++++++
lxqt-session/PLIST | 162 +++++++++++++++++++++
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, 268 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 1cd641d0d3..cdb6003b3e 100644
--- a/Makefile
+++ b/Makefile
@@ -2185,6 +2185,7 @@ SUBDIR+= lxqt-policykit
SUBDIR+= lxqt-powermanagement
SUBDIR+= lxqt-qtplugin
SUBDIR+= lxqt-runner
+SUBDIR+= lxqt-session
SUBDIR+= lxqt-sudo
SUBDIR+= lxqt-themes
SUBDIR+= lxqt2-build-tools
diff --git a/lxqt-session/COMMIT_MSG b/lxqt-session/COMMIT_MSG
new file mode 100644
index 0000000000..e318739706
--- /dev/null
+++ b/lxqt-session/COMMIT_MSG
@@ -0,0 +1,7 @@
+lxqt-session-2.0.0 / 2024-04-17
+================================
+ * Made the user inputs stricter in auto-start.
+ * Don't allow inputs consisting of only whitespaces, and remove start and end whitespaces from them.
+ * Fixed a typo.
+ * Ported to Qt6.
+ * Used an overlay layer shell for the leaving dialog and centered it under Wayland.
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..30927eb0a9
--- /dev/null
+++ b/lxqt-session/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.35 2024/05/29 16:35:07 adam Exp $
+
+DISTNAME= lxqt-session-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-session/
+COMMENT= Session manager
+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-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.0.0:../../wip/lxqt2-build-tools
+TOOL_DEPENDS+= qt6-qttools-[0-9]*:../../devel/qt6-qttools
+DEPENDS+= qtxdg-tools>=4.0.0:../../wip/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 "../../wip/liblxqt/buildlink3.mk"
+.include "../../wip/layer-shell-qt6/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..bd61a00227
--- /dev/null
+++ b/lxqt-session/PLIST
@@ -0,0 +1,162 @@
+@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/windowmanagers.conf
+share/xsessions/lxqt.desktop
diff --git a/lxqt-session/distinfo b/lxqt-session/distinfo
new file mode 100644
index 0000000000..669a6381dd
--- /dev/null
+++ b/lxqt-session/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.16 2023/11/14 04:21:18 gutteridge Exp $
+
+BLAKE2s (lxqt-session-2.0.0.tar.xz) = 0dcb924c8c4e27337969e93d073475f61d4301080fd972588981e48c6ff254f7
+SHA512 (lxqt-session-2.0.0.tar.xz) = c0b8bbcb666b55b0218bfe1e6669fff0de44a89986dae9afb17ae169e13a2816ef56e62d0b9210449023113a8066d45ccef4fa54b0a5c08c60c2ca4311f142ed
+Size (lxqt-session-2.0.0.tar.xz) = 194480 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..4255491860
--- /dev/null
+++ b/lxqt-session/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2023/07/22 08:46:23 nia 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_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