Commit Graph

24 Commits

Author SHA1 Message Date
Stefan Eßer b7f05445c0 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)
2022-09-07 23:10:59 +02:00
Diane Bruce 07060a51a4 audio/codec2: missing patch
I thought I did the commit -a
bump the PORTREVISION to make sure this gets rebuilt
2022-01-04 18:07:16 -05:00
Diane Bruce a8bd0d5cd8 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.
2022-01-04 09:20:25 -05:00
Diane Bruce 5cbe3aeb50 audio/codec2: Updated and moved to canonical upstream
- codec2 badly out of date.
- upstream is now on github
- used by freedv
2021-12-31 18:14:46 -05:00
Stefan Eßer 819f25b36d */*: 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)
2021-10-29 11:50:18 +02:00
Mathieu Arnold cf118ccf87 One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00
Mathieu Arnold 305f148f48 Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Diane Bruce 9dcc41034f 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
2020-08-25 23:27:40 +00:00
Diane Bruce 85bbd3327f - Fix under clang11 2020-08-24 19:10:01 +00:00
Tobias C. Berner 707c6bf295 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
2018-12-25 20:25:39 +00:00
Yuri Victorovich 67729b7c8c 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
2018-09-04 06:34:50 +00:00
Diane Bruce 68aa79e011 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
2017-10-22 14:40:54 +00:00
Baptiste Daroussin 098dd7890c Mark as broken a bunch of ports with no public distfiles available 2017-10-13 08:57:45 +00:00
Diane Bruce ced2e58719 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)
2017-08-06 01:07:22 +00:00
Diane Bruce f5f3c4ed07 Update to latest freedv codec2 0.6
See http://www.rowetel.com/?page_id=452

PR:		ports/219348
Submitted by:	takefu@airport.fm
2017-05-19 14:57:44 +00:00
Martin Wilke 5cf0569ebb - Fix shebangs 2017-04-22 09:25:44 +00:00
Mark Linimon 62a6b3eebc These ports now build on powerpc64.
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2017-04-10 00:27:48 +00:00
Gerald Pfeifer 04d6f52202 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
2017-04-01 15:23:30 +00:00
Gerald Pfeifer 89f8b05214 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.
2016-11-20 09:38:08 +00:00
Mathieu Arnold c6f651390a 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
2016-10-24 10:18:50 +00:00
Diane Bruce aac45e8297 Note conflict with comms/libcodec2 which is already marked for removal
No binary changes hence no PORTREVISION bump

PR:		ports/210186
Submitted by:	takefu@
2016-10-03 13:23:11 +00:00
Diane Bruce a8280a9e18 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@
2016-09-28 15:01:46 +00:00
Mathieu Arnold 7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00
Stephen Hurd 2ff7cdda58 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
2015-12-15 05:30:07 +00:00