r22419 - in /desktop/experimental/gdm/debian: TODO changelog patches/08_frequent-users_greeter.patch patches/series

lethalman-guest at users.alioth.debian.org lethalman-guest at users.alioth.debian.org
Sat Nov 21 12:05:49 UTC 2009


Author: lethalman-guest
Date: Sat Nov 21 12:05:40 2009
New Revision: 22419

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=22419
Log:
* debian/patches/08_frequent-users_greeter.patch:
  - Added to only show frequent users in greeter that logged in with GDM.
  - TODO: 03_hide_system_users.patch to avoid showing system users in recent
    connections

Added:
    desktop/experimental/gdm/debian/patches/08_frequent-users_greeter.patch
Modified:
    desktop/experimental/gdm/debian/TODO
    desktop/experimental/gdm/debian/changelog
    desktop/experimental/gdm/debian/patches/series

Modified: desktop/experimental/gdm/debian/TODO
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gdm/debian/TODO?rev=22419&op=diff
==============================================================================
--- desktop/experimental/gdm/debian/TODO [utf-8] (original)
+++ desktop/experimental/gdm/debian/TODO [utf-8] Sat Nov 21 12:05:40 2009
@@ -27,8 +27,6 @@
       $DISPLAY to gdm.
 
  * Other Ubuntu patches we need
-   - 03_hide_system_users.patch to avoid showing system users in recent 
-     connections
    - 13_cache_ck_history.patch for speed improvement
    - 19_no_greeter_for_autologin.patch, already fixed in git master
    - 23_login_window_hint.patch for a focus fix

Modified: desktop/experimental/gdm/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gdm/debian/changelog?rev=22419&op=diff
==============================================================================
--- desktop/experimental/gdm/debian/changelog [utf-8] (original)
+++ desktop/experimental/gdm/debian/changelog [utf-8] Sat Nov 21 12:05:40 2009
@@ -27,6 +27,10 @@
     - Added a modified version of the Ubuntu patch. It's needed because GDM
       runs external program using LIBEXECDIR, which sometimes is not the
       right path.
+  * debian/patches/08_frequent-users_greeter.patch:
+    - Added to only show frequent users in greeter that logged in with GDM.
+    - TODO: 03_hide_system_users.patch to avoid showing system users in recent
+      connections
   * debian/patches/90_relibtoolize.patch:
     - Update for 05_default_keyboard_layout_xkl.patch libxklavier changes to
       Makefile.am.
@@ -42,7 +46,7 @@
   * debian/TODO:
     - gdmflexiserver is ignoring many options, including xnest.
 
- -- Luca Bruno <lethalman88 at gmail.com>  Sat, 21 Nov 2009 09:31:13 +0100
+ -- Luca Bruno <lethalman88 at gmail.com>  Sat, 21 Nov 2009 13:01:41 +0100
 
 gdm (2.26.1-1) UNRELEASED; urgency=low
 

Added: desktop/experimental/gdm/debian/patches/08_frequent-users_greeter.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gdm/debian/patches/08_frequent-users_greeter.patch?rev=22419&op=file
==============================================================================
--- desktop/experimental/gdm/debian/patches/08_frequent-users_greeter.patch (added)
+++ desktop/experimental/gdm/debian/patches/08_frequent-users_greeter.patch [utf-8] Sat Nov 21 12:05:40 2009
@@ -1,0 +1,30 @@
+diff -urN gdm-2.28.1.orig/daemon/ck-connector.c gdm-2.28.1/daemon/ck-connector.c
+--- gdm-2.28.1.orig/daemon/ck-connector.c	2009-10-20 00:12:45.000000000 +0200
++++ gdm-2.28.1/daemon/ck-connector.c	2009-11-21 12:56:23.000000000 +0100
+@@ -430,6 +430,14 @@
+                 name = va_arg (var_args, char *);
+         }
+ 
++        const char *session_type = "gdm";
++        if (! add_param_basic (&iter_array, "session-type", DBUS_TYPE_STRING, &session_type)) {
++                dbus_set_error (error,
++                                CK_CONNECTOR_ERROR,
++                                "Error adding parameter: session-type");
++                goto out;
++        }
++
+         if (! dbus_message_iter_close_container (&iter, &iter_array)) {
+                 goto out;
+         }
+diff -urN gdm-2.28.1.orig/gui/simple-greeter/gdm-user-manager.c gdm-2.28.1/gui/simple-greeter/gdm-user-manager.c
+--- gdm-2.28.1.orig/gui/simple-greeter/gdm-user-manager.c	2009-10-20 00:12:45.000000000 +0200
++++ gdm-2.28.1/gui/simple-greeter/gdm-user-manager.c	2009-11-21 10:16:40.000000000 +0100
+@@ -1306,7 +1306,7 @@
+                 return;
+         }
+ 
+-        command = g_strdup_printf ("ck-history --frequent --seat='%s' --session-type=''",
++        command = g_strdup_printf ("ck-history --frequent --seat='%s' --session-type='gdm'",
+                                    seat_id);
+         g_debug ("GdmUserManager: running '%s'", command);
+         error = NULL;

Modified: desktop/experimental/gdm/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gdm/debian/patches/series?rev=22419&op=diff
==============================================================================
--- desktop/experimental/gdm/debian/patches/series [utf-8] (original)
+++ desktop/experimental/gdm/debian/patches/series [utf-8] Sat Nov 21 12:05:40 2009
@@ -5,4 +5,5 @@
 05_default_keyboard_layout_xkl.patch
 06_first_vt.patch
 07_libexec-paths.patch
+08_frequent-users_greeter.patch
 90_relibtoolize.patch




More information about the pkg-gnome-commits mailing list