Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 604982

Summary: media-libs/opencv-3.2.0: version bump
Product: Gentoo Linux Reporter: vylaern <vylaern>
Component: Current packagesAssignee: Amy Liffey <amynka>
Status: RESOLVED FIXED    
Severity: normal CC: alex, archenroot, dilfridge, vylaern
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://opencv.org/opencv-3-2.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: opencv-3.2.0.ebuild
opencv-3.2.0-gles.patch

Description vylaern 2017-01-07 20:13:17 UTC
2016-12-23:
1 year after 3.1 release and after the OpenCV core team has moved back to Intel we are pleased to announce OpenCV 3.2 release, with tons of improvements and bug fixes. 969 patches have been merged and 478 issues (bugs & feature requests) have been closed.
http://opencv.org/opencv-3-2.html
Comment 1 Coacher 2017-03-08 17:07:24 UTC
*** Bug 612072 has been marked as a duplicate of this bug. ***
Comment 2 * 2017-03-18 18:19:49 UTC
There is a known issue compiling 3.1 on macOS:
http://answers.opencv.org/question/104463/errors-on-compiling-opencv-on-macos-sierra/

I had no problem using the ebuild for 3.1 with a couple tweaks. On prefix, it seems there is an issue in both 3.1 and 3.2 with OpenEXR, related to hardcoded include paths, and it would be nice to get that working.
Comment 3 Amy Liffey gentoo-dev 2017-03-18 18:32:24 UTC
(In reply to * from comment #2)
> There is a known issue compiling 3.1 on macOS:
> http://answers.opencv.org/question/104463/errors-on-compiling-opencv-on-
> macos-sierra/
> 
> I had no problem using the ebuild for 3.1 with a couple tweaks. On prefix,
> it seems there is an issue in both 3.1 and 3.2 with OpenEXR, related to
> hardcoded include paths, and it would be nice to get that working.

I do not have prefix so it is impossible for me to fix it but patches are of course welcome. 

As far as I can see it is upstream bug. So maybe ask upstream to fix it?
Comment 4 * 2017-03-25 17:09:57 UTC
Yes that's probably an upstream bug. I'll attach the very slightly modified ebuild from 3.1 with an updated patch.
Comment 5 * 2017-03-25 17:10:22 UTC
Created attachment 468230 [details]
opencv-3.2.0.ebuild
Comment 6 * 2017-03-25 17:11:09 UTC
Created attachment 468232 [details, diff]
opencv-3.2.0-gles.patch
Comment 7 Amy Liffey gentoo-dev 2017-03-25 17:18:54 UTC
I am not sure how exactly you slightly modified the last ebuild but new ebuild for opencv-3.2.0 is a bit different.[1] If you wish to modify it for working on your prefix edit please this new ebuild and submit it.

Thank you.

[1]https://gitlab.com/Zelena/hell-overlay/blob/master/media-libs/opencv/opencv-3.2.0.ebuild
Comment 8 Amy Liffey gentoo-dev 2017-04-16 14:15:49 UTC
commit 07d392554c7c60474bba42bd03cf978572e62976
Author: Amy Liffey <amynka@gentoo.org>
Date:   Sun Apr 16 16:11:02 2017 +0200

    media-libs/opencv: version bump 3.2.0 bug #604982