The Fcitx5-chinese-addons package provides Chinese-related addons for Fcitx 5, including IMEs previously bundled with Fcitx 4.
Boost, CMake, extra-cmake-modules, Fcitx5-5.1.12, and libime-1.1.10
Fcitx5-Lua-5.0.14, Fcitx5-Qt-5.1.9. and Qt6
Cups, cURL, OpenCC, and QtWebEngine
Install Fcitx5-chinese-addons by running the following commands:
mkdir build && cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_SKIP_INSTALL_RPATH=ON \ -D ENABLE_TEST=OFF \ -D ENABLE_OPENCC=OFF \ -D ENABLE_BROWSER=OFF \ -D ENABLE_CLOUDPINYIN=OFF \ -Wno-dev .. && make
Now, as the root
user:
make install
-D
CMAKE_SKIP_INSTALL_RPATH=ON
: This switch makes
cmake remove
hardcoded library search paths (rpath) when installing a binary
executable file or a shared library. This package does not need
rpath once it's installed into the standard location, and rpath may
sometimes cause unwanted effects or even security issues.
-D ENABLE_OPENCC=OFF
: This
switch disables building the chttrans utility, which requires
OpenCC and Boost. Remove it if you have installed them.
-D ENABLE_BROWSER=OFF
: This
switch disables building the built-in browser, which requires
QtWebEngine. Remove it if you have installed it.
-D ENABLE_CLOUDPINYIN=OFF
:
This switch disables building the cloud pinyin addon, which
requires cURL. Remove it if you have installed it.