[arch-commits] Commit in lightdm-gtk2-greeter/repos (12 files)

Maxime Gauduin alucryd at nymeria.archlinux.org
Thu Apr 24 08:44:22 UTC 2014


    Date: Thursday, April 24, 2014 @ 10:44:22
  Author: alucryd
Revision: 110108

archrelease: copy trunk to community-i686, community-x86_64

Added:
  lightdm-gtk2-greeter/repos/community-i686/PKGBUILD
    (from rev 110107, lightdm-gtk2-greeter/trunk/PKGBUILD)
  lightdm-gtk2-greeter/repos/community-i686/lightdm-gtk-greeter.install
    (from rev 110107, lightdm-gtk2-greeter/trunk/lightdm-gtk-greeter.install)
  lightdm-gtk2-greeter/repos/community-i686/tooltip-focus.patch
    (from rev 110107, lightdm-gtk2-greeter/trunk/tooltip-focus.patch)
  lightdm-gtk2-greeter/repos/community-x86_64/PKGBUILD
    (from rev 110107, lightdm-gtk2-greeter/trunk/PKGBUILD)
  lightdm-gtk2-greeter/repos/community-x86_64/lightdm-gtk-greeter.install
    (from rev 110107, lightdm-gtk2-greeter/trunk/lightdm-gtk-greeter.install)
  lightdm-gtk2-greeter/repos/community-x86_64/tooltip-focus.patch
    (from rev 110107, lightdm-gtk2-greeter/trunk/tooltip-focus.patch)
Deleted:
  lightdm-gtk2-greeter/repos/community-i686/PKGBUILD
  lightdm-gtk2-greeter/repos/community-i686/lightdm-gtk-greeter.install
  lightdm-gtk2-greeter/repos/community-i686/session-preselection.patch
  lightdm-gtk2-greeter/repos/community-x86_64/PKGBUILD
  lightdm-gtk2-greeter/repos/community-x86_64/lightdm-gtk-greeter.install
  lightdm-gtk2-greeter/repos/community-x86_64/session-preselection.patch

----------------------------------------------+
 /PKGBUILD                                    |   86 +++++++++++++++++++++++++
 /lightdm-gtk-greeter.install                 |   26 +++++++
 community-i686/PKGBUILD                      |   35 ----------
 community-i686/lightdm-gtk-greeter.install   |   13 ---
 community-i686/session-preselection.patch    |   19 -----
 community-i686/tooltip-focus.patch           |   24 ++++++
 community-x86_64/PKGBUILD                    |   35 ----------
 community-x86_64/lightdm-gtk-greeter.install |   13 ---
 community-x86_64/session-preselection.patch  |   19 -----
 community-x86_64/tooltip-focus.patch         |   24 ++++++
 10 files changed, 160 insertions(+), 134 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-04-24 08:44:05 UTC (rev 110107)
+++ community-i686/PKGBUILD	2014-04-24 08:44:22 UTC (rev 110108)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-# Contributor: Padfoot <padfoot at exemail.com.au>
-
-pkgname=lightdm-gtk2-greeter
-pkgver=1.8.4
-pkgrel=1
-epoch=1
-pkgdesc='GTK+ greeter for LightDM'
-arch=('i686' 'x86_64')
-url='https://launchpad.net/lightdm-gtk-greeter'
-license=('GPL3' 'LGPL3')
-depends=('gtk2' 'lightdm')
-makedepends=('exo' 'gnome-doc-utils' 'gobject-introspection' 'intltool')
-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=('cb3e93bfcb8fbaf109e01080dc75ec9a6803afcb68acbf9eef3799be927a2c6c')
-
-build() {
-  cd ${pkgname/2/}-${pkgver}
-
-  ./configure --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' --libexecdir='/usr/lib/lightdm' --disable-static --with-gtk2
-  make
-}
-
-package() {
-  cd ${pkgname/2/}-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:

Copied: lightdm-gtk2-greeter/repos/community-i686/PKGBUILD (from rev 110107, lightdm-gtk2-greeter/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-04-24 08:44:22 UTC (rev 110108)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Padfoot <padfoot at exemail.com.au>
+
+pkgname=lightdm-gtk2-greeter
+pkgver=1.8.4
+pkgrel=2
+epoch=1
+pkgdesc='GTK+ greeter for LightDM'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/lightdm-gtk-greeter'
+license=('GPL3' 'LGPL3')
+depends=('gtk2' 'lightdm')
+makedepends=('exo' 'gnome-doc-utils' 'gobject-introspection' 'intltool')
+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"
+        'tooltip-focus.patch')
+sha256sums=('cb3e93bfcb8fbaf109e01080dc75ec9a6803afcb68acbf9eef3799be927a2c6c'
+            '2dcf615181fc57cfcc02601d4d9845ef23af60a0a322a5208989849b279deec7')
+
+prepare() {
+  cd ${pkgname/2/}-${pkgver}
+
+  patch -Np1 -i ../tooltip-focus.patch
+}
+
+build() {
+  cd ${pkgname/2/}-${pkgver}
+
+  ./configure --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' --libexecdir='/usr/lib/lightdm' --disable-static --with-gtk2
+  make
+}
+
+package() {
+  cd ${pkgname/2/}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:

Deleted: community-i686/lightdm-gtk-greeter.install
===================================================================
--- community-i686/lightdm-gtk-greeter.install	2014-04-24 08:44:05 UTC (rev 110107)
+++ community-i686/lightdm-gtk-greeter.install	2014-04-24 08:44:22 UTC (rev 110108)
@@ -1,13 +0,0 @@
-post_install() {
-  gtk-update-icon-cache -ftq usr/share/icons/hicolor
-}
-
-post_update() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}
-
-# vim: ts=2 sw=2 et:

Copied: lightdm-gtk2-greeter/repos/community-i686/lightdm-gtk-greeter.install (from rev 110107, lightdm-gtk2-greeter/trunk/lightdm-gtk-greeter.install)
===================================================================
--- community-i686/lightdm-gtk-greeter.install	                        (rev 0)
+++ community-i686/lightdm-gtk-greeter.install	2014-04-24 08:44:22 UTC (rev 110108)
@@ -0,0 +1,13 @@
+post_install() {
+  gtk-update-icon-cache -ftq usr/share/icons/hicolor
+}
+
+post_update() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+
+# vim: ts=2 sw=2 et:

Deleted: community-i686/session-preselection.patch
===================================================================
--- community-i686/session-preselection.patch	2014-04-24 08:44:05 UTC (rev 110107)
+++ community-i686/session-preselection.patch	2014-04-24 08:44:22 UTC (rev 110108)
@@ -1,19 +0,0 @@
-=== 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);

Copied: lightdm-gtk2-greeter/repos/community-i686/tooltip-focus.patch (from rev 110107, lightdm-gtk2-greeter/trunk/tooltip-focus.patch)
===================================================================
--- community-i686/tooltip-focus.patch	                        (rev 0)
+++ community-i686/tooltip-focus.patch	2014-04-24 08:44:22 UTC (rev 110108)
@@ -0,0 +1,24 @@
+--- a/src/lightdm-gtk-greeter.c	2014-03-26 10:28:44 +0000
++++ b/src/lightdm-gtk-greeter.c	2014-04-23 11:04:01 +0000
+@@ -2203,6 +2203,7 @@
+         Window keyboard_xid = 0;
+         GdkDisplay* display = gdk_x11_lookup_xdisplay (xevent->xmap.display);
+         GdkWindow* win = gdk_x11_window_foreign_new_for_display (display, xwin);
++        GdkWindowTypeHint win_type = gdk_window_get_type_hint (win);
+ 
+         /* Check to see if this window is our onboard window, since we don't want to focus it. */
+         if (keyboard_win)
+@@ -2211,8 +2212,10 @@
+ #else
+                 keyboard_xid = gdk_x11_drawable_get_xid (keyboard_win);
+ #endif
+-            
+-        if (xwin != keyboard_xid && gdk_window_get_type_hint (win) != GDK_WINDOW_TYPE_HINT_NOTIFICATION)
++
++        if (xwin != keyboard_xid
++            && win_type != GDK_WINDOW_TYPE_HINT_TOOLTIP
++            && win_type != GDK_WINDOW_TYPE_HINT_NOTIFICATION)
+         {
+             gdk_window_focus (win, GDK_CURRENT_TIME);
+             /* Make sure to keep keyboard above */
+

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-04-24 08:44:05 UTC (rev 110107)
+++ community-x86_64/PKGBUILD	2014-04-24 08:44:22 UTC (rev 110108)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-# Contributor: Padfoot <padfoot at exemail.com.au>
-
-pkgname=lightdm-gtk2-greeter
-pkgver=1.8.4
-pkgrel=1
-epoch=1
-pkgdesc='GTK+ greeter for LightDM'
-arch=('i686' 'x86_64')
-url='https://launchpad.net/lightdm-gtk-greeter'
-license=('GPL3' 'LGPL3')
-depends=('gtk2' 'lightdm')
-makedepends=('exo' 'gnome-doc-utils' 'gobject-introspection' 'intltool')
-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=('cb3e93bfcb8fbaf109e01080dc75ec9a6803afcb68acbf9eef3799be927a2c6c')
-
-build() {
-  cd ${pkgname/2/}-${pkgver}
-
-  ./configure --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' --libexecdir='/usr/lib/lightdm' --disable-static --with-gtk2
-  make
-}
-
-package() {
-  cd ${pkgname/2/}-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:

Copied: lightdm-gtk2-greeter/repos/community-x86_64/PKGBUILD (from rev 110107, lightdm-gtk2-greeter/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-04-24 08:44:22 UTC (rev 110108)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Padfoot <padfoot at exemail.com.au>
+
+pkgname=lightdm-gtk2-greeter
+pkgver=1.8.4
+pkgrel=2
+epoch=1
+pkgdesc='GTK+ greeter for LightDM'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/lightdm-gtk-greeter'
+license=('GPL3' 'LGPL3')
+depends=('gtk2' 'lightdm')
+makedepends=('exo' 'gnome-doc-utils' 'gobject-introspection' 'intltool')
+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"
+        'tooltip-focus.patch')
+sha256sums=('cb3e93bfcb8fbaf109e01080dc75ec9a6803afcb68acbf9eef3799be927a2c6c'
+            '2dcf615181fc57cfcc02601d4d9845ef23af60a0a322a5208989849b279deec7')
+
+prepare() {
+  cd ${pkgname/2/}-${pkgver}
+
+  patch -Np1 -i ../tooltip-focus.patch
+}
+
+build() {
+  cd ${pkgname/2/}-${pkgver}
+
+  ./configure --prefix='/usr' --sbindir='/usr/bin' --sysconfdir='/etc' --libexecdir='/usr/lib/lightdm' --disable-static --with-gtk2
+  make
+}
+
+package() {
+  cd ${pkgname/2/}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:

Deleted: community-x86_64/lightdm-gtk-greeter.install
===================================================================
--- community-x86_64/lightdm-gtk-greeter.install	2014-04-24 08:44:05 UTC (rev 110107)
+++ community-x86_64/lightdm-gtk-greeter.install	2014-04-24 08:44:22 UTC (rev 110108)
@@ -1,13 +0,0 @@
-post_install() {
-  gtk-update-icon-cache -ftq usr/share/icons/hicolor
-}
-
-post_update() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}
-
-# vim: ts=2 sw=2 et:

Copied: lightdm-gtk2-greeter/repos/community-x86_64/lightdm-gtk-greeter.install (from rev 110107, lightdm-gtk2-greeter/trunk/lightdm-gtk-greeter.install)
===================================================================
--- community-x86_64/lightdm-gtk-greeter.install	                        (rev 0)
+++ community-x86_64/lightdm-gtk-greeter.install	2014-04-24 08:44:22 UTC (rev 110108)
@@ -0,0 +1,13 @@
+post_install() {
+  gtk-update-icon-cache -ftq usr/share/icons/hicolor
+}
+
+post_update() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+
+# vim: ts=2 sw=2 et:

Deleted: community-x86_64/session-preselection.patch
===================================================================
--- community-x86_64/session-preselection.patch	2014-04-24 08:44:05 UTC (rev 110107)
+++ community-x86_64/session-preselection.patch	2014-04-24 08:44:22 UTC (rev 110108)
@@ -1,19 +0,0 @@
-=== 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);

Copied: lightdm-gtk2-greeter/repos/community-x86_64/tooltip-focus.patch (from rev 110107, lightdm-gtk2-greeter/trunk/tooltip-focus.patch)
===================================================================
--- community-x86_64/tooltip-focus.patch	                        (rev 0)
+++ community-x86_64/tooltip-focus.patch	2014-04-24 08:44:22 UTC (rev 110108)
@@ -0,0 +1,24 @@
+--- a/src/lightdm-gtk-greeter.c	2014-03-26 10:28:44 +0000
++++ b/src/lightdm-gtk-greeter.c	2014-04-23 11:04:01 +0000
+@@ -2203,6 +2203,7 @@
+         Window keyboard_xid = 0;
+         GdkDisplay* display = gdk_x11_lookup_xdisplay (xevent->xmap.display);
+         GdkWindow* win = gdk_x11_window_foreign_new_for_display (display, xwin);
++        GdkWindowTypeHint win_type = gdk_window_get_type_hint (win);
+ 
+         /* Check to see if this window is our onboard window, since we don't want to focus it. */
+         if (keyboard_win)
+@@ -2211,8 +2212,10 @@
+ #else
+                 keyboard_xid = gdk_x11_drawable_get_xid (keyboard_win);
+ #endif
+-            
+-        if (xwin != keyboard_xid && gdk_window_get_type_hint (win) != GDK_WINDOW_TYPE_HINT_NOTIFICATION)
++
++        if (xwin != keyboard_xid
++            && win_type != GDK_WINDOW_TYPE_HINT_TOOLTIP
++            && win_type != GDK_WINDOW_TYPE_HINT_NOTIFICATION)
+         {
+             gdk_window_focus (win, GDK_CURRENT_TIME);
+             /* Make sure to keep keyboard above */
+




More information about the arch-commits mailing list