Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58288 - Faad2 - fix compile when mpeg4ip is present
Summary: Faad2 - fix compile when mpeg4ip is present
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard: testing
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-25 07:17 UTC by spiralvoice
Modified: 2005-12-19 03:22 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The ebuild (faad2-2.0-r4.ebuild,1.92 KB, text/plain)
2004-07-25 07:18 UTC, spiralvoice
Details
mpeg4ip plugin patch (faad2-2.0-mpeg4ip.patch,445 bytes, patch)
2004-07-25 07:18 UTC, spiralvoice
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description spiralvoice 2004-07-25 07:17:38 UTC
Attached ebuild and patch solve compile problem when mpeg4ip is already installed.
Patch solution was found here: http://sourceforge.net/forum/message.php?msg_id=2599755

Reproducible: Always
Steps to Reproduce:
Comment 1 spiralvoice 2004-07-25 07:18:11 UTC
Created attachment 36119 [details]
The ebuild
Comment 2 spiralvoice 2004-07-25 07:18:48 UTC
Created attachment 36120 [details, diff]
mpeg4ip plugin patch
Comment 3 Chris White (RETIRED) gentoo-dev 2004-07-25 20:12:27 UTC
Testing the patch currently.
Comment 4 Hans Meine 2004-08-02 03:11:16 UTC
I have several suggestions/comments:

- First of all, I had mpeg4ip-1.0 installed. emerge -u world always failed because mpeg4ip was not in world, and not updated. faad2 has even more problems with mpeg4ip-1.0 than with 1.1 (this types.h stuff). Maybe depending on mpeg4ip would be even better than just commenting the !mpeg4ip stuff out (as done in the above ebuild)?

- I find this dosed on mpeg4ip.h strange - should this really be in this faad2 ebuild? IMHO this could be moved to the mpeg4ip ebuild?!

- Finally, I want to stress that the above patch works for me, too (READ: It's definitly needed for compilation with mpeg4ip and should be in the stable x86 keyword branch!)
Comment 5 Gregg Casillo 2004-08-18 11:37:38 UTC
Works for me. Hope to see it in portage soon. Thanks!
Comment 6 Gregg Casillo 2004-12-20 00:23:05 UTC
Hello?
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-20 00:34:38 UTC
attatch ebuilds as text/plai֐
has this change been sent (o֐閣*
Comment 8 Zaheer Abbas Merali (RETIRED) gentoo-dev 2004-12-23 16:43:56 UTC
Any news on this as this would solve an important block situation....
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-24 01:48:29 UTC
my last message seems to have corrupted somehow... anyways, please attatch ebuilds as text/plain, and has this patch been sent upstream (or is it from upstream?)
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-22 19:31:40 UTC
faad2 is not herded by video. Foser you are listed as "temporary maintainer", you should take care of this or move faad2 under sound herd, but I'm quite sure this is not video stuff as it's assigned now.
Comment 11 Aris Basic 2005-11-09 17:56:48 UTC
can somone update this patch to include amd64 patch or give some other solution ?
Comment 12 Patrizio Bassi 2005-11-13 02:26:43 UTC
it that's a fix to install faad2 after mpeg4ip is merged, why keeping packages blocking 
each other? 
 
faad2 is require by lots of packages, (ffmpeg, vlc..), mpeg4ip by easytag and friends. 
 
this seems an old but crappy bug :( 
Comment 13 Olivier Crete (RETIRED) gentoo-dev 2005-11-13 08:46:17 UTC
The real fix is to
A. Make faad2 always depend on mpeg4ip
or 
B. Separate the mp4v2 library into its own package that both would depend on.
Comment 14 Patrizio Bassi 2005-11-13 09:14:29 UTC
i vote for the first one. 
 
install both, setting mpeg4ip as a faad2 dependency. 
Comment 15 Patrizio Bassi 2005-11-26 03:53:12 UTC
i've tried to compile faad, deleting the mp4v2 support from configure. 
 
the problem is that faad configure seems bugged and it still compile it! 
 
otherwise the solution is ready: 
delete the 2 blocks, delete the --with-mp4v2 flag from faad2...and it's done. 
 
so a patch is needed against faad2 configure.in 
Comment 16 Patrizio Bassi 2005-11-26 05:12:28 UTC
without patch, just removing blocks and configure flag: 
 
Faad2 stuff 
ls /usr/lib/libmp4v2* -l 
-rw-r--r--  1 root root 1351942 26 nov 12:51 /usr/lib/libmp4v2.a 
-rwxr-xr-x  1 root root     901 26 nov 12:51 /usr/lib/libmp4v2.la* 
lrwxrwxrwx  1 root root      17 26 nov 12:51 /usr/lib/libmp4v2.so -> libmp4v2.so.0.0.0* 
lrwxrwxrwx  1 root root      17 26 nov 12:51 /usr/lib/libmp4v2.so.0 -> libmp4v2.so.0.0.0* 
-rwxr-xr-x  1 root root  690400 26 nov 12:51 /usr/lib/libmp4v2.so.0.0.0* 
 
after mpeg4ip merge overwritten 
 
ls /usr/lib/libmp4v2* -l 
-rw-r--r--  1 root root 1260456 26 nov 13:48 /usr/lib/libmp4v2.a 
-rwxr-xr-x  1 root root     906 26 nov 13:48 /usr/lib/libmp4v2.la* 
lrwxrwxrwx  1 root root      17 26 nov 13:48 /usr/lib/libmp4v2.so -> libmp4v2.so.0.0.0* 
lrwxrwxrwx  1 root root      17 26 nov 13:48 /usr/lib/libmp4v2.so.0 -> libmp4v2.so.0.0.0* 
-rwxr-xr-x  1 root root  709676 26 nov 13:48 /usr/lib/libmp4v2.so.0.0.0* 
 
 
however faac, ffmpeg and friends compile and run fine with this configuration 
Comment 17 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-19 01:53:49 UTC
Taking over faad2 for sound herd.
Comment 18 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-19 03:22:55 UTC
faad2-2.0-r8 depends on media-video/mpeg4ip.