notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

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
WWW:
http://code.google.com/p/sunpinyin/
Description:
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/
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
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:
  • zh-sunpinyin>0:chinese/sunpinyin
No installation instructions:
This port has been deleted.
PKGNAME: zh-sunpinyin
Flavors: there is no flavor information for this port.
NOT_FOR_ARCHS: riscv64
distinfo:
SHA256 (sunpinyin-sunpinyin-2.0.4rc3-a8bd811_GH0.tar.gz) = 762575e71a5e24c4efc291407302a161ad51b8bf8902d952b54076f4511997ef SIZE (sunpinyin-sunpinyin-2.0.4rc3-a8bd811_GH0.tar.gz) = 547083 SHA256 (lm_sc.3gm.arpa-20140820.tar.bz2) = 751bab7c55ea93a2cedfb0fbb7eb09f67d4da9c2c55496e5f31eb8580f1d1e2f

Expand this list (3 items)

Collapse this list.

SIZE (lm_sc.3gm.arpa-20140820.tar.bz2) = 36623028 SHA256 (dict.utf8-20131214.tar.bz2) = af70bc2bcd7af7468495774fed9e3a2de434650119fbc3d3388c2bcf7e0acb01 SIZE (dict.utf8-20131214.tar.bz2) = 674512

Collapse this list.


Packages (timestamps in pop-ups are UTC):
zh-sunpinyin
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--2.0.4.r3_1---2.0.4.r3_1-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
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:
No options to configure
Options name:
chinese_sunpinyin
USES:
gmake iconv perl5 pkgconfig python:2.7 scons shebangfix
FreshPorts was unable to extract/find any pkg message
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: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.0.4.r3_1
26 Jun 2021 18:31:20
commit hash: 67bd778a711b0bc861c4e61a963c027b43947b4fcommit hash: 67bd778a711b0bc861c4e61a963c027b43947b4fcommit hash: 67bd778a711b0bc861c4e61a963c027b43947b4fcommit hash: 67bd778a711b0bc861c4e61a963c027b43947b4f files touched by this commit
Rene Ladan (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
2.0.4.r3_1
26 May 2021 15:05:36
commit hash: 4c690987cad8a48974cc94682c2543c99495101ecommit hash: 4c690987cad8a48974cc94682c2543c99495101ecommit hash: 4c690987cad8a48974cc94682c2543c99495101ecommit hash: 4c690987cad8a48974cc94682c2543c99495101e files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
chinese/sunpinyin: fix build with python3 scons

Approved by:	portmgr blanket
2.0.4.r3_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.0.4.r3_1
02 Feb 2021 19:28:27
Revision:563839Original commit files touched by this commit
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
2.0.4.r3_1
01 Jan 2021 10:11:35
Revision:559822Original commit files touched by this commit
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
2.0.4.r3_1
01 Jan 2021 00:57:24
Revision:559792Original commit files touched by this commit
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)
2.0.4.r3_1
25 May 2020 18:33:44
Revision:536497Original commit files touched by this commit
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
2.0.4.r3_1
11 Dec 2017 16:54:20
Revision:456050Original commit files touched by this commit
antoine search for other commits by this committer
- Those ports fail to build with python3
- Add some explicit FLAVOR to dependencies where needed
2.0.4.r3_1
03 Nov 2016 13:30:20
Revision:425208Original commit files touched by this commit
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
2.0.4.r3_1
03 Nov 2016 13:29:58
Revision:425207Original commit files touched by this commit
mat search for other commits by this committer
Fix github usage.

Sponsored by:	Absolight
2.0.4.r3_1
07 May 2016 22:44:31
Revision:414787Original commit files touched by this commit
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
2.0.4.r3
01 Apr 2016 13:29:17
Revision:412344Original commit files touched by this commit
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
2.0.4.r3
20 Sep 2015 19:59:04
Revision:397395Original commit files touched by this commit
olgeni search for other commits by this committer
Typos, whitespace and capitalization fixes (A-F).
2.0.4.r3
29 Jul 2015 22:09:55
Revision:393196Original commit files touched by this commit
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
2.0.4.r3
13 Apr 2015 14:49:38
Revision:383926Original commit files touched by this commit
mat search for other commits by this committer
${ENV} does not exist, it is called ${SETENV}.
2.0.4.r3
07 Apr 2015 12:04:16
Revision:383499Original commit files touched by this commit
vanilla search for other commits by this committer
Remove tar:xz from USES.

Submitted by:	mat@
2.0.4.r3
07 Apr 2015 09:42:29
Revision:383492Original commit files touched by this commit
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
2.0.4.r2_1
05 Apr 2015 18:38:33
Revision:383351Original commit files touched by this commit
bapt search for other commits by this committer
Mark as broken unfetchable ports
2.0.4.r2_1
23 Mar 2015 14:05:49
Revision:381998Original commit files touched by this commit
bdrewery search for other commits by this committer
Fix MAKE_CMD to be scons after r381976
2.0.4.r2_1
20 Oct 2014 08:38:22
Revision:371243Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
2.0.4.r2_1
20 Aug 2014 23:36:35
Revision:365520Original commit files touched by this commit
marino search for other commits by this committer
Stage chinese/sunpinyin and unbreak on FreeBSD 10+

PR:		192844
Submitted by:	Henry Hu
2.0.4.r2_1
29 Jul 2014 21:07:40
Revision:363392Original commit files touched by this commit
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)
2.0.4.r2_1
27 Jun 2014 17:21:07
Revision:359586Original commit files touched by this commit
miwi search for other commits by this committer
- Chase database/sqlite3 slib bump

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

Submitted by:	marino
Approved by:	portmgr (bapt, implicit)
2.0.4.r2
20 Sep 2013 16:01:22
Revision:327713Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
chinese)
2.0.4.r2
14 Sep 2013 08:51:35
Revision:327251Original commit files touched by this commit
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)
2.0.4.r2
23 Apr 2013 06:34:47
Revision:316310Original commit files touched by this commit
bapt search for other commits by this committer
Convert all c categories to USE=pkgconfig
2.0.4.r2
26 Jul 2012 05:40:24
Original commit files touched by this commit
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)
2.0.4.r2
19 Jul 2012 23:51:34
Original commit files touched by this commit
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
2.0.4.r2
19 Jul 2012 23:35:57
Original commit files touched by this commit
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)
2.0.4.r1
25 May 2012 07:25:44
Original commit files touched by this commit
wen search for other commits by this committer
- Update to 2.0.4rc1

PR:             167863
Submitted by:   Zhihao Yuan <lichray@gmail.com>
2.0.3_1
11 Nov 2011 15:38:55
Original commit files touched by this commit
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
2.0.3
11 Nov 2011 02:46:16
Original commit files touched by this commit
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