this is what i get when trying to merge media-libs/libdvdnav-4.1.1: * Detected file collision(s): * * /usr/include/dvdread/nav_read.h * /usr/include/dvdread/ifo_types.h * /usr/include/dvdread/ifo_read.h * /usr/include/dvdread/ifo_print.h * /usr/include/dvdread/dvd_reader.h * /usr/include/dvdread/nav_print.h * /usr/include/dvdread/nav_types.h * /usr/lib64/libdvdread.la * /usr/lib64/libdvdread.so * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * media-libs/libdvdread-0.9.7 * /usr/include/dvdread/nav_read.h * /usr/include/dvdread/ifo_types.h * /usr/include/dvdread/ifo_read.h * /usr/include/dvdread/ifo_print.h * /usr/include/dvdread/dvd_reader.h * /usr/include/dvdread/nav_print.h * /usr/include/dvdread/nav_types.h * /usr/lib64/libdvdread.la * /usr/lib64/libdvdread.so
According http://www.mplayerhq.hu/DOCS/tech/dvdnav-howto.txt the new version of libdvdnav provides libdvdread as well, so if you use mplayer's libdvdnav I would suggest: 1) emerge -C libdvdnav 2) echo media-libs/libdvdread-0.9.7 >>/etc/portage/profile/package.provided 3) revdep-rebuild -av I'm not sure if everything could be compiles agaings the new version....
Modifying the ebuild to read <RDEPEND="!media-libs/libdvdread"> as in "_NOT_ media-libs/libdvdread" resolves this (on a fresh install, at least)... ...However, if it's desired for 'dvdnav://' functionality in mplayer, you'll lose the use of 'libdvdcss' in the process. I've hacked this ebuild & the mplayer one with just that objective in mind, & there appears to be no way to have both options at once - i'm gonna query this upstream at mplayer shortly... I don't want to attach any patches/ebuilds here, as my modifications were made without consulting any 'ebuild-writing guides' (the wiki-guide i had wasn't there when i looked). Additionally, such a 'blocking-modification' would need to be mirrored in the libdvdread-ebuilds, too, if it were to enter portage.
hello, i cannot install vlc having mplayer installed because of the conflict between libdvdnav and libdvdread. what should i do? emerge -pv vlc These are the packages that would be merged, in order: Calculating dependencies waiting for lock on /var/db/.pkg.portage_lockfile ... done! [ebuild N ] media-libs/libdvdnav-4.1.1_p997-r1 USE="-debug" 153 kB [1] [ebuild N ] media-video/vlc-0.9.0_alpha20080409 USE="X a52 aac alsa bidi cdda cdio dbus dts dvb dvd esd ffmpeg flac gnutls hal httpd live matroska mmx mp3 mpeg musepack musicbrainz ncurses ogg opengl optimisememory oss png qt4 rtsp samba sdl skins sse stream svg theora truetype v4l v4l2 vcd vlm vorbis win32codecs wxwindows x264 xml xv -3dfx -aalib (-altivec) -arts -atmo -avahi -cddb -daap -dc1394 -debug -directfb -fbcon -fluidsynth -ggi -gnome -id3tag -jack -libcaca -libnotify -lirc -lua -modplug -nsplugin -pulseaudio -pvr -sdl-image -seamonkey -shout -speex -svga -taglib -twolame -upnp -vcdx -xinerama -xosd -xulrunner" 0 kB [blocks B ] media-libs/libdvdread (is blocking media-libs/libdvdnav-4.1.1_p997-r1) Total: 2 packages (2 new), Size of downloads: 153 kB Conflict: 1 block (1 unsatisfied)
libdvdnav-4.1.1 was removed from the tree, partially because of the collisions. If you want to install it, it's a blocker to libdvdread. I've setup a personal overlay where you can get it in the meantime if you're interested. http://overlays.gentoo.org/dev/beandog/browser