Skip to content

Wayland対応のplan9portを使う

plan9port のリポジトリにWayland対応のPRがある。そこからForkした droyo/plan9port もあって、こちらは wayland-text-input プロトコルをサポートしている。

Wayland対応のPRはもうひとつあるけど、そちらは数年動いていない。

まずはソースコードを更新する。

Terminal window
cd plan9port
# Waylandだけ対応でもいいなら以下
# git remote add eaburns https://github.com/eaburns/plan9port.git
# git fetch eaburns
# git switch -d eaburns/wayland
git remote add droyo https://github.com/droyo/plan9port.git
git fetch droyo
git switch -d droyo/wayland-im

eaburns 版はビルドするとき LOCAL.configWSYSTYPE を設定しておく必要がある。droyo 版は逆に設定するとビルドで失敗する。

Terminal window
WSYSTYPE=wayland

これでビルドする。

Terminal window
./INSTALL [-b|-c]