NetBSD Problem Report #51571
From www@NetBSD.org Sat Oct 22 15:31:48 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 7B52D7A1AF
for <gnats-bugs@gnats.NetBSD.org>; Sat, 22 Oct 2016 15:31:48 +0000 (UTC)
Message-Id: <20161022153147.1381E7A279@mollari.NetBSD.org>
Date: Sat, 22 Oct 2016 15:31:47 +0000 (UTC)
From: stackfield0trpg@gmail.com
Reply-To: stackfield0trpg@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [inputmethod/scim] GTK2 application can't invoke to scim gtk2 immodule.
X-Send-Pr-Version: www-1.0
>Number: 51571
>Category: pkg
>Synopsis: [inputmethod/scim] GTK2 application can't invoke to scim gtk2 immodule.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bsiegert
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 22 15:35:00 +0000 2016
>Closed-Date: Thu Oct 27 18:41:20 +0000 2016
>Last-Modified: Thu Oct 27 18:41:20 +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:/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[] =
>Release-Note:
>Audit-Trail:
From: stack field <stackfield0trpg@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/51571: [inputmethod/scim] GTK2 application can't invoke to
scim gtk2 immodule.
Date: Sun, 23 Oct 2016 21:38:17 +0900
Sorry for all, It's my mistike.
GTK2 applications can invoke scim with env GTK_IM_MODULE=scim(small
letter not big letter).
I apologize for the error. Excuse me.
2016-10-23 0:35 GMT+09:00 <stackfield0trpg@gmail.com>:
>>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:/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[] =
>
>
Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Thu, 27 Oct 2016 18:41:20 +0000
Responsible-Changed-Why:
State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Thu, 27 Oct 2016 18:41:20 +0000
State-Changed-Why:
Working as intended, according to the submitter.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.