sddm: start elogind via dbus if it is available.
This commit is contained in:
parent
cf1363266c
commit
4cfd64c691
|
@ -1,4 +1,12 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
sv check dbus >/dev/null || exit 1
|
sv check dbus >/dev/null || exit 1
|
||||||
|
|
||||||
|
if [ -x /usr/bin/elogind-inhibit ]; then
|
||||||
|
dbus-send --system --print-reply --dest=org.freedesktop.DBus \
|
||||||
|
/org/freedesktop/DBus \
|
||||||
|
org.freedesktop.DBus.StartServiceByName \
|
||||||
|
string:org.freedesktop.login1 uint32:0
|
||||||
|
fi
|
||||||
|
|
||||||
exec sddm 2>&1
|
exec sddm 2>&1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'sddm'
|
# Template file for 'sddm'
|
||||||
pkgname=sddm
|
pkgname=sddm
|
||||||
version=0.18.0
|
version=0.18.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_MAN_PAGES=1 -DNO_SYSTEMD=1 -DUSE_ELOGIND=1
|
configure_args="-DBUILD_MAN_PAGES=1 -DNO_SYSTEMD=1 -DUSE_ELOGIND=1
|
||||||
-DLOGIN_DEFS_PATH=${XBPS_SRCPKGDIR}/shadow/files/login.defs
|
-DLOGIN_DEFS_PATH=${XBPS_SRCPKGDIR}/shadow/files/login.defs
|
||||||
|
|
Loading…
Reference in New Issue