Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 18:02:24 -0500 (EST)
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32840: Update x11/gdm to fix locale problems
Message-ID:  <200112142302.fBEN2OR90205@shumai.marcuscom.com>

next in thread | raw e-mail | index | archive | help

>Number:         32840
>Category:       ports
>Synopsis:       Update x11/gdm to fix locale problems
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 14 15:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Joe Marcus Clarke
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
MarcusCom, Inc.
>Environment:
System: FreeBSD shumai.marcuscom.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat Dec 8 02:01:11 EST 2001 marcus@shumai.marcuscom.com:/usr/obj/usr/src/sys/SHUMAI i386


	
>Description:
	The locales that gdm knows about are formatted incorrectly for FreeBSD.
Most of them need a '-' substituted with a '_'.  Also, the default locale
is unknown to FreeBSD.
>How-To-Repeat:
	Login after installing /usr/ports/x11/gdm.  You will see:

LC_ALL = (unset),
LANG = "en_US"

When trying to run certain applications.

>Fix:
This patch corrects the locale names, and makes US English the default
English.

Patch to /usr/ports/x11/gdm/files/patch-ab:

--- patch-ab.orig	Mon Nov 26 14:02:06 2001
+++ patch-ab	Fri Dec 14 17:58:06 2001
@@ -1,8 +1,5 @@
-
-$FreeBSD: ports/x11/gdm/files/patch-ab,v 1.4 2001/11/26 16:22:25 sobomax Exp $
-
---- config/gdm.conf.in.orig	Fri Nov 16 13:42:13 2001
-+++ config/gdm.conf.in	Mon Nov 26 17:53:18 2001
+--- gdm.conf.in.orig	Fri Nov 16 06:42:13 2001
++++ gdm.conf.in	Fri Dec 14 17:57:18 2001
 @@ -5,7 +5,7 @@
  # want gdm to kill/restart the server, turn this on
  AlwaysRestartServer=false
@@ -51,8 +48,12 @@
  MaxIconWidth=128
  MaxIconHeight=128
  
-@@ -80,11 +80,11 @@
- DefaultLocale=en_US
+@@ -77,14 +77,14 @@
+ ConfigAvailable=true
+ Browser=false
+ DefaultFace=@EXPANDED_PIXMAPDIR@/nobody.png
+-DefaultLocale=en_US
++DefaultLocale=en_US.ISO_8859-1
  # These are things excluded from the face browser, not from logging in
  Exclude=bin,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody,gdm,postgres,pvm,rpm
 -Font=-*-helvetica-bold-r-normal-*-*-180-*-*-*-*-*-*,*


Patch to config/locale.aliase in the GDM dist:

--- config/locale.alias.orig	Fri Dec 14 17:47:02 2001
+++ config/locale.alias	Fri Dec 14 17:50:12 2001
@@ -29,38 +29,38 @@
 catalan		ca_ES.ISO-8859-1
 chinese(simplified)	zh_CN.GB2312
 chinese(traditional)	zh_TW
-croatian	hr_HR.ISO-8859-2
-czech		cs_CZ.ISO-8859-2
+croatian	hr_HR.ISO_8859-2
+czech		cs_CZ.ISO_8859-2
 danish          da_DK.ISO-8859-1
-dansk		da_DK.ISO-8859-1
-deutsch		de_DE.ISO-8859-1
-dutch		nl_NL.ISO-8859-1
-english		en.ISO-8859-1
-english.us	en_US.ISO-8859-1
-english.gb	en_GB.ISO-8859-1
-finnish         fi_FI.ISO-8859-1
-french		fr_FR.ISO-8859-1
-galician	gl_ES.ISO-8859-1
-german		de_DE.ISO-8859-1
-greek           el_GR.ISO-8859-7
-hebrew          iw_IL.ISO-8859-8
-hrvatski	hr_HR.ISO-8859-2
-hungarian       hu_HU.ISO-8859-2
-icelandic       is_IS.ISO-8859-1
-italian         it_IT.ISO-8859-1
+dansk		da_DK.ISO_8859-1
+deutsch		de_DE.ISO_8859-1
+dutch		nl_NL.ISO_8859-1
+english		en_US.ISO_8859-1
+english.us	en_US.ISO_8859-1
+english.gb	en_GB.ISO_8859-1
+finnish         fi_FI.ISO_8859-1
+french		fr_FR.ISO_8859-1
+galician	gl_ES.ISO_8859-1
+german		de_DE.ISO_8859-1
+greek           el_GR.ISO_8859-7
+hebrew          iw_IL.ISO_8859-8
+hrvatski	hr_HR.ISO_8859-2
+hungarian       hu_HU.ISO_8859-2
+icelandic       is_IS.ISO_8859-1
+italian         it_IT.ISO_8859-1
 japanese	ja_JP.EUC
 korean          ko_KR.EUC
-lithuanian	lt_LT.ISO-8859-13
-norwegian       no_NO.ISO-8859-1
-nynorsk		nn_NO.ISO-8859-1
-polish          pl_PL.ISO-8859-2
-portuguese      pt_PT.ISO-8859-1
-portuguese.br	pt_BR.ISO-8859-1
-romanian        ro_RO.ISO-8859-2
+lithuanian	lt_LT.ISO_8859-13
+norwegian       no_NO.ISO_8859-1
+nynorsk		nn_NO.ISO_8859-1
+polish          pl_PL.ISO_8859-2
+portuguese      pt_PT.ISO_8859-1
+portuguese.br	pt_BR.ISO_8859-1
+romanian        ro_RO.ISO_8859-2
 russian         ru_RU.KOI8-R
-slovak          sk_SK.ISO-8859-2
-slovenian       sl_SI.ISO-8859-2
-spanish         es_ES.ISO-8859-1
-swedish         sv_SE.ISO-8859-1
-turkish         tr_TR.ISO-8859-9
+slovak          sk_SK.ISO_8859-2
+slovenian       sl_SI.ISO_8859-2
+spanish         es_ES.ISO_8859-1
+swedish         sv_SE.ISO_8859-1
+turkish         tr_TR.ISO_8859-9
 ukrainian	uk_UA.KOI8-U
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112142302.fBEN2OR90205>