Commit graph

84 commits

Author SHA1 Message Date
Ganael LAPLANCHE
dc896708f2 Update devel/tbb to 4.4.0 and bump dependent ports' revisions
PR:		202777
Submitted by:	oleksii.tsai@gmail.com
2015-09-02 18:22:35 +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
Alberto Villa
a036ac25c5 graphics/opencv: fix configure when EIGEN is off
When EIGEN option is off, CMAKE_ARGS is reset, thus enabling build of
tests and docs (causing some leftovers), and, should it be installed,
linking against libdc1394 even when option DC1394 is off. PORTREVISION
bump is needed to address the latter case.

Meanwhile, re-enable make jobs.

Differential Revision:	https://reviews.freebsd.org/D2893
Reviewed by:	jhale (maintainer)
Approved by:	jhale (maintainer)
MFH:		2015Q2
2015-06-25 08:36:42 +00:00
Antoine Brodin
6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Jason E. Hale
ac1d131dba - Make SIMD option default across the board. The behavior should be the same
since the package builders don't set CPUTYPE.

Suggested by:	tijl
2015-06-14 23:52:36 +00:00
Jason E. Hale
6ca338fac7 - Add SIMD option to specifically disable CPU optimizations and prevent crashes
with ffmpeg on processors that do not support SSE instructions.  OFF by
  default for package building, ON with autodetect for ports to keep with
  POLA. [1][2]
- Bump PORTREVISION on all opencv ports

PR:		199715 [1], 200234 [2]
Submitted by:	Randy Westlund <rwestlun@gmail.com> [1], sasamotikomi@gmail.com [2]
2015-06-14 15:28:03 +00:00
Antoine Brodin
1b85bc9332 Switch PYTHON_REL from a 3 digits number to a 4 digits number to handle
python 2.7.10

Differential Revision:	https://reviews.freebsd.org/D2639
Reviewed by:	sunpoet, mva
2015-05-26 16:47:02 +00:00
Koop Mast
cc721b9b0e Add patch from debian to fix the installed pkg-config files.
This allows the gstreamer plugin to actualy link to the needed opencv libraries.

PR:		196021
Approved by:	maintainer timeout (4 months)
Obtained from:	debian
2015-04-16 08:01:48 +00:00
Baptiste Daroussin
bb21093773 Bump portrevision after png update 2014-12-25 20:54:41 +00:00
Antoine Brodin
7ae46e9b12 Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade 2014-12-25 19:04:25 +00:00
Antoine Brodin
49960cd859 Fix build with clang 3.5
Obtained from:	https://github.com/Itseez/opencv/pull/3488/
PR:		ports/195727
2014-12-16 19:58:29 +00:00
Juergen Lock
ddb6d1d6f7 - Update libxine to 1.2.6 - changelog is here:
http://anonscm.debian.org/hg/xine-lib/xine-lib-1.2/file/9aef7a72d009/ChangeLog

- Remove an inline from include/xine/xineutils.h for the benefit
  of using libxine with base gcc 4.2 .

- Bump PORTREVISIONs for ports depending on libxine. (now also non-default
  rdeps as per the new rule)
2014-10-18 21:10:39 +00:00
Jason E. Hale
ed4031f101 - Trim @dirrm[try] from pkg-plist 2014-09-22 13:03:38 +00:00
Ganael LAPLANCHE
7373fd9b08 Update devel/tbb to 4.3.0 and bump dependent ports' revisions
PR:		193214
Submitted by:	Oleksii Tsai <oleksii.tsai@googlemail.com>
2014-09-16 07:05:28 +00:00
Jason E. Hale
68669fc03d - Update to 2.4.9
- Update LICENSE
- Convert USE_PYTHON -> USES
2014-09-02 00:36:27 +00:00
Jason E. Hale
db5c7e9c09 - Fix typo in QT4 OPENGL logic 2013-12-11 15:04:33 +00:00
Ganael LAPLANCHE
6e39a5dd87 - Update devel/tbb to 4.2.2
- Cleanup DISTNAME and WRKSRC definitions
- Use INSTALL_LIB instead of INSTALL_DATA + STRIP_CMD
- Bump dependent ports' revisions

PR:		ports/184526
Submitted by:	delphij
2013-12-11 07:53:16 +00:00
Jason E. Hale
049486f9e8 - Fix build with QT4 option (error: GL/glx.h: No such file or directory) [1]
- Specify major Qt version number to squash some CMake warnings about Qt5
- Use OPTIONS_RADIO for GUI support - build only allows use of one toolkit
- Make OpenGL support optional (off by default since it only works with
  GUI support)
- Allow OpenGL support with GTK2

Reported by:	Wolfgang Riegler <wolfgang.riegler@gmx.de> [1]
2013-12-10 23:56:44 +00:00
Jason E. Hale
44331a4941 - Move CFLAGS to python block. They are causing build errors by picking
up old headers if a previous version is installed and are not needed for
  the main build

Reported by:	Andrzej Tobola <ato@iem.pw.edu.pl>, Kevin Oberman <rkoberman@gmail.com>
2013-12-08 10:55:57 +00:00
Jason E. Hale
3a64305d43 - Update graphics/*opencv* to 2.4.7
- Revert options helpers to if statements since the OFF condition is not
  applied when OPTIONS_EXCLUDE is used
- Move most of the OpenCV modules from the graphics/opencv-core port to
  graphics/opencv, leaving opencv-core as just the bare minimum required
  for building ffmpeg with OpenCV support
- Install examples for python and java bindings
- Add new slave port graphics/opencv-java: Java bindings for OpenCV
- Bump PORTREVISION and make dependency adjustments and fixes for
  dependent ports
- Add UPDATING entry
2013-12-04 02:51:00 +00:00
Jason E. Hale
2d7bc5f000 - Allow build with clang without libc++ on 8.x and 9.x [1][2][3]
- Fix build on powerpc64 [4]

PR:		ports/183238 [1], ports/183954 [2], ports/182046 [4]
Submitted by:	Chess Griffin <chess@chessgriffin.com> [1],
		Guillaume Bibaut <yom@iaelu.net> [2],
		jhibbits [4]
Patched by:	tijl (via private mail) [3]
2013-11-25 15:19:00 +00:00
Rusmir Dusko
1752bb5a6e graphics/ilmbase
- Update to 2.0.1
- Change master sites to SAVANNAH
- Change maintainer email to @FreeBSD.org
- Remove conflict with non existent Port
- USES pathfix pkgconfig
- Add executable
- Add DOCS Option
- Support STAGEDIR and add OPTIONS_SUB
- Use pathfix instead of simple patches
- Adjust patches
- Change WWW

graphics/OpenEXR

- Update to 2.0.1
- Change master sites to SAVANNAH
- Change maintainer email to @FreeBSD.org
- Use the new format for LIB_DEPENDS
- USES gmake pathfix pkgconfig
- Add DOCS and EXAMPLES Options
- Support STAGEDIR and add OPTIONS_SUB
- Change REINPLACE_CMD
- Add extra patch for EXAMPLES
- Remove obsolete patches

- Bump dependent ports' revisions

Approved by:	pawel / wg (mentors)
2013-10-31 00:32:31 +00:00
Jason E. Hale
e496edf8b6 - Fix typos in EIGEN option
- Fix build with modern compilers in the contrib module [1]
- Fix build of opencv-core with clang in the ts module [2]
- Fix build with QT option [3]
- Fix build of py-opencv with clang [4]

Reported by:	avg [1], Robert Huff <roberthuff@rcn.com> [2]
PR:		ports/182443 [3], ports/182837 [4]
Submitted by:	O. Hartmann <ohartman@zedat.fu-berlin.de> [3], pawel [4]
2013-10-22 22:03:28 +00:00
Jason E. Hale
2c24ec70f8 - Fix ffmpeg dependency due to recent move
While here:
- Convert to options helpers
- Convert to new LIB_DEPENDS syntax
- Fix a few typos and portlint(1) warnings

Reported by:	avg
Patched by:	wg
2013-10-21 23:17:11 +00:00
Steve Wills
2ad62d68b4 - Fix build on 8.4
Submitted by:	bapt mostly, I just fixed up the __has_include bit with help from help from antoine@
Approved by:	portmgr (bapt@)
2013-10-05 20:34:59 +00:00
Baptiste Daroussin
eb08c5441c Add NO_STAGE all over the place in preparation for the staging support (cat: graphics) 2013-09-20 18:35:44 +00:00
Baptiste Daroussin
18e111e32f Fix build of opencv with libc++
share the CXXFLAGS between opencv-core and opencv
2013-09-12 13:00:12 +00:00
Baptiste Daroussin
5c521c60ea Fix opencv-core with libc++
Submitted by:	theraven
2013-09-10 15:40:26 +00:00
Raphael Kubo da Costa
4a2754c4c9 Point to the non-deprecated site in WWW. 2013-09-09 21:51:58 +00:00
Baptiste Daroussin
894a8184ce Eradicate USE_GNOME=pkgconfig from graphics
While here:
- trim headers
- convert:
  * USE_GNOME=gnomehack -> USES=pathfix
  * USE_GMAKE=yes -> USES=gmake
  * USE_PERL5 -> USES=perl5
2013-09-01 22:50:06 +00:00
John Marino
b6386755cd graphics/opencv: continue recent binutils fix
This cleans up the previous commit, and combines the LDFLAGS.  It's more
logical this way, right after opencv_core is specified in LIB_DEPENDS.

Approved by:	bapt/culot (mentors, implicit)
2013-08-10 20:35:10 +00:00
Baptiste Daroussin
0ffc0d521f Fix build with recent binutils 2013-07-28 20:40:26 +00:00
Jason Helfman
acbbee2bc7 - adoption of optionsNG
- convert to USES in some cases (pkgconfig,pathfix)
- trim COMMENT/historical headers in some cases

Approved by:	portmgr (miwi)
2013-05-23 02:35:26 +00:00
Ganael LAPLANCHE
b8081a458c - Update devel/tbb to 4.1.3 (20130314oss) and bump dependent port's revisions
- Fix build when CC defined as gcc
2013-04-23 07:00:02 +00:00
Max Brazhnikov
ffd97a0193 - convert USE_CMAKE to USES
- while here clean up some ports from CMAKE_VERBOSE, which is intended
  for users

Approved by:	portmgr (miwi)
2013-03-22 20:06:14 +00:00
Steve Wills
b8cc06a151 - Chase lib version changes from ilmbase and OpenEXR updates 2013-01-17 16:05:38 +00:00
Ganael LAPLANCHE
740271b4e9 - Update devel/tbb to 4.1.1 and bump dependent port's PORTREVISIONs
- Remove hardcoded dependency on gcc [1]

PR:		ports/171297 [1]
Submitted by:	Christian Mangin <christian.mangin@gmail.com> [1]
2012-12-12 07:42:34 +00:00
Jason E. Hale
572f2a416a - Take maintainership
- Trim Makefile headers

Approved by:	makc, avilla (mentors, implicit)
Feature safe:	yes
2012-11-06 17:23:07 +00:00
Martin Matuska
79e4dd440a Return maintainership back to ports@
Feature safe:	yes
2012-11-06 16:42:20 +00:00
Martin Matuska
9355c1a1ef Fix build with QT4 option
PR:		ports/172156
Submitted by:	RyoTa SimaMoto
Feature safe:	yes
2012-10-23 20:16:48 +00:00
Steve Wills
d0a0b63b07 - Mark MAKE_JOBS_UNSAFE since this failed with it enabled for me, multiple times
PR:		ports/169606
Approved by:	maintainer timeout (mm, >2 weeks)
2012-07-22 20:51:02 +00:00
Martin Wilke
9c2f65e395 - Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4
Review by:	bapt, David Naylor (kde team)
2012-06-06 06:44:37 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Juergen Lock
d613b75b1d - Update multimedia/libxine to 1.2.1 with a commit merged from hg
to fix DVB support.  (which still is broken for tuners using
  hardware pid filtering, like when running webcamd with
  "-m dvb-usb-init.force_pid_filter_usage=1".)

- Add patches to fix build of ports depending on libxine to:
  audio/amarok,
  graphics/gimageview [1], graphics/pornview [1],
  graphics/osg [2], graphics/osg-devel [2],
  multimedia/emotion,
  x11/kdelibs4 [3],
  multimedia/kmplayer,
  multimedia/konverter,
  multimedia/qdvdauthor [4],
  multimedia/vdr-plugin-xineliboutput,
  multimedia/xfce4-media [5],
  multimedia/xine_artsplugin,
  multimedia/k9copy-kde4 [6]

- Fix RUN_DEPENDS= xine... which should be LIB_DEPENDS for audio/atunes . [7]

- Mark multimedia/phonon-xine BROKEN which refuses to build with
  libxine 1.2.x and is deprecated upstream. [3]

- Disable XINE knob for x11/eaglemode for which I don't have a fix. [2]

- Note: multimedia/kaffeine runs after rakuco's x11/kdelibs4 fix,
  but it only shows a green window at least with mp4 or ts files.
  (avi files and audio still work.)  It seems the kaffeine developers
  have found this too and are now switching away from libxine in
  their git repo - so I guess we'll have a broken kaffeine at least
  until they release a new version.

- Bump PORTREVISIONs for ports depending on libxine by default.

- Add optional libbluray support to multimedia/libxine and
  multimedia/vdr-plugin-xineliboutput.

PR:		ports/165057 [6]
Submitted by:	nox (self) [6], rakuco [3]
Approved by:	dinoex (maintainer, via irc) [1],
		amdmi3 (maintainer, via private email) [2],
		kde@ (rakuco, via irc) [3],
		Phil Oleson <oz@nixil.net> (maintainer, via private email) [4],
		xfce@ (rene, via irc) [5],
		Eduardo Gielamo Oliveira <egoliveira@gmail.com> (maintainer) [6],
		lme (maintainer, via irc) [7]
Thanx to:	Darren Salt (upstream libxine maintainer) for a few
		hints on irc to help with patching ports depending
		on deprecated libxine features
2012-02-26 15:22:37 +00:00
Ganael LAPLANCHE
b1e67558fe - Update devel/tbb to 4.0.0
- Bump dependent ports' revisions
2012-01-16 09:46:55 +00:00
Martin Matuska
eed66ea71a Add fix from upstream for bug #1432 (Clang compilation fixes)
https://code.ros.org/trac/opencv/ticket/1432

Reported by:	Roman Divacky <rdivacky@FreeBSD.org>
Obtained from:	OpenCV (revision 6881)
2011-12-17 11:42:05 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Martin Matuska
9acce3620a Fix portversion going backwards
Reported by:	erwin
2011-09-20 15:48:12 +00:00
Martin Matuska
6e9f3a7514 Update OpenCV to 2.3.1a
PR:		ports/160719
2011-09-18 10:17:57 +00:00
Martin Matuska
b07f6a6c1f Change capital letter in COMMENT for python module 2011-08-22 21:16:42 +00:00