First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 76212
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Sound Team <sound@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Olivier Crete <tester@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mp4support.patch Patch to add dependency on faad2 if mp4 USE flag is set patch Scott Peshak 2005-01-02 19:54 0000 640 bytes Details | Diff
faac.patch Add dependency on faad2 if mp4 USE flag is set. This patch removes the libmp4 defines from the configure.in patch Scott Peshak 2005-01-03 01:56 0000 974 bytes Details | Diff
faac-configure-mp4-support.patch faac-configure-mp4-support.patch patch TGL 2005-11-04 16:10 0000 1.15 KB Details | Diff
faac-1.24-aac-USE-flag.patch faac-1.24-aac-USE-flag.patch patch TGL 2005-11-04 16:12 0000 912 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 76212 depends on: Show dependency tree
Bug 76212 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-31 00:43 0000
if libmp4v2 is installed by faad2 and then faac is installed.. the resulting
library will depend upond libmp4v2.... but that's not in the ebuild... There
should probably be some configure patching/seding to make that controlable
through use flags... 
And while I'm at it.. faac refuses to build if mpeg4ip is installed, but
mpeg4ip depends on faac...

------- Comment #1 From Scott Peshak 2005-01-02 19:54:44 0000 -------
Created an attachment (id=47424) [edit]
Patch to add dependancy on faad2 if mp4 USE flag is set

I made some small changes to the RDEPENDS and built it on an x86 machine.  Faac
now reports to have mp4 support.

------- Comment #2 From Olivier Crete 2005-01-02 20:12:38 0000 -------
this is not enough... you have to have the configure script too to disable
faad2 if the mp4 flag is not set...

------- Comment #3 From Scott Peshak 2005-01-03 01:56:34 0000 -------
Created an attachment (id=47444) [edit]
Add dependency on faad2 if mp4 USE flag is set

------- Comment #4 From Scott Peshak 2005-01-03 01:58:41 0000 -------
(From update of attachment 47444 [edit])
>*** faac-1.24.ebuild.orig	Thu Dec 16 04:37:50 2004
>--- faac-1.24.ebuild	Mon Jan  3 03:54:22 2005
>***************
>*** 11,19 ****
>  LICENSE="LGPL-2"
>  SLOT="0"
>  KEYWORDS="amd64 arm ~hppa ~ia64 ~mips ~ppc ppc64 ~ppc-macos sparc x86"
>! IUSE=""
>  
>! RDEPEND=">=media-libs/libsndfile-1.0.0"
>  DEPEND="${RDEPEND}
>  	>=sys-devel/libtool-1.3.5
>  	sys-devel/automake"
>--- 11,21 ----
>  LICENSE="LGPL-2"
>  SLOT="0"
>  KEYWORDS="amd64 arm ~hppa ~ia64 ~mips ~ppc ppc64 ~ppc-macos sparc x86"
>! IUSE="mp4"
>  
>! RDEPEND=">=media-libs/libsndfile-1.0.0
>! 	mp4? ( media-libs/faad2 )
>! "
>  DEPEND="${RDEPEND}
>  	>=sys-devel/libtool-1.3.5
>  	sys-devel/automake"
>***************
>*** 27,32 ****
>--- 29,40 ----
>  
>  	export WANT_AUTOMAKE=1.7
>  	export WANT_AUTOCONF=2.5
>+ 
>+ 	# Remove the references to libmp4 if not wanted
>+ 	if ! use mp4; then
>+ 		sed -i -e "s/-lmp4v2//" -e " s/MY_DEFINE(\[HAVE_LIBMP4V2\])//" -e "s/with MP4/without MP4/"  configure.in
>+ 	fi
>+ 
>  	sh ./bootstrap
>  	elibtoolize
>  }

------- Comment #5 From Olivier Crete 2005-04-25 18:03:41 0000 -------
That seems good to me.. Except that the mp4 depend should be "|| (faad2
mpeg4ip)" I think... it would need to be tested

------- Comment #6 From Doug Goldstein 2005-05-12 01:12:58 0000 -------
*** Bug 90503 has been marked as a duplicate of this bug. ***

------- Comment #7 From Diego E. 'Flameeyes' Pettenò 2005-11-03 17:33:49 0000 -------
*** Bug 111426 has been marked as a duplicate of this bug. ***

------- Comment #8 From Daniel Drake 2005-11-03 17:59:00 0000 -------
I feel it's worth duplicating my comment here. I ran into a compile error (bug
111426) when trying to compile faac:

The reason I was trying to install faac was because it was being pulled in as a
dependency of media-video/mpeg4ip-1.2

I gave up on that version and went to mpeg4ip-1.3 which doesn't depend on faac.
I noticed that mpeg4ip-1.3 provides mp4.h so it looks like the dependencies
might be the wrong way around here..?


So, faac depending on mpeg4ip maybe isn't such a good idea (circular
dependencies, anyone?)

------- Comment #9 From Olivier Crete 2005-11-04 08:26:10 0000 -------
Both faad2 and mpeg4ip provide libmp4v2 (and mp4.h). The version in mpeg4ip is
newer.. but faad2 is a much more common package (and smaller). If you already
have mpeg4ip and build faad2, faad2 will use the mp4v2 from mpeg4ip (but it wont
work the other way around).. and it creates an unwritten dep.

The right solution is to separate libmp4v2 into its own package that both would
depend on.. but I have not been able to convince upstream mpeg4ip to do that.
And upstream faad2 was pretty much dead the last time I checked.

------- Comment #10 From TGL 2005-11-04 16:09:58 0000 -------
Reporting here since it seems relevant in the discussion that has already
started...

I've just encountered the following issue trying to compile mpeg4ip-1.3:
* libfaac is compiled against libmp4v2
* Please remove faad2 and mpeg4ip then recompile faac

My workaround was to add a configure option to faac which allow to
enable/disable linking against libmp4v2 (instead of having it auto-enabled when
the lib is installed). It seems similar to Scott's proposal, although i think
it's a bit cleaner since it is against configure.in, so i will attach it in
case
it's useful. Note that i'm not sure i've really understood the issue discussed
here though, i've just tried to make things compile for me, nothing more...

------- Comment #11 From TGL 2005-11-04 16:10:57 0000 -------
Created an attachment (id=72147) [edit]
faac-configure-mp4-support.patch

The configure.in patch for faac-1.24.

------- Comment #12 From TGL 2005-11-04 16:12:10 0000 -------
Created an attachment (id=72148) [edit]
faac-1.24-aac-USE-flag.patch

Patch for faac-1.24.ebuild: enable/disable linking against libmp4v2 depending
on the "aac" USE flag (although i'm not sure it's the right USE flag...)

------- Comment #13 From Patrizio Bassi 2005-11-06 04:13:03 0000 -------
the problem is with ffmpeg too... 
 
there should be a sort of "virtual/aac" 

------- Comment #14 From Patrizio Bassi 2005-11-26 03:08:02 0000 -------
as suggested in  
 
http://bugs.gentoo.org/show_bug.cgi?id=58288 
 
a good thing should be making faad2 depending on mpeg4ip, so all problems go away 

------- Comment #15 From t35t0r 2005-11-27 09:39:33 0000 -------
someone hurry up and fix this it is becoming annoying. I'm going to have to
lose
mpeg4ip otherwise since more apps seem to use faad2 for aac instead.

------- Comment #16 From Diego E. 'Flameeyes' Pettenò 2005-12-19 03:23:18 0000 -------
Should be fixed with 2.0-r8.

------- Comment #17 From Jakub Moc (RETIRED) 2006-07-14 03:59:37 0000 -------
*** Bug 140336 has been marked as a duplicate of this bug. ***

------- Comment #18 From Jan Rychter 2006-07-14 05:56:50 0000 -------
Ok, so since this bug is RESOLVED AND my bug (#140336) has been marked as a
duplicate of this bug:

What is the solution for us running stable x86?

I can't emerge faac when faad2 is installed, if I delete faad2 and emerge
mpeg4ip then faac compiles, but I'll still get:

[blocks B     ] media-video/mpeg4ip (is blocking media-libs/faad2-2.0-r3)
[blocks B     ] <media-libs/faad2-2.0-r9 (is blocking
media-libs/libmp4v2-1.4.1)
[blocks B     ] <media-libs/faad2-2.0-r9 (is blocking
media-video/mpeg4ip-1.4.1)
[ebuild  N    ] media-libs/faad2-2.0-r3  USE="xmms" 0 kB 
[ebuild  N    ] media-video/ffmpeg-0.4.9_p20051216  USE="a52 aac encode imlib
mmx network ogg sdl truetype v4l vorbis xvid zlib -debug -doc -dts -ieee1394
-oss -test -theora -threads" 0 kB 

Having read the discussion, I have no idea how to get my system to work.j

First Last Prev Next    No search results available      Search page      Enter new bug