Bug 133705 - app-emulation/emul-linux-x86-xlibs-7.0-r1 misses locale support
Bug#: 133705 Product:  Gentoo Linux Version: 2006.0 Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: amd64@gentoo.org Reported By: markus-henschel@gmx.de
Component: Ebuilds
URL: 
Summary: app-emulation/emul-linux-x86-xlibs-7.0-r1 misses locale support
Keywords:  
Status Whiteboard: 
Opened: 2006-05-18 10:54 0000
Description:   Opened: 2006-05-18 10:54 0000
Some files needed for locale support in X11 are missing from the ebuild:
/emul/linux/x86/usr/lib/X11/lib/locale/libs/common/*

In emul-linux-x86-xlibs-2.2.1-r1 they are present. This causes
emul-linux-x86-java-1.4.2.03-r1  to fail for some java apps or applets. For
example the sun test applet crashes firefox-bin:
http://www.java.com/de/download/help/testvm.xml

Or /opt/java32/bin/policytool complains about "current locale is not supported
in X11" and crashes then.

Furthermore the library seems to look for the locales at the wrong place. When
installing emul-linux-x86-xlibs-2.2.1-r1 (which had the missing files) this
environment variable is needed to fix this:
export XLOCALEDIR=/emul/linux/x86/usr/lib32/X11/locale/

May be the path could be compiled into the emulion library?

------- Comment #1 From Simon Stelling (RETIRED) 2007-02-18 10:52:11 0000 -------
The locales got moved to /usr/share. If you have libX11 installed, you will
have them.