audio/codec2: Update to 1.2.0 The new version of SDRAngel requires codec2 version 1.2.0, but the ports currently contain version 1.0.3_1. I contacted the maintainer, and a search of the bug list yielded no results regarding a codec2 port update. I propose updating the port; I am attaching the patches. Tested FreeBSD 15 amd64 - ran through portlint and cosmetic changes only - db PR: 297726 Reported by: res2500@ukr.net6621902b7e
Port details
audio/codec21.2.0
Low bit rate codec
- Maintainer
- hamradio@FreeBSD.org
- Packages
- codec2 1.2.0
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://www.rowetel.com/?page_id=452
- 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 (28)
audio/*: remove useless USES=pathfixa542853b79
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
audio/codec2: missing patch I thought I did the commit -a bump the PORTREVISION to make sure this gets rebuilt07060a51a4
audio/codec2: Unbreak swig Numerous tiny changes in the git log for codec2 but the big one for us is fixing swig. codec2 exposed a complex type in an interface that swig breaks on. This impacts other ports such as gnuradio. upstream moved the interface to private and this unbreaks swig. N.B. I have patched out the Octave CML testjig for now since this will take more time to resolve. Patches welcome.a8bd0d5cd8
audio/codec2: Updated and moved to canonical upstream - codec2 badly out of date. - upstream is now on github - used by freedv5cbe3aeb50
*/*: Remove redundant '-[0-9]*' from CONFLICTS The conflict checks compare the patterns first against the package names without version (as reported by "pkg query "%n"), then - if there was no match - agsinst the full package names including the version (as reported by "pkg query "%n-%v"). Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter for the bash package in any version. But that pattern is functionally identical with just "bash". Approved by: portmgr (blanket)819f25b36d
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
Thanks to Dima Panov <fluffy@FreeBSD.org> for pointing out it was older compilers not clang 11 failing this. *sigh* PR: ports/248894 Submitted by: vvd@unislabs.com9dcc41034f
- Fix under clang1185bbd3327f
Change cmake default behaviour to outsource. Ports that build out of source now simply can use "USES=cmake" instead of "USES=cmake:outsource". Ports that fail to build out of source now need to specify "USES=cmake:insource". I tried to only set insource where explictely needed. PR: 232038 Exp-run by: antoine707c6bf295
audio/codec2: Update 0.7 -> 0.8.1
Port changes:
* Change MASTER_SITES
* Add LICENSE_FILE
* Move examples to ${EXAMPLESDIR}, add PORTEXAMPLES=*, remove them from pkg-plist
PR: 228281
Submitted by: takefu@airport.fm67729b7c8cupdate MASTER_SITES to fix distfiles I noticed this port is currently broken: BROKEN= no public distfiles Then I found the public archive at: https://freedv.com/wp-content/uploads/sites/8/2017/10/codec2-0.7.tar.xz (the checksum matches) I think the port can be "fixed" with the attached patch. Thanks! Update the LOCAL copy I forgot to add the last time (db) PR: ports/223163 Submitted by: tj+freebsd_ports@a13.fr68aa79e011
Mark as broken a bunch of ports with no public distfiles available098dd7890c
Update to 0.7 1. Make the 700 bit/s codec sound better, to improve speech quality on low SNR HF channels (beneath 0dB). 2. Develop a higher quality mode in the 2000 to 3000 bit/s range, that can be used on HF channels with modest SNRs (around 10dB)ced2e58719
Update to latest freedv codec2 0.6 See http://www.rowetel.com/?page_id=452 PR: ports/219348 Submitted by: takefu@airport.fmf5f3c4ed07
- Fix shebangs5cf0569ebb
These ports now build on powerpc64. While here, pet portlint. Approved by: portmgr (tier-2 blanket)62a6b3eebc
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
Bump PORTREVISIONS for ports depending on the canonical version of GCC and lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some circumstances such as versions of FreeBSD or platforms). In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang, c++11-lang, c++0x, c11 requested via USES=compiler.89f8b05214
OPTIONS_SET/OPTIONS_UNSET are global variables, they cannot be used in ports Makefiles. So, replace them with OPTIONS_SLAVE, OPTIONS_EXCLUDE, OPTIONS_DEFAULT, where appropriate. The ghostscript ports are doing something nasty that is certainly wrong, but I don't want to try to understand it. Sponsored by: Absolightc6f651390a
Note conflict with comms/libcodec2 which is already marked for removal No binary changes hence no PORTREVISION bump PR: ports/210186 Submitted by: takefu@aac45e8297
Update to 0.5.1 Add some examples if requested. Add some test programs if requested. N.B. PR is actually against comms/libcodec2 which is a duplicate port. PR: ports/210186 Submitted by: takefu@a8280a9e18
Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat: portmgr
Sponsored by: Absolight7f4572eae4New port: audio/codec2 Codec2 is an open source low bit rate speech codec designed for communications quality speech at 2400 bit/s and below. Applications include low bandwidth HF/VHF digital radio and VOIP trunking. Codec 2 operating at 2400 bit/s can send 26 phone calls using the bandwidth required for one 64 kbit/s uncompressed phone call. It fills a gap in open source, free-as-in-speech voice codecs beneath 5000 bit/s and is released under the GNU Lesser General Public License (LGPL). WWW: http://www.rowetel.com/blog/?page_id=4522ff7cdda58