Subject: pkg/17920: gtk uses it's own, buggy locale/multibyte routines
To: None <>
From: Jaromir Dolecek <>
List: netbsd-bugs
Date: 08/13/2002 00:17:39
>Number:         17920
>Category:       pkg
>Synopsis:       gtk uses it's own, buggy locale/multibyte routines
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 12 15:18:01 PDT 2002
>Originator:     Jaromir Dolecek
>Release:        NetBSD 1.6E
System: NetBSD 1.6E NetBSD 1.6E (SARUMAN) #233: Wed Aug 7 22:50:08 CEST 2002 i386
Architecture: i386
Machine: i386
	GTK applications fail do display iso-8859-[12] characters. Very
	often, labels containing non-ascii characters aren't displayed
	at all, or are incomplete. 

	Compile and install e.g. gaim, set LANG=cs, LC_ALL=cs_CZ.ISO8859-2
	and start gaim. Some labels on the gaim startup screen would be
	Enable use of native locale routines. This fixes the behaviour
	for 1.6. It would probably be nice to test this with 1.5, which
	doesn't have as good locale support. Since this is non-leaf
	pkg and I don't want to break anything, I'm leaving the fix
	to our fine pkgsrc folks ;)

Index: Makefile
RCS file: /cvsroot/pkgsrc/x11/gtk/Makefile,v
retrieving revision 1.70
diff -u -p -r1.70 Makefile
--- Makefile	2002/07/03 03:24:49	1.70
+++ Makefile	2002/08/12 22:16:41
@@ -22,8 +22,8 @@ USE_X11BASE=		yes
 USE_GMAKE=		yes
-CONFIGURE_ARGS+=	--with-xinput=xfree \
-					--sysconfdir=${X11PREFIX}/share
+CONFIGURE_ARGS+=	--with-xinput=xfree --with-native-locale=yes \
+				--sysconfdir=${X11PREFIX}/share