13,005
回編集
292行目: | 292行目: | ||
git clone --depth 1 https://github.com/fcitx/mozc.git | git clone --depth 1 https://github.com/fcitx/mozc.git | ||
cd mozc | cd mozc | ||
git submodule update --init | git submodule update --init --recursive | ||
cd src | cd src | ||
<br> | <br> | ||
303行目: | 303行目: | ||
<br> | <br> | ||
Fcitx5-Mozc、Mozcサーバ、Mozcツールをビルドおよびインストールする。<br> | Fcitx5-Mozc、Mozcサーバ、Mozcツールをビルドおよびインストールする。<br> | ||
bazel build -c opt --copt=-fPIC --config oss_linux unix/fcitx5:fcitx5-mozc.so server:mozc_server gui/tool:mozc_tool | bazel build --action_env CC=<GCC8以降のパス> --action_env CXX=<G++8以降のパス> -c opt --copt=-fPIC --config oss_linux \ | ||
unix/fcitx5:fcitx5-mozc.so server:mozc_server gui/tool:mozc_tool --verbose_failures | |||
<br> | <br> | ||
==== Fcitx5の有効化 ==== | ==== Fcitx5の有効化 ==== | ||
Fcitx5を有効にするには、~/.ximファイルを編集する。<br> | Fcitx5を有効にするには、~/.ximファイルを編集する。<br> |