Commit Graph

195 Commits

Author SHA1 Message Date
Piotr Kubaj
f917fa7650 graphics/opencv: update to 4.5.5
VTK option currently doesn't build.

For FreeBSD-specific changes, of particular interest is 68e425f869

PR:	260895
Approved by:	tcberner (maintainer timeout)
2022-01-19 12:36:47 +00:00
Tobias C. Berner
0c33cdad95 graphics/opencv: add local patch
- the patch on github has changed a few times (by dropping two
  characters).
- instead of having it fail to fetch regularly, just add the patch to
  files/

Reported by:	yuri
2021-12-27 08:17:55 +01:00
Tobias C. Berner
7d1ed4c1a3 graphics/opencv: explicitely disable support for graphics/tesseract
Since the update of graphics/tesseract to 4.1.3 in 3f1cf94980
the configure script of opencv now can find tesseract support,
however in a broken state.

For now, disable tesseract in graphics/opencv explicitely, so that
people building in an unclean environment with tesseract possibly
installed can still build opencv.

In the future, this will be replaced by an option toggle and fixed
properly.

PR:		259930
Reported by:	rhurlin
2021-11-23 11:15:48 +01:00
Yuri Victorovich
580d53bd09 math/vtk9: Update 9.0.3 -> 9.1.0 2021-11-22 01:40:34 -08:00
Jimmy Olgeni
4460cf727a *: fix tab vs. space issues, and comments according to the guide. 2021-10-16 11:51:39 +02:00
Mikael Urankar
49019344be graphics/opencv: Add build time cpu features detection for aarch64
Enables FP16 (CV_CPU_FP16) features on aarch64.

Approved by:	tcberner (on irc)
2021-09-24 09:45:59 +02:00
Bernhard Froehlich
ce32659bf2 graphics/opencv: Add CPE information
Approved by:	portmgr (blanket)
2021-08-29 19:24:29 +00:00
Matthias Andree
56ffa089e2 *: graphics/openexr PORTREVISION bumps
OpenEXR changes its SONAME again, so bump PORTREVISION of its users.
2021-08-03 20:19:14 +02:00
Po-Chuan Hsieh
f4acead636 devel/protobuf: Update to 3.17.3
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/protocolbuffers/protobuf/releases
PR:		257026
Exp-run by:	antoine
2021-07-22 02:11:52 +08:00
Tobias C. Berner
0b6fb0695f graphics/opencv: fix ffmpeg option desc
- Fix typo by remmoving it (the circular dependency is not an issue in
  opencv 4.x)

Reported by:		arrowd
2021-07-18 15:59:17 +02:00
Tobias C. Berner
db96193172 graphics/opencv: fix plist sort 2021-07-18 15:55:09 +02:00
Tobias C. Berner
c582239e8a graphics/opencv: add makefile options
Bring back lot of the options that were available in the old port.

Reported by:	Ivan Rozhuk <rozhuk.im@gmail.com>
Original by:	alt2600@icloud.com
		VVD <vvd@unislabs.com>
PR:		253110
PR:		255446
2021-07-18 15:52:58 +02:00
Tobias C. Berner
43a30a366c graphics/opencv: update to 4.5.3
Changes in the port:
- fix prefetch of third party software
        - prefetching of distfiles has been fixed
	- cmake will now throw an error in ocv_download()
	  if it is still called
- minor cleanup

- next step: readd some more options, and improve port for
  non-poudriere users

PR:		256669
2021-07-18 12:53:21 +02:00
Matthias Andree
4030a14b56 *: Bump PORTREVISION for openexr update
OpenEXR's patchlevel updated bumped the major version
of the OpenEXR library, hence bump PORTREVISION of all
ports that require OpenEXR.
2021-07-03 07:15:12 +02:00
Po-Chuan Hsieh
2cdaceb379 graphics/opencv: Fix build with glog 0.5.0
PR:		255968
Reported by:	thierry
2021-05-21 00:14:20 +08:00
Matthias Andree
1d5b7c913b Bump portrevisions of openexr and Imath users. 2021-05-18 19:15:57 +02:00
Antoine Brodin
56d3caa4ad Cleanup LIB_DEPENDS 2021-04-23 20:56:21 +00:00
Jung-uk Kim
71117cddc9 graphics/opencv: Fix JAVA option and correct Apache Ant usage
JAVA option did not work because the actual build knob was wrong.
Especially, on a system where devel/apache-ant was installed, ant and
java binaries were automatically detected and enabled even if the JAVA
option was disabled.  While I am here, fix Apache Ant usage by setteing
JAVACMD variable.  Without it, it may pick up java binary from JRE via
javavm(1) from java/javavmwrapper.  If ant script is used with java from
JRE, build fails because it cannot find jar.

Approved by:	tcberner (maintainer)
2021-04-14 12:13:30 -04:00
Matthias Andree
73ab07c25a chase library renames for OpenEXR/Imath 3.0 2021-04-12 02:33:48 +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
Tobias Kortkamp
4d9773d24d Clean up some things
- Fix typos
- Remove duplicate variables
- Remove nop variables
- Sort categories

Reported by:	portscan
2021-02-26 12:11:35 +00:00
Ganael LAPLANCHE
34fdd4dc58 Introduce devel/onetbb and mark devel/tbb as legacy
Intel oneAPI tbb 2021.1 (onetbb) has been released[1][2] and has deprecated
several interfaces over tbb 2020, breaking most dependent ports.

Old tbb 2020 will be kept for a certain time to allow transition but will be
removed in a near future as it CONFLICTS with devel/onetbb. New ports should
now use devel/onetbb instead of devel/tbb.

We tried to move a maximum number of dependent ports to devel/onetbb (or
disable dependency when not possible), but some of them still remain stuck
to devel/tbb. Remaining ones have not been identified as major dependencies
themselves and will be fixed as soon as updates are available from upstream.

PR:		252648, 252688 [3], 252683 [4], 252651 [5], 252690 [3], 252693 [3],
	252695 [3], 252696 [3], 252786 [3], 252649, 252868 [6], 252870 [5],
	252684 [7], 252785 [7]
Approved by:	yuri [3], jwb [4], thierry [5], FreeBSD@Shaneware.biz [6],
	maintainer timeout [7]

[1] https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-threading-building-blocks-release-notes.html
[2] https://software.intel.com/content/www/us/en/develop/articles/tbb-revamp.html
2021-02-19 15:14:46 +00:00
Matthias Andree
1c11b9ae32 graphics/openexr, ilmbase: security update to v2.5.5
https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.5

"Specific OSS-fuzz issues include:

    OSS-fuzz #30291 Timeout in openexr_exrcheck_fuzzer
    OSS-fuzz #29106 Heap-buffer-overflow in Imf_2_5::FastHufDecoder::decode
    OSS-fuzz #28971 Undefined-shift in Imf_2_5::cachePadding
    OSS-fuzz #29829 Integer-overflow in Imf_2_5::DwaCompressor::initializeBuffers
    OSS-fuzz #30121 Out-of-memory in openexr_exrcheck_fuzzer"

Bump PORTREVISION of ports that directly depend on openexr and/or ilmbase.

MFH:		2021Q1
Security:	98044aba-6d72-11eb-aed7-1b1b8a70cc8b
2021-02-13 11:08:29 +00:00
Piotr Kubaj
1282e37ffc graphics/opencv: add HARDENING and LTO options
PR:		253415
Approved by:	tcberner (maintainer)
2021-02-11 12:38:26 +00:00
Dima Panov
b8ba0d2bb0 graphics/opencv: fix package with py38
Reported by:	poudriere fallout
Pointyhat to:	tcberner
2021-02-01 03:38:29 +00:00
Tobias C. Berner
7a09f7fbc2 graphics/opencv: update to 4.5.1 -- and make port more easily maintainable
This is a major upgrade from 3.x to 4.x.

Changelog from versions 3.4.1--4.5.1 can be found here:
    https://github.com/opencv/opencv/wiki/ChangeLog

Note: this has explicitely not been added as a new graphics/opencv4 port, but replaces the
      previous graphics/opencv[3] port. Again, to improve maintainability by not giving ports
      the option to pick the "wrong one" - this leads however to some abandoned ports being
      broken.

The port has been greatly simplified:
    * graphics/opencv-core which existed to enable ffmpeg to depend on opencv, and vice versa
      has been removed. ffmpeg no longer can depend on opencv.
    * graphics/py-opencv has been integrated into graphics/opencv, the default versions python
      bindings will be built unless the PYTHON option is explicitely turned off.
    * graphics/opencv-java has been integrated into graphics/opencv -- it is off by default,
      but can be enabled by toggling the JAVA option -- there are no consumers in the tree,
      so that option might go away in the future.
    * All the previous options have been removed and replaced by a (hopefully) sane set of
      dependencies that make the port and package most usable for the majority of consumers.
      - Please let me know if you think there are better defaults (i.e. anything that is missing,
        or something that should not be dependet on).
      - If you think something should be added or removed, please open a bug report.
      - If you think something should be added as an optional dependency, please open a
        bug report (with a good reason [tm]).

The depending ports have been updated to work against opencv4, or marked broken.
    * Ports broken:
      - graphics/rubygem-objectdetect: OpenCV4 no longer ships opencv-1.0 API
      - graphics/p5-Image-ObjectDetect: OpenCV4 no longer ships opencv-1.0 API
      - graphics/gimp-gmic-plugin: OpenCV4 no longer ships opencv-1.0 API
    * Backports:
      - misc/visp: dfa7e4bd47
      - multimedia/zart: 6ca1964690,
                         d3a2931b1a
    * Others:
      - misc/actiona: switch to pkgconfig 'opencv4'
      - multimedia/libav: drop opencv support
      - misc/darknet: already failed to build prior to the upgrade
      - math/saga: remove patching added to work against opencv3
2021-01-30 18:08:56 +00:00
Sunpoet Po-Chuan Hsieh
fef65679d6 Bump PORTREVISION for devel/protobuf shlib change 2021-01-26 14:01:09 +00:00
Ganael LAPLANCHE
129e95a915 Opencv ports: remove TBB option to facilitate oneTbb transition
PR:		252785
Submitted by:	martymac
Approved by:	tcberner (maintainer)
2021-01-22 11:27:43 +00:00
Tobias C. Berner
8b6e8c0c67 multimedia/libxine: Update to 1.2.11, Add ImageMagick7 support
Changelog: https://sourceforge.net/p/xine/xine-lib-1.2/ci/default/tree/ChangeLog:
xine-lib (1.2.11) 2020-12-06
  * Add gopher input plugin.
  * Add user settings for IPv6.
  * Split a52 spdif output to separate decoder.
  * Code cleanup.
  * More engine optimization.
  * Small optimizations (opengl2, dvb subtitles, png, mpeg-ts).
  * Better A/V sync.
  * Fix a few crashes.
  * Fix bluray playback.
  * Fix VAAPI picture jitter and green flashes.
  * Fix Opus and EAC3 audio playback.
  * Fix text subtitles.
  * Fix mpeg-ts (hdmv mode, detection of cut TV recordings).
  * Fix mpeg layer 1-4 audio timing.
  * Fix some VDR issues.
  * Fix HLS VOD mode.
  * Many small fixes.
  * Build fixes.
  * BSD fixes.
  * Update german translation.
  * Update internal libdca to upstream 0.0.7.

xine-lib (1.2.10) 2019-12-13
  * Add first Android support.
  * Add (xcb)xv yuy2 emulation.
  * Add libavcodec v58 compatibility.
  * Add avio seek support.
  * Make libpostproc optional.
  * Add libdav1d, libaom and lavc AV1 video decoders.
  * Add libvpx multithreading.
  * Add libpng decoder.
  * Add a52 double and fixed point modes.
  * Add Opus audio support to ogg demuxer.
  * Add AV1 video support to matroska demuxer.
  * Add ivf demuxer.
  * Add mpeg-ts split payload support.
  * Add TLS support using gnutls or OpenSSL.
  * Add ftp input plugin (ftp://) with TLS support (ftpes://)
  * Add tls:// input plugin (raw TLS over TCP).
  * Add libnfs NFS input plugin.
  * Add ftp/http seek support.
  * Add scp forward seek support.
  * Add mp4 http streaming support (plain and fragment modes).
  * Add HLS streaming support.
  * Add HTTP 1.1 support.
  * Add OpenGL EGL and Wayland support.
  * Add generic bitrate estimation.
  * Add side stream feature.
  * Optimize demux_qt.
  * Optimize OSD.
  * Optimize output layers.
  * Optimize decoder threads.
  * Optimize event handling.
  * Optimize stream info.
  * Optimize TCP/TLS/HTTP network input.
  * Optimize network buffering control.
  * Alsa/oss startup optimization.
  * Optimize input_stdin_fifo.
  * Optimize internal liba52.
  * Optimize user seek.
  * Build optimizations.
  * Simply user config.
  * Better support for audio out drivers that cannot resume after pause.
  * Better support for mpeg pts jumps.
  * Better bluray seek.
  * XML parser fixes.
  * Fix midstream audio mode switch.
  * Fix FLAC audio playback via ffmpeg.
  * Fix ffmpeg mpeg1/2 video.
  * Fix C++ build.
  * Fix build on clang only systems.
  * Fix/optimize mpeg, mpeg-ts, qt, flv, matroska, real and asf demuxers.
  * Fix network seek.
  * Fix/optimize audio CD.
  * Fix DVD (occasional crashes, damaged video after a DVD had been played).
  * Fix opengl2 freeze after X server failure.
  * Fix tvtime deinterlacer crash.
  * Fix/optimize overlay.
  * Fix/optimize old VDR plugin.
  * Fix xine-ui freeze when opening a playlist while paused.
  * Security fixes.
  * Build fixes (C99 mode, vaapi, ImageMagick, libmvec, less warnings).
  * Many small fixes.
  * More error handling instead of aborting.
  * Update german translation.

PR:		252338
Submitted by:	VVD <vvd@unislabs.com>
2021-01-12 12:34:41 +00:00
Antoine Brodin
aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00
Thierry Thomas
0b5864f66c - Upgrade math/eigen3 to 3.3.8;
- Add some dependencies which might be detected by Find_Package but not registered;

- Bump PORTREVISION of consumers.

PR:		250833
Submitted by:	/me
Approved by:	tcberner@ (KDE / maintainer) + exp-run
2020-12-12 17:04:37 +00:00
Loïc Bartoletti
27a9175e17 Convert to USES=eigen
PR:		250949
Approved by:	portmgr (blanket)
2020-11-12 20:42:24 +00:00
Piotr Kubaj
c07af81df5 graphics/opencv: fix build of dependent ports on powerpc64le
It's important to first undef the conflicting keywords, then import altivec.h.
2020-10-23 09:02:42 +00:00
Tobias C. Berner
f997171ee8 graphics/opencv: adopt port 2020-10-03 09:04:26 +00:00
Sunpoet Po-Chuan Hsieh
487971447a Fix build with jasper 2.0.20 2020-09-12 14:58:35 +00:00
Sunpoet Po-Chuan Hsieh
b94e8d8c27 Bump PORTREVISION for devel/protobuf shlib change 2020-08-30 20:19:41 +00:00
Ganael LAPLANCHE
b4b8dbee42 Update devel/tbb to 2020.3 and bump dependent ports' revisions
Changelog: https://github.com/oneapi-src/oneTBB/blob/v2020.3/CHANGES
2020-07-17 10:12:25 +00:00
Stephen Montgomery-Smith
9e47f56284 - Update devel/gdcm to 3.0.7.
- Bump portrevision of dependent ports.
2020-07-04 20:53:55 +00:00
Stephen Montgomery-Smith
7d875ed6da - Update devel/gdcm to 3.0.6.
- Bump portrevision of dependent ports.
2020-06-10 19:20:31 +00:00
Sunpoet Po-Chuan Hsieh
1c489784e1 Bump PORTREVISION for devel/protobuf shlib change 2020-06-03 18:32:05 +00:00
Ganael LAPLANCHE
555ae57247 Update devel/tbb to 2020.2 and bump dependent port's revisions
Changelog: https://github.com/oneapi-src/oneTBB/blob/tbb_2020/CHANGES
2020-04-01 14:14:51 +00:00
Stephen Montgomery-Smith
b7ba12bcc4 - Update devel/gdcm to 3.0.5.
- Bump portrevision of dependent ports.
2020-02-22 23:28:41 +00:00
Sunpoet Po-Chuan Hsieh
e9972a754c Bump PORTREVISION for graphics/gdal shlib change 2020-01-22 06:02:24 +00:00
Sunpoet Po-Chuan Hsieh
11493c54b5 Bump PORTREVISION for devel/protobuf shlib change 2020-01-22 05:53:20 +00:00
Baptiste Daroussin
c5fe34636c Update jasper to 2.0.16
This is needed to be able to update gegl to latest version.
Bump revision of all consumer as the ABI is not 100% backward compatible.
Provide a patch for graphics/devil to properly build with latest jasper.
While here add a missing USES=xorg to graphics/devil
2019-12-27 13:43:00 +00:00
Ganael LAPLANCHE
23cb661f63 Update devel/tbb to 2020.0 and bump dependent ports' revisions [1]
Also, while here, re-generate patches using the makepatch target

[1] Changelog: https://github.com/intel/tbb/blob/v2020.0/CHANGES
2019-12-26 16:25:22 +00:00
Jan Beich
ab15c9a985 graphics/opencv: expose Intel Quick Sync Video support 2019-12-18 20:14:57 +00:00
Antoine Brodin
9b76585b6c Fix build with python 3.7
PR:		233770
2019-12-13 09:41:03 +00:00
Yuri Victorovich
4418282b3f graphics/opencv: Allow py3x flavors in the slave port graphics/py-opencv
While here, add USES=gnome
2019-11-24 02:21:51 +00:00