Commit graph

105 commits

Author SHA1 Message Date
Baptiste Daroussin
2e9911f602 Switch from swig 2.0 to swig 3.0 2017-12-20 19:34:11 +00:00
Mark Linimon
f1696c0036 Mark more recently failing ports broken on aarch64.
While here, pet portlint and reformat some other BROKEN statements.

Approved by:	portmgr (tier-2 blanket)
2017-12-19 14:41:29 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Jan Beich
98eb11b2f0 devel/boost-*: update to 1.65.1
Changes:	http://www.boost.org/users/history/version_1_65_1.html
PR:		218835
Approved by:	maintainer timeout (1.65.1: 2 weeks; 1.65.0: 1 month)
Tested by:	jhibbits (on powerpc64, earlier version)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D11582
2017-09-25 00:08:16 +00:00
Jan Beich
7e21a6476a devel/boost-*: enable C++11 features
PR:		218835
Obtained from:	https://github.com/DragonFlyBSD/DeltaPorts/pull/690
Approved by:	maintainer timeout (2 months)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D11582
2017-09-25 00:05:05 +00:00
Diane Bruce
8d17936dda set qt tools as build deps
PR:		ports/217272
Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>
2017-09-13 12:31:00 +00:00
Gerald Pfeifer
e59c88cece 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:		219275
2017-09-10 20:55:38 +00:00
Tobias C. Berner
5da7ccc1fb Update math/gsl to 2.4
Exp-Run by:	antoine
PR:		220408
2017-07-03 20:38:11 +00:00
Tobias C. Berner
187cb990c4 Fix shebangs
Reviewed by:		mat
Approved by:		mat
Differential Revision:	https://reviews.freebsd.org/D10527
2017-05-04 05:22:01 +00:00
Jan Beich
b324ade02d devel/boost-*: update to 1.64.0
Changes:	http://www.boost.org/users/history/version_1_64_0.html
PR:		218835
Approved by:	office (bapt)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D10472
2017-05-02 06:48:10 +00:00
Tobias C. Berner
8c99ed5982 Update math/gsl to 2.3
This release introduces some new features and fixes several bugs:
	http://savannah.gnu.org/forum/forum.php?forum_id=8751

* update to 2.3 and take maintainership
* update math/py-gsl to 2.2.0 for gsl2 support
* update math/rubygem-rb-gsl to 2.1.0.2 for gsl2 support

PR:		218952
Exp-run by:	antoine
Reviewed by:	mat, rakuco
Approved by:	rakuco (mentor)
Differential Revision:	https://reviews.freebsd.org/D10522
2017-05-02 05:26:40 +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
Tobias C. Berner
4c7d30bb70 Switch ports to use USE_PYQT=<foo> instead of using RUN_- and BUILD_DEPENDS
pyqt.mk provides USE_PYQT=<list> to depend on its components. Convert the ports
not yet using it to it.

Reviewed by:	rakuco, mat
Approved by:	rakuco (mentor)
Differential Revision:	https://reviews.freebsd.org/D9261
2017-02-04 13:37:15 +00:00
Dmitry Marakasov
9d79e7b146 - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
Approved by:	portmgr blanket
2017-01-09 13:16:49 +00:00
Diane Bruce
c32a854093 Restore change made by @jbeich made in rev 430669 accidentally removed.
N.B. the INCLUDE(CheckFunctionExists) is now needed here.
2017-01-07 22:57:43 +00:00
Diane Bruce
6ef184451e Update to 3.7.10.1
Note temporary hack in CMakeLists.txt to fix build with -gsl
link_directories("/usr/lib" "${LOCALBASE}/lib")
This is from a missing -L somewhere in the swig generation code that
needs to be fixed.

ChangeLog v3.7.10.1
=================

This is the first bug-fix release for v3.7.10

Contributors
------------

The following list of people directly contributed code to this
release:

 * Artem Pisarenko <ArtemPisarenko@users.noreply.github.com>
 * Ben Hilburn <ben.hilburn@ettus.com>
 * Christopher Chavez <chrischavez@gmx.us>
 * Johnathan Corgan <johnathan@corganlabs.com>
 * Jonathan Brucker <jonathan.brucke@gmail.com>
 * Nicholas Corgan <n.corgan@gmail.com>
 * Nicolas Cuervo <nicolas.cuervo@ettus.com>
 * Ron Economos <w6rz@comcast.net>
 * Sebastian Koslowski <koslowski@kit.edu>
 * Stephen Larew <stephen@slarew.net>

## Major Development Areas

This contains bug fixes primarily for GRC and DTV.

### GRC

Catch more exceptions thrown by ConfigParser when reading corrupted grc.conf files.

Fix the docstring update error for empty categories.

Fix grcc to call refactored GRC code.

Convert initially opened files to absolute paths to prevent attempting to read from tmp.

Move startup checks back in to gnuradio-companion script from grc/checks.py.

### DTV

Fix a segfault that occurs from out-of-bounds access in
dvbt_bit_inner_interleaver forecast by forecasting an enumerated list of all
input streams.

Fix VL-SNR framing.

### Digital

Enable update rate in block_recovery_mm blocks to keep tags close to the the proper clock-recovered sample time. Tag offsets will still be off between calls to work, but each work call updates the tag rate.

### Analog

Fix the derivative calculation in fmdet block.

### Builds

Fix linking GSL to gr-fec.

Use gnu99 C standard rather than gnu11 standard to maintain support for GCC 4.6.3.

### Other

Minor spelling and documentation fixes.

Fix uhd_siggen_gui when using lo_locked.
2017-01-07 19:06:33 +00:00
Jan Beich
59e02117ae devel/boost-*: update to 1.63.0
Changes:	http://www.boost.org/users/history/version_1_63_0.html
PR:		215598
Exp-run by:	antoine
Approved by:	office (bapt)
MFH:		2017Q1
2017-01-06 08:45:03 +00:00
Jan Beich
7277ec6a16 Assume "pkg-config libusb*" works after 9.x EOL
FreeBSD appears to use different pkg-config name for 0.1.x API but it
doesn't matter much as 0.1, 1.0 and 2.0 share CFLAGS/LIBS.
2017-01-05 22:58:02 +00:00
Diane Bruce
65fa9707a7 Bump PORT_REVISION as pkg-plist has changed.
Fixed build on 10.1 but in the process found a bogus pkg-plist fixed.
If DOCS was defined, the plist was wrong.
Also cleaned up a dependency

Fixed using https://cmake.org/cmake/help/v3.0/command/link_directories.html
This shouldn't be necessary:

"Note that this command is rarely necessary. Library locations returned by find_package() and find_library() are absolute paths. Pass these absolute library file paths directly to the target_link_libraries() command. CMake will ensure the linker finds them."

The directory path appears to be in /usr/local/libdata/pkgconfig/gsl.pc
so it would appear the swig handling code neglects to respect this.
I'll dig into this sometime later.

PR:		ports/210444
Submitted by:	rozhuk.im@gmail.com
2016-12-26 18:28:45 +00:00
Mathieu Arnold
d7f16adbb0 Move doxygen dependency from DOCS to DOXYGEN.
Sponsored by:	Absolight
2016-12-21 14:55:52 +00:00
Jan Beich
a8713d15f4 devel/boost-*: update to 1.62.0
- Enable `long double` C99 math usage
- Switch 9.x back to building with GCC

Changes:	http://www.boost.org/users/history/
PR:		199601
Submitted by:	Chen Xu, bapt, amdmi3, truckman (based on)
Reviewed by:	rakuco (kde) (earlier version)
Exp-run by:	antoine (3 tries), truckman (consumers only, earlier versions)
Approved by:	bapt (office)
2016-11-23 12:45:46 +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
Diane Bruce
c42904d7ea Update to 3.7.9.2
Remove unecessary diffs using @sample keyword in pkg-plist
Use uhd port instead of usrp port
Add missing dependancies
Fix wrongly used PLIST_SUB [1]
Fix build due to missing dependency  [2]
Did my best to address libgcc stupidity for now [3]
 Please read
 http://lists.freebsd.org/pipermail/freebsd-toolchain/2016-August/002249.html
 PR 208120

[1] PR ports/210095 fix by @takefu
[2] PR ports/210444 fix by @takefu
[3] PR ports/211889 fix by @db
2016-10-10 12:43:22 +00:00
Dmitry Marakasov
1d1f878054 - Fix trailing whitespace in pkg-descrs, categories [a-f]*
Approved by:	portmgr blanket
2016-05-19 10:21:23 +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
Raphael Kubo da Costa
d7c7d942f7 Add a patch to fix the build with CMake 3.5.0.
Starting with CMake 3.5.0, overriding CMAKE_{BINARY,SOURCE}_DIR does not
propagate to other files included with add_subdirectories(); in fact, doing so
should in general be avoided.

Add a patch to use PROJECT_{BINARY,SOURCE}_DIR instead, which works with all
CMake versions.

This is also being discussed upstream in
<https://github.com/gnuradio/volk/pull/65>.

PR:		208033
Obtained from:	Fedora Project
2016-03-19 14:21:39 +00:00
Diane Bruce
5b9a7d92da Update to 3.7.8
USE_GCC=yes causes the build to fail on systems where clang and libc++ are
used by default (see bug 202143, for example). This essentially means
comms/gnuradio currently only builds on 9.x. The problem is caused by the
fact that on 10.x and later boost is likely built using clang and libc++,
but USE_GCC=yes forces gnuradio to be built with GCC and libstdc++. Ports
r392951 mentioned USE_GCC=yes was added because "clang's builtins were
conflicting with gnuradio", which does not seem to happen in my tests at least.

PR:		ports/203500
Submitted by:	takefu@airport.fm
2015-10-04 02:26:08 +00:00
Dmitry Marakasov
2648d11bfa - Fix build on 10.x: you can't use gcc when boost is built with clang; and it builds with clang just fine
Approved by:	portmgr blanket
2015-09-14 11:16:55 +00:00
Jung-uk Kim
dc4a34e11a Replace devel/cppunit with devel/cppunit113.
Approved by:	bdrewery (maintainer)
2015-09-01 18:51:17 +00:00
Mathieu Arnold
bb271f0bf7 Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3412?
2015-08-19 13:29:59 +00:00
Raphael Kubo da Costa
23ee2a7d62 Uses/cmake.mk: Replace CMAKE_ENV with CONFIGURE_ENV.
Instead of defining a variable that is almost always based on CONFIGURE_ENV,
just use CONFIGURE_ENV directly.

This also matches the behavior of other ports that do not use autotools (so
most ports can just worry about CONFIGURE_ENV). Additionally, the fact that
we do not use ?= means we do not have problems if another file in Uses/
needs to set CONFIGURE_ENV (with CMAKE_ENV, the order of the arguments to
USES would matter).

Ports which set CMAKE_ENV have been adjusted accordingly. In most cases,
CMAKE_ENV was just replaced with CONFIGURE_ENV, the exceptions being:
* databases/sqliteman: CMAKE_ENV line removed; setting QMAKESPEC there has
                       no effect on the build system.
* devel/freeocl: CMAKE_ENV line removed; FREEOCL_CXX_COMPILER is already
                 retrieved from the CMAKE_CXX_COMPILER variable in the build
                 system.
* graphics/openimageio: CMAKE_ENV line removed; setting Qt variables there
                        has no effect on the build system.

Reviewed by:		makc
Differential Revision:	https://reviews.freebsd.org/D3403
2015-08-18 10:51:01 +00:00
Diane Bruce
618e88079c - Update to later version of gnuradio
- fix build with portaudio
- clang builtin's are conflicting with gnuradio so use USE_GCC for now
2015-07-26 23:00:18 +00:00
Dmitry Marakasov
6fde1ce957 - Mark BROKEN on 9.x:
/wrkdirs/usr/ports/comms/gnuradio/work/gnuradio-3.7.4/volk/kernels/volk/volk_8u_x4_conv_k7_r2_8u.h:191: error: incompatible type for argument 1 of '__builtin_ia32_psrlqi128'

Approved by:	portmgr blanket
Reported by:	pkg-fallout
2015-06-25 10:46:42 +00:00
Baptiste Daroussin
761e10133d All directory handling is now automatic: cleanup plist 2015-06-20 17:12:36 +00:00
Baptiste Daroussin
3fef6c52f0 Update portaudio to v19/Remove portaudio2 [1]
Chase portaudio change
Add patches from debian for games/cultivation
Add patches from upsteam for audio/rezound
Mark py-fastaudio as broken

Approved by:	maintainer
2015-05-30 20:39:12 +00:00
Mathieu Arnold
60d1a83c2a 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:	Absolight
2015-05-14 10:15:04 +00:00
Baptiste Daroussin
a5da770e67 Make fonts repecting XDG
Xorg is now looking in ${LOCALBASE}/share/fonts by default
Xorg now accepts symlinks in etc/X11/fontpath.d (as decribed in Xserver(1))
Large cleanup on lots of font ports
All fonts are now properly dynamically generating fonts.dir and fonts.scale
instead of sometime overwriting existing ones)
All fonts are generating fontconfig's cache
Improve consistency in fonts ports
2015-03-21 23:05:19 +00:00
Diane Bruce
0d4a5f6940 Finally unbreak the build by preloading GCC_DEFAULT libs paths.
It is complicated by the intermix of gcc and gfortran libs being intermixed
with system libs. Especially by dynamically loaded modules into python
being linked against gfortran or current gcc. I realise using GCC_DEFAULT
lib paths is not a general solution.
2015-03-11 13:58:34 +00:00
Antoine Brodin
a85ba63ef1 Fix DEPENDS 2015-01-25 00:06:22 +00:00
Antoine Brodin
bd63b368ac Fix some _DEPENDS 2015-01-24 19:27:27 +00:00
Marcus von Appen
dae43d7a6d - Convert ports from cad/, chinese/, comms/ and converters/ to new
USES=python

Approved by:	portmgr (implicit)
2014-10-19 07:50:53 +00:00
Gerald Pfeifer
15945f8122 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)
2014-09-10 20:50:31 +00:00
Diane Bruce
64a1be3275 - Update to 3.7.4
- Important Bug Fixes and Additions
Fixed shutdown in message passing apps
Fixed PortAudio detection during configuration
Fixed QWT detection during configuration
Fixed gr::analog::agc3 volk kernel alignment
Fixed/improved support of audio on OSX
Improved performance on network-based sources and sinks
Fixed pfb_arb_resampler tag propagation
Fixed segfault in fast_atan2f
Updated codec2 support to latest standard and support all rates
New HDLC codec blocks in gr::digital
2014-09-01 00:42:49 +00:00
Tijl Coosemans
4bdd97e324 math/fftw3:
- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Remove PTHREAD_CFLAGS and PTHREAD_LIBS
- Use MAKE_CMD
2014-08-31 16:36:22 +00:00
Tijl Coosemans
c0f51fae12 math/gsl:
- Add USES=libtool and bump dependent ports
- Add USES=pathfix and INSTALL_TARGET=install-strip

Approved by:	portmgr (implicit, bump unstage port)
2014-08-17 13:09:56 +00:00
Antoine Brodin
0e59a83b2e Unbreak
Reported by:	pkg-fallout since a few weeks
2014-08-13 09:28:46 +00:00
William Grzybowski
170a8dda45 comms/gnuradio: use WX 3.0
Approved by:	portmgr (bapt, blanket)
2014-07-05 19:32:11 +00:00
Soeren Straarup
a5619d2ebb - Changed Maintainer to hamradio@
- Added shebangfix to USES

Approved by:	maintainer (db@)
2014-07-01 03:24:16 +00:00
Dmitry Marakasov
b851b8597f - Don't remove mtree directories
Approved by:	portmgr
2014-05-09 21:13:09 +00:00
Baptiste Daroussin
25aa2403e9 Do not overwrite build_depends
Reported by:	pkg-fallout
2014-04-04 18:18:23 +00:00