patches/gdm-06-xsession.diff
author yippi
Fri, 21 Nov 2008 21:16:14 +0000
changeset 14638 27ceb9334364
permissions -rw-r--r--
2008-11-21 Brian Cameron <[email protected]> * SUNWgnome-display-mgr.spec, ext-sources/svc-gdm, ext-sources/gdm.xml, base-specs/gdm.xml: Add /lib/svc/method/svc-gdm SMF method file so that the "stop" method does not cause errors on shutdown/restart. * patches/gdm-06-dbus.spec: Remove this patch. It is no longer needed for programs like GOK to startup from GDM since D-Bus autostart is working better now. Renumber other GDM patches.

--- gdm-2.20.8/config/Xsession.solaris.orig	2008-10-21 01:42:22.499854000 +0900
+++ gdm-2.20.8/config/Xsession.solaris	2008-10-21 01:45:53.663493000 +0900
@@ -20,7 +20,12 @@ export G_BROKEN_FILENAMES
 # G_FILENAME_ENCODING=@locale
 # export G_FILENAME_ENCODING
 
-export VTE_CJK_WIDTH=1
+case $LANG in
+ja*) VTE_CJK_WIDTH=1; export VTE_CJK_WIDTH;;
+ko*) VTE_CJK_WIDTH=1; export VTE_CJK_WIDTH;;
+zh*) VTE_CJK_WIDTH=1; export VTE_CJK_WIDTH;;
+*) ;;
+esac
 
 if [ "x$LANG" = "xzh" ] ; then
   export LANGUAGE=zh:zh_CN.EUC