Skip to content

Yoctoのuimを最新版に更新したい #186

@ashie

Description

@ashie

meta-openembeddedのuimが少し古く、Waylandで動作しないため更新したい。
Waylandに対応しているのが1.8.7からのため、これより新しい版に更新したい。
また、uim-anthyの実行にはuim-utilsが必要なようだが、依存関係が設定されていないのでこれも追加した方がよさそう。

検証環境は以下の記事を参考にすれば構築できる。

gtk3-demoなどで試せば良いので、上記記事のFirefoxをビルドする部分は必要ない。
また、ブートイメージはcore-image-satoではなくcore-image-westonをビルドする。
uimをインストールするには、local.confに以下を追加する(本当はuim-gtk3とuim-anthyだけで必要な物が全て入った方が良いと思う)

IMAGE_INSTALL_append = " uim uim-common uim-utils uim-gtk3 uim-anthy "

以下の内容で${HOME}/.uimを作成する。

(define default-im-name 'anthy)

以下で実行してgtk3-demoを実行し、Entry等のデモを開いてShift + Spaceで日本語入力できるようになる。

GTK_IM_MODULE=uim gtk3-demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions