/[ports]
ViewVC logotype

Revision 563430


Jump to revision: Previous Next
Author: tcberner
Date: Sat Jan 30 18:08:56 2021 UTC (3 years, 5 months ago)
Changed paths: 69
Log Message:
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: https://github.com/lagadic/visp/commit/dfa7e4bd47c24cd2e631477e6afb18806733ff8a
      - multimedia/zart: https://github.com/c-koi/zart/commit/6ca1964690afbbc78627d7c868a692401043a584,
                         https://github.com/c-koi/zart/commit/d3a2931b1a07ec0322211f253468000363c4b6cb
    * 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


Changed paths

Path Details
Directoryhead/MOVED modified , text changed
Directoryhead/astro/siril/Makefile modified , text changed
Directoryhead/graphics/Makefile modified , text changed
Directoryhead/graphics/cimg/Makefile modified , text changed
Directoryhead/graphics/cimg/files/patch-examples__Makefile modified , text changed
Directoryhead/graphics/dbow2/Makefile modified , text changed
Directoryhead/graphics/digikam/Makefile modified , text changed
Directoryhead/graphics/frei0r/Makefile modified , text changed
Directoryhead/graphics/gimp-gmic-plugin/Makefile modified , text changed
Directoryhead/graphics/gmic/Makefile modified , text changed
Directoryhead/graphics/gstreamer-plugins-opencv/Makefile modified , text changed
Directoryhead/graphics/gstreamer1-plugins-opencv/Makefile modified , text changed
Directoryhead/graphics/nomacs/Makefile modified , text changed
Directoryhead/graphics/opencv/Makefile modified , text changed
Directoryhead/graphics/opencv/distinfo modified , text changed
Directoryhead/graphics/opencv/files/FindOpenCVCore.cmake.in deleted
Directoryhead/graphics/opencv/files/extra-patch-modules_dnn__modern_CMakeLists.txt deleted
Directoryhead/graphics/opencv/files/extra-patch-modules_sfm_CMakeLists.txt deleted
Directoryhead/graphics/opencv/files/extra-patch-modules_sfm_src__libmv__light_libmv_numeric_numeric.h deleted
Directoryhead/graphics/opencv/files/extra-patch-modules_sfm_src_libmv__light_libmv_numeric_numeric.cc deleted
Directoryhead/graphics/opencv/files/extra-patch-modules_stereo_src_descriptor.cpp deleted
Directoryhead/graphics/opencv/files/patch-cmake_OpenCVDetectMediaSDK.cmake deleted
Directoryhead/graphics/opencv/files/patch-contrib_modules_sfm_src_libmv__light_libmv_numeric_numeric.h
(Copied from head/graphics/opencv/files/extra-patch-modules_sfm_src__libmv__light_libmv_numeric_numeric.h, r563429)
added , text changed
Directoryhead/graphics/opencv/files/patch-modules_core_include_opencv2_core_cv__cpu__dispatch.h deleted
Directoryhead/graphics/opencv/files/patch-modules_core_include_opencv2_core_cvdef.h deleted
Directoryhead/graphics/opencv/files/patch-modules_core_include_opencv2_core_types__c.h deleted
Directoryhead/graphics/opencv/files/patch-modules_core_src_utils_filesystem.cpp deleted
Directoryhead/graphics/opencv/files/patch-modules_dnn_src_vkcom_vulkan_vk__loader.cpp added
Directoryhead/graphics/opencv/files/patch-modules_gapi_cmake_DownloadADE.cmake added
Directoryhead/graphics/opencv/files/patch-modules_highgui_include_opencv2_highgui_highgui__c.h deleted
Directoryhead/graphics/opencv/files/patch-modules_highgui_src_window.cpp deleted
Directoryhead/graphics/opencv/files/patch-modules_highgui_src_window__gtk.cpp deleted
Directoryhead/graphics/opencv/files/patch-modules_imgcodecs_src_grfmt__jpeg2000.cpp deleted
Directoryhead/graphics/opencv/files/patch-modules_python_src2_cv2.cpp deleted
Directoryhead/graphics/opencv/files/patch-modules_videoio_src_cap__libv4l.cpp deleted
Directoryhead/graphics/opencv/files/patch-modules_videoio_src_cap__mfx__reader.cpp deleted
Directoryhead/graphics/opencv/files/patch-modules_videoio_src_cap__mfx__writer.cpp deleted
Directoryhead/graphics/opencv/files/patch-modules_videoio_src_cap__v4l.cpp added
Directoryhead/graphics/opencv/pkg-plist modified , text changed
Directoryhead/graphics/opencv-core/ deleted
Directoryhead/graphics/opencv-java/ deleted
Directoryhead/graphics/openimageio/Makefile modified , text changed
Directoryhead/graphics/p5-Image-ObjectDetect/Makefile modified , text changed
Directoryhead/graphics/pfstools/Makefile modified , text changed
Directoryhead/graphics/php-facedetect/Makefile modified , text changed
Directoryhead/graphics/py-opencv/ deleted
Directoryhead/graphics/rubygem-objectdetect/Makefile modified , text changed
Directoryhead/graphics/shotwell/Makefile modified , text changed
Directoryhead/graphics/waifu2x-converter-cpp/Makefile modified , text changed
Directoryhead/graphics/yafaray/Makefile modified , text changed
Directoryhead/math/saga/Makefile modified , text changed
Directoryhead/math/saga/files/patch-src_tools_imagery_imagery__opencv_Makefile.am deleted
Directoryhead/misc/actiona/Makefile modified , text changed
Directoryhead/misc/darknet/Makefile modified , text changed
Directoryhead/misc/mxnet/Makefile modified , text changed
Directoryhead/misc/visp/Makefile modified , text changed
Directoryhead/misc/visp/files/patch-modules_vision_src_key-point_vpKeyPoint.cpp added
Directoryhead/multimedia/ccextractor/Makefile modified , text changed
Directoryhead/multimedia/chilitags/Makefile modified , text changed
Directoryhead/multimedia/ffmpeg/Makefile modified , text changed
Directoryhead/multimedia/gstreamer1-plugins/Makefile.common modified , text changed
Directoryhead/multimedia/libav/Makefile modified , text changed
Directoryhead/multimedia/lives/Makefile modified , text changed
Directoryhead/multimedia/zart/Makefile modified , text changed
Directoryhead/multimedia/zart/distinfo modified , text changed
Directoryhead/multimedia/zart/files/ added
Directoryhead/multimedia/zart/files/patch-zart.pro added
Directoryhead/net-im/tox/Makefile modified , text changed
Directoryhead/net-p2p/retroshare/Makefile modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27