ports/x11-wm/lxqt-session/files/patch-startlxqt.in
Jose Alonso Cardenas Marquez 385fcf599e
x11-wm/lxqt: Update to 2.0.0
- Update mostly lxqt ports to 2.0.x
- Update some lxqt dependencies to latest version
- Update Mk/Uses/lxqt.mk file for support some legacy and new lxqt ports
- Add devel/libdbusmenu-lxqt
- Add x11/libfm-qt6
- Add devel/libqt6xdg
- Add sysutils/libsysstat-qt6
- Add devel/lxqt2-build-tools
- Add sysutils/lxqt-qt6plugin
- Add deskutils/xdg-desktop-portal-lxqt
- Add x11-toolkits/qtermwidget-qt5 for no break x11/coreterminal
- Pass maintainership to new lxqt@ group
- Few other modifications

PR:		278905
Approved by:	jsm
2024-06-12 19:21:05 -05:00

16 lines
489 B
Text

--- startlxqt.in.orig 2024-06-12 16:03:13 UTC
+++ startlxqt.in
@@ -6,6 +6,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