[PC-BSD Testing] iBus(CJK input method) cannot working on 9.0Beta1.5

Kris Moore kris at pcbsd.org
Mon Sep 19 08:10:40 PDT 2011


On 09/17/11 00:58, Yamashiro, Jun wrote:
> On Sun, 11 Sep 2011 15:49:19 -0400
> Kris Moore <kris at pcbsd.org> wrote:
>> Thanks for finding this! Committed!
> Thanks for commit.  But, I mistook in last mail.  Sorry.
> I forget this patch for: /usr/local/share/pcbsd/xstartup/enable-ibus.sh
>
> ChangeLog:
> * Language select from GDM_LANG environment variable(formerly kdmrc file).
>
> Note:
> I found depend on KDM source at: "current/system-overlay/usr/local/bin/pdm".
> Is it safe?
>
>
> --- enable-ibus.sh.orig	2010-10-30 03:43:57.000000000 +0900
> +++ enable-ibus.sh	2011-09-17 11:25:17.000000000 +0900
> @@ -7,11 +7,11 @@
>  ##########################################################################
>  
>  # Check kdm language
> -KDMLANG="`cat /usr/local/share/config/kdm/kdmrc | grep '^Language=' | cut -d '=' -f 2 | cut -d '.' -f 1`"
> +#KDMLANG="`cat /usr/local/share/config/kdm/kdmrc | grep '^Language=' | cut -d '=' -f 2 | cut -d '.' -f 1`"
>  
>  # Check if we are using a lang which needs ibus
> -case ${KDMLANG} in
> -  ja_JP|ko_KR|zh_CN|zh_TW) ENABLE="YES" ;;
> +case ${GDM_LANG} in
> +  ja_JP*|ko_KR*|zh_CN*|zh_TW*) ENABLE="YES" ;;
>    *) ENABLE="NO" ;;
>  esac
>  
>

Yea, pdm / kdm is obsolete on 9, added your fix, thanks :)


-- 
Kris Moore
PC-BSD Software
iXsystems



More information about the Testing mailing list