From corecode@corecode.ath.cx  Sun Mar 31 00:13:22 2002
Return-Path: <corecode@corecode.ath.cx>
Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80])
	by hub.freebsd.org (Postfix) with ESMTP id 4118137B417
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Mar 2002 00:13:21 -0800 (PST)
Received: from fwd03.sul.t-online.de 
	by mailout01.sul.t-online.com with smtp 
	id 16raRb-0004vI-00; Sun, 31 Mar 2002 10:12:07 +0200
Received: from spirit.zuhause.stoert.net (320050403952-0001@[217.224.165.211]) by fmrl03.sul.t-online.com
	with esmtp id 16raRN-1hYIwiC; Sun, 31 Mar 2002 10:11:53 +0200
Received: from elevation.zuhause.stoert.net (elevation.zuhause.stoert.net [192.168.66.46])
	by spirit.zuhause.stoert.net (8.11.6/8.11.6) with ESMTP id g2V8BnR96537
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Mar 2002 10:11:49 +0200 (CEST)
	(envelope-from corecode@corecode.ath.cx)
Received: (from corecode@localhost)
	by elevation.zuhause.stoert.net (8.11.6/8.11.6) id g2V8BaK87292;
	Sun, 31 Mar 2002 10:11:36 +0200 (CEST)
	(envelope-from corecode)
Message-Id: <200203310811.g2V8BaK87292@elevation.zuhause.stoert.net>
Date: Sun, 31 Mar 2002 10:11:36 +0200 (CEST)
From: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
Reply-To: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: x11/XFree86-4-libraries doesn't install en_US.ISO8859-15 locale
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         36565
>Category:       ports
>Synopsis:       x11/XFree86-4-libraries doesn't install en_US.ISO8859-15 locale
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    anholt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 31 00:20:01 PST 2002
>Closed-Date:    Sun Nov 24 16:11:26 PST 2002
>Last-Modified:  Sun Nov 24 16:11:26 PST 2002
>Originator:     Simon 'corecode' Schubert
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD elevation.zuhause.stoert.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Fri Mar 22 19:08:08 CET 2002 corecode@elevation.zuhause.stoert.net:/usr/obj/i386/k7/usr/src/sys/ELEVATION i386

XFree86-4.2.0_1,1   X11R6.5/XFree86 core distribution (complete)
XFree86-libraries-4.2.0_1 XFree86-4 include/(shared) library kit

	
>Description:
	mentioned port does not install en_US.ISO8859-15 locale (missing lines in locale.dir)
	
>How-To-Repeat:
	LANG=en_US.ISO8859-15 xterm

	xterm will complain about Xlib not supporting this locale.
	
>Fix:
	i don't know the structure of this port, but following patch solved the problem,
	so this should somewhere be adapted.

--- locale.dir~	Sun Mar 31 10:04:55 2002
+++ /usr/X11R6/lib/X11/locale/locale.dir	Sun Mar 31 10:01:53 2002
@@ -68,6 +68,7 @@
 iso8859-1/XLC_LOCALE			en_TT.ISO8859-1
 iso8859-1/XLC_LOCALE			en_UK.ISO8859-1
 iso8859-1/XLC_LOCALE			en_US.ISO8859-1
+iso8859-15/XLC_LOCALE			en_US.ISO8859-15
 iso8859-1/XLC_LOCALE			en_ZA.ISO8859-1
 iso8859-3/XLC_LOCALE			eo_EO.ISO8859-3
 iso8859-3/XLC_LOCALE			eo_XX.ISO8859-3
@@ -431,6 +432,7 @@
 iso8859-1/XLC_LOCALE:			en_TT.ISO8859-1
 iso8859-1/XLC_LOCALE:			en_UK.ISO8859-1
 iso8859-1/XLC_LOCALE:			en_US.ISO8859-1
+iso8859-15/XLC_LOCALE:			en_US.ISO8859-15
 iso8859-1/XLC_LOCALE:			en_ZA.ISO8859-1
 iso8859-3/XLC_LOCALE:			eo_EO.ISO8859-3
 iso8859-3/XLC_LOCALE:			eo_XX.ISO8859-3
	


>Release-Note:
>Audit-Trail:

From: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc:  
Subject: Re: ports/36565: x11/XFree86-4-libraries doesn't install en_US.ISO8859-15 locale
Date: Sun, 31 Mar 2002 12:59:31 +0200

 somebody please test this, i'm getting strange segfaults with gtk apps:
 
 #include <gtk/gtkmain.h>
 
 int main(int argc, char *argv[]) {
     gtk_set_locale();
     gtk_init(&argc, &argv);
     return 0;
 }
 
 this will segfault with LANG=en_US.ISO8859-15 and LC_*="" and the patch
 applied.
 if one comments out the first line (gtk_set_locale()) everything works
 ok. does somebody have a clue about that?
 i'm sorry but i'm not into X coding; i can't tell where the problem is:
 
 GNU gdb 4.18
 Copyright 1998 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for details.
 This GDB was configured as "i386-unknown-freebsd"...
 Core was generated by `gtktest'.
 Program terminated with signal 11, Segmentation fault.
 Reading symbols from /usr/X11R6/lib/libgtk12.so.2...done.
 Reading symbols from /usr/X11R6/lib/libgdk12.so.2...done.
 Reading symbols from /usr/lib/libc.so.4...done.
 Reading symbols from /usr/local/lib/libgmodule12.so.3...done.
 Reading symbols from /usr/local/lib/libglib12.so.3...done.
 Reading symbols from /usr/local/lib/libintl.so.1...done.
 Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
 Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
 Reading symbols from /usr/lib/libm.so.2...done.
 Reading symbols from /usr/X11R6/lib/libXThrStub.so.6...done.
 Reading symbols from /usr/X11R6/lib/X11/locale/common/xlcDef.so.2...done.
 Reading symbols from /usr/libexec/ld-elf.so.1...done.
 #0  0x2838c85c in ?? ()
 (gdb) #0  0x2838c85c in ?? ()
 No symbol table info available.
 #1  0x28302169 in _XDynamicRegisterIMInstantiateCallback ()
    from /usr/X11R6/lib/libX11.so.6
 No symbol table info available.
 #2  0x282e511e in XRegisterIMInstantiateCallback ()
    from /usr/X11R6/lib/libX11.so.6
 No symbol table info available.
 #3  0x281ae35a in gdk_im_open () from /usr/X11R6/lib/libgdk12.so.2
 No symbol table info available.
 #4  0x2819e0e5 in gdk_init_check () from /usr/X11R6/lib/libgdk12.so.2
 No symbol table info available.
 #5  0x804a392 in gtk_init_check ()
 No symbol table info available.
 #6  0x804a792 in gtk_init ()
 No symbol table info available.
 #7  0x804bb37 in main (argc=0, argv=0x0) at gtktest.c:5
 No locals.
 (gdb) 
 
 perhaps somebody can confirm that. perhaps this should be directed to
 xfree86.org?
 
 cheerz
   simon
 
 ps: happy easter!
 
 
 -- 
 /"\   http://corecode.ath.cx/
 \ /
  \     ASCII Ribbon Campaign
 / \  Against HTML Mail and News

From: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc: anholt@FreeBSD.ORG
Subject: Re: ports/36565: x11/XFree86-4-libraries doesn't install en_US.ISO8859-15 locale
Date: Wed, 17 Jul 2002 15:20:26 +0200

 --=.lpbP7a+0h.1oYB
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 okay, the last patch lacked some stuff ;]
 this one really works.
 
 seen by: NetBSD
 
 Index: files/patch-f
 ===================================================================
 RCS file: /home/ncvs/ports/x11/XFree86-4-libraries/files/patch-f,v
 retrieving revision 1.6
 diff -u -r1.6 patch-f
 --- files/patch-f	16 Mar 2002 23:40:17 -0000	1.6
 +++ files/patch-f	17 Jul 2002 13:12:46 -0000
 @@ -1,6 +1,14 @@
 ---- nls/compose.dir.orig	Thu Nov 22 07:29:11 2001
 -+++ nls/compose.dir	Sat Jan 19 22:12:13 2002
 -@@ -211,7 +211,7 @@
 +--- nls/compose.dir.orig	Wed Nov 21 23:29:11 2001
 ++++ nls/compose.dir	Wed Jul 17 15:05:38 2002
 +@@ -62,6 +62,7 @@
 + iso8859-1/Compose:		en_TT.ISO8859-1
 + iso8859-1/Compose:		en_UK.ISO8859-1
 + iso8859-1/Compose:		en_US.ISO8859-1
 ++iso8859-15/Compose:		en_US.ISO8859-15
 + iso8859-1/Compose:		en_ZA.ISO8859-1
 + iso8859-3/Compose:		eo_XX.ISO8859-3
 + iso8859-1/Compose:		es_AR.ISO8859-1
 +@@ -211,7 +212,7 @@
   zh_CN/Compose:			zh_CN.GB2312
   zh_CN.gbk/Compose:		zh_CN.GBK
   zh_TW.big5/Compose:		zh_TW.big5
 @@ -9,8 +17,8 @@
   zh_TW/Compose:			zh_TW.eucTW
   XCOMM
   XCOMM
 ---- nls/locale.alias.orig	Thu Dec 20 06:29:40 2001
 -+++ nls/locale.alias	Sat Jan 19 22:22:20 2002
 +--- nls/locale.alias.orig	Wed Dec 19 22:29:40 2001
 ++++ nls/locale.alias	Sat Jul  6 01:02:07 2002
  @@ -637,18 +637,18 @@
   yi_US.MICROSOFT-CP1255:				yi_US.CP1255
   zh:						zh_CN.eucCN
 @@ -34,9 +42,17 @@
   zh_TW.EUC:					zh_TW.eucTW
   
   XCOMM The following locale names are used in SCO 3.0
 ---- nls/locale.dir.orig	Thu Jan 10 01:14:16 2002
 -+++ nls/locale.dir	Sat Jan 19 22:16:56 2002
 -@@ -216,7 +216,7 @@
 +--- nls/locale.dir.orig	Wed Jan  9 17:14:16 2002
 ++++ nls/locale.dir	Wed Jul 17 15:06:35 2002
 +@@ -68,6 +68,7 @@
 + iso8859-1/XLC_LOCALE:			en_TT.ISO8859-1
 + iso8859-1/XLC_LOCALE:			en_UK.ISO8859-1
 + iso8859-1/XLC_LOCALE:			en_US.ISO8859-1
 ++iso8859-15/XLC_LOCALE:			en_US.ISO8859-15
 + iso8859-1/XLC_LOCALE:			en_ZA.ISO8859-1
 + iso8859-3/XLC_LOCALE:			eo_EO.ISO8859-3
 + iso8859-3/XLC_LOCALE:			eo_XX.ISO8859-3
 +@@ -216,7 +217,7 @@
   zh_CN.gbk/XLC_LOCALE:			zh_CN.gbk
   zh_HK.big5/XLC_LOCALE:			zh_HK.big5
   zh_HK.big5hkscs/XLC_LOCALE:		zh_HK.big5hkscs
 @@ -45,8 +61,8 @@
   zh_TW/XLC_LOCALE:			zh_TW.eucTW
   XCOMM Note: The UTF-8 locales don't work correctly yet. Work in progress.
   en_US.UTF-8/XLC_LOCALE:			af_ZA.UTF-8
 ---- nls/Compose/Imakefile.orig	Sat Nov  3 08:29:28 2001
 -+++ nls/Compose/Imakefile	Sat Jan 19 22:17:40 2002
 +--- nls/Compose/Imakefile.orig	Sat Nov  3 00:29:28 2001
 ++++ nls/Compose/Imakefile	Sat Jul  6 01:02:07 2002
  @@ -70,5 +70,5 @@
   ComposeTarget(zh_CN)
   ComposeTarget(zh_CN.gbk)
 @@ -54,8 +70,8 @@
  -ComposeTarget(zh_TW.big5)
  +ComposeTarget(zh_TW.Big5)
   
 ---- nls/XI18N_OBJS/Imakefile.orig	Fri Nov 16 09:52:31 2001
 -+++ nls/XI18N_OBJS/Imakefile	Sun Jan 20 01:08:44 2002
 +--- nls/XI18N_OBJS/Imakefile.orig	Fri Nov 16 01:52:31 2001
 ++++ nls/XI18N_OBJS/Imakefile	Sat Jul  6 01:02:07 2002
  @@ -57,7 +57,7 @@
   XI18NTarget(zh_CN.gbk)
   XI18NTarget(zh_HK.big5hkscs)
 @@ -65,8 +81,8 @@
   XI18NTarget(th_TH)
   XI18NTarget(en_US.UTF-8)
   #ifdef UXPArchitecture
 ---- nls/XLC_LOCALE/Imakefile.orig	Fri Nov  2 08:35:28 2001
 -+++ nls/XLC_LOCALE/Imakefile	Sat Jan 19 22:19:27 2002
 +--- nls/XLC_LOCALE/Imakefile.orig	Fri Nov  2 00:35:28 2001
 ++++ nls/XLC_LOCALE/Imakefile	Sat Jul  6 01:02:07 2002
  @@ -89,7 +89,7 @@
   LTarget(zh_HK.big5)
   LTarget(zh_HK.big5hkscs)
 
 -- 
 /"\   http://corecode.ath.cx/#donate
 \ /
  \     ASCII Ribbon Campaign
 / \  Against HTML Mail and News
 
 --=.lpbP7a+0h.1oYB
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.7 (FreeBSD)
 
 iD4DBQE9NW8fr5S+dk6z85oRAhCWAJjjY2plopV+DiTS8qEP3iFtlDibAKDh8vQN
 lXciheUWJoJtcGJ3n57Cag==
 =w7VT
 -----END PGP SIGNATURE-----
 
 --=.lpbP7a+0h.1oYB--
 
Responsible-Changed-From-To: freebsd-ports->anholt 
Responsible-Changed-By: pat 
Responsible-Changed-When: Thu Jul 25 16:03:03 PDT 2002 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36565 
State-Changed-From-To: open->closed 
State-Changed-By: anholt 
State-Changed-When: Sun Nov 24 16:11:11 PST 2002 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36565 
>Unformatted:
