5.1.12 adds a testskk test and ENABLE_TEST defaults to On, which would
require the TestFrontend module at configure time. Add a test USE flag
and pass -DENABLE_TEST=$(usex test), in 9999 as well.
Upstream has required Fcitx5Core 5.1.22 since 5.1.11, but 9999 still
depended on >=app-i18n/fcitx-5.1.13, so it failed to configure against
fcitx 5.1.21. Raise its floor to match the release ebuild.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Zakk <zakk@gentoozh.org>
Refresh the cmake_316 patch context for the new project() version line;
upstream CMakeLists.txt still declares cmake_minimum_required 3.13.
Assisted-by: Claude:claude-sonnet-5-5
Signed-off-by: Zakk <zakk@gentoozh.org>
The installed rime/dict/prism.h includes <darts.h>, which librime does not install, so plugins such as librime-lua fail to build without dev-libs/darts. Remove the bundled copy, build against dev-libs/darts, and keep it in RDEPEND for the installed headers.
Signed-off-by: Zakk <zakk@gentoozh.org>
Upstream replaced glog with an spdlog facade in 6e23ed28f and links the bundled deps/spdlog submodule statically. Fetch only that submodule, drop the glog dependency, and drop DCHECK_ALWAYS_ON, which the new logging header does not use; DCHECK still follows NDEBUG.
Signed-off-by: Zakk <zakk@gentoozh.org>
- data/CMakeLists.txt now pins lm_sc.arpa-20260629 and dict-20260907; the
old files fail its checksum, so the build tried to download the new ones.
- Upstream requires fcitx 5.1.20.
- Remove the kenlm CMakeLists.txt and raise cmake_minimum_required to 3.16
in `src_prepare`, because ECM warns below it (bug 964407).
- The sources carry SPDX-License-Identifier: LGPL-2.1-or-later, and
LICENSES/ holds only that licence:
https://github.com/fcitx/libime/blob/9ed13b335b560b838b77ed9eab5330598dbc021e/src/libime/core/decoder.cpp
Signed-off-by: Zakk <zakk@gentoozh.org>
- The keyboard engine now parses iso-codes with nlohmann_json instead of
json-c, classicui links librsvg, the X frontend links libxcb, and the
Wayland frontend needs plasma-wayland-protocols; libuv and systemd carry
subslots, so bind them.
- The spell module downloads en_dict at build time, which
`FEATURES=network-sandbox` blocks, so fetch it through `SRC_URI`.
- Raise cmake_minimum_required to 3.16 because ECM warns below it
(bug 964407).
- The sources carry SPDX-License-Identifier: LGPL-2.1-or-later, and
LICENSES/ holds only that licence and Unicode-DFS-2016:
https://github.com/fcitx/fcitx5/blob/456ff901705de75a979fa4b75b4be35edc73aeb9/src/lib/fcitx/instance.cpp
Signed-off-by: Zakk <zakk@gentoozh.org>
- Upstream now generates rime.xml from rime.xml.in, so the sed on rime.xml
failed, and the Makefile wrapper leaves `CMAKE_INSTALL_PREFIX` unset, so
translations went to /usr/local; build with cmake.eclass instead.
- Pass `RIME_DATA_DIR` because FindRimeData otherwise requires rime-data at
build time, and skip the librime and plum submodules, which the CMake
build does not use.
- ibus-engine-rime links libglib-2.0 directly, and librime changes its
subslot with every release, so add glib and bind librime.
- Upstream allows any later version of the license:
https://raw.githubusercontent.com/rime/ibus-rime/57fba74724611b3c21e36656123fb62cf10b759c/README.md
Signed-off-by: Zakk <zakk@gentoozh.org>
app-i18n/fcitx-qt in this overlay is Qt6-only (9999 ebuild with
IUSE="+qt6"), so the qt5 flag pulled in a Qt6 build under a misleading
name. Rename the flag and document it in metadata.xml, which also
clears the pkgcheck UnknownUseFlags finding.
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>