OpenCC-1.0.1 has been released 3 days ago . https://github.com/BYVoid/OpenCC/releases Its download address moved to https://bintray.com/byvoid/opencc/opencc as well .
this new version break librime, pyzy [ 54%] Building CXX object src/CMakeFiles/rime.dir/gear/uniquifier.cc.o cd /var/tmp/portage/app-i18n/librime-1.2/work/librime-1.2_build/src && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DRIME_BUILD_SHARED_LIBS -DRIME_ENABLE_LOGGING -DRIME_EXPORTS -O2 -pipe -march=core2 -fPIC -I/var/tmp/portage/ap p-i18n/librime-1.2/work/librime/thirdparty/include -I/var/tmp/portage/app-i18n/librime-1.2/work/librime/include -std=c++11 -o CMakeFiles/rime.dir/gear/uniquifier.cc.o -c /var/tmp/portage/app-i18n/librime-1.2/work/librime/src/ge ar/uniquifier.cc /var/tmp/portage/app-i18n/librime-1.2/work/librime/src/gear/simplifier.cc: In member function ‘bool rime::Opencc::C onvertText(const string&, std::string*, bool*)’: /var/tmp/portage/app-i18n/librime-1.2/work/librime/src/gear/simplifier.cc:74:37: error: ‘OPENCC_CONVERSION_LIST_CAN DIDATES’ 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’ wa s 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 de clared in this scope size_t converted = opencc_convert(od_, &inptr, &inlen, &outptr, &outlen); ^ src/CMakeFiles/rime.dir/build.make:1135: recipe for target 'src/CMakeFiles/rime.dir/gear/simplifier.cc.o' failed make[2]: *** [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' CMakeFiles/Makefile2:106: recipe for target 'src/CMakeFiles/rime.dir/all' failed make[1]: *** [src/CMakeFiles/rime.dir/all] Error 2
(In reply to Yixun Lan from comment #1) > this new version break librime, pyzy > > [ 54%] Building CXX object src/CMakeFiles/rime.dir/gear/uniquifier.cc.o > cd /var/tmp/portage/app-i18n/librime-1.2/work/librime-1.2_build/src && > /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS > -DRIME_BUILD_SHARED_LIBS -DRIME_ENABLE_LOGGING -DRIME_EXPORTS -O2 -pipe > -march=core2 -fPIC -I/var/tmp/portage/ap > p-i18n/librime-1.2/work/librime/thirdparty/include > -I/var/tmp/portage/app-i18n/librime-1.2/work/librime/include > -std=c++11 -o CMakeFiles/rime.dir/gear/uniquifier.cc.o -c > /var/tmp/portage/app-i18n/librime-1.2/work/librime/src/ge > ar/uniquifier.cc > /var/tmp/portage/app-i18n/librime-1.2/work/librime/src/gear/simplifier.cc: > In member function ‘bool rime::Opencc::C > onvertText(const string&, std::string*, bool*)’: > /var/tmp/portage/app-i18n/librime-1.2/work/librime/src/gear/simplifier.cc:74: > 37: error: ‘OPENCC_CONVERSION_LIST_CAN > DIDATES’ 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’ wa > s 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 de > clared in this scope > size_t converted = opencc_convert(od_, &inptr, &inlen, &outptr, &outlen); > ^ > src/CMakeFiles/rime.dir/build.make:1135: recipe for target > 'src/CMakeFiles/rime.dir/gear/simplifier.cc.o' failed > make[2]: *** [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' > CMakeFiles/Makefile2:106: recipe for target 'src/CMakeFiles/rime.dir/all' > failed > make[1]: *** [src/CMakeFiles/rime.dir/all] Error 2 https://github.com/lotem/librime/issues/23 Because of the changes of OpenCC, the old version of the API is not compatible. Hoping lotem can release the revised version as soon as possible.
commit f86c3377437c2e79d312aef15bfa75e5e5002271 Author: Yixun Lan <dlan@gentoo.org> Date: Fri May 27 17:04:37 2016 +0800 app-i18n/opencc: version bump 1.0.4 Gentoo-Bug: 580782 Package-Manager: portage-2.2.28