pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Dead keys still not working in GTK Emacs



At Sat, 12 May 2012 19:31:11 +0200,
Thomas Klausner <tk%giga.or.at@localhost> wrote:
> 
> On Sat, May 12, 2012 at 02:39:44PM +0200, Ian D. Leroux wrote:
> > Nhat Minh Lê has kindly sent a fix that works for me: in
> > /usr/X11R7/lib/X11/locale/en_US.UTF-8/XI18N_OBJS change the line
> > reading
> > 
> > XIM     common/ximcp            _XimOpenIM
> > 
> > to read
> > 
> > XIM     common/ximcp            _XimOpenIM  
> > _XimRegisterIMInstantiateCallback       _XimUnRegisterIMInstantiateCallback
> 
> It does indeed work for me, and I modified
> /usr/X11R7/lib/X11/locale/en_US.UTF-8/XI18N_OBJS even though my locale
> is de_DE.UTF-8 (and it still worked). (There is no
> /usr/X11R7/lib/X11/locale/de_DE.UTF-8 directory.)
> 
> Please file the PR (or send me the diff directly).

Curiously, almost all the XI18N_OBJS files in xsrc already have this
change; all those under xsrc/xfree/xc/nls/XI18N_OBJS/ are fine, as are
the non-English locales in xsrc/external/mit/libX11/dist/nls.  The
attached patch (to be applied from xsrc/external/mit/libX11/dist)
fixes the locales C, iso8859-1, and en_US.UTF-8.

-- IDL

===File /usr/xsrc/external/mit/libX11/dist/nlspatch=========
diff -ru nls.old/C/XI18N_OBJS nls/C/XI18N_OBJS
--- nls.old/C/XI18N_OBJS        2008-07-30 04:43:00.000000000 +0200
+++ nls/C/XI18N_OBJS    2012-05-13 12:51:43.000000000 +0200
@@ -3,6 +3,6 @@
 #      XI18N objects table for euro locales
 #
 XLC    common/xlibi18n _XlcGenericLoader       # XLC_open
-XIM    common/ximcp    _XimOpenIM      # XIM_open
+XIM    common/ximcp    _XimOpenIM _XimRegisterIMInstantiateCallback  
_XimUnRegisterIMInstantiateCallback # XIM_open    XIM_register XIM_unregister
 XOM    common/xomGeneric       _XomGenericOpenOM       # XOM_open
 
diff -ru nls.old/en_US.UTF-8/XI18N_OBJS nls/en_US.UTF-8/XI18N_OBJS
--- nls.old/en_US.UTF-8/XI18N_OBJS      2009-08-27 06:42:36.000000000 +0200
+++ nls/en_US.UTF-8/XI18N_OBJS  2012-05-13 12:52:28.000000000 +0200
@@ -4,4 +4,4 @@
 #
 XLC    common/xlcUTF8Load      _XlcUtf8Loader          # XLC_open
 XOM    common/xomGeneric       _XomGenericOpenOM       # XOM_open
-XIM    common/ximcp            _XimOpenIM              # XIM_open
+XIM    common/ximcp    _XimOpenIM _XimRegisterIMInstantiateCallback  
_XimUnRegisterIMInstantiateCallback # XIM_open    XIM_register XIM_unregister
diff -ru nls.old/iso8859-1/XI18N_OBJS nls/iso8859-1/XI18N_OBJS
--- nls.old/iso8859-1/XI18N_OBJS        2008-07-30 04:43:04.000000000 +0200
+++ nls/iso8859-1/XI18N_OBJS    2012-05-13 12:53:00.000000000 +0200
@@ -3,6 +3,6 @@
 #      XI18N objects table for euro locales
 #
 XLC    common/xlibi18n _XlcGenericLoader       # XLC_open
-XIM    common/ximcp    _XimOpenIM      # XIM_open
+XIM    common/ximcp    _XimOpenIM _XimRegisterIMInstantiateCallback  
_XimUnRegisterIMInstantiateCallback # XIM_open    XIM_register XIM_unregister
 XOM    common/xomGeneric       _XomGenericOpenOM       # XOM_open
 
============================================================


Home | Main Index | Thread Index | Old Index