diff --git a/x11-wm/Makefile b/x11-wm/Makefile index 87492c3f195e..b82d5c18a60d 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -65,6 +65,7 @@ SUBDIR += lxqt SUBDIR += lxqt-panel SUBDIR += lxqt-session + SUBDIR += lxqt-wayland-session SUBDIR += lxsession SUBDIR += magpie SUBDIR += marco diff --git a/x11-wm/lxqt-wayland-session/Makefile b/x11-wm/lxqt-wayland-session/Makefile new file mode 100644 index 000000000000..d73319f01513 --- /dev/null +++ b/x11-wm/lxqt-wayland-session/Makefile @@ -0,0 +1,23 @@ +PORTNAME= lxqt-wayland-session +PORTVERSION= 0.1.0 +CATEGORIES= x11-wm +MASTER_SITES= LXQT + +MAINTAINER= lxqt@FreeBSD.org +COMMENT= Files needed for the LXQt Wayland Session +WWW= https://github.com/lxqt/lxqt-wayland-session/ + +LICENSE= LGPL21+ + +BUILD_DEPENDS= xdg-user-dirs-update:devel/xdg-user-dirs \ + ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers +RUN_DEPENDS= lxqt-session>=${PORTVERSION}:x11-wm/lxqt-session + +USES= cmake gl localbase:ldflags perl5 pkgconfig lxqt:2 \ + tar:xz xorg +USE_GL= gl +USE_PERL5= build +USE_XORG= ice sm xcb xext +USE_LXQT= buildtools2 + +.include diff --git a/x11-wm/lxqt-wayland-session/distinfo b/x11-wm/lxqt-wayland-session/distinfo new file mode 100644 index 000000000000..577fb38f002e --- /dev/null +++ b/x11-wm/lxqt-wayland-session/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1731054293 +SHA256 (lxqt/lxqt-wayland-session-0.1.0.tar.xz) = 123d381902526f12cee5d846fd4b67f0be81d0508adc3342ffb99ee098054da8 +SIZE (lxqt/lxqt-wayland-session-0.1.0.tar.xz) = 353364 diff --git a/x11-wm/lxqt-wayland-session/files/patch-startlxqtwayland.in b/x11-wm/lxqt-wayland-session/files/patch-startlxqtwayland.in new file mode 100644 index 000000000000..269216f2ebb8 --- /dev/null +++ b/x11-wm/lxqt-wayland-session/files/patch-startlxqtwayland.in @@ -0,0 +1,16 @@ +--- startlxqtwayland.in.orig 2024-11-08 08:33:16 UTC ++++ startlxqtwayland.in +@@ -7,6 +7,13 @@ contains() + [ "$str" = "$substr" -o -z "${str##$substr:*}" -o -z "${str##*:$substr:*}" -o -z "${str%%*:$substr}" ] + } + ++if [ -f /var/db/zoneinfo ]; then TZ=`cat /var/db/zoneinfo`; ++ cmp -s /usr/share/zoneinfo/$TZ /etc/localtime ++ if [ $? -eq 0 ]; then ++ export TZ="${TZ}" ++ fi ++fi ++ + if [ -z "$XDG_DATA_HOME" ]; then + export XDG_DATA_HOME="$HOME/.local/share" + fi diff --git a/x11-wm/lxqt-wayland-session/pkg-descr b/x11-wm/lxqt-wayland-session/pkg-descr new file mode 100644 index 000000000000..cf6daa6f8986 --- /dev/null +++ b/x11-wm/lxqt-wayland-session/pkg-descr @@ -0,0 +1,12 @@ +Files needed for the LXQt Wayland Session: Wayland session start script, its +desktop entry for display managers and default configurations for actually +supported compositors which are: + +- Stacking WMs +- Labwc +- Wayfire +- kwin_wayland +- Tiling Wms +- Hyprland +- river +- Sway diff --git a/x11-wm/lxqt-wayland-session/pkg-plist b/x11-wm/lxqt-wayland-session/pkg-plist new file mode 100644 index 000000000000..441d7310d024 --- /dev/null +++ b/x11-wm/lxqt-wayland-session/pkg-plist @@ -0,0 +1,39 @@ +bin/startlxqtwayland +%%LXQT_SHAREDIR%%/graphics/lxqt-labwc.png +%%LXQT_SHAREDIR%%/wallpapers/origami-dark-labwc.png +%%LXQT_SHAREDIR%%/wayland/firstrun/autostart +%%LXQT_SHAREDIR%%/wayland/labwc/README +%%LXQT_SHAREDIR%%/wayland/labwc/autostart +%%LXQT_SHAREDIR%%/wayland/labwc/environment +%%LXQT_SHAREDIR%%/wayland/labwc/menu.xml +%%LXQT_SHAREDIR%%/wayland/labwc/rc.xml +%%LXQT_SHAREDIR%%/wayland/labwc/themerc +%%LXQT_SHAREDIR%%/wayland/labwc/themerc-override +%%LXQT_SHAREDIR%%/wayland/lxqt-hyprland.conf +%%LXQT_SHAREDIR%%/wayland/lxqt-niri.kdl +%%LXQT_SHAREDIR%%/wayland/lxqt-river-init +%%LXQT_SHAREDIR%%/wayland/lxqt-sway.config +%%LXQT_SHAREDIR%%/wayland/lxqt-wayfire.ini +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