libX11/locale problems

Stefan Dirsch sndirsch at suse.de
Wed Jun 15 08:18:20 PDT 2005


On Thu, Jun 16, 2005 at 01:02:41AM +1000, Daniel Stone wrote:
> On Wed, Jun 15, 2005 at 04:57:04PM +0200, Stefan Dirsch wrote:
> > On Wed, Jun 15, 2005 at 02:44:03PM +0200, Stefan Dirsch wrote:
> > > Anyone who already uses a modularized build of libX11?
> > > 
> > > # LANG=POSIX LC_ALL=POSIX xeyes
> > > Warning: locale not supported by Xlib, locale set to C
> > > Warning: X locale modifiers not supported, using default
> > > 
> > > With stracing any X11 application I could figure out, that the locale
> > > files are still searched below /usr/lib/X11/locale instead of
> > > /usr/share/X11/locale - which seems to be the new default location
> > > now.
> > 
> > Hmm ... after the last commit by Daniel (1.12 lib/X11/configure.ac)
> > the behaviour has somewhat changed. Instead of /usr/lib/X11/locale now
> > "${datadir}/X11/locale" is used. Bug or feature?
> > 
> > Probably you currently need to specify "--datadir=/usr/share" for
> > configure, but I didn't verify this yet ...
> 
> Feature.  All the nls/* stuff is currently installed into the same
> place, so right now it's just being entirely consistent with itself.

I'm wondering about the default.

  open("${datadir}/X11/locale/locale.alias", O_RDONLY)

when not specifying "--datadir" ...

Stefan

Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.)   SUSE LINUX Products GmbH
Tel: 0911-740 53 0            Maxfeldstraße 5
FAX: 0911-740 53 479          D-90409 Nürnberg
http://www.suse.de            Germany 
------------------------------------------------------


More information about the xorg-modular mailing list