Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package opencc for openSUSE:Factory checked in at 2026-10-22 15:49:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opencc (Old) and /work/SRC/openSUSE:Factory/.opencc.new.2252680 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opencc" Thu Oct 22 15:49:17 2026 rev:28 rq:1386565 version:1.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/opencc/opencc.changes 2026-01-27 16:05:43.117463183 +0100 +++ /work/SRC/openSUSE:Factory/.opencc.new.2252680/opencc.changes 2026-10-22 15:50:37.214917946 +0200 @@ -1,0 +2,24 @@ +Sat Oct 17 15:57:25 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to 1.4.2 (C++ SOVERSION 1.2 -> 1.4, lib package renamed + to libopencc1_4; dependent packages need a rebuild): + * Core conversion rewritten: 3-10x faster on long text, and + t2s on a 22 MB corpus dropped from 3.40s to 0.52s with + byte-identical output. + * Traditional-to-Simplified no longer emits tofu-risk + (unencoded) analogical simplifications by default; CJK + Compatibility Ideographs are normalized before conversion. + * Large dictionary refresh across s2t/t2s/s2twp/tw2t/tw2s and + HK/JP variants, new s2hkp/hk2sp modes, region terms and + personal/name protections. + * New experimental word-level candidate and ambiguity-marking + APIs with --ambiguities CLI mode (private headers only, + no ABI impact). + * Hardened malformed .ocd validation; fixed UTF8Util heap + out-of-bounds read and big-endian legacy .ocd misdetection. + * Optional Jieba segmentation plugin left unbuilt (ships + separately per upstream guidance). + * Drop obsolete python3 path fixup (upstream uses + find_package(Python3) now). + +------------------------------------------------------------------- Old: ---- OpenCC-1.2.0.tar.gz New: ---- OpenCC-1.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opencc.spec ++++++ --- /var/tmp/diff_new_pack.RxPTlP/_old 2026-10-22 15:50:38.198959196 +0200 +++ /var/tmp/diff_new_pack.RxPTlP/_new 2026-10-22 15:50:38.200959280 +0200 @@ -17,31 +17,29 @@ Name: opencc -Version: 1.2.0 +Version: 1.4.2 Release: 0 Summary: Open Chinese Convert License: Apache-2.0 -Group: System/I18n/Chinese URL: https://github.com/BYVoid/OpenCC Source: https://github.com/BYVoid/OpenCC/archive/ver.%{version}/OpenCC-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig -BuildRequires: rapidjson-devel # needed to generate some docu files BuildRequires: python3-base +BuildRequires: pkgconfig(RapidJSON) %description OpenCC is an opensource project for conversion between Traditional Chinese and Simplified Chinese, which supports phrase-level conversion and regional idioms among Mainland China, Taiwan and Hong kong. -%package -n libopencc1_2 +%package -n libopencc1_4 Summary: Open Chinese Convert -Group: System/Libraries Requires: %{name}-data -%description -n libopencc1_2 +%description -n libopencc1_4 OpenCC is an opensource project for conversion between Traditional Chinese and Simplified Chinese, which supports phrase-level conversion and regional idioms among Mainland China, Taiwan and Hong kong. @@ -50,7 +48,6 @@ %package data Summary: Dictionaries for Open Chinese Convert -Group: System/I18n/Chinese %description data OpenCC is an opensource project for conversion between Traditional @@ -62,7 +59,6 @@ %package devel Summary: Open Chinese Convert -Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel @@ -76,13 +72,10 @@ %setup -q -n OpenCC-ver.%{version} %autopatch -p1 -# call python3 with path -sed -i \ - -e 's:BIN python:BIN /usr/bin/python3:g' \ - data/CMakeLists.txt - %build +# Jieba is an optional loadable segmentation plugin, shipped separately per upstream %cmake \ + -DBUILD_OPENCC_JIEBA_PLUGIN=OFF \ -DCMAKE_SKIP_RPATH=OFF \ -DUSE_SYSTEM_RAPIDJSON=ON %make_jobs @@ -91,8 +84,8 @@ %cmake_install find %{buildroot} -name "*.a" -delete -print -%post -n libopencc1_2 -p /sbin/ldconfig -%postun -n libopencc1_2 -p /sbin/ldconfig +%post -n libopencc1_4 -p /sbin/ldconfig +%postun -n libopencc1_4 -p /sbin/ldconfig %files %{_bindir}/%{name} @@ -104,8 +97,8 @@ %files data %{_datadir}/%{name}/ -%files -n libopencc1_2 -%{_libdir}/libopencc.so.1.2 +%files -n libopencc1_4 +%{_libdir}/libopencc.so.1.4 %{_libdir}/libopencc.so.%{version} %files devel ++++++ OpenCC-1.2.0.tar.gz -> OpenCC-1.4.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/opencc/OpenCC-1.2.0.tar.gz /work/SRC/openSUSE:Factory/.opencc.new.2252680/OpenCC-1.4.2.tar.gz differ: char 12, line 1
