On Wed, Jun 03, 2015 at 09:34:27PM +0900, Osamu Aoki wrote: > Hi, > > - gcin-chewing is removed by upstream. > > - gcin/2.8.3+dfsg1-2 add the following IM modules: > > - gcin-gtk2-immodule: GTK2 IM module to support multi-arch > > - gcin-qt5-immodule: Qt5 IM module > > Although your patch did not apply cleanly here (I do not know why ... > maybe my mistake ... I got your pont and updated description. > > What do you need to do to address new QT5 module in 26_gcin.rc ? > > Please look at 21_ibus.rc.
Please see the attachment for gcin Qt5 module, thanks. -- ChangZhuo Chen (陳昌倬) <[email protected]> http://czchen.info/ Key fingerprint = EC9F 905D 866D BE46 A896 C827 BE0C 9242 03F4 552D
commit 0e20eafc81c045444d8c21a691f554b3e01f6067 Author: ChangZhuo Chen (陳昌倬) <[email protected]> Date: Wed Jun 3 21:40:44 2015 +0800 Set QT_IM_MODULE for gcin Qt5 IM module diff --git a/data/26_gcin.rc b/data/26_gcin.rc index 57d6d7c..a4f1252 100644 --- a/data/26_gcin.rc +++ b/data/26_gcin.rc @@ -44,6 +44,15 @@ for IM_CONFIG_MARKER in /usr/lib/*/qt4/plugins/inputmethods/im-gcin.so \ fi done +QT_IM_MODULE=xim +# use immodule when available for Qt5 +for IM_CONFIG_MARKER in /usr/lib/*/qt5/plugins/platforminputcontexts/libgcinplatforminputcontextplugin.so; do + if [ -e $IM_CONFIG_MARKER ]; then + QT_IM_MODULE=gcin + break + fi +done + # gcin has no clutter support, and qt3 immodule is not compiled. CLUTTER_IM_MODULE=xim fi
signature.asc
Description: Digital signature

