Bug 202239

Summary: graphics/opencv: Upgrade to 3.0.0
Product: Ports & Packages Reporter: you.akira.noda
Component: Individual Port(s)Assignee: VK <vlad-fbsd>
Status: Closed Overcome By Events    
Severity: Affects Some People CC: FreeBSD
Priority: --- Keywords: feature, patch
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210505
Attachments:
Description Flags
ports of opencv , opencv-core , opencv-java none

Description you.akira.noda 2015-08-11 07:08:54 UTC
Created attachment 159752 [details]
ports of opencv , opencv-core , opencv-java

I wanna upgrade opencv to 3.0.0
Here is port for opencv 3.0.0(attachment), but this version have a problem.

legacy module is not supported in 3.0.0.
(See http://docs.opencv.org/master/db/dfa/tutorial_transition_guide.html)

opencv legacy module affects following ports.


graphics/openimageio 
graphics/kipi-plugin-removeredeyes 
graphics/frei0r
graphics/rubygem-objectdetect
graphics/libkface 
graphics/cimg
math/scilab-toolbox-sivp 


Some ports of these are already not use legacy module.
such as opneimageio.
In case of this, just replace string "legacy" with "core"(or some module's name) in Makefile.
It's easy.

But,kipi-plugin-removeredeyes 's configure script uses legacy module.
There is no workaround.


So you have to upgrade kipi-plugin-removeredeyes ,or make new ports for opencv version 3-series.
But I don't know which is better solution.Please help.
Comment 1 Shane 2015-08-19 10:21:26 UTC
Pending update to graphics/openimageio v1.5.18 includes adjustment to opencv dependency. bug #202442

On configs that opencv builds openimageio also builds. I have not been able to build opencv on 9.3 using gcc. Poudriere with a 9.3 jail uses gcc42 from base system. Maybe need USES= compiler:c11 to use gcc46
Comment 2 Jason E. Hale freebsd_committer freebsd_triage 2016-09-19 22:57:54 UTC
Return to pool.
Comment 3 VK freebsd_triage 2016-10-04 08:41:45 UTC
Thanks for the report. The opencv port has been renamed to opencv2 in order to make room for multiple versions:

https://svnweb.freebsd.org/ports?view=revision&revision=423216

Please file a NEW PORT request for opencv3.