Patch for scim-bridge

3 messages Options
Embed this post
Permalink
Peng Wu

Patch for scim-bridge

Reply Threaded More More options
Print post
Permalink

Hi, Ryo Dairiki:

When the kde use scim-bridge as default input method, scim-bridge initialized the scim components. But in scim-bridge, the init process doesn't launch scim x11 frontend, which is used by X window applications.
Because scim-bridge already init scim, so the skim (in xim.d) init will return immediately without doing any thing, all X window applications like OpenOffice will not able to input chinese charactors.

Please see https://bugzilla.novell.com/show_bug.cgi?id=331614

Your sincerely,
  Peng Wu.


Index: scim-bridge-0.4.13/agent/scim-bridge-agent.cpp
===================================================================
--- scim-bridge-0.4.13.orig/agent/scim-bridge-agent.cpp
+++ scim-bridge-0.4.13/agent/scim-bridge-agent.cpp
@@ -468,6 +468,12 @@ retval_t ScimBridgeAgentImpl::initialize
         }
     }
 
+    {
+        scim_bridge_pdebugln (8, "Launching a SCIM daemon with x11 FrontEnd...");
+        char *new_argv [] = {NULL};
+        scim_launch (true, "socket", "socket", "x11", new_argv);
+    }
+
     // load config module
     scim_bridge_pdebugln (2, "Loading Config module...: socket");
     scim_config_module = new ConfigModule ("socket");

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Scim-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scim-devel
Ryo Dairiki-2

Re: Patch for scim-bridge

Reply Threaded More More options
Print post
Permalink
Hi Peng,

I've just tested your patch, and it seems okay.
Your patch has been imported on the cvs latest.
Please check it. :)

Regards,
Ryo Dairiki <[hidden email]>

Peng Wu wrote:

> Hi, Ryo Dairiki:
>
> When the kde use scim-bridge as default input method, scim-bridge initialized the scim components. But in scim-bridge, the init process doesn't launch scim x11 frontend, which is used by X window applications.
> Because scim-bridge already init scim, so the skim (in xim.d) init will return immediately without doing any thing, all X window applications like OpenOffice will not able to input chinese charactors.
>
> Please see https://bugzilla.novell.com/show_bug.cgi?id=331614
>
> Your sincerely,
>   Peng Wu.
>
>  
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Scim-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/scim-devel


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Scim-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scim-devel
Peng Wu

Re: Patch for scim-bridge

Reply Threaded More More options
Print post
Permalink
Hi, Ryo Dairiki:
    I see it in the cvs. :)

Your sincerely,
    Peng Wu.
>>> On Sat, Jan 12, 2008 at 10:54 AM, in message
<[hidden email]>, Ryo Dairiki
<[hidden email]> wrote:

> Hi Peng,
>
> I've just tested your patch, and it seems okay.
> Your patch has been imported on the cvs latest.
> Please check it. :)
>
> Regards,
> Ryo Dairiki <[hidden email]>
>
> Peng Wu wrote:
>> Hi, Ryo Dairiki:
>>
>> When the kde use scim-bridge as default input method, scim-bridge initialized
> the scim components. But in scim-bridge, the init process doesn't launch scim
> x11 frontend, which is used by X window applications.
>> Because scim-bridge already init scim, so the skim (in xim.d) init will
> return immediately without doing any thing, all X window applications like
> OpenOffice will not able to input chinese charactors.
>>
>> Please see https://bugzilla.novell.com/show_bug.cgi?id=331614
>>
>> Your sincerely,
>>   Peng Wu.
>>
>>  
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Scim-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/scim-devel
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Scim-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/scim-devel


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Scim-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scim-devel