Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18850 closed defect (fixed)

mediatomb: fails to configure & build against latest ffmpeg 0.5

Reported by: dbevans (David B. Evans) Owned by: yattenator@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: ffmpeg bind9 Cc:
Port: mediatomb

Description

mediatomb @0.11.0 fails to configure and build because configure and the sources are looking for <ffmpeg/avformat.h> while its location in recent versions of ffmpeg is <libavformat/avformat.h>.

The attached patches

  • patch configure to correctly detect the presence of ffmpeg
  • patch the sources to use the new ffmpeg include paths
  • the revision is incremented to force a rebuild against the current ffmpeg 0.5 which is not ABI compatible with earlier versions (see #18793).

Attachments (6)

patch-Portfile.diff (677 bytes) - added by dbevans (David B. Evans) 16 years ago.
Proposed patch for Portfile
patch-configure.diff (3.2 KB) - added by dbevans (David B. Evans) 16 years ago.
for files directory
patch-src-metadata-ffmpeg_handler.cc.diff (292 bytes) - added by dbevans (David B. Evans) 16 years ago.
for files directory
patch-Portfile-2.diff (630 bytes) - added by yattenator@… 16 years ago.
another patch-Portfile.diff
patch-configure.ac.diff (2.1 KB) - added by yattenator@… 16 years ago.
patch-configure.diff replacement, not for configure but configure.ac
patch-Portfile.2.diff (713 bytes) - added by dbevans (David B. Evans) 16 years ago.
Patch for Portfile as committed

Download all attachments as: .zip

Change History (9)

Changed 16 years ago by dbevans (David B. Evans)

Attachment: patch-Portfile.diff added

Proposed patch for Portfile

Changed 16 years ago by dbevans (David B. Evans)

Attachment: patch-configure.diff added

for files directory

Changed 16 years ago by dbevans (David B. Evans)

for files directory

Changed 16 years ago by yattenator@…

Attachment: patch-Portfile-2.diff added

another patch-Portfile.diff

Changed 16 years ago by yattenator@…

Attachment: patch-configure.ac.diff added

patch-configure.diff replacement, not for configure but configure.ac

comment:1 Changed 16 years ago by yattenator@…

Thanks devans.

To close also #16756, these would be better, perhaps.
patch-Portfile-2.diff & patch-configure.ac.diff

  • patches for not configure, but configure.ac
  • use_automake yes

The same patch-src-metadata-ffmpeg_handler.cc.diff is also needed.

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

Keywords: bind9 added
Resolution: fixed
Status: newclosed

Committed in r48239 with the following minor changes:

  • change use_autoconf to use_autoreconf as autoconf fails if local installed version is different than original (for example when port autoconf is installed.)
  • change patchfile name in Portfile to match actual patchfile name (patch-configure.ac.diff instead of patch-aclocal.m4.diff)

Now configures and builds without error even when port bind9 is installed. Thanks for the additional fix.

Changed 16 years ago by dbevans (David B. Evans)

Attachment: patch-Portfile.2.diff added

Patch for Portfile as committed

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.