Codec 2 is an open source speech codec designed for communications quality
speech between 700 and 3200 bit/s.
The main application is low bandwidth HF/VHF digital radio.
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).
===> The following configuration options are available for codec2-1.2.0:
EXAMPLES=on: Build and/or install examples
TEST=off: Build and/or run tests
===> Use 'make config' to modify these settings
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.net
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>
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)
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 )
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.
*/*: 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)
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.com
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: antoine
update 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.fr
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)
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
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.
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: Absolight
Note conflict with comms/libcodec2 which is already marked for removal
No binary changes hence no PORTREVISION bump
PR: ports/210186
Submitted by: takefu@
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@
New 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=452