this is a small handy tool for users with many XIMs. its currently only in Chinese (Trad, Simp), but is extensible for other language such as Japanese and Korean. this is CJK related.
Created attachment 33937 [details] x11-misc/xim-select/xim-select-0.0.1.ebuild
What about using /etc/xim-select/{xcin,scim,fcitx,...}? It would make ebuild with xim-select support easier.
what do u mean? can't really understand.
Sorry, that is we create /etc/xim-select/xcin containint: case ${XLANG} in zh_CN*,zh_SG*) echo -n "export XMODIFIERS=@im=xcin-${XLANG};" ;; *) echo -n "export XMODIFIERS=@im=xcin;" ;; esac [ -n "${XLANG}" -a -x /usr/bin/xcin ] && echo -n "LANG=\"${XLANG ;; in xim-select.sh: just use case ${XIM} in xcin) source /etc/xim-select/xcin ;; the same for scim, fcitx, xsim ... /etc/xim-select/xcin will be part of xcin ebuild.
oic, and this time i understand :) i'm willing to do the modify, but however that requires other IMs to contribute. hmm... maybe a "/etc/xim-select/fallback/" directory is a good idea.
Created attachment 34143 [details] xim-select-0.0.2.ebuild i'm not sure if this should go into app-i18n or x11-misc? maybe app-i18n fits better?
Hi, I think it's better to include GTK+ immodules support for this package. To do so, set GTK_IM_MODULE to your preferred GTK+ immodule. However, if you add GTK+ immodules support (and possibly Qt immodules support later on), isn't "im-select" better name for the package? As for its category, I think app-i18n fits better than x11-misc. (all the input methods reside in app-i18n)
Where can I find the latest source tarball? I can download xim-select-0.0.3.ebuild, but xim-select-0.0.3.tar.bz2 is not downloadable. As for naming, I prefer im-config or config-im, because we already have {java,gcc,ruby}-config in Gentoo.
Created attachment 71100 [details] xim-select-0.0.3.ebuild I'd like to take this bug, if possible. I added an auto-start function to xim-select.sh, which will use the $HOME/.xim as config file(if presented) and start the desired XIM. Also I added a simple script "00startxim" to /etc/X11/xinit/xinitrc.d, so xim-select.sh will be executed automatically by gdm when login. I placed the modified xim-select-0.0.3.tar.bz2 to http://dev.gentoo.org/~ming/stuff/xim-select-0.0.3.tar.bz2
now I created eselect-xim for all input method.
Created attachment 137882 [details] /usr/share/eselect/modules/xim.eselect
Created attachment 137883 [details] /etc/X11/xinit/xinitrc.d/xim.sh
Created attachment 137885 [details] /etc/X11/xinit/xinput.d/scim (example)
Created attachment 137887 [details] /etc/X11/xinit/xinput.d/uim (example)
(this is an automated message based on filtering criteria that matched this bug) Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq