EFL メモ(EFL memo)

EFL のメモ用、Tizen もあるよ。(Memo for EFL, Sometimes Tizen )

RPM packages of Japanese input environment for Tizen 2.0 Alpha

Introduction

I've created RPM packages of anthy(Japanese IM Engine) for Tizen 2.0 Alpha.
this article writes how to install RPM packages and how to test anthy on Tizen 2.0 Alpha.

Where is RPM packages of anthy?

RPM packages of anthy is in my dropbox area.
https://www.dropbox.com/sh/ruj4owq06mxv484/CRMCxcLaxh

"EMULATOR" directory has anthy packages for Tizen Emulator(i586).
"TRATS" directory has anthy packages for Tizen Dev Phone(arm).
you must select a directory for fitting your platform.

Install anthy and set up USB Keyboard

Tizen Dev Phone(Trats)

Install font

Tizen Dev Phone's platform doesn't have a font that includes Japanese glyph.
so need to install font includes Japanese glyph.

[hostPC]% wget 'http://sourceforge.jp/frs/redir.php?m=iij&f=%2Fvlgothic%2F57344%2FVLGothic-20121109.tar.bz2'
[hostPC]% tar xvf redir.php\?m=iij\&f=%2Fvlgothic%2F57344%2FVLGothic-20121109.tar.bz2
[hostPC]% ~/tizen-sdk/tools/sdb push VLGothic/VL-PGothic-Regular.ttf /usr/share/fonts/
Install anthy packages

Download anthy and ise-engine-anthy packages below URL.
https://www.dropbox.com/sh/jwcusgcy9ay9m0x/104sYj37lE

Connect Tizen Dev Phone through a USB cable on the host PC.
Copy anthy RPM packages from hostPC to Tizen Dev Phone.

[hostPC]% sdb -d push ${ANY_PATH}/anthy-9100h-1.armv7l.rpm /root/
[hostPC]% sdb -d push ${ANY_PATH}/ise-engine-anthy-1.2.7-1.armv7l.rpm /root/

Install anthy RPM packages.

[hostPC]% sdb shell
[TizenDevPhone]% cd /root/
[TizenDevPhone]% rpm -Uvh anthy-9100h-1.armv7l.rpm
[TizenDevPhone]% rpm -Uvh ise-engine-anthy-1.2.7-1.armv7l.rpm

Sync and reboot device.

[TizenDevPhone]% sync
[TizenDevPhone]% reboot -f
Connect USB Keyboard

Connect USB Keyboard to Tizen Dev Phone.
Probably, must use USB Host Adapter for connecting USB keyboard to Tizen Dev Phone.

Tizen Emulator

Install font

Tizen Emulator's platform has font that includes Japanese glyphs.
You can skip this section.

Install anthy packages

Download anthy and ise-engine-anthy packages below URL.
https://www.dropbox.com/sh/c7kohfwsinzpp0k/c7djErrX36

Execute Tizen Emulator from Emulator Manager.
Copy anthy RPM packages from hostPC to Tizen Emulator.

[hostPC]% sdb -d push ${ANY_PATH}/anthy-9100h-1.i586.rpm /root/
[hostPC]% sdb -d push ${ANY_PATH}/ ise-engine-anthy-1.2.7-1.i586.rpm/root/

Install anthy RPM packages.

[hostPC]% sdb shell
[TizenEmulator]% cd /root/
[TizenEmulator]% rpm -Uvh anthy-9100h-1.i586.rpm
[TizenEmulator]% rpm -Uvh ise-engine-anthy-1.2.7-1.i586.rpm

Sync and reboot device.

[TizenEmulator]% sync
[TizenEmulator]% reboot -f
Connect USB Keyboard

Click mouse right button on Tizen Emulator so that display Tizen Emulator menu.
Select item, "Advances" -> "USB Keyboard" -> "ON".

You can use host keyboard as USB Keyboard that is connected Tizen Emulator.

Set up anthy

Execute Settings of Tizen App.
Select item, "Keyboard".

Tap "Select keyboard" on "Hardware keyboard" lable's items. And select "anthy".

f:id:TNaruto:20121125165112j:plain

If "Hardware keyboard" labels's items is disable and "Software keyboard" lables' items is enable, you should check connecting USB keyboard to Tizen.

Test anthy

Execute "Contacts" App on Tizen.
Input from USB Keyboard.
Words in below picture means "watashi no namae ha TAKAHASHI" as "My name is TAKAHASHI" in English.

f:id:TNaruto:20121126130547j:plain

If didn't start preedit mode(did'nt display hiragana characters), push "C-SPC"(Ctrl and Space) keys for toggleing anthy input mode.

Conclusion

Let's try to install anthy RPM packages, and enjoy!
please wait Japanese virtual keyboard, I'm just considering now.:-)