Build from source code

Notice

Any time possible, you should using yum install to install the Input Method related packages for Moblin2. If you really want to build from source code, you are also encouraged to use the souce code from moblin2 distro or git.moblin.org. The source code link we list here are not guaranteed to be the most updated version, you should be aware of it.

Build Clutter

If you are using image downloaded from moblin2, you can skip this step.

  • Get Latest Clutter source: git clone git://git.clutter-project.org/clutter
  • Build and Install it.

or you can reference to http://moblin.org/projects/clutter for more info

Build IMContext Framework Library for Clutter

git clone git://git.moblin.org/clutter-imcontext.git
cd clutter-imcontext
./autogen.sh --prefix=/usr --sysconfdir=/etc
make
sudo make install

Build Input method

There are different Input Method out there. Please check the following link for different input methods:

IBus

http://moblin.org/documentation/input-method-framework/guide-ibus-moblin2

SCIM

http://moblin.org/documentation/input-method-framework/build-source-code...

Test it out

  • Write a clutter app with IMContext support, you can reference to the test case in clutter-imcontext/tests, and you can also reference to the guide documents we provided
  • Or you can just run clutter-imcontext/tests/test-imtext to test it out

Comments (3 total)

Thank u for reply,now the problem has been resolved

Thank u for reply,i reinstall clutter,now the problem has been resolved

Clutter warning is happened when i run /tests/test-imtext

i follow the steps above,and install clutter 1.0,clutter-imcontext,ibus-client-clutter,ibus successfully.
but when i run ./test-imtext,it just show a blue window,and the warning infomation as follows:

(/home/Aaron/桌面/ibus-client-clutter/src/clutter-imcontext/tests/.libs/lt-test-imtext:25721): Clutter-WARNING **: The required ID of 48 does not refer to an existing actor; this usually implies that the pick() of an actor is not correctly implemented or that there is an error in the glReadPixels() implementation of the GL driver.

(/home/Aaron/桌面/ibus-client-clutter/src/clutter-imcontext/tests/.libs/lt-test-imtext:25721): Clutter-WARNING **: The required ID of 48 does not refer to an existing actor; this usually implies that the pick() of an actor is not correctly implemented or that there is an error in the glReadPixels() implementation of the GL driver.

(/home/Aaron/桌面/ibus-client-clutter/src/clutter-imcontext/tests/.libs/lt-test-imtext:25721): Clutter-WARNING **: The required ID of 48 does not refer to an existing actor; this usually implies that the pick() of an actor is not correctly implemented or that there is an error in the glReadPixels() implementation of the GL driver.

Hi, this seems to me that you

Hi, this seems to me that you havn't been able to run up clutter correctly, did you try out those test cases come with clutter?