[MacPorts] #39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix
MacPorts
noreply at macports.org
Mon May 20 06:18:34 PDT 2013
#39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix
---------------------+--------------------------------
Reporter: david@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: | Port: ffmpeg
---------------------+--------------------------------
Problem occurs during normal 'port upgrade ffmpeg' since openjpeg-2.0.0
was released.
Problem surfaces as "ERROR: libopenjpeg not found" in the configure step,
because ffmpeg appears to use the openjpeg-1.5 API which appears to
conflict with the openjpeg-2.0 API.
https://ffmpeg.org/trac/ffmpeg/ticket/2016 talks about this.
While I'm unable to find the ticket that fixed this in ffmpeg devel, I'm
building the latest git pull of ffmpeg on an Ubuntu box and this build
picks up either openjpeg 1.5 or 2.0 (whichever is installed).
This suggests that current ffmpeg-1.2.1 Portfile depends_lib changes from
port:openjpeg to port:openjpeg15.
Then when ffmpeg-1.2.2 releases change this to port:openjpeg which picks
up openjpeg-2.0.0 (which is the version the unqualified openjpeg port
references).
This also suggest that both openjpeg + openjpeg15 must have a conflicts
statement added (conflicting with each other), so only one version of
openjpeg can be installed.
--
Ticket URL: <https://trac.macports.org/ticket/39161>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list