Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526164 - app-i18n/opencc-1.0.1 version bump
Summary: app-i18n/opencc-1.0.1 version bump
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-21 02:15 UTC by YeLee
Modified: 2017-01-29 07:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description YeLee 2014-10-21 02:15:00 UTC
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 .
Comment 1 Yixun Lan archtester gentoo-dev 2014-10-23 08:18:43 UTC
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
Comment 2 YeLee 2014-10-24 02:54:06 UTC
(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.
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2017-01-29 07:43:29 UTC
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