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
Port details
chinese/pyzy0.1.0_10
Chinese PinYin and Bopomofo conversion library
- Maintainer
- henry.hu.sh@gmail.com
- Packages
- zh-pyzy 0.1.0_10
- Upstream
- Higher version available: 1.1
- CPE
- none, CVEs only via VuXML
- WWW
- https://github.com/pyzy/pyzy
- 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 (36)
chinese/*: remove useless USES=pathfix11668dd957
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>3d9a815d9cRemove 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
chinese/pyzy: build with Python 3 instead of expired Python 2.7 PR: 249586 Submitted by: swills (patch from maintainer)91b2ae47f7
c*: Add missing USES={gnome,php,sdl,xorg}2bf9ca57b1chinese/pyzy: commit forgotten parts of PR 240457 PR: 240457 Approved by: linimon (mentor), henry.hu.sh@gmail.com (maintainer)e893b9ee85
chinese/pyzy: Fix build on powerpc64, aarch64 and armv* Add explicit signed to char to fix build where char is unsigned. ./DoublePinyinTable.h:166:5: error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing] PR: 240457 Approved by: linimon (mentor), henry.hu.sh@gmail.com (maintainer)d6cfd3fdfb
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
Prepare for powerpc-on-clang by deleting hard-coded tests for libstdc++.so as a stand-in for "are we running on gcc". For people already testing powerpc on clang, it is possible that they already have both compilers in base. Thus, the assumption that "gcc is in base" (e.g. libstdc++.so exists) always means "force use of GCC" is already broken. It will be for everyone on -CURRENT once the switch is made. While here, standardize on compiler:c++11-lang instead of -lib (they are equivalent these days), pet portlint, and do some other cleanup. Approved by: portmgr (tier-2 blanket)7bfae932f7
Add -Wno-error=narrowing when the architecture has base GCC (and thus uses new GCC from ports) to prevent the following:
DoublePinyinTable.h:86:1: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
While here, pet portlint.
PR: 235105
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket)c733676ffdBump 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
pyzy doesn't build with python3a641776ee1
For ports that are marked BROKEN on armv6, and also fail to build on armv7, mark them so. This is part two of a multipart commit to bring armv7 ports to parity with armv6. Approved by: portmgr (tier-2 blanket) Obtained from: lonesome.com -exp runbf43557044
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
Mark some ports failing on power64. In cases where the error message was a stub, provide a real one. While here, pet portlint. Approved by: portmgr (tier-2 blanket) Reported by: swillsfa74598719
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
Mark various ports broken on aarch64 and armv6. Approved by: portmgr (tier-2 blanket)dcd74e6387
http://github.com redirects to the https version. Sponsored by: Absolightab00e8864e
chinese/pyzy: unbreak by moving upstream to github - Removes the openphrase database It is only hosted on Google Code. Remove this option until it's provided on github. - Fix build with OpenCC OpenCC changed its interface and removed the old APIs. This patch fixes the problem. The upstream is almost dead, and there is a similar pull request waiting. - use pathfix instead of sed call - fixed indention PR: 212735 Submitted by: shun.fbsd.pr.ml@dropcut.net, henry.hu.sh@gmail.com (maintainer)ce964f26a2
Use USES=pathfix where applicable. PR: 213195 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D8093a0bcd2cf68
Catch stray dependencies, courtesy of the proxy-deps qa check. Sponsored by: Absolight586255bfed
GOOGLE_CODE has gone away. - If a port has another upstream, remove GOOGLE_CODE - If a port only has GOOGLE_CODE mark it BROKEN Some ports have a local mirror configured but for security reasons, it is not considered upstream. Sponsored by: Absolightdbbfc7889a
Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat: portmgr
Sponsored by: Absolight7f4572eae4Improve shebangfix framework
- Support multiple values in *_OLD_CMD, i.e. we can now fix both "/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash, ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously) replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is still (correctly) replaced with "${perl_CMD} -tt")
Note that *_OLD_CMD items containing spaces must now be quoted (e.g. perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")
Update shebangfix usage according to new rules in many ports:
- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces
Fix shebangfix usage in many ports (irrelevant to infrastructure change):
- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for exact string
Approved by: portmgr (bapt)
Differential Revision: D375667971bd0fbRemove build dependency on the python symlinkfcfd466a78
Convert ports to use the options helpers in categories [abc]*, and minor fixes. Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?bb271f0bf7
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: Absolight60d1a83c2aCleanup plist5ddf8517a5
Update the default version of GCC in the Ports Collection from GCC 4.7.4 to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)15945f8122
This port stages fine as a regular user12069ad7b6
New port: The Chinese PinYin and Bopomofo conversion library. PR: ports/187797 Submitted by: Henry Hu <henry hu sh gmail com>4a141bfd4a