[PC-BSD Testing] ja-ibus-anthy missing and cannot install

Yamashiro, Jun yamajun at ofug.net
Mon Jan 27 10:03:04 PST 2014


On Mon, 27 Jan 2014 10:31:32 -0500
Kris Moore <kris at pcbsd.org> wrote:
> On 01/27/2014 09:29, Ken Moore wrote:
> > Fixed!
> > https://github.com/pcbsd/pcbsd/commit/18c6ea0a5c07fba0f2819e2113c9b024e609646b
> >
> >
> > Kris, could you backport this to 10.0-Release?
> >
> 
> I'll get that rolled in asap.

I'm very thanks to you for fast fix.
I compiled new PCDM-session.  But, not set iBus related environment variable:-(

Dirty hack plan:
I wrote hard-coding patch for XProcess::setupSessionEnvironment()
Append code for environment variables set forcefully.

This patch worked with my environment.  But very dirty.  It has not support
for "Force IBUS keyboard input" mode.


--- pcdm-xprocess.cpp.orig	2014-01-28 02:18:27.620670697 +0900
+++ pcdm-xprocess.cpp	2014-01-28 02:22:17.166667922 +0900
@@ -181,6 +181,13 @@
   environ.insert("HOME",xhome); //Set the users home directory
   environ.insert("SHELL",xshell); //Set the user's default shell
   environ.insert("PCDM_SESSION", Backend::getNLDesktopName(xde).toUpper() ); //List the desktop environment that is being started
+
+  // for iBus
+  environ.insert("XMODIFIERS","@im=ibus"); 
+  environ.insert("GTK_IM_MODULE","xim"); 
+  environ.insert("GTK_IM_MODULE_FILE","/usr/local/etc/gtk-2.0/gtk.immodules"); 
+  environ.insert("QT_IM_MODULE","ibus"); 
+
   this->setProcessEnvironment(environ);
   this->setWorkingDirectory(xhome); //set the current directory to the user's home directory
 }

-- 
Yamashiro, Jun			Email: yamajun at ofug.net
Okinawa FreeBSD Users Group


More information about the Testing mailing list