lightdm: remove unnecessary upower dependency; simplify Xsession script.
This commit is contained in:
parent
d51283739a
commit
95ee81e4b5
2 changed files with 3 additions and 15 deletions
|
@ -52,18 +52,6 @@ if [ -d "$xinitdir" ]; then
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Load Xsession scripts
|
|
||||||
xsessionddir="/etc/X11/Xsession.d"
|
|
||||||
if [ -d "$xsessionddir" ]; then
|
|
||||||
for i in `ls $xsessionddir`; do
|
|
||||||
script="$xsessionddir/$i"
|
|
||||||
echo "Loading X session script $script"
|
|
||||||
if [ -r "$script" -a -f "$script" ] && expr "$i" : '^[[:alnum:]_-]\+$' > /dev/null; then
|
|
||||||
. "$script"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "X session wrapper complete, running session $@"
|
echo "X session wrapper complete, running session $@"
|
||||||
|
|
||||||
exec $@
|
exec $@
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'lightdm'
|
# Template file for 'lightdm'
|
||||||
pkgname=lightdm
|
pkgname=lightdm
|
||||||
version=1.8.5
|
version=1.8.5
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-greeter-session=lightdm-gtk-greeter
|
configure_args="--with-greeter-session=lightdm-gtk-greeter
|
||||||
--with-greeter-user=lightdm --disable-static --disable-tests"
|
--with-greeter-user=lightdm --disable-static --disable-tests"
|
||||||
|
@ -22,8 +22,8 @@ long_desc="
|
||||||
hostmakedepends="pkg-config intltool itstool gobject-introspection which"
|
hostmakedepends="pkg-config intltool itstool gobject-introspection which"
|
||||||
makedepends="dbus-glib-devel libxklavier-devel libxml2-devel
|
makedepends="dbus-glib-devel libxklavier-devel libxml2-devel
|
||||||
qt-devel gtk+3-devel libxcb-devel libXdmcp-devel pam-devel vala-devel
|
qt-devel gtk+3-devel libxcb-devel libXdmcp-devel pam-devel vala-devel
|
||||||
libgcrypt-devel gnome-icon-theme dbus"
|
libgcrypt-devel gnome-icon-theme dbus accountsservice-devel"
|
||||||
depends="gnome-icon-theme dbus accountsservice upower"
|
depends="gnome-icon-theme dbus accountsservice"
|
||||||
conf_files="
|
conf_files="
|
||||||
/etc/lightdm/keys.conf
|
/etc/lightdm/keys.conf
|
||||||
/etc/lightdm/lightdm.conf
|
/etc/lightdm/lightdm.conf
|
||||||
|
|
Loading…
Reference in a new issue