forked from Lainports/freebsd-ports
- Add patch to use setusercontext(3) to setup user environment, so it respects login.conf among other things [1] - Use autoreconf, since patch requires regenerating configure script to check for setusercontext(3) [2] - Explicitly disable libaudit support, not supported in FreeBSD [3] - Add QT5 options, disabled by default, to control linking against qt5 [4] - Import patch adding option to enable alternative location for .xsession-errors file [5] - Correctly define runtime dependencies - Forcibly disable installation of apparmor files - Install PAM configuration files as samples, so in the future they are not overwritten if customized - Pet portclippy/portfmt - Regenerate patches Upstreaming: [1] https://github.com/canonical/lightdm/pull/334 [5] https://github.com/canonical/lightdm/pull/335 Many thanks to all people involved! PR: 266532 [1] [2], 273720 [1], 275885 [3] [4] [5] Tested by: Ivan Rozhuk <rozhuk.im@gmail.com>, Daniel Tameling <tamelingdaniel@gmail.com> (provided setusercontext patch), Anton Saietskii <vsasjason@gmail.com>
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
--- data/lightdm.conf.orig 2022-07-04 03:28:22 UTC
|
|
+++ data/lightdm.conf
|
|
@@ -17,13 +17,15 @@
|
|
# greeters-directory = Directory to find greeters
|
|
# backup-logs = True to move add a .old suffix to old log files when opening new ones
|
|
# dbus-service = True if LightDM provides a D-Bus service to control it
|
|
+# smart-xsession-errors = True to force .xsesion.errors file to be positioned according to XDG standards
|
|
+# Default False, put it in ~/.xsession-errors
|
|
#
|
|
[LightDM]
|
|
#start-default-seat=true
|
|
#greeter-user=lightdm
|
|
#minimum-display-number=0
|
|
-#minimum-vt=7
|
|
-#lock-memory=true
|
|
+minimum-vt=9
|
|
+lock-memory=false
|
|
#user-authority-in-system-dir=false
|
|
#guest-account-script=guest-account
|
|
#logind-check-graphical=true
|
|
@@ -35,6 +37,7 @@
|
|
#greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
|
|
#backup-logs=true
|
|
#dbus-service=true
|
|
+#smart-xsession-errors=false
|
|
|
|
#
|
|
# Seat configuration
|
|
@@ -108,7 +111,7 @@
|
|
#allow-user-switching=true
|
|
#allow-guest=true
|
|
#guest-session=
|
|
-#session-wrapper=lightdm-session
|
|
+session-wrapper=%%PREFIX%%/etc/lightdm/Xsession
|
|
#greeter-wrapper=
|
|
#guest-wrapper=
|
|
#display-setup-script=
|