lightdm: update to 1.12.1.

This commit is contained in:
Juan RP 2014-11-09 10:11:11 +01:00
parent d573193727
commit 62ab8898a6
2 changed files with 10 additions and 55 deletions

View file

@ -1,45 +0,0 @@
--- data/lightdm.conf 2014-03-12 20:56:34.000000000 +0100
+++ data/lightdm.conf 2014-03-14 15:48:32.089948842 +0100
@@ -19,12 +19,12 @@
#start-default-seat=true
#greeter-user=lightdm
#minimum-display-number=0
-#minimum-vt=7
+#minimum-vt=1
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
#log-directory=/var/log/lightdm
-#run-directory=/var/run/lightdm
+run-directory=/run/lightdm
#cache-directory=/var/cache/lightdm
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
@@ -93,7 +93,7 @@
#user-session=default
#allow-guest=true
#guest-session=
-#session-wrapper=lightdm-session
+session-wrapper=/etc/lightdm/Xsession
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
@@ -107,6 +107,7 @@
#autologin-in-background=false
#autologin-session=UNIMPLEMENTED
#exit-on-failure=false
+pam-service=lightdm-autologin
#
# Seat configuration
--- data/users.conf 2013-09-02 17:17:41.167211771 +0200
+++ data/users.conf 2013-09-02 17:21:27.955545717 +0200
@@ -9,6 +9,6 @@
# hidden-shells = Shells that indicate a user cannot login
#
[UserAccounts]
-minimum-uid=500
+minimum-uid=1000
hidden-users=nobody nobody4 noaccess
-hidden-shells=/bin/false /usr/sbin/nologin
+hidden-shells=/bin/false /sbin/nologin

View file

@ -1,7 +1,7 @@
# Template file for 'lightdm'
pkgname=lightdm
version=1.10.1
revision=6
version=1.12.1
revision=1
build_style=gnu-configure
configure_args="--with-greeter-session=lightdm-gtk-greeter
--with-greeter-user=lightdm --disable-static --disable-tests"
@ -10,13 +10,14 @@ maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3, LGPL-3"
homepage="https://launchpad.net/lightdm"
distfiles="https://launchpad.net/lightdm/${version%.*}/$version/+download/$pkgname-$version.tar.xz"
checksum=737123001a7ae2ab126c75f61dcebb767d082ec043c012285eab6fa6b0d6a58f
checksum=55fc6ed30681d0d4c60ae3d2760c54ed74096632ca777f8cab5c072ef8f35b1b
build_options="systemd"
hostmakedepends="pkg-config intltool itstool gobject-introspection"
makedepends="dbus-glib-devel libxklavier-devel libxml2-devel
qt-devel gtk+3-devel libxcb-devel libXdmcp-devel pam-devel vala-devel
libgcrypt-devel accountsservice-devel"
depends="dbus accountsservice $(vopt_if upower 'ConsoleKit upower0')"
libgcrypt-devel accountsservice-devel $(vopt_if systemd systemd-devel)"
depends="dbus accountsservice $(vopt_if systemd '' 'ConsoleKit upower0')"
conf_files="
/etc/lightdm/keys.conf
/etc/lightdm/lightdm.conf
@ -24,15 +25,12 @@ conf_files="
/etc/pam.d/lightdm
/etc/pam.d/lightdm-greeter
/etc/pam.d/lightdm-autologin"
replaces="runit-void<20141013_2"
system_accounts="lightdm"
lightdm_homedir="/var/lib/lightdm"
make_dirs="
/var/lib/lightdm 0755 lightdm lightdm
/var/lib/lightdm-data 0755 lightdm lightdm"
build_options="upower"
build_options_default="upower"
post_install() {
# Remove provided init file and use our own.
@ -47,7 +45,7 @@ post_install() {
# make pam_systemd optional
for f in ${DESTDIR}/etc/pam.d/*; do
sed 's|\(.*pam_systemd.*\)|-\1|' -i $f
echo "-session optional pam_ck_connector.so" >> $f
echo "-session optional pam_ck_connector.so nox11" >> $f
done
}
@ -65,7 +63,9 @@ liblightdm-qt_package() {
}
}
lightdm-devel_package() {
depends="libglib-devel liblightdm-gobject>=${version}_${revision}
depends="
libglib-devel
liblightdm-gobject>=${version}_${revision}
liblightdm-qt>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {