GtkIMCocoa is yet another input method module for GTK+ on Mac OS X.
Please see GNOME Live! for more details.
-
Remove MacPorts paths from your PATH if you use it.
-
Download gtk-osx-build-setup.sh
$ curl -O https://git.gnome.org/browse/gtk-osx/plain/gtk-osx-build-setup.sh
-
Run gtk-osx-build-setup.sh
$ sh gtk-osx-build-setup.sh
-
Launch jhbuild shell
$ ~/.local/bin/jhbuild shell
-
Build GTK+3
$ ~/.local/bin/jhbuild bootstrap $ ~/.local/bin/jhbuild build meta-gtk-osx-bootstrap $ ~/.local/bin/jhbuild build meta-gtk-osx-gtk3
-
Clone gtkimcocoa
$ git clone git://github.com/ashie/gtkimcocoa.git
-
Build gtkimcocoa on jhbuild shell:
$ cd gtkimcocoa $ ~/.local/bin/jhbuild shell $ ./autogen.sh $ ./configure $ make $ make install
-
Update immodules.cache
$ gtk-query-immodules-3.0 > ~/gtk/inst/lib/gtk-3.0/3.0.0/immodules.cache
-
Run gtk3-demo then open a text widget
$ gtk3-demo