japanese input environment on tizen 2.0 alpha

35
Japanese Input Environment on Tizen 2.0 Alpha Naruto TAKAHASHI([email protected] ) Turbo Systems Co, Ltd. Super Study Meeting at end of 2012 in Japan

Upload: naruto-takahashi

Post on 10-May-2015

4.417 views

Category:

Technology


6 download

TRANSCRIPT

Page 1: Japanese input environment on Tizen 2.0 Alpha

Japanese Input Environment on Tizen 2.0 Alpha

Naruto TAKAHASHI([email protected])

Turbo Systems Co, Ltd.

Super Study Meeting at end of 2012 in Japan

Page 2: Japanese input environment on Tizen 2.0 Alpha

Who’s Guy?

Naruto TAKAHASHI(@TNaruto)

• Mail: [email protected]

• Blog: http://eflmemo.hatenablog.com/

• Company: Turbo Systems Co, Ltd.

Interesting Keyboards

• EFL(Enlightenment Foundation Libraries)

• Tizen

• WebKit

Page 3: Japanese input environment on Tizen 2.0 Alpha

Background Concept of this presentation

Page 4: Japanese input environment on Tizen 2.0 Alpha

Tizen 2.0 Alpha not support Japanese Input.

Page 5: Japanese input environment on Tizen 2.0 Alpha

What does ISF support on Tizen 2.0 Alpha?

Full

Support

Hardware and Virtual kbd

English, Latin…“Tizen Keyboard” default vkbd supports

1byte languages.

Half

Support

Hardware kbd only

Hangle(Korean)

Japanese not supported at the

moment. X-(

Page 6: Japanese input environment on Tizen 2.0 Alpha

I must support Japanese input env by myself

Page 7: Japanese input environment on Tizen 2.0 Alpha

Glossary

ISFInput Service Framework

Base on scim 1.4.7

Framework core is same as scim.

ISEInput Service Engine

Scim modulesHelper

IMEngine

IMModule

Page 8: Japanese input environment on Tizen 2.0 Alpha

Agenda

About scim

Port anthy to Tizen

Install anthy to Tizen

Future of Japanese input Environment

Page 9: Japanese input environment on Tizen 2.0 Alpha

About scimSmart Common Input

Method

Page 10: Japanese input environment on Tizen 2.0 Alpha

What’s scim?

SCIMSmart Common Input Method

Implementation of Input Method Framework

Supports

OS

Linux

Other Unix *BSD

POSIX-style OS

Another

OS’s IMF

IMM(Input Method Manager) of Windows

"Input Method" of MacOS

“XIM(X Input Method)” of Xorg

Page 11: Japanese input environment on Tizen 2.0 Alpha

What’s scim?(cont)

Languages CJK Chinese, Japanese and Korean

European languages

License GPL

Prog Langs C++

C(a little)

Page 12: Japanese input environment on Tizen 2.0 Alpha

Another implementations of IMF

ibushttp://code.google.com/p/ibus/

ibus is adopted by famous distribution such as Fedora, Ubuntu, openSuSE.

uimhttp://code.google.com/p/uim/

uim uses scheme language as Internal Programming Language.

maliithttp://www.maliit.org/

maliit is used by MeeGo.

iiimfhttp://wiki.fdiary.net/iiimf/

iiimf used by ATOK for Linux and Wnn8 for Linux/BSD.

Page 13: Japanese input environment on Tizen 2.0 Alpha

Features of scim

Fully Object Oriented structure written in C++.

Highly modularized.

Very flexible architecture, can be used as a dynamically loaded library as well as a C/S input method environment.

Simple programming interface.

Fully i18n support with UCS-4/UTF-8 encoding.

Include many handy utility functions to speedup the development.

GUI Panel with very rich features.

Unified configuration framework.

Page 14: Japanese input environment on Tizen 2.0 Alpha

Goals of scim

Actan unified frontend for current available input method libraries.

a language engine of IIIMF input method framework

Providemany native IMEngines

Supportmany input method protocol/interface

many operating systems

Page 15: Japanese input environment on Tizen 2.0 Alpha

History of scim

He quited and went to google china.

TurboLinux didn't adopt scim.

due to supporting ATOK for Linux. ATOK uses iiimf.

Scim author is James Su

when he‘s been in TurboLinux China

Page 16: Japanese input environment on Tizen 2.0 Alpha

Kind of scim modules

HelperExecs virtual kbd and give user accessibility

Imple example: Input-panel, Tizen Keyboard

IMModuleBridges graphic library IMFramework

Imple example: EFL-immodule, gtk-immodule, qt-immodule

IMEngineBridges conversion engine’s server and library.

Imple example: Anthy, Hangle, Pinyin…

Etc, etcOther utility modules

Imple example: SetupUI, tool-bar, Candidate lists window

Page 17: Japanese input environment on Tizen 2.0 Alpha

Port anthy to Tizen

How to cross compile for

Tizen

Page 18: Japanese input environment on Tizen 2.0 Alpha

How to build packages for Tizen platforms.

TargetsARM

Tizen Dev Phone

i586Tizen Emulator

Tizen IVI

HostUbuntu

OpenSuSE

ToolsGBS

Cross compile tool

OBSRemote build system

Page 19: Japanese input environment on Tizen 2.0 Alpha

What’s GBS?

GBS Git Build System Builds Source of git repository

Cross toolchains env

Inspired Multistrap of Debian chroot

qemu-emulator

Useful Easily Not need to setup cross

toolchains env myself

Page 20: Japanese input environment on Tizen 2.0 Alpha

How to use gbs command?

gbs buildlocal build package RPM

gbs chrootchroot to build root

More command

infomation“gbs help”

Page 21: Japanese input environment on Tizen 2.0 Alpha

Make RPM spec file for “gbs build”

RPM “gbs build” uses RPM spec file for build source.

“gbs build” references ${PKG_SRC}/packages/*.spec at build.

RPM

Document

http://docs.fedoraproject.org/en-

US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/index.html

http://www.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html

Page 22: Japanese input environment on Tizen 2.0 Alpha

Install anthyto Tizen

How to install anthy to Tizen

Page 23: Japanese input environment on Tizen 2.0 Alpha

How to install anthy RPM packages to TizenPlatforms?

Tizen Dev Phone

Connect USB Keyboard

Install anthy packages for ARM via sdb

Anthy Ise-engine-anthy

Install font includes Japanese Glyphs.

Tizen Emulator

Tizen Emulator uses Host Keybaord as USB Keyboard

Install anthy packages for i586 via sdb

Anthy Ise-engine-anthy

Install font includes Japanes Glyphs(you can skip it)

Page 24: Japanese input environment on Tizen 2.0 Alpha

How to install anthy RPM packages to TizenPlatforms?(cont)

select “Anthy” item.

Tap "Select keyboard" on "Hardware keyboard“

Select item, "Keyboard".

Execute Settings of Tizen App.

Page 25: Japanese input environment on Tizen 2.0 Alpha

Inputting Demonstration!

Page 26: Japanese input environment on Tizen 2.0 Alpha

What's able to do at the moment?

What's

able to

do?

Supports only hardware kbd

Not support virtual kbd

Detail of

this stuff

RPM packages of Japanese input environment for Tizen 2.0 Alpha

http://eflmemo.hatenablog.com/entry/2012/12/09/223038

Page 27: Japanese input environment on Tizen 2.0 Alpha

Future of Japanese input Environment on Tizen

TAIYAKI project

Page 28: Japanese input environment on Tizen 2.0 Alpha

TAIYAKI Project is started

What’s “TAIYAKI”?

• Tizen Advanced Inspiring Yet Another

Keyboard Interface.

What’s “Taiyaki”?

• Taiyaki Is a Japanese fish-shaped cake.

• Taiyaki

detail: http://en.wikipedia.org/wiki/Taiyaki

Page 29: Japanese input environment on Tizen 2.0 Alpha

She is not a person involved.

Page 30: Japanese input environment on Tizen 2.0 Alpha

Features of TAIYAKI

Virtual kbd

for ISF

• Toggle

• Flick9 keypad

Full

keyboard

Page 31: Japanese input environment on Tizen 2.0 Alpha

Conclusion

Page 32: Japanese input environment on Tizen 2.0 Alpha

Let’s start TAIYAKI together!!!

Page 33: Japanese input environment on Tizen 2.0 Alpha

Oh…

Page 34: Japanese input environment on Tizen 2.0 Alpha

Any questions?

Page 35: Japanese input environment on Tizen 2.0 Alpha

Thanks to listen my presentation!