chinese/opencc: unbundle marisa, rapidjson, tclap, and googletest Use system versions of libraries that have matching ports instead of the bundled copies shipped in deps/. PR: ports/297782 Reported by: diizzy Approved by: maintainercde3ef1d7c
Port details
chinese/opencc1.4.2_1
Open Chinese Convert library and utilities
- Maintainer
- lichray@gmail.com
- Packages
- zh-opencc 1.4.2_1
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://github.com/BYVoid/OpenCC
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (34)
chinese/opencc: update to 1.4.2 - Remove patch-cmake_GitVersion.cmake (fix included upstream) PR: ports/297780 Approved by: maintainer90c1b15715
chinese/opencc: Upgrade from 1.3.1 to 1.4.1. Changes in this update: - Enable the Jieba segmentation plugin via a new JIEBA option (default on). - OpenCC now requires C++17: USES compiler:c++11-lib -> c++17-lang. - Regenerate files/patch-CMakeLists.txt for the reorganized upstream tree. - Add files/patch-cmake_GitVersion.cmake so the release tarball (which ships without Git metadata) reports 1.4.1 instead of 1.4.0. Obtained from upstream commit c23e743702f4. PR: ports/296829 Approved by: maintainer584636d93a
chinese/opencc: update 1.1.6 → 1.3.1 PR: 296145 Approved by: lichray@gmail.com (maintainer)2fbab47b35
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: 2024Q3438b693be1chinese/opencc: update to 1.1.6 Changelog: https://github.com/BYVoid/OpenCC/blob/master/NEWS.md PR: 274323 Approved by: lichray@gmail.com (maintainer)96b523561b
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)fb16dfecae
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. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
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> * Henry Hu <henry.hu.sh@gmail.com> * Jie Gao <gaoj@cpsc.ucalgary.ca> * Jing-Tang Keith Jang <keith@FreeBSD.org> * Joe Horn <joehorn@gmail.com> * Ka Ho Ng <khng300@gmail.com> * Kuang-che Wu <kcwu@csie.org> * Michael C . Wu <keichii@iteration.net> * Michael C. Wu * Ming-I Hseh <PA@FreeBSD.Ntu.edu.TW> * Rong-En Fan <rafan@FreeBSD.org> * Satoshi TAOKA <taoka@FreeBSD.org> * Shell Hung <shell@shellhung.org> * Shen Chuan-Hsing * Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Yen-Ming Lee <leeym@FreeBSD.org> * Yen-Shuo Su <yssu@CCCA.NCTU.edu.tw> * Yin-Jieh Chen <yinjieh@csie.nctu.edu.tw> * Yinghong Liu <relaxbsd@gmail.com> * Zhang Shu * Zhihao Yuan <lichray@gmail.com> * blubee <hello@blubee.me> * buganini@gmail.com * chinsan * chinsan <chinsan.tw@gmail.com> * clive * clsung * clsung@dragon2.net * gugod@gugod.org * hrs * ijliao * vanilla@ With hat: portmgr25fe59a33e
Remove # $FreeBSD$ from Makefiles.305f148f48
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: 238330ea8c8ec7da
This port sometimes doesn't build. Adding MAKE_JOBS_UNSAFE fixes it. While here, pet portlint. PR: 234485 Submitted by: Piotr Kubaj Approved by: maintainer2baccdbd71
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: 231590a9f015d155
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: 22254209f9633cb6
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)8ab97cd3ab
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: 219275e59c88cece
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: 21670704d6f52202
- Remove MASTER_SITES Approved by: portmgr (blanket)b180085a9b
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)9cdea908c2
Remove BROKEN on powerpc statements: both these ports build and install fine.e47361f6c5
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: Absolight60d1a83c2aMajor 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, delphij1e0f9c5aad
Cleanup plist5ddf8517a5
Support stage Reduce over inclusion of bsd.port.mk by: Use BROKEN_${ARCH} Use options helpers Use OPTIONS_SUB0717b41424Support STAGEDIR. Approved by: portmgr (blanket infrastructure)a57522f229
- 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@)4fb1cfb1cd
Add NO_STAGE all over the place in preparation for the staging support (cat: chinese)f5750c6a0e
Convert a bunch of ports from WITHOUT_NLS -> ${PORT_OPTIONS:MNLS}
While here:
- trim headers
- convert to new options framework9ff06b3cbf- Convert USE_GETTEXT to USES (part 4) Approved by: portmgr (bapt)83f02b963c
- convert USE_CMAKE to USES - while here clean up some ports from CMAKE_VERBOSE, which is intended for users Approved by: portmgr (miwi)ffd97a0193
Update to 0.3.0 PR: ports/163052 Submitted by: Zhihao Yuan <lichray@gmail.com> (maintainer) Approved by: glarkin@ (mentor)0d6a71c57c
- 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: pave0ac1afbf4
Mark as broken on powerpc: fails to install with signal 11. Hat: portmgrb64acbdd0f
Add opencc 0.2.0, open Chinese Convert library and utilities. PR: ports/162931 Submitted by: Zhihao Yuan <lichray@gmail.com> Feature safe: yes478ff6ffcd