summaryrefslogtreecommitdiffstats
path: root/x11/gdm/files/patch-gui_simple-greeter_gdm-user.c
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-28 06:10:10 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-28 06:10:10 +0800
commit752a66b40a757b50196fb97fda1143a42e96c295 (patch)
tree49bd85e2fc333a96c40e09b46a8027f64b1a470f /x11/gdm/files/patch-gui_simple-greeter_gdm-user.c
parent2d81cfc3ccdf086d3ac5c107818ffe2f73f04d9a (diff)
downloadmarcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.gz
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.zst
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.zip
Move gnome3 ports into the place of the gnome2 locations.
Update to new port rules, remove conflicts, latest_link, enable stage support. gnome-games was skipped because I got a update for that. gnome-keyring 2 vs 3, needs to be looked at. zenity 2 vs 3, and libgnomekbd 2 vs 3 Use new lib_depend syntax in bsd.gnome.mk. Possible lots of broken links. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18813 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm/files/patch-gui_simple-greeter_gdm-user.c')
-rw-r--r--x11/gdm/files/patch-gui_simple-greeter_gdm-user.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/x11/gdm/files/patch-gui_simple-greeter_gdm-user.c b/x11/gdm/files/patch-gui_simple-greeter_gdm-user.c
deleted file mode 100644
index e5fb649c6..000000000
--- a/x11/gdm/files/patch-gui_simple-greeter_gdm-user.c
+++ /dev/null
@@ -1,34 +0,0 @@
---- gui/simple-greeter/gdm-user.c.orig 2009-12-16 17:52:36.000000000 -0500
-+++ gui/simple-greeter/gdm-user.c 2009-12-18 21:43:38.000000000 -0500
-@@ -425,6 +425,7 @@ _gdm_user_update (GdmUser *u
- /* Display Name */
- if (pwent->pw_gecos && pwent->pw_gecos[0] != '\0') {
- gchar *first_comma = NULL;
-+ gchar *ampersand;
- gchar *valid_utf8_name = NULL;
-
- if (g_utf8_validate (pwent->pw_gecos, -1, NULL)) {
-@@ -449,6 +450,23 @@ _gdm_user_update (GdmUser *u
- g_free (real_name);
- real_name = NULL;
- }
-+
-+ while (real_name != NULL && (ampersand = strchr (real_name, '&')) != NULL) {
-+ gchar *temp_real_name1;
-+ gchar *temp_real_name2;
-+ gchar *temp_name;
-+
-+ temp_real_name1 = g_strndup (real_name,
-+ (ampersand - real_name));
-+ temp_real_name2 = g_strdup (ampersand + 1);
-+ temp_name = g_strdup (pwent->pw_name);
-+ temp_name[0] = toupper (temp_name[0]);
-+ g_free (real_name);
-+ real_name = g_strdup_printf ("%s%s%s", temp_real_name1, temp_name, temp_real_name2);
-+ g_free (temp_real_name1);
-+ g_free (temp_real_name2);
-+ g_free (temp_name);
-+ }
- } else {
- real_name = NULL;
- }