Package: sunpinyin / 3.0.0~rc1+ds1-2

Metadata

Package Version Patches format
sunpinyin 3.0.0~rc1+ds1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix data dir.diff | (download)

SConstruct | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix-data-dir


backport/0002 sunpinyin dictgen.mk.in completely abandon now defun.patch | (download)

src/sunpinyin-dictgen.mk.in | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 sunpinyin-dictgen.mk.in: completely abandon (now defunct) google
 code.


backport/0003 Portability fix for NetBSD iconv.patch | (download)

src/portability.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 portability fix for netbsd iconv


backport/0004 Make the .pc output reproducible.patch | (download)

SConstruct | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 make the .pc output reproducible

Whilst working on the Reproducible Builds effort [0], we noticed
that sunpinyin could not be built reproducibly due to iterating over
the filesystem in a non-deterministic ordering

 [0] https://reproducible-builds.org/

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>

backport/0005 sunpinyin dictgen.mk.in use HTTPS mirrors to avoid M.patch | (download)

src/sunpinyin-dictgen.mk.in | 35 6 + 29 - 0 !
1 file changed, 6 insertions(+), 29 deletions(-)

 sunpinyin-dictgen.mk.in: use https mirrors to avoid mitm attacks.


backport/0006 pytrie_gen.cpp work around iconv segfault with musl.patch | (download)

src/lexicon/pytrie_gen.cpp | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 pytrie_gen.cpp: work around iconv() segfault with musl.


backport/0007 SConstruct use C 11 standard.patch | (download)

SConstruct | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 sconstruct: use c++11 standard

Signed-off-by: Kefu Chai <tchaikov@gmail.com>

backport/0008 pytrie_gen.cpp cast 1 to iconv_t before comparison.patch | (download)

src/lexicon/pytrie_gen.cpp | 14 7 + 7 - 0 !
1 file changed, 7 insertions(+), 7 deletions(-)

 pytrie_gen.cpp: cast "-1" to iconv_t before comparison

this kills the errors like

    src/lexicon/pytrie_gen.cpp:103:19: error: ISO C++ forbids comparison
    between pointer and integer

backport/0009 slm thread be more consistent by using the C variant.patch | (download)

src/slm/thread/slmthread.cpp | 6 4 + 2 - 0 !
1 file changed, 4 insertions(+), 2 deletions(-)

 slm/thread: be more consistent by using the c++ variant of log and
 exp

Signed-off-by: Kefu Chai <tchaikov@gmail.com>

backport/0010 SConstruct Add support for riscv64 architecture.patch | (download)

SConstruct | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 sconstruct: add support for riscv64 architecture

This commit adds support for newly emerged riscv64 architecture.

backport/0011 Fix typos found by codespell.patch | (download)

man/genpyt.pod | 2 1 + 1 - 0 !
man/idngram_merge.pod | 2 1 + 1 - 0 !
man/slmprune.pod | 2 1 + 1 - 0 !
man/slmseg.pod | 2 1 + 1 - 0 !
man/slmthread.pod | 2 1 + 1 - 0 !
src/ime-core/ic_history.cpp | 10 5 + 5 - 0 !
src/ime-core/ic_history.h | 2 1 + 1 - 0 !
src/ime-core/imi_context.cpp | 4 2 + 2 - 0 !
src/ime-core/imi_context.h | 4 2 + 2 - 0 !
src/ime-core/imi_data.cpp | 2 1 + 1 - 0 !
src/ime-core/imi_option_event.h | 2 1 + 1 - 0 !
src/ime-core/imi_winHandler.cpp | 2 1 + 1 - 0 !
src/ime-core/lattice_states.h | 2 1 + 1 - 0 !
src/lexicon/pytrie_gen.cpp | 2 1 + 1 - 0 !
src/portability.cpp | 2 1 + 1 - 0 !
src/slm/ids2ngram/ids2ngram.cpp | 2 1 + 1 - 0 !
src/slm/slm.cpp | 6 3 + 3 - 0 !
src/slm/slm.h | 6 3 + 3 - 0 !
src/slm/slmbuild/sim_slmbuilder.cpp | 18 9 + 9 - 0 !
src/slm/slmbuild/slmbuild.cpp | 2 1 + 1 - 0 !
src/slm/slmprune/slmprune.cpp | 6 3 + 3 - 0 !
src/slm/thread/ValueCompress.cpp | 2 1 + 1 - 0 !
22 files changed, 42 insertions(+), 42 deletions(-)

 fix typos found by codespell


backport/0012 SConstruct Add support for m68k architecture.patch | (download)

SConstruct | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 sconstruct: add support for m68k architecture

This commit adds support for m68k architecture.

backport/0013 SConstruct Fix typo that makes build failing.patch | (download)

SConstruct | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 sconstruct: fix typo that makes build failing.