Bug 33259

Summary: en_US.UTF-8 locale references common/xiiimp for XIM
Product: xorg Reporter: Lorenzo Marcantonio <lomarcan>
Component: Lib/Xlib (data)Assignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: trivial    
Priority: medium    
Version: 7.4 (2008.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Lorenzo Marcantonio 2011-01-18 14:24:22 UTC
With libX11-1.4.0 I noticed that the compose key stopped working, and xterm started with an error about an error starting the input method. A quick strace pointed me to the share/X11/locale/en_US.UTF-8/XI18N_OBJS file

It contains the lines:

XIM    common/xiiimp           _SwitchOpenIM           # XIM_open
XIM    common/xiiimp           _XimpLocalOpenIM        # XIM_open

(the xiiimp library isn't found, googling it seems to be a Solaris one)

Shouldn't it be using the common/ximcp module, instead? (I think it's responsible for the compose key feature). I tried replacing these two lines
with:

XIM     common/ximcp            _XimOpenIM              # XIM_open
XIM     common/ximcp            _XimLocalOpenIM         # XIM_open

which were the most plausible according to the sources... no more error with xterm and the compose key resumed working. Please note I have *no idea* on how XIM works, but I wanted to known if the xiiimp part is correct or not (maybe it's from another package I didn't found)
Comment 1 James Cloos 2011-01-18 15:25:43 UTC
That goes all the way back to the initial commit in the libX11 git repo
(based on the sources from X11R6.6).

I do not know why it is different than the rest of the IE18N_OBJS files.
Comment 2 Julien Cristau 2011-01-19 02:14:32 UTC
--enable-loadable-i18n is all broken.

*** This bug has been marked as a duplicate of bug 8144 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.