summaryrefslogtreecommitdiff
path: root/community/lxdm
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-11 00:03:00 +0000
committerroot <root@rshg054.dnsready.net>2012-05-11 00:03:00 +0000
commit2ced64d6aa5881fa575de1861c464c432deee26f (patch)
tree55c4d54265bcc869257a2f1bedc5d75476878366 /community/lxdm
parent1adfdd111d570a6dfc66543a2858d9554c73e7a7 (diff)
Fri May 11 00:03:00 UTC 2012
Diffstat (limited to 'community/lxdm')
-rw-r--r--community/lxdm/PKGBUILD10
-rw-r--r--community/lxdm/greeter-session.patch13
2 files changed, 20 insertions, 3 deletions
diff --git a/community/lxdm/PKGBUILD b/community/lxdm/PKGBUILD
index 9613a4eb0..0b729267c 100644
--- a/community/lxdm/PKGBUILD
+++ b/community/lxdm/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 68758 2012-04-01 15:10:08Z bpiotrowski $
+# $Id: PKGBUILD 70485 2012-05-09 14:58:36Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski
# Contributor: AndyRTR <andyrtr@archlinux.org>
# Contributor: kiefer <jorgelmadrid@gmail.com>
pkgname=lxdm
pkgver=0.4.1
-pkgrel=9
+pkgrel=10
pkgdesc="Lightweight Display Manager (part of LXDE)"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/lxdm/"
@@ -19,18 +19,22 @@ backup=('etc/lxdm/lxdm.conf' 'etc/pam.d/lxdm' 'etc/lxdm/Xsession'
'etc/lxdm/PostLogout' 'etc/lxdm/PreReboot' 'etc/lxdm/PreShutdown')
source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
glib2-2.32.0.patch lxdm.patch lxdm.conf.patch Xsession.patch
- lxdm-daemon lxdm-pam)
+ greeter-session.patch lxdm-daemon lxdm-pam)
md5sums=('8da1cfc2be6dc9217c85a7cf51e1e821'
'a1e3c46a8bef691bc544028f5b6cfe22'
'baed9055e8825a5511712bc095197519'
'c50dd01b715b0a236407d48066191601'
'd2e4a4a22ee2aa1a986be154c647b6c6'
+ '28475239d0c8b4fd778ec49f5ec72962'
'705f394052fdd0dec22e95321d170de0'
'b20fe3c8487a039050986d60e45233a9')
build() {
cd $srcdir/$pkgname-$pkgver
+
patch -Np1 -i $srcdir/glib2-2.32.0.patch
+ patch -Np1 -i $srcdir/greeter-session.patch
+
./configure --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib/lxdm
make
diff --git a/community/lxdm/greeter-session.patch b/community/lxdm/greeter-session.patch
new file mode 100644
index 000000000..f3b94a57a
--- /dev/null
+++ b/community/lxdm/greeter-session.patch
@@ -0,0 +1,13 @@
+diff --git a/src/greeter.c b/src/greeter.c
+index c0c150d..1f6b88e 100644
+--- a/src/greeter.c
++++ b/src/greeter.c
+@@ -114,7 +114,7 @@ static char *get_session_exec(void)
+ GtkTreeModel* model;
+ GtkTreeIter it;
+ gchar *res;
+- if(!lang)
++ if(!sessions)
+ return g_strdup("");
+
+ if(!gtk_combo_box_get_active_iter(GTK_COMBO_BOX(sessions), &it))