pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/wayland/lxqt-wayland-session
Module Name: pkgsrc
Committed By: pin
Date: Sat May 2 04:25:55 UTC 2026
Added Files:
pkgsrc/wayland/lxqt-wayland-session: DESCR Makefile PLIST distinfo
pkgsrc/wayland/lxqt-wayland-session/patches: patch-CMakeLists.txt
patch-startlxqtwayland.in
Log Message:
wayland/lxqt-wayland-session: import package
Packaged in wip by kikadf@ and updated by myself.
Files needed for the LXQt Wayland Session:
Wayland session start script, its desktop entry
for display managers and default configurations
for the supported compositors.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/wayland/lxqt-wayland-session/DESCR \
pkgsrc/wayland/lxqt-wayland-session/Makefile \
pkgsrc/wayland/lxqt-wayland-session/PLIST \
pkgsrc/wayland/lxqt-wayland-session/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/wayland/lxqt-wayland-session/patches/patch-CMakeLists.txt \
pkgsrc/wayland/lxqt-wayland-session/patches/patch-startlxqtwayland.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/wayland/lxqt-wayland-session/DESCR
diff -u /dev/null pkgsrc/wayland/lxqt-wayland-session/DESCR:1.1
--- /dev/null Sat May 2 04:25:55 2026
+++ pkgsrc/wayland/lxqt-wayland-session/DESCR Sat May 2 04:25:54 2026
@@ -0,0 +1,4 @@
+Files needed for the LXQt Wayland Session:
+Wayland session start script, its desktop entry
+for display managers and default configurations
+for the supported compositors.
Index: pkgsrc/wayland/lxqt-wayland-session/Makefile
diff -u /dev/null pkgsrc/wayland/lxqt-wayland-session/Makefile:1.1
--- /dev/null Sat May 2 04:25:55 2026
+++ pkgsrc/wayland/lxqt-wayland-session/Makefile Sat May 2 04:25:54 2026
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2026/05/02 04:25:54 pin Exp $
+
+.include "../../meta-pkgs/lxqt/Makefile.common"
+
+DISTNAME= lxqt-wayland-session-0.4.0
+CATEGORIES= wayland
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/lxqt/lxqt-wayland-session/
+COMMENT= Files needed for the LXQt Wayland Session
+LICENSE= gnu-lgpl-v2.1 AND gnu-lgpl-v2 AND gnu-lgpl-v3 AND \
+ mit AND modified-bsd AND cc-by-sa-v4.0
+
+USE_TOOLS+= pkg-config perl
+
+REPLACE_SH= lxqt-qdbus.in
+
+SUBST_CLASSES+= path
+SUBST_STAGE.path= pre-configure
+SUBST_MESSAGE.path= Fix path
+SUBST_FILES.path= CMakeLists.txt
+SUBST_VARS.path+= PKG_SYSCONFDIR
+
+TOOL_DEPENDS+= lxqt-build-tools>=2.4.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
+DEPENDS+= lxqt-session-[0-9]*:../../x11/lxqt-session
+
+.include "../../x11/plasma6-layer-shell-qt/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../sysutils/seatd/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/wayland/lxqt-wayland-session/PLIST
diff -u /dev/null pkgsrc/wayland/lxqt-wayland-session/PLIST:1.1
--- /dev/null Sat May 2 04:25:55 2026
+++ pkgsrc/wayland/lxqt-wayland-session/PLIST Sat May 2 04:25:54 2026
@@ -0,0 +1,49 @@
+@comment $NetBSD: PLIST,v 1.1 2026/05/02 04:25:54 pin Exp $
+bin/lxqt-qdbus
+bin/startlxqtwayland
+man/man1/lxqt-wayland-session.1
+man/man1/startlxqtwayland.1
+share/lxqt/graphics/lxqt-labwc.png
+share/lxqt/wallpapers/origami-dark-labwc.png
+share/lxqt/wayland/firstrun/autostart
+share/lxqt/wayland/labwc/README
+share/lxqt/wayland/labwc/autostart
+share/lxqt/wayland/labwc/environment
+share/lxqt/wayland/labwc/menu.xml
+share/lxqt/wayland/labwc/rc.xml
+share/lxqt/wayland/labwc/themerc
+share/lxqt/wayland/labwc/themerc-override
+share/lxqt/wayland/lxqt-hyprland.conf
+share/lxqt/wayland/lxqt-niri.kdl
+share/lxqt/wayland/lxqt-niri.kdl.full
+share/lxqt/wayland/lxqt-river-init
+share/lxqt/wayland/lxqt-sway.config
+share/lxqt/wayland/lxqt-wayfire.ini
+share/lxqt/wayland/niri/input.kdl
+share/lxqt/wayland/niri/keybinds.kdl
+share/lxqt/wayland/niri/outputs.kdl
+share/lxqt/wayland/niri/visual.kdl
+share/lxqt/wayland/niri/window-rules.kdl
+share/themes/Vent-dark/openbox-3/close.xbm
+share/themes/Vent-dark/openbox-3/desk.xbm
+share/themes/Vent-dark/openbox-3/desk_toggled.xbm
+share/themes/Vent-dark/openbox-3/iconify.xbm
+share/themes/Vent-dark/openbox-3/max.xbm
+share/themes/Vent-dark/openbox-3/max_toggled.xbm
+share/themes/Vent-dark/openbox-3/max_toggled_hover.xbm
+share/themes/Vent-dark/openbox-3/menu.xbm
+share/themes/Vent-dark/openbox-3/shade.xbm
+share/themes/Vent-dark/openbox-3/shade_toggled.xbm
+share/themes/Vent-dark/openbox-3/themerc
+share/themes/Vent/openbox-3/close.xbm
+share/themes/Vent/openbox-3/desk.xbm
+share/themes/Vent/openbox-3/desk_toggled.xbm
+share/themes/Vent/openbox-3/iconify.xbm
+share/themes/Vent/openbox-3/max.xbm
+share/themes/Vent/openbox-3/max_toggled.xbm
+share/themes/Vent/openbox-3/max_toggled_hover.xbm
+share/themes/Vent/openbox-3/menu.xbm
+share/themes/Vent/openbox-3/shade.xbm
+share/themes/Vent/openbox-3/shade_toggled.xbm
+share/themes/Vent/openbox-3/themerc
+share/wayland-sessions/lxqt-wayland.desktop
Index: pkgsrc/wayland/lxqt-wayland-session/distinfo
diff -u /dev/null pkgsrc/wayland/lxqt-wayland-session/distinfo:1.1
--- /dev/null Sat May 2 04:25:55 2026
+++ pkgsrc/wayland/lxqt-wayland-session/distinfo Sat May 2 04:25:54 2026
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2026/05/02 04:25:54 pin Exp $
+
+BLAKE2s (lxqt-wayland-session-0.4.0.tar.xz) = aa5634cc52df6d5c48802b98f6bf9b84bc929e225966d0bb4a6e1c450497c319
+SHA512 (lxqt-wayland-session-0.4.0.tar.xz) = 625a618a44c7fa664b06ffd3d46940f46fb228e5d639b7864040456aedb626947aac82d7af0a1e44c18e6d26e28fe2eabda1b6e44daa1862c4fd79a42211e09d
+Size (lxqt-wayland-session-0.4.0.tar.xz) = 362516 bytes
+SHA1 (patch-CMakeLists.txt) = 811adcb99934f2c4dc239b898ceed3113abd1eb9
+SHA1 (patch-startlxqtwayland.in) = 451ddce6ca9e13cd293a49967df899e43ec24072
Index: pkgsrc/wayland/lxqt-wayland-session/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/wayland/lxqt-wayland-session/patches/patch-CMakeLists.txt:1.1
--- /dev/null Sat May 2 04:25:55 2026
+++ pkgsrc/wayland/lxqt-wayland-session/patches/patch-CMakeLists.txt Sat May 2 04:25:55 2026
@@ -0,0 +1,17 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2026/05/02 04:25:55 pin Exp $
+
+* Fix pathes, see x11/lxqt-session/patches/patch-CMakeLists.txt
+
+--- CMakeLists.txt.orig 2026-03-05 17:53:50.000000000 +0000
++++ CMakeLists.txt
+@@ -43,8 +43,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 "@PKG_SYSCONFDIR@:${LXQT_ETC_XDG_DIR}:${CMAKE_INSTALL_PREFIX}/share")
+ configure_file(startlxqtwayland.in startlxqtwayland @ONLY)
+ set(DEFAULT_AUDIO_SINK "@DEFAULT_AUDIO_SINK@")
+ configure_file(lxqt-qdbus.in lxqt-qdbus @ONLY)
Index: pkgsrc/wayland/lxqt-wayland-session/patches/patch-startlxqtwayland.in
diff -u /dev/null pkgsrc/wayland/lxqt-wayland-session/patches/patch-startlxqtwayland.in:1.1
--- /dev/null Sat May 2 04:25:55 2026
+++ pkgsrc/wayland/lxqt-wayland-session/patches/patch-startlxqtwayland.in Sat May 2 04:25:55 2026
@@ -0,0 +1,97 @@
+$NetBSD: patch-startlxqtwayland.in,v 1.1 2026/05/02 04:25:55 pin Exp $
+
+* Set fallback XDG_RUNTIME_DIR and create if not exist
+* Launch to compositors with seatd-launch
+
+--- startlxqtwayland.in.orig 2026-04-03 07:03:01.439375253 +0000
++++ startlxqtwayland.in
+@@ -11,6 +11,14 @@ if [ -z "$XDG_DATA_HOME" ]; then
+ export XDG_DATA_HOME="$HOME/.local/share"
+ fi
+
++if [ -z "$XDG_RUNTIME_DIR" ]; then
++ export XDG_RUNTIME_DIR="/tmp/$(id -un)-runtime"
++fi
++
++if [ ! -d "$XDG_RUNTIME_DIR" ]; then
++ mkdir -p -m 700 "$XDG_RUNTIME_DIR"
++fi
++
+ if [ -z "$XDG_CONFIG_HOME" ]; then
+ export XDG_CONFIG_HOME="$HOME/.config"
+ fi
+@@ -96,7 +104,7 @@ if [ -z "$COMPOSITOR" ]; then
+ export WLR_NO_HARDWARE_CURSORS=1
+ echo "Running on virtualized hardware"
+ fi
+- exec $COMPOSITOR -C "$share_dir"/lxqt/wayland/firstrun -S lxqt-config-session
++ exec seatd-launch $COMPOSITOR -C "$share_dir"/lxqt/wayland/firstrun -S lxqt-config-session
+
+ elif [ "$COMPOSITOR" = "labwc" ]; then
+ # Copy default configuration if not existing and set keyboard layout if different from us
+@@ -113,14 +121,14 @@ elif [ "$COMPOSITOR" = "labwc" ]; then
+ echo "Running on virtualized hardware"
+ fi
+
+- exec $COMPOSITOR -C $XDG_CONFIG_HOME/labwc -S lxqt-session
++ exec seatd-launch $COMPOSITOR -C $XDG_CONFIG_HOME/labwc -S lxqt-session
+
+ elif [ "$COMPOSITOR" = "niri" ]; then
+ if [ ! -f "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-niri.kdl" ]; then
+ cp -v "$share_dir"/lxqt/wayland/lxqt-niri.kdl "$XDG_CONFIG_HOME"/lxqt/wayland/
+ cp -av "$share_dir"/lxqt/wayland/niri "$XDG_CONFIG_HOME"/lxqt/wayland/
+ fi
+- exec $COMPOSITOR -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-niri.kdl
++ exec seatd-launch $COMPOSITOR -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-niri.kdl
+
+ elif [ "$COMPOSITOR" = "kwin_wayland" ]; then
+ # Style KDE's QML apps like systemsettings
+@@ -139,7 +147,7 @@ elif [ "$COMPOSITOR" = "kwin_wayland" ];
+ fi
+ fi
+ # WARNING: Option '--no-kactivities' can result in crashes with animations and corner actions.
+- exec ${COMPOSITOR}_wrapper --exit-with-session lxqt-session --xwayland
++ exec seatd-launch ${COMPOSITOR}_wrapper --exit-with-session lxqt-session --xwayland
+
+ elif [ "$COMPOSITOR" = "wayfire" ]; then
+ if [ ! -f "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-wayfire.ini" ]; then
+@@ -150,7 +158,7 @@ elif [ "$COMPOSITOR" = "wayfire" ]; then
+ sed -i "/\[input\]/a $layout" $XDG_CONFIG_HOME/lxqt/wayland/lxqt-wayfire.ini
+ fi
+ fi
+- exec $COMPOSITOR -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-wayfire.ini
++ exec seatd-launch $COMPOSITOR -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-wayfire.ini
+
+ elif [ "$COMPOSITOR" = "sway" ]; then
+ if [ ! -f "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-sway.config" ]; then
+@@ -161,7 +169,7 @@ elif [ "$COMPOSITOR" = "sway" ]; then
+ sed -i "/input \"type\:keyboard\"/a $layout" $XDG_CONFIG_HOME/lxqt/wayland/lxqt-sway.config
+ fi
+ fi
+- exec $COMPOSITOR -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-sway.config
++ exec seatd-launch $COMPOSITOR -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-sway.config
+
+ elif [ "$COMPOSITOR" = "Hyprland" ]; then
+ if [ ! -f "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-hyprland.conf" ]; then
+@@ -174,7 +182,7 @@ elif [ "$COMPOSITOR" = "Hyprland" ]; the
+ # workaround for cursor
+ export X$(cat $XDG_CONFIG_HOME/lxqt/session.conf|grep cursor_size| tr 'a-z' 'A-Z')
+ export X$(cat $XDG_CONFIG_HOME/lxqt/session.conf|grep cursor_theme| tr 'a-z' 'A-Z')
+- exec start-hyprland -- -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-hyprland.conf
++ exec seatd-launch start-hyprland -- -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-hyprland.conf
+
+ elif [ "$COMPOSITOR" = "river" ]; then
+ if [ ! -f "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-river-init" ]; then
+@@ -185,10 +193,10 @@ elif [ "$COMPOSITOR" = "river" ]; then
+ sed -i "s/riverctl keyboard-layout us/$layout/" "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-river-init"
+ fi
+ fi
+- exec $COMPOSITOR -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-river-init
++ exec seatd-launch $COMPOSITOR -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-river-init
+
+ # unknown compositor
+ else
+ echo "Trying to start $COMPOSITOR..."
+- exec $COMPOSITOR
++ exec seatd-launch $COMPOSITOR
+ fi
Home |
Main Index |
Thread Index |
Old Index