Port details |
- codec2 Low bit rate codec
- 1.0.3_1 audio
=2 1.0.3_1Version of this port present on the latest quarterly branch. - Maintainer: hamradio@FreeBSD.org
 - Port Added: 2015-12-15 05:30:16
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: hamradio
- License: LGPL21
- WWW:
- https://www.rowetel.com/?page_id=452
- Description:
- 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).
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/audio/codec2/ && make install clean
- To add the package, run one of these commands:
- pkg install audio/codec2
- pkg install codec2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: codec2
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1641299100
SHA256 (drowe67-codec2-v1.0.3_GH0.tar.gz) = 48162d562ea3bf4ca273f3c45df04505a006bd9a2b376006c75706c4de957da7
SIZE (drowe67-codec2-v1.0.3_GH0.tar.gz) = 15000736
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
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- Library dependencies:
-
- libspeexdsp.so : audio/speexdsp
- This port is required by:
- for Libraries
-
- comms/freedv
- comms/gnuradio
- comms/sdr++
- net/sems
Configuration Options:
- ===> The following configuration options are available for codec2-1.0.3_1:
EXAMPLES=on: Build and/or install examples
TEST=off: Build and/or run tests
===> Use 'make config' to modify these settings
- Options name:
- audio_codec2
- USES:
- cmake pathfix pkgconfig python shebangfix tar:xz
- 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.0.3_1 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
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> |
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.3_1 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.3_1 04 Jan 2022 23:07:16
    |
Diane Bruce (db)  |
audio/codec2: missing patch
I thought I did the commit -a
bump the PORTREVISION to make sure this gets rebuilt |
1.0.3 04 Jan 2022 14:20:25
    |
Diane Bruce (db)  |
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. |
1.0.1 31 Dec 2021 23:14:46
    |
Diane Bruce (db)  |
audio/codec2: Updated and moved to canonical upstream
- codec2 badly out of date.
- upstream is now on github
- used by freedv |
0.8.1_2 29 Oct 2021 09:50:18
    |
Stefan Eßer (se)  |
*/*: 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) |
0.8.1_2 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.8.1_2 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.8.1_2 25 Aug 2020 23:27:40
  |
db  |
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 |
0.8.1_1 24 Aug 2020 19:10:01
  |
db  |
- Fix under clang11 |
0.8.1 25 Dec 2018 20:25:40
  |
tcberner  |
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 |
0.8.1 04 Sep 2018 06:34:50
  |
yuri  |
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.fm |
0.7 22 Oct 2017 14:40:54
  |
db  |
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 |
0.7 13 Oct 2017 08:57:46
  |
bapt  |
Mark as broken a bunch of ports with no public distfiles available |
0.7 06 Aug 2017 01:07:22
  |
db  |
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) |
0.6 19 May 2017 14:57:44
  |
db  |
Update to latest freedv codec2 0.6
See http://www.rowetel.com/?page_id=452
PR: ports/219348
Submitted by: takefu@airport.fm |
0.5.1_3 22 Apr 2017 09:25:44
  |
miwi  |
- Fix shebangs |
0.5.1_2 10 Apr 2017 00:27:49
  |
linimon  |
These ports now build on powerpc64.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket) |
0.5.1_2 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 |
0.5.1_1 20 Nov 2016 09:38:09
  |
gerald  |
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. |
0.5.1 24 Oct 2016 10:18:50
  |
mat  |
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 |
0.5.1 03 Oct 2016 13:23:11
  |
db  |
Note conflict with comms/libcodec2 which is already marked for removal
No binary changes hence no PORTREVISION bump
PR: ports/210186
Submitted by: takefu@ |
0.5.1 28 Sep 2016 15:01:46
  |
db  |
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@ |
0.5 01 Apr 2016 13:29:17
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat: portmgr
Sponsored by: Absolight |
0.5 15 Dec 2015 05:30:07
  |
shurd  |
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 |