~ubuntu-branches/ubuntu/vivid/xfce4-session/vivid-proposed

« back to all changes in this revision

Viewing changes to debian/patches/xubuntu_ignore-gdm-lang.patch

  • Committer: Package Import Robot
  • Author(s): Lionel Le Folgoc
  • Date: 2013-07-01 19:35:39 UTC
  • mfrom: (4.2.15 sid)
  • Revision ID: package-import@ubuntu.com-20130701193539-tqwsq1uwaau0sxpi
Tags: 4.10.1-1ubuntu1
* Merge from Debian unstable, remaining Ubuntu changes:
  - debian/patches:
    + xubuntu_ignore-gdm-lang.patch: do not set $LANG to $GDM_LANG, there's
      already an xsession script to do that, and $GDM_LANG might not contain
      a valid locale code.
    + xubuntu_set-xdg-current-desktop.patch: added. Taken from xfce4-utils,
      export XDG_CURRENT_DESKTOP=XFCE, can be useful with alacarte and
      gnome-menus. lp #927172

* debian/patches:
  - xfsm-startup-random-crash.patch: dropped, included in 4.10.1.
  - xubuntu_ignore-gdm-lang.patch: updated to apply cleanly.

* Check for logind support at runtime (lp: #1178373):
  - debian/patches/xubuntu_runtime-logind-support.patch: added.
  - debian/rules:
    + call xdt-autogen after patching
    + clean up autogenerated files modified by xdt-autogen.
  - debian/control:
    + add build-dep on libpolkit-gobject-1-dev (>= 0.100).
    + add build-dep on xfce4-dev-tools and libtool in order to run xdt-autogen
      after patching.
    + don't recommend consolekit anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
+++ xfce4-session-4.8.1/xfce4-session/main.c
9
9
@@ -101,14 +101,6 @@ setup_environment (void)
10
10
   /* pass correct DISPLAY to children, in case of --display in argv */
11
 
   xfce_setenv ("DISPLAY", gdk_display_get_name (gdk_display_get_default ()), TRUE);
 
11
   g_setenv ("DISPLAY", gdk_display_get_name (gdk_display_get_default ()), TRUE);
12
12
 
13
13
-  /* this is for compatibility with the GNOME Display Manager */
14
14
-  lang = g_getenv ("GDM_LANG");
15
15
-  if (lang != NULL && strlen (lang) > 0)
16
16
-    {
17
 
-      xfce_setenv ("LANG", lang, TRUE);
18
 
-      xfce_unsetenv ("GDM_LANG");
 
17
-      g_setenv ("LANG", lang, TRUE);
 
18
-      g_unsetenv ("GDM_LANG");
19
19
-    }
20
20
-
21
21
   /* check access to $ICEAUTHORITY or $HOME/.ICEauthority if unset */