Opened 9 years ago

Closed 4 years ago

#48506 closed enhancement (fixed)

opencv @2.3.3 add +contrb variant for opencv_contrib repository

Reported by: exb7900@… Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: opencv

Description

I'm trying to use MacPorts to install OpenCV 3, and I'd like to include the opencv_contrib repository (https://github.com/Itseez/opencv_contrib). I was hoping for you to add a variant (+contrib) to include the contrib repository. I'm running this on Mac OS X 10.10.4 and Xcode 6.4.

Attachments (2)

Portfile-opencv.diff (1.6 KB) - added by crazyhorse671@… 9 years ago.
Portfile (11.7 KB) - added by crazyhorse671@… 9 years ago.
adapted Portfile w/ variant contrib added

Download all attachments as: .zip

Change History (10)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: stromnov@… openmaintainer@… removed
Keywords: opencv_contrib xfeatures2d removed
Owner: changed from macports-tickets@… to stromnov@…
Type: requestenhancement
Version: 2.3.3

Note that a "request" ticket type is only for requesting a new port. Please do not Cc openmaintainer@… because it is not a valid email address.

Changed 9 years ago by crazyhorse671@…

Attachment: Portfile-opencv.diff added

Changed 9 years ago by crazyhorse671@…

Attachment: Portfile added

adapted Portfile w/ variant contrib added

comment:2 Changed 9 years ago by crazyhorse671@…

I needed opencv_contrib as well. I adapted the Portfile a bit for that. Adapted Portfile and diff to current one are attached. Hope this is of any help...

comment:3 Changed 9 years ago by exb7900@…

Thanks for the help crazyhorse671@…. Unfortunately it didn't work, it just said this: Error: org.macports.build for port opencv returned: command execution failed

comment:4 Changed 9 years ago by stromnov (Andrey Stromnov)

Committed at r139268.

Note: +contrib variant probably conflicts with +qtX variants

comment:5 in reply to:  4 Changed 9 years ago by exb7900@…

Replying to stromnov@…: Thank you, it worked without the qt variants!

Committed at r139268.

Note: +contrib variant probably conflicts with +qtX variants

comment:6 Changed 4 years ago by mascguy (Christopher Nielsen)

This was resolved some time ago, and can be closed.

comment:7 Changed 4 years ago by mascguy (Christopher Nielsen)

This ticket is no longer relevant, as we don't have an OpenCV 2 port. Can someone close?

comment:8 Changed 4 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.