Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155149 - media-video/mplayer-1.0_rc1 has automagic on dvdnav
Summary: media-video/mplayer-1.0_rc1 has automagic on dvdnav
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 159657 (view as bug list)
Depends on:
Blocks: 157891
  Show dependency tree
 
Reported: 2006-11-14 10:45 UTC by Guillaume Castagnino
Modified: 2007-03-23 01:29 UTC (History)
3 users (show)

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


Attachments
disable automagic dep to dvdnav (mplayer-1.0_rc1-fix-automagic-dvdnav.diff,393 bytes, patch)
2006-12-15 06:39 UTC, Matthias Schwarzott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Castagnino 2006-11-14 10:45:26 UTC
Hi,

Emerge dvdnav
Compile mplayer with dvd USE flag.
Then unmerge dvdnav

Now mplayer is broken :
> $ mplayer
> mplayer: error while loading shared libraries: libdvdnav.so.4: cannot open shared object file: No such file or directory

When rebuilding mplayer with dvdnav unmerged, I notice this in the configure :
Checking for DVD support (libdvdnav) ... no
Checking for DVD support (libmpdvdkit2) ... no
Checking for DVD support (libdvdread) ... yes

So I understand that there is an automagick check to chose the DVD library... wich is baaaaad :)

Looking further in configure script, we have this :
--disable-dvdnav       disable libdvdnav support [autodetect]
--disable-dvdread      Disable libdvdread support [autodetect]

So I suggest you to add it add dependancy with --enable/--disable and bypass the automagic to have a more sane ebuild.

Regards,
Comment 1 Yaroslav Isakov 2006-12-03 13:41:59 UTC
Yes, i also found that mplayer detect libdvdnav, and when it does, it enable libdvdread and disable mpdvdkit (ebuild not considers dvdread USE flag, which was DISABLED)

i change the string
use dvdread || myconf="${myconf} --disable-dvdread"
to
use dvdread || myconf="${myconf} --disable-dvdread --disable-dvdnav"
in ebuild and it was fine

PS. very sorry for my very BAD english
Comment 2 Matthias Schwarzott gentoo-dev 2006-12-15 06:39:48 UTC
Created attachment 104089 [details, diff]
disable automagic dep to dvdnav

That change to the ebuild should disable the automagic dep.
I think we can unconditionally provide configure with that switch.
Comment 3 Luca Barbato gentoo-dev 2006-12-17 01:13:14 UTC
Looks ok, I'd check if the dvdnav could be of interest and maybe just link it to dvdread useflag, surely it will lately
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-01-01 16:32:55 UTC
*** Bug 159657 has been marked as a duplicate of this bug. ***
Comment 5 Steve Dibb (RETIRED) gentoo-dev 2007-03-23 01:29:08 UTC
Fixed in 20070321 release