summaryrefslogtreecommitdiff
path: root/community/lightdm-gtk2-greeter
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-24 03:17:10 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-24 03:17:10 +0000
commit15cd70d8180c2a45287e4bd8ce01a2a9248e8d62 (patch)
tree3a87c7cdfa5736a8fe7515db195d2b8baf7857fd /community/lightdm-gtk2-greeter
parent1d20e4962664ab152948a14b4320b12204a1053e (diff)
Mon Feb 24 03:14:11 UTC 2014
Diffstat (limited to 'community/lightdm-gtk2-greeter')
-rwxr-xr-xcommunity/lightdm-gtk2-greeter/PKGBUILD16
-rwxr-xr-xcommunity/lightdm-gtk2-greeter/session-preselection.patch19
2 files changed, 31 insertions, 4 deletions
diff --git a/community/lightdm-gtk2-greeter/PKGBUILD b/community/lightdm-gtk2-greeter/PKGBUILD
index 0e0111c0f..08a70115d 100755
--- a/community/lightdm-gtk2-greeter/PKGBUILD
+++ b/community/lightdm-gtk2-greeter/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 105741 2014-02-14 18:30:58Z alucryd $
+# $Id: PKGBUILD 106115 2014-02-23 10:34:01Z alucryd $
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
# Contributor: Padfoot <padfoot@exemail.com.au>
pkgname=lightdm-gtk2-greeter
pkgver=1.8.1
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc='GTK+ greeter for LightDM'
arch=('i686' 'x86_64')
@@ -16,8 +16,16 @@ provides=("${pkgname/2/}")
conflicts=("${pkgname/2/3}")
backup=('etc/lightdm/lightdm-gtk-greeter.conf')
install="${pkgname/2/}.install"
-source=("https://launchpad.net/${pkgname/2/}/${pkgver%.?}/${pkgver}/+download/${pkgname/2/}-${pkgver}.tar.gz")
-sha256sums=('dac5ce9ac54a6b3c1ef9f9cc056f13f01352c2a897c5bed11e52505132610bab')
+source=("https://launchpad.net/${pkgname/2/}/${pkgver%.?}/${pkgver}/+download/${pkgname/2/}-${pkgver}.tar.gz"
+ 'session-preselection.patch')
+sha256sums=('dac5ce9ac54a6b3c1ef9f9cc056f13f01352c2a897c5bed11e52505132610bab'
+ 'f7fad1e4b563ddc3f9035d15defcc87c57e2dd7c290aa78808c0a54bb766d94b')
+
+prepare() {
+ cd ${pkgname/2/}-${pkgver}
+
+ patch -Np0 -i ../session-preselection.patch
+}
build() {
cd ${pkgname/2/}-${pkgver}
diff --git a/community/lightdm-gtk2-greeter/session-preselection.patch b/community/lightdm-gtk2-greeter/session-preselection.patch
new file mode 100755
index 000000000..6fb41747d
--- /dev/null
+++ b/community/lightdm-gtk2-greeter/session-preselection.patch
@@ -0,0 +1,19 @@
+=== modified file 'src/lightdm-gtk-greeter.c'
+--- src/lightdm-gtk-greeter.c 2014-02-16 18:37:06 +0000
++++ src/lightdm-gtk-greeter.c 2014-02-22 11:31:35 +0000
+@@ -1241,11 +1241,10 @@
+ set_user_image (username);
+ user = lightdm_user_list_get_user_by_name (lightdm_user_list_get_instance (), username);
+ if (user)
+- if (lightdm_user_get_logged_in (user))
+- {
+- set_language (lightdm_user_get_language (user));
+- set_session (lightdm_user_get_session (user));
+- }
++ {
++ set_language (lightdm_user_get_language (user));
++ set_session (lightdm_user_get_session (user));
++ }
+ gtk_widget_set_tooltip_text (GTK_WIDGET (user_combo), user_tooltip);
+ start_authentication (username);
+ g_free (user_tooltip);