Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#13879 closed enhancement (fixed)

mpeg4ip activation fails

Reported by: yanjingfeng@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: pguyot (Paul Guyot), liontooth@…, tristan@…, milosh@…, bytestorm@…, blb@…
Port: mpeg4ip

Description (last modified by dbevans (David B. Evans))

After the installation of faac (audio), there will be activation fault when installing mpeg4ip. The error claims mp4.h is used by faac and needs to deactivate faac to finish mpeg4ip installation. A possible solution is change mpeg4ip include and lib directory.

  • (a) Portfile_old vs. (b) Portfile

    a b  
    2929patchfiles      patch-bootstrap.diff
    3030
    3131configure.cmd   ./bootstrap \
     32          --includedir=${prefix}/include/mpeg4ip \
     33          --libdir=${prefix}/lib/mpeg4ip \
    3234            --disable-player \
    3335            --mandir=${prefix}/share/man

Change History (17)

comment:1 Changed 16 years ago by jmpp@…

Description: modified (diff)
Milestone: Port Bugs

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Cc: pguyot@… added

Cc faac maintainer.

comment:3 Changed 16 years ago by jmroot (Joshua Root)

Cc: liontooth@… added

Cc reporter of duplicate #14358.

comment:4 Changed 15 years ago by dbevans (David B. Evans)

Description: modified (diff)
Port: mpeg4ip added

As of 9/28/2007 version 1.6.1 was released and all upstream development was abandoned. Current MacPorts version is 1.5.0.1. Is there any interest in updating this port and addressing the issue of this ticket or should this ticket be closed and the port possibly deleted from MacPorts. Isn't this functionality available in other ports?

comment:5 Changed 15 years ago by dbevans (David B. Evans)

Actually their download page http://mpeg4ip.sourceforge.net/downloads/index.php says the current tar ball is corrupt and they can't regenerate it. I vote to delete the port.

comment:6 in reply to:  5 Changed 15 years ago by blb@…

Cc: tristan@… added

Replying to devans@…:

Actually their download page http://mpeg4ip.sourceforge.net/downloads/index.php says the current tar ball is corrupt and they can't regenerate it. I vote to delete the port.

I agree, however, aacgain appears to depend on it currently, so that will have to be updated to use an alternative if possible. Cc'ing aacgain's maintainer.

comment:7 Changed 15 years ago by dbevans (David B. Evans)

Cc: milosh@… bytestorm@… added

The following ports also have variants that depend on mpeg4ip:

cmus +aac
easytag +mp4
easytag-devel +mp4

Cc'ing their maintainers as well.

comment:8 Changed 15 years ago by dbevans (David B. Evans)

Referring to the homepages for aacgain, cmus and easytag all claim to be dependent now on libmp4v2, a subset of the functionality of mpeg4ip which avoids potential patent problems with the full mpeg4ip. It is available here: http://resare.com/libmp4v2. However, it appears that port faac comes with libmp4v2 embedded which is the reason for the conflict.

It looks possible that the solution is to get rid of port mpeg4ip and have the ports that currently depend upon it depend upon faac instead.

I'm going to try this with easytag which currently has no maintainer and see if this works.

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

Well, faac doesn't work to replace mpeg4ip. Although both have versions of libmp4v2, the separate libmp4v2 distribution has additional functions that easytag and others need. But faac can be configured with a --without-mp4v2 switch in which case it builds fine against libmp4v2 (or mpeg4ip).

Since libmp4v2 is reputed to be free of mpeg4ip's patent infringement issues, I suggest that it be used as a replacement for mpeg4ip and then build faac with the --without-mp4v2 option to avoid a conflict.

Have created a new port libmp4v2 (committed in r41643) and updated easytag (committed in r41643) with good results. If faac and the others can be modified to use libmp4v2 (which is what they now seem to prefer) then mpeg4ip can be deleted.

comment:10 Changed 15 years ago by dbevans (David B. Evans)

Oops, easytag was committed in r41644.

comment:11 Changed 15 years ago by dbevans (David B. Evans)

Modifications to faac to depend on external libmp4v2 committed in r42233 (#17141).

comment:12 Changed 15 years ago by dbevans (David B. Evans)

cmus variant +aac changed to depend on libmp4v2 in r42285. easytag-devel variant +mp4 changed to depend on libmp4v2 in r42974 (#17297) aacgain changed to depend on libmp4v2 in r42956 (#17298)

comment:13 Changed 15 years ago by dbevans (David B. Evans)

Cc: blb@… added

comment:14 Changed 15 years ago by dbevans (David B. Evans)

A grep of the ports tree indicates that there are no remaining dependencies on mpeg4ip either directly or via variants. All such previous dependencies have been replaced by libmp4v2.

Is there any objection at this point to deleting port mpeg4ip for the reasons outlined above and closing this ticket?

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

Resolution: fixed
Status: newclosed

Port mpeg4ip deleted in r43479.

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

Port mpeg4ip restored in r43903 less files provided by port libmp4v2 per request in #17651.

comment:17 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.