Opened 9 years ago

Closed 8 years ago

#48067 closed defect (fixed)

opencv @3.0.0 provides different library versions than opencv @2.4.11 did

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.3.99
Keywords: Cc: mkae (Marko Käning), SickTeddyBear, macports@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: auto-multiple-choice auto-multiple-choice-devel caffe digikam gerbil gmic nomacs objectmarker orfeotoolbox

Description

opencv @3.0.0 provides different library versions than opencv @2.4.11 did. For example, opencv @2.4.11 had /opt/local/lib/libopencv_core.2.4.dylib while opencv @3.0.0 has /opt/local/lib/libopencv_core.3.0.dylib. So all ports linking with opencv libraries need to have their revisions increased to relink with the new libraries. That's part of the responsibility of updating a port when updating the port changes the library versions.

In the Port field of this ticket I've listed the ports whose portfiles mention a dependency on "port:opencv" but I haven't checked if they link with opencv libraries; those that don't don't need their revisions increased.

Change History (8)

comment:1 Changed 9 years ago by dbevans (David B. Evans)

Port: gstreamer1-gst-plugins-bad removed

gstreamer1-gst-plugins-bad: opencv plugin and dependency removed, revision incremented in r137655, plugin requires opencv < 2.5

Version 0, edited 9 years ago by dbevans (David B. Evans) (next)

comment:2 Changed 9 years ago by dbevans (David B. Evans)

Port: VLC-devel removed

VLC-devel: opencv input plugin disabled and dependency removed, revision incremented in r137661, plugin fails to build after upgrade to opencv 3.0.0, probable API changes.

comment:3 Changed 9 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:4 Changed 9 years ago by SickTeddyBear

Cc: amcgee@… added

Cc Me!

comment:5 Changed 9 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:6 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

In 9cfde251/macports-ports:

nomacs: update version 2.0.2->3.4

Add cmake.out_of_source yes
See #47197

Links against latest opencv
See #48067

comment:7 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:8 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

In ee6b12c6/macports-ports:

opencv: update version 3.1.0->3.2.0

Update dependencies because library names change.
Fixes #48067

Note: See TracTickets for help on using tickets.