Created attachment 204333 [details] opencv 3.4.1 -> 4.1.0 patch This is a patch to update graphics/opencv (and related) ports to 4.1.0. It is related to bug #237135 which copies graphics/opencv to graphics/opencv3 and updates to 3.4.6. This patch creates one more slave port graphics/opencv-contrib to avoid circular dependency between graphics/caffe. To be able to install opencv3 and opencv4 at the same time, I moved include files and libraries to subdirectory of ${LOCALBASE}/include and ${LOCALBASE}/lib. As a consequent, about 40 ports dependent on graphics/opencv need to be patched. The patch to graphics/caffe follows and multimedia/ffmpeg is dealt in the bug #237135, but the patches for other ports are not ready. Problem: I did not add CONFLICTS, but graphics/py-opencv and graphics/py-opencv3 install the library files to the same location, and cannot coexists. Is there any way for both versions to coexist?
Created attachment 204334 [details] patch to graphics/caffe Patch to graphics/caffe depended by graphics/opencv-contrib if option CAFFE is enabled.
Created attachment 204542 [details] opencv 3.4.1 -> 4.1.0 patch Some correction to the patch: - With IPP option, a little more patching was needed. - Restored NONFREE option.
Created attachment 204543 [details] patch to astro/siril to depend on opencv4
Created attachment 204544 [details] patch to ports that depends on opencv4 Among the ports in categories astro or graphics, that depend on graphics/opencv(-core), these ports could be built with opencv4: astro/siril (separate patch) graphics/caffe (separate patch) graphics/digikam graphics/nomacs graphics/openimageio graphics/waifu2x-converter-cpp graphics/yafaray
Can't help with this port, back to the pool
4.1.1 released already.
Anyone planning any activity on this ? I tried to apply opencv 3.4.1 -> 4.1.0 patch from here, but it seems that other changes have made it a little bit difficult to apply. 4.1 version might be helpful for python use cases that use also tensorflow.
Hiroo: do you want to maintain the graphics/opencv port?
^Triage: - [tags] in issue Titles are deprecated - If any referenced issues are blocked by or depend on this issue, please add them to this issues Blocked By or Depends On fields accordingly - Track feedback request from Hiroo (comment 9)
(In reply to Li-Wen Hsu from comment #8) Currently, no. I do not have enough time to rework the patch. I want to try to update the patch later, but I have to address the problem stated in #237933 then.
4.5.0 is out
Overcome by https://svnweb.freebsd.org/ports?view=revision&revision=563430