Port details |
- opencc Open Chinese Convert library and utilities
- 1.1.6 chinese =3 1.1.6Version of this port present on the latest quarterly branch.
- Maintainer: lichray@gmail.com
- Port Added: 2011-12-02 01:27:48
- Last Update: 2024-08-16 15:36:07
- Commit Hash: 438b693
- People watching this port, also watch:: snd, p5-Ubic, p5-HTML-HTML5-Entities, xorg-docs, p5-Catalyst-Runtime
- Also Listed In: converters
- License: APACHE20
- WWW:
- https://github.com/BYVoid/OpenCC
- Description:
- Open Chinese Convert (OpenCC) is an open source Simplified-Traditional
Chinese conversion project, providing high quality thesaurus and libopencc,
as well as a conversion utility and a dictionary generator.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- zh-opencc>0:chinese/opencc
- To install the port:
- cd /usr/ports/chinese/opencc/ && make install clean
- To add the package, run one of these commands:
- pkg install chinese/opencc
- pkg install zh-opencc
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: zh-opencc
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1696659113
SHA256 (BYVoid-OpenCC-ver.1.1.6_GH0.tar.gz) = 169bff4071ffe814dc16df7d180ff6610db418f4816e9c0ce02cf874bdf058df
SIZE (BYVoid-OpenCC-ver.1.1.6_GH0.tar.gz) = 3325614
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- python3.11 : lang/python311
- This port is required by:
- for Build
-
- chinese/ibus-array
- for Libraries
-
- chinese/bsdconv-opencc
- chinese/fcitx5-chinese-addons
- chinese/ibus-libpinyin
- chinese/librime
- chinese/php-opencc
- textproc/goldendict
- for Run
-
- chinese/ibus-array
Configuration Options:
- ===> The following configuration options are available for zh-opencc-1.1.6:
TESTS=off: Build the unit testing
===> Use 'make config' to modify these settings
- Options name:
- chinese_opencc
- USES:
- cmake compiler:c++11-lib python:build
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.1.6 16 Aug 2024 15:36:07 |
Dimitry Andric (dim) |
chinese/opencc: fix build with clang 19
Clang 19 now diagnoses incorrect member accesses, which causes
chinese/opencc to fail with an error similar to:
/wrkdirs/usr/ports/chinese/opencc/work/OpenCC-ver.1.1.6/src/../deps/rapidjson-1.1.0/rapidjson/document.h:319:82:
error: cannot assign to non-static data member 'length' with const-qualified
type 'const SizeType' (aka 'const unsigned int')
319 | GenericStringRef& operator=(const GenericStringRef& rhs) { s =
rhs.s; length = rhs.length; }
|
~~~~~~ ^
/wrkdirs/usr/ports/chinese/opencc/work/OpenCC-ver.1.1.6/src/../deps/rapidjson-1.1.0/rapidjson/document.h:325:20:
note: non-static data member 'length' declared const here
325 | const SizeType length; //!< length of the string (excluding the
trailing NULL terminator)
| ~~~~~~~~~~~~~~~^~~~~~
Upstream rapidjson fixed this by removing the operator= function in
https://github.com/Tencent/rapidjson/commit/3b2441b8, so pull this in as
a patch and apply it.
PR: 280796
Approved by: lichray@gmail.com (maintainer)
MFH: 2024Q3 |
1.1.6 09 Oct 2023 07:40:31 |
Robert Clausecker (fuz) Author: hiyorin@gmail.com |
chinese/opencc: update to 1.1.6
Changelog: https://github.com/BYVoid/OpenCC/blob/master/NEWS.md
PR: 274323
Approved by: lichray@gmail.com (maintainer) |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.0.5_3 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.0.5_3 20 Jul 2022 14:21:00 |
Tobias C. Berner (tcberner) |
chinese: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <intron@intron.ac>
* Bo-Yi Wu <appleboy.tw@gmail.com>
* Chih-Hsin Chang <chihhsin@cs.nctu.edu.tw>
* Ching-Hong Wu <woju@freebsd.ntu.edu.tw>
* David O'Brien (obrien@FreeBSD.org)
* David O'Brien (obrien@cs.ucdavis.edu)
* Eric L. Camachat <eric@camachat.org>
* Foxfair Hu <foxfair@FreeBSD.org>
* G. Adam Stanislav <adam@whizkidtech.net>
* Gasol Wu <gasol.wu@gmail.com>
* Gea-Suan Lin <gslin@gslin.org> (Only the first 15 lines of the commit message are shown above ) |
1.0.5_3 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.0.5_3 26 Jul 2019 20:46:57 |
gerald |
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330 |
1.0.5_2 03 Jan 2019 15:18:29 |
linimon |
This port sometimes doesn't build. Adding MAKE_JOBS_UNSAFE fixes it.
While here, pet portlint.
PR: 234485
Submitted by: Piotr Kubaj
Approved by: maintainer |
1.0.5_2 12 Dec 2018 01:35:36 |
gerald |
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590 |
1.0.5_1 29 Jul 2018 22:18:46 |
gerald |
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542 |
1.0.5 29 Dec 2017 18:47:48 |
sunpoet |
Update to 1.0.5
Changes: https://github.com/BYVoid/OpenCC/blob/master/NEWS.md
PR: 224678
Submitted by: sunpoet (myself)
Approved by: Zhihao Yuan <lichray@gmail.com> (maintainer) |
1.0.4_2 10 Sep 2017 20:55:39 |
gerald |
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275 |
1.0.4_1 01 Apr 2017 15:23:32 |
gerald |
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707 |
1.0.4 17 Dec 2016 12:53:10 |
sunpoet |
- Remove MASTER_SITES
Approved by: portmgr (blanket) |
1.0.4 09 Jul 2016 03:43:15 |
pi |
chinese/opencc: 0.4.3 -> 1.0.4
PR: 210763
Changes: https://github.com/BYVoid/OpenCC/blob/master/NEWS.md
Submitted by: Iblis Lin <iblis@hs.ntnu.edu.tw>
Approved by: lichray@gmail.com (maintainer) |
0.4.3 03 Sep 2015 09:44:00 |
danfe |
Remove BROKEN on powerpc statements: both these ports build and install fine. |
0.4.3 14 May 2015 10:15:09 |
mat |
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight |
0.4.3 31 Mar 2015 07:08:01 |
delphij |
Major update to libpinyin, fcitx and their add ons:
- New port: chinese/brise Rime schema repository
- Update chinese/fcitx to 4.2.8.5.
- Update chinese/fcitx-chewing to 0.2.2.
- Update chinese/fcitx-cloudpinyin to 0.3.4.
- Update chinese/fcitx-configtool to 0.4.8.
- Update chinese/fcitx-libpinyin to 0.3.1.
- Update chinese/fcitx-rime to 0.3.1.
- Update chinese/fcitx-sunpinyin to 0.4.1.
- Update chinese/fcitx-table-extra to 0.3.7.
- Add LICENSE and update website (mainly move off Google Code)
for various ports.
- Update chinese/libpinyin to 1.1.0.
- Update chinese/librime to 1.1.
- Update chinese/opencc to 0.4.3.
- Update japanese/fcitx-anthy to 0.2.1.
- New port: japanese/fcitx-skk SKK support for Fcitx
- Update korean/fcitx-hangul to 0.3.0.
- Update textproc/fcitx-m17n to 0.2.3.
PR: ports/198743
Submitted by: maintainer, hiroto.kagotani@gmail.com, delphij |
0.3.0 20 Oct 2014 08:38:22 |
bapt |
Cleanup plist |
0.3.0 15 Jan 2014 23:21:00 |
bapt |
Support stage
Reduce over inclusion of bsd.port.mk by:
Use BROKEN_${ARCH}
Use options helpers
Use OPTIONS_SUB |
0.3.0 08 Jan 2014 15:47:09 |
vanilla |
Support STAGEDIR.
Approved by: portmgr (blanket infrastructure) |
0.3.0 30 Dec 2013 20:55:19 |
ohauer |
- rename AL2 to APACHE20 in Mk/bsd.licenses.db.mk
- svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20
- add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk
- add entry in UPDATING
- bulk change all ports AL2 => APACHE20
- math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4
PR: ports/184785
Submitted by: ohauer
Reviewed by: tabthorpe
Approved by: portmgr (tabthorpe@) |
0.3.0 20 Sep 2013 16:01:22 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
chinese) |
0.3.0 29 Apr 2013 22:27:05 |
bapt |
Convert a bunch of ports from WITHOUT_NLS -> ${PORT_OPTIONS:MNLS}
While here:
- trim headers
- convert to new options framework |
0.3.0 26 Apr 2013 10:44:29 |
ak |
- Convert USE_GETTEXT to USES (part 4)
Approved by: portmgr (bapt) |
0.3.0 22 Mar 2013 20:06:15 |
makc |
- convert USE_CMAKE to USES
- while here clean up some ports from CMAKE_VERBOSE, which is intended
for users
Approved by: portmgr (miwi) |
0.3.0 11 Jan 2012 23:39:24 |
cs |
Update to 0.3.0
PR: ports/163052
Submitted by: Zhihao Yuan <lichray@gmail.com> (maintainer)
Approved by: glarkin@ (mentor) |
0.2.0 09 Jan 2012 15:41:08 |
tabthorpe |
- The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@ for generating the initial patch
PR: ports/163521
Submitted by: Pedro Giffuni <pfg apache.org>
Hat: portmgr
Exp run by: pav |
0.2.0 28 Dec 2011 03:27:46 |
linimon |
Mark as broken on powerpc: fails to install with signal 11.
Hat: portmgr |
0.2.0 02 Dec 2011 01:27:24 |
vanilla |
Add opencc 0.2.0, open Chinese Convert library and utilities.
PR: ports/162931
Submitted by: Zhihao Yuan <lichray@gmail.com>
Feature safe: yes |