pkgsrc-Bugs archive

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

pkg/51571: [inputmethod/scim] GTK2 application can't invoke to scim gtk2 immodule.



>Number:         51571
>Category:       pkg
>Synopsis:       [inputmethod/scim] GTK2 application can't invoke to scim gtk2 immodule.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 22 15:35:00 +0000 2016
>Originator:     stackfield
>Release:        NetBSD-current and pkgsrc-current with moduler X
>Organization:
>Environment:
NetBSD stackfieldbase.home 7.99.39 NetBSD 7.99.39 (GENERIC) #0: Sun Oct  9 18:36:28 JST 2016  root%stackfieldbase.home@localhost:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
The scim with the scim-canna was able to handle in gtk2 applications,
so that haven't ability to register the language data into a gtk2 immodule cache.

>How-To-Repeat:
1. install inputmethod/scim & inputmethod/scim-canna
2. canna server startup.
3. invoke scim-setup & scim -d
4. exec gtk2 application with env GTK_IMMODULES=SCIM.
5. type some key in gtk2 after selecting canna in scim toolbar.

>Fix:
I suggest this patch.

$NetBSD$

--- extras/immodules/client-gtk/im-scim-bridge-gtk.c.orig	2014-10-22 10:56:16.000000000 +0000
+++ extras/immodules/client-gtk/im-scim-bridge-gtk.c
@@ -40,7 +40,7 @@ static const GtkIMContextInfo scim_bridg
     /* Dir for bindtextdomain (not strictly needed for "gtk+") */
     "",
     /* Languages for which this module is the default */
-    ""
+    "ja:ko:zh:*"
 };
 
 static const GtkIMContextInfo *info_list[] =




Home | Main Index | Thread Index | Old Index