pkgsrc-Bugs archive

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

pkg/53262: uim-xim cannot connect correctly from any xim client after inputmethod/uim/Makefile 1.134



>Number:         53262
>Category:       pkg
>Synopsis:       uim-xim cannot connect correctly from any xim client after inputmethod/uim/Makefile 1.134
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 05 00:10:00 +0000 2018
>Originator:     Yasushi Oshima
>Release:        pkgsrc-2018Q1 or current
>Organization:
>Environment:
NetBSD amd64 8.0_RC1
>Description:
After uim/Mafefile 1.134, 

Many xim-clients (xterm, mlterm, firefox, ...) cannot connect to xim-server(uim-xim) even though XMODIFIERS='@im_uim' was set.

When turn-on trace with uim-xim, it says some error:

$ uim-xim -trace 
(snip)
selection notify request for locale.
selection notify request for transport.
accept xim connection.
X error occured. BadWindow (invalid Window parameter)

I try to set uim-xim --async option, it is the same, no effect, 


I want to use this to input Japanese but cannot do.


Before Makefile 1.134, it worked well.

When changes c++03 to gnu++03 or c++ in USE_LANGUAGES in Makefile.1.134 or after, it works well again.

But I don't know why.



>How-To-Repeat:
$ export XMODIFERS='@im=xim'
$ export LANG='ja_JP.UTF-8'
$ uim-xim &
$ xterm &

Input convert-operation in xterm (ex. 'Shift-Space' in the default of uim-xim).


>Fix:
--- a/inputmethod/uim/Makefile
+++ b/inputmethod/uim/Makefile
@@ -12,7 +12,7 @@ CONFLICTS+=           uim-qt4-immodule-[0-9]*
 USE_LIBTOOL=           YES
 USE_PKGLOCALEDIR=      YES
 USE_TOOLS+=            gmake intltool pkg-config msgfmt
-USE_LANGUAGES=         c99 c++03
+USE_LANGUAGES=         c99 gnu++03
 PKGCONFIG_OVERRIDE+=   ${WRKSRC}/uim.pc.in
 GNU_CONFIGURE=         YES
 CONFIGURE_ARGS+=       --disable-emacs


Home | Main Index | Thread Index | Old Index