After updating opencc, ibus-rime-1.2 fails to build up. Here is the log. ======================================================================= /var/tmp/portage/app-i18n/librime-1.2/work/librime/src/gear/simplifier.cc: In member function ‘bool rime::Opencc::ConvertText(const string&, std::__cxx11::string*, bool*)’: /var/tmp/portage/app-i18n/librime-1.2/work/librime/src/gear/simplifier.cc:74:37: error: ‘OPENCC_CONVERSION_LIST_CANDIDATES’ was not declared in this scope opencc_set_conversion_mode(od_, OPENCC_CONVERSION_LIST_CANDIDATES); ^ /var/tmp/portage/app-i18n/librime-1.2/work/librime/src/gear/simplifier.cc:74:70: error: ‘opencc_set_conversion_mode’ was not declared in this scope opencc_set_conversion_mode(od_, OPENCC_CONVERSION_LIST_CANDIDATES); ^ /var/tmp/portage/app-i18n/librime-1.2/work/librime/src/gear/simplifier.cc:78:37: error: ‘OPENCC_CONVERSION_FAST’ was not declared in this scope opencc_set_conversion_mode(od_, OPENCC_CONVERSION_FAST); ^ /var/tmp/portage/app-i18n/librime-1.2/work/librime/src/gear/simplifier.cc:78:59: error: ‘opencc_set_conversion_mode’ was not declared in this scope opencc_set_conversion_mode(od_, OPENCC_CONVERSION_FAST); ^ /var/tmp/portage/app-i18n/librime-1.2/work/librime/src/gear/simplifier.cc:80:74: error: ‘opencc_convert’ was not declared in this scope size_t converted = opencc_convert(od_, &inptr, &inlen, &outptr, &outlen); ^ make[2]: *** [src/CMakeFiles/rime.dir/build.make:1767: src/CMakeFiles/rime.dir/gear/simplifier.cc.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-i18n/librime-1.2/work/librime-1.2_build' make[1]: *** [CMakeFiles/Makefile2:118: src/CMakeFiles/rime.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-i18n/librime-1.2/work/librime-1.2_build' make: *** [Makefile:128: all] Error 2 ========================================================================== According to the following official URL, rime-1.2 may be incompatible with opencc-1.0.1. https://github.com/rime/librime/issues/30 As someone mentioned in response, the develop branch solved that conflict. Maybe it a good idea to add ibus-rime-1.2.9 now.
> Maybe it a good idea to add ibus-rime-1.2.9 now. I think you mean librime-1.2.9, not ibus-rime? and we've already had librime-1.2.9 in tree for quite long time, please check (if you mask librime-1.2.9 or something wrong) I'm closing this as invalid, please re-open if you still have problem