tech-x11 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Default X i18n configuration for UTF-8 locales references non-existent modules
Hello,
nhat.minh.le%huoc.org@localhost --> tech-x11 (2009-06-07 11:00:43 +0200):
> Hello,
>
> I'm running NetBSD-5.0 release with native X.org from the base system
> on i386, and I've noticed the default X i18n settings for the UTF-8
> locales are non-working since they point to non-existent modules. It
> seems several other people have noticed the effects too, in a form or
> another; it is related to PR #41129.[1][2] Is there a reason to these
> defaults?
[...]
> On my setup, I have replaced them with X.org (only) modules, which are
> used by non-UTF-8 locales (ximcp for XIM and xomGeneric for XOM).
> I don't know whether they support all Unicode specifics, but at least
> they exist. Here's the patch:
>
> --- a/XI18N_OBJS 2008-07-30 04:43:01.000000000 +0200
> +++ b/XI18N_OBJS 2009-06-06 19:09:30.000000000 +0200
> @@ -3,6 +3,8 @@
> # XI18N objects table for euro locales
> #
> XLC common/xlcUTF8Load _XlcUtf8Loader # XLC_open
> -XOM common/xomLTRTTB _XomGenericOpenOM # XOM_open
> -XIM common/xiiimp _SwitchOpenIM # XIM_open
> -XIM common/xiiimp _XimpLocalOpenIM # XIM_open
> +#XOM common/xomLTRTTB _XomGenericOpenOM # XOM_open
> +XOM common/xomGeneric _XomGenericOpenOM # XOM_open
> +#XIM common/xiiimp _SwitchOpenIM # XIM_open
> +#XIM common/xiiimp _XimpLocalOpenIM # XIM_open
> +XIM common/ximcp _XimOpenIM
> _XimRegisterIMInstantiateCallback _XimUnRegisterIMInstantiateCallback
> # XIM_open XIM_register XIM_unregister
>
> For me, things work fine with these settings: X applications
> (including twm) using base X fonts can now create fontsets, xterm does
> not complain about the input method anymore, [...]
indeed, your changes seem to fix those problems on my -current system
with HEAD xsrc, too. Thanks for the hint!
Regards, Jukka
--
This email fills a much-needed gap in the archives.
Home |
Main Index |
Thread Index |
Old Index