notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
sunpinyin Statistical language model based input method engine
2.0.4.r3_1 chinese Deleted on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.0.4.r3_1Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: Uses Python 2.7 which is EOLed upstream
Expired This port expired on: 2020-12-31
Maintainer: lichray@gmail.com search for ports maintained by this maintainer
Port Added: 2011-11-11 02:46:39
Last Update: 2021-06-26 18:31:20
Commit Hash: 67bd778
Also Listed In: devel
License: LGPL21 CDDL
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (59 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/zh-sunpinyin-2.0.4.r3_1/catalog.mk
  3. /usr/local/share/licenses/zh-sunpinyin-2.0.4.r3_1/LICENSE
  4. /usr/local/share/licenses/zh-sunpinyin-2.0.4.r3_1/LGPL21
  5. /usr/local/share/licenses/zh-sunpinyin-2.0.4.r3_1/CDDL
  6. include/sunpinyin-2.0/ime-core/ic_history.h
  7. include/sunpinyin-2.0/ime-core/imi_context.h
  8. include/sunpinyin-2.0/ime-core/imi_data.h
  9. include/sunpinyin-2.0/ime-core/imi_defines.h
  10. include/sunpinyin-2.0/ime-core/imi_funcobjs.h
  11. include/sunpinyin-2.0/ime-core/imi_glibHandler.h
  12. include/sunpinyin-2.0/ime-core/imi_keys.h
  13. include/sunpinyin-2.0/ime-core/imi_option_event.h
  14. include/sunpinyin-2.0/ime-core/imi_option_keys.h
  15. include/sunpinyin-2.0/ime-core/imi_options.h
  16. include/sunpinyin-2.0/ime-core/imi_uiobjects.h
  17. include/sunpinyin-2.0/ime-core/imi_view.h
  18. include/sunpinyin-2.0/ime-core/imi_view_classic.h
  19. include/sunpinyin-2.0/ime-core/imi_winHandler.h
  20. include/sunpinyin-2.0/ime-core/lattice_states.h
  21. include/sunpinyin-2.0/ime-core/userdict.h
  22. include/sunpinyin-2.0/ime-core/utils.h
  23. include/sunpinyin-2.0/lexicon/pytrie.h
  24. include/sunpinyin-2.0/lexicon/pytrie_gen.h
  25. include/sunpinyin-2.0/lexicon/trie_writer.h
  26. include/sunpinyin-2.0/pinyin/datrie.h
  27. include/sunpinyin-2.0/pinyin/datrie_impl.h
  28. include/sunpinyin-2.0/pinyin/hunpin_seg.h
  29. include/sunpinyin-2.0/pinyin/pinyin_data.h
  30. include/sunpinyin-2.0/pinyin/pinyin_seg.h
  31. include/sunpinyin-2.0/pinyin/quanpin_trie.h
  32. include/sunpinyin-2.0/pinyin/segmentor.h
  33. include/sunpinyin-2.0/pinyin/shuangpin_data.h
  34. include/sunpinyin-2.0/pinyin/shuangpin_seg.h
  35. include/sunpinyin-2.0/pinyin/syllable.h
  36. include/sunpinyin-2.0/portability.h
  37. include/sunpinyin-2.0/slm/ids2ngram/idngram.h
  38. include/sunpinyin-2.0/slm/ids2ngram/idngram_merge.h
  39. include/sunpinyin-2.0/slm/sim_dict.h
  40. include/sunpinyin-2.0/slm/sim_fmerge.h
  41. include/sunpinyin-2.0/slm/sim_sen.h
  42. include/sunpinyin-2.0/slm/sim_slm.h
  43. include/sunpinyin-2.0/slm/slm.h
  44. include/sunpinyin-2.0/slm/slmbuild/sim_slmbuilder.h
  45. include/sunpinyin-2.0/slm/slmpack/arpa_slm.h
  46. include/sunpinyin-2.0/slm/slmpack/common.h
  47. include/sunpinyin-2.0/slm/thread/ValueCompress.h
  48. include/sunpinyin-2.0/slm/tslmendian/slm_file.h
  49. include/sunpinyin-2.0/slm/tslmendian/writer.h
  50. include/sunpinyin-2.0/sunpinyin.h
  51. lib/libsunpinyin.so
  52. lib/libsunpinyin.so.3
  53. lib/libsunpinyin.so.3.0
  54. libdata/pkgconfig/sunpinyin-2.0.pc
  55. share/sunpinyin/lm_sc.t3g
  56. share/sunpinyin/pydict_sc.bin
  57. @owner
  58. @group
  59. @mode
Collapse this list.
Dependency lines:
  • For RUN/BUILD depends:
    • zh-sunpinyin>0:chinese/sunpinyin
  • For LIB depends:
    • libsunpinyin.so:chinese/sunpinyin
No installation instructions: this port has been deleted.
The package name of this deleted port was:
PKGNAME: zh-sunpinyin
Flavors: there is no flavor information for this port.
NOT_FOR_ARCHS: riscv64
distinfo:
Packages (timestamps in pop-ups are UTC):
zh-sunpinyin
ABIlatestquarterly
FreeBSD:11:aarch642.0.4.r3_12.0.4.r3_1
FreeBSD:11:amd64--
FreeBSD:11:armv62.0.4.r3_12.0.4.r3_1
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch642.0.4.r3_1-
FreeBSD:12:amd64--
FreeBSD:12:armv62.0.4.r3_12.0.4.r3_1
FreeBSD:12:armv72.0.4.r3_12.0.4.r3_1
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-2.0.4.r3_1
FreeBSD:13:aarch642.0.4.r3_1-
FreeBSD:13:amd64--
FreeBSD:13:armv62.0.4.r3_12.0.4.r3_1
FreeBSD:13:armv72.0.4.r3_12.0.4.r3_1
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc642.0.4.r3_1-
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv62.0.4.r3_1-
FreeBSD:14:armv72.0.4.r3_1-
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc642.0.4.r3_1-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.3 : devel/gmake
  2. pkgconf>=1.3.0_1 : devel/pkgconf
  3. python2.7 : lang/python27
  4. scons-3.8 : devel/scons@py38
  5. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. python2.7 : lang/python27
Library dependencies:
  1. libsqlite3.so : databases/sqlite3
  2. libiconv.so : converters/libiconv
NOTE: dependencies for deleted ports are notoriously suspect
This port is required by:
for Libraries

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. chinese/fcitx-sunpinyin*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
Options name:

USES:

Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/sunpinyin/sunpinyin/tar.gz/a8bd811?dummy=/
Collapse this list.
Port Moves
  • port deleted on 2021-06-26
    REASON: Has expired: Uses Python 2.7 which is EOLed upstream

Number of commits found: 34

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
26 Jun 2021 18:31:20
 files touched by this commit commit hash:67bd778a711b0bc861c4e61a963c027b43947b4f  2.0.4.r3_1
rene search for other commits by this committer
*/*: Remove expired ports:

2020-12-31 chinese/sunpinyin: Uses Python 2.7 which is EOLed upstream
2021-06-23 chinese/fcitx-sunpinyin: Uses EOL Python 2.7 via chinese/sunpinyin
26 May 2021 15:05:36
 files touched by this commit commit hash:4c690987cad8a48974cc94682c2543c99495101e  2.0.4.r3_1
amdmi3 search for other commits by this committer
chinese/sunpinyin: fix build with python3 scons

Approved by:	portmgr blanket
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  2.0.4.r3_1
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
02 Feb 2021 19:28:27
Original commit files touched by this commit Revision:563839  2.0.4.r3_1
linimon search for other commits by this committer
Mark as NOT_FOR riscv64:

  ./config.h:119:3: error: can not detect the endianness!

While here, pet portlint (Makevar order).

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com build testing
01 Jan 2021 10:11:35
Original commit files touched by this commit Revision:559822  2.0.4.r3_1
antoine search for other commits by this committer
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed

With hat:	portmgr
01 Jan 2021 00:57:24
Original commit files touched by this commit Revision:559792  2.0.4.r3_1
rene search for other commits by this committer
Remove most expired ports that depend on Python 2.7:

Exceptions are:
- mail/mailman, our listservers still use it
- www/chromium, solely because of popular demand,
  upstream is (slowly) working on porting it to Python 3
- ports that have actual patches for Python 3 against
  them (Cinnamon and a few unrelated other ports)
- llvm70 and qt5-webengine because they seem to have a lot
  of dependencies which need further analysis
- sysutils/uefi-edk2-bhyve because bhyve seems to use them
- python2 and python27 themselves

I'm sure there will be complaints, but the nice thing about
a version control system is that we can revert and adjust things.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
25 May 2020 18:33:44
Original commit files touched by this commit Revision:536497  2.0.4.r3_1
sunpoet search for other commits by this committer
Update USES=scons to specify scons of Python 2

- While I'm here, convert emulators/gem5 and games/marsnomercy to USES=scons
11 Dec 2017 16:54:20
Original commit files touched by this commit Revision:456050  2.0.4.r3_1
antoine search for other commits by this committer
- Those ports fail to build with python3
- Add some explicit FLAVOR to dependencies where needed
03 Nov 2016 13:30:20
Original commit files touched by this commit Revision:425208  2.0.4.r3_1
mat search for other commits by this committer
Fix man pages generation with Perl 5.24+

While there, run make makepatch.

PR:		213810
Sponsored by:	Absolight
03 Nov 2016 13:29:58
Original commit files touched by this commit Revision:425207  2.0.4.r3_1
mat search for other commits by this committer
Fix github usage.

Sponsored by:	Absolight
07 May 2016 22:44:31
Original commit files touched by this commit Revision:414787  2.0.4.r3_1
dim search for other commits by this committer
During the exp-run in bug 208158, it was found that chinese/sunpinyin
gives errors with libc++ 3.8.0:

gmake[2]: Entering directory '/wrkdirs/usr/ports/chinese/sunpinyin/work'
slmpack lm_sc.3gm.arpa dict.utf8 lm_sc.3gm
Loading lexicon...done.
Loading ARPA slm...
Writing out...done!
slmthread lm_sc.3gm lm_sc.t3g.orig
Loading original slm...
first pass...
Compressing pr values...65536 float values ==> 65536 values
Compressing bow values...16384 float values ==> 16384 values
Threading the new model...Assertion failed: (prit != pr_map.end()), function
main, file src/slm/thread/slmthread.cpp, line 364.
/wrkdirs/usr/ports/chinese/sunpinyin/work/sunpinyin-a8bd811/src/sunpinyin-dictgen.mk:51:
recipe for target 'lm_sc.t3g.orig' failed

This is because the code mostly uses floats, but in some parts it uses
log(), exp(), etc, which return doubles.  During the parts where it does
lookups in std::map<float, int> constructs, this leads to it not being
able to find the expected entries.  Fix this by using logf(), expf() and
similar, which explicitly return floats.

Approved by:	lichray@gmail.com (maintainer)
PR:		209369
MFH:		2016Q2
01 Apr 2016 13:29:17
Original commit files touched by this commit Revision:412344  2.0.4.r3
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.

With hat:	portmgr
Sponsored by:	Absolight
20 Sep 2015 19:59:04
Original commit files touched by this commit Revision:397395  2.0.4.r3
olgeni search for other commits by this committer
Typos, whitespace and capitalization fixes (A-F).
29 Jul 2015 22:09:55
Original commit files touched by this commit Revision:393196  2.0.4.r3
antoine search for other commits by this committer
Switch default python_CMD used by shebangfix to ${PYTHON_CMD} for ports
using python

PR:		201077
Reviewed by:	mat
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D2955
13 Apr 2015 14:49:38
Original commit files touched by this commit Revision:383926  2.0.4.r3
mat search for other commits by this committer
${ENV} does not exist, it is called ${SETENV}.
07 Apr 2015 12:04:16
Original commit files touched by this commit Revision:383499  2.0.4.r3
vanilla search for other commits by this committer
Remove tar:xz from USES.

Submitted by:	mat@
07 Apr 2015 09:42:29
Original commit files touched by this commit Revision:383492  2.0.4.r3
vanilla search for other commits by this committer
1: upgrade to 2.0.4rc3.
2: unBROKEN.
3: move to GITHUB.

PR:		199105
Submitted by:	maintainer
05 Apr 2015 18:38:33
Original commit files touched by this commit Revision:383351  2.0.4.r2_1
bapt search for other commits by this committer
Mark as broken unfetchable ports
23 Mar 2015 14:05:49
Original commit files touched by this commit Revision:381998  2.0.4.r2_1
bdrewery search for other commits by this committer
Fix MAKE_CMD to be scons after r381976
20 Oct 2014 08:38:22
Original commit files touched by this commit Revision:371243  2.0.4.r2_1
bapt search for other commits by this committer
Cleanup plist
20 Aug 2014 23:36:35
Original commit files touched by this commit Revision:365520  2.0.4.r2_1
marino search for other commits by this committer
Stage chinese/sunpinyin and unbreak on FreeBSD 10+

PR:		192844
Submitted by:	Henry Hu
29 Jul 2014 21:07:40
Original commit files touched by this commit Revision:363392  2.0.4.r2_1
adamw search for other commits by this committer
Convert a bunch of USE_XZ to USES=tar:xz.

Approved by:	portmgr (not really, but touches unstaged ports)
27 Jun 2014 17:21:07
Original commit files touched by this commit Revision:359586  2.0.4.r2_1
miwi search for other commits by this committer
- Chase database/sqlite3 slib bump

Approved by:	portmgr (myself)
13 Feb 2014 14:18:58
Original commit files touched by this commit Revision:344117  2.0.4.r2
miwi search for other commits by this committer
- Convert USE_SCONS to USES
27 Sep 2013 15:17:27
Original commit files touched by this commit Revision:328492  2.0.4.r2
madpilot search for other commits by this committer
Import a bunch of iconv fixes.

Submitted by:	marino
Approved by:	portmgr (bapt, implicit)
20 Sep 2013 16:01:22
Original commit files touched by this commit Revision:327713  2.0.4.r2
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
chinese)
14 Sep 2013 08:51:35
Original commit files touched by this commit Revision:327251  2.0.4.r2
sunpoet search for other commits by this committer
- Fix build on 10-CURRENT: disable iconv functionality by removing iconv.h
detection
- While I'm here:
  - Remove leading indefinite article from COMMENT
  - Remove LICENSE_FILE for well-known licenses
  - Covnert to new LIB_DEPENDS format
  - Use USES=gmake

PR:		ports/182079
Submitted by:	Henry Hu <henry.hu.sh@gmail.com>
Approved by:	Zhihao Yuan <zy@miator.net> (maintainer)
23 Apr 2013 06:34:47
Original commit files touched by this commit Revision:316310  2.0.4.r2
bapt search for other commits by this committer
Convert all c categories to USE=pkgconfig
26 Jul 2012 05:40:24
Original commit files touched by this commit   2.0.4.r2
bapt search for other commits by this committer
new devel/pkgconf added to replace devel/pkg-config. new version of pkg-config
are no more self hosting so we are stuck with 0.25 version while pkgconf provide
the same set of features as 0.27 and a compatible frontend. A symlink to
pkg-config has been added for convenience and compatibility

This also introduces a new macro to use pkgconf in your ports:
USE_PKGCONFIG

it can take the following arguments:
 - yes (meaning build only dep)
 - build (meaning build only dep)
 - run (meaning run only dep)
 - both (meaning run and build dep)

From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG
The old gnome macro has been modified to use pkgconf but still the sameway: run
and build dep to avoid large breakage.

While here fix some ports relying on pkg-config but not specifying it, fix some
ports broken because testing wrong .pc files, and fix ports using pkg-config
--version to determine pkg-config version instead of
pkg-config --modversion pkg-config like recommanded by pkg-config

With Hat:	portmgr
Exp-runs by:	bapt (pointhat-west), beat (pointyhat)
19 Jul 2012 23:51:34
Original commit files touched by this commit   2.0.4.r2
delphij search for other commits by this committer
 - Host the distfile at FreeBSD's site;
 - Remove maintainer's URL from master sites;
 - Recompress to make the file smaller.

Requested by:	maintainer
19 Jul 2012 23:35:57
Original commit files touched by this commit   2.0.4.r2
delphij search for other commits by this committer
Update to 2.0.4 RC 2

PR:		ports/170008
Submitted by:	Zhihao Yuan <lichray gmail com> (maintainer)
25 May 2012 07:25:44
Original commit files touched by this commit   2.0.4.r1
wen search for other commits by this committer
- Update to 2.0.4rc1

PR:             167863
Submitted by:   Zhihao Yuan <lichray@gmail.com>
11 Nov 2011 15:38:55
Original commit files touched by this commit   2.0.3_1
clsung search for other commits by this committer
- bump PORTREVISION
- Make chinese/sunpinyin 2.0.4-compatible, XDG-compatible, etc.
1. patch-2.0.4-compatible
sunpinyin-2.0.4 is not released, but I'm porting a front-end which uses several
changes from the newer version. This patch is enough.

2. patch-xdg
Change the config dir from .sunpinyin to .config/sunpinyin. It's safe because we
have no front-ends in ports tree, so no one has these configured :)

3. patch-src...
Remove the unneeded and repeated message on terminal.

PR:             ports/162465
Submitted by:   maintainer (Zhihao Yuan)
Feature safe:   yes
11 Nov 2011 02:46:16
Original commit files touched by this commit   2.0.3
clsung search for other commits by this committer
SunPinyin is a statistical language model based Chinese input method, which
was firstly developed by Sun Beijing Globalization team, and opensource'd
to community with opensolaris project, with LGPLv2 and CDDL dual-licenses.

WWW:    http://code.google.com/p/sunpinyin/

Feature safe:   yes

Number of commits found: 34