[MacPorts] #60118: opencv and opencv4 conflict

MacPorts noreply at macports.org
Thu Dec 10 18:34:18 UTC 2020


#60118: opencv and opencv4 conflict
-----------------------------+--------------------
  Reporter:  dynect          |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  opencv opencv4  |
-----------------------------+--------------------

Comment (by mascguy):

 Looking at what the two opencv ports install, there are very few
 conflicts. So it looks like the opencv4 changes necessary, will be fairly
 minimal. Ditto for the changes to the two dependents.

 opencv installs:
 {{{
 /opt/local/bin/opencv_annotation
 /opt/local/bin/opencv_createsamples
 /opt/local/bin/opencv_interactive-calibration
 /opt/local/bin/opencv_traincascade
 /opt/local/bin/opencv_version
 /opt/local/bin/opencv_visualisation
 /opt/local/bin/opencv_waldboost_detector
 /opt/local/bin/setup_vars_opencv3.sh

 /opt/local/lib/libopencv_*.dylib

 /opt/local/include/opencv/*
 /opt/local/include/opencv2/*
 /opt/local/lib/pkgconfig/opencv.pc
 /opt/local/share/OpenCV/*
 /opt/local/share/licenses/opencv3/*
 }}}

 While opencv4 installs:
 {{{
 /opt/local/bin/setup_vars_opencv4.sh
 /opt/local/bin/opencv_interactive-calibration
 /opt/local/bin/opencv_annotation
 /opt/local/bin/opencv_version
 /opt/local/bin/opencv_visualisation

 /opt/local/lib/libopencv_*.a

 /opt/local/include/opencv4/*
 /opt/local/lib/opencv4     [presently empty, apart from '3rdparty'
 subdirectory]
 /opt/local/lib/opencv4/3rdparty/*
 /opt/local/lib/cmake/opencv4/*
 /opt/local/share/opencv4/*
 /opt/local/share/licenses/opencv4/*
 }}}

 Assuming I didn't miss anything (?), only two things need changes:
 * Libraries (move down one level, into `/opt/local/lib/opencv4/`)
 * Binaries (rename to `opencv4_*`?)

-- 
Ticket URL: <https://trac.macports.org/ticket/60118#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list