View | Details | Raw Unified | Return to bug 272637
Collapse All | Expand All

(-)b/x11/sddm/Makefile (+1 lines)
Lines 1-6 Link Here
1
PORTNAME=	sddm
1
PORTNAME=	sddm
2
PORTVERSION=	0.20.0
2
PORTVERSION=	0.20.0
3
DISTVERSIONPREFIX=	v
3
DISTVERSIONPREFIX=	v
4
PORTREVISION=	1
4
CATEGORIES=	x11
5
CATEGORIES=	x11
5
6
6
MAINTAINER=	kde@FreeBSD.org
7
MAINTAINER=	kde@FreeBSD.org
(-)b/x11/sddm/files/patch-data_scripts_Xsession (-1 / +19 lines)
Added Link Here
0
- 
1
Fix use of "$@" (see sh(1)).
2
3
There's no systemd on FreeBSD so start the session using $STARTUP which is
4
defined in 90-consolekit if ConsoleKit2 is installed.  By default this allows
5
local users to shutdown/reboot the machine and access devices like USB keys.
6
7
Also use dbus-run-session so libdbus doesn't have to autolauch the session bus
8
daemon on first use.  Autolaunched dbus daemons tend to linger and may only
9
exit if the X server exits.
10
11
--- data/scripts/Xsession.orig	2019-03-13 09:22:35 UTC
12
+++ data/scripts/Xsession
13
@@ -98,5 +98,5 @@ fi
14
 if [ -z "$*" ]; then
15
     exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
16
 else
17
-    exec $@
18
+    exec $STARTUP /usr/bin/dbus-run-session --dbus-daemon=/usr/bin/dbus-daemon -- "$@"
19
 fi

Return to bug 272637