Subject: pkg/17920: gtk uses it's own, buggy locale/multibyte routines
To: None <gnats-bugs@gnats.netbsd.org>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
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
>Closed-Date:
>Last-Modified:
>Originator: Jaromir Dolecek
>Release: NetBSD 1.6E
>Organization:
>Environment:
System: NetBSD s102-n054.tele2.cz 1.6E NetBSD 1.6E (SARUMAN) #233: Wed Aug 7 22:50:08 CEST 2002 dolecek@s102-n054.tele2.cz:/usr/home/dolecek/soft/netbsd/sys/arch/i386/compile/SARUMAN i386
Architecture: i386
Machine: i386
>Description:
GTK applications fail do display iso-8859-[12] characters. Very
often, labels containing non-ascii characters aren't displayed
at all, or are incomplete.
>How-To-Repeat:
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
empty.
>Fix:
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
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-xinput=xfree \
- --sysconfdir=${X11PREFIX}/share
+CONFIGURE_ARGS+= --with-xinput=xfree --with-native-locale=yes \
+ --sysconfdir=${X11PREFIX}/share
CONFIGURE_ENV+= X_LDFLAGS="${X_LDFLAGS}"
INFO_FILES= gdk.info gtk.info
>Release-Note:
>Audit-Trail:
>Unformatted: