Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 246236

Summary: media-sound/mpd-0.14_alpha1: incorrect dependencies.
Product: Gentoo Linux Reporter: Avuton Olrich <avuton>
Component: New packagesAssignee: Christoph Mende (RETIRED) <angelos>
Status: RESOLVED FIXED    
Severity: normal CC: sound
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Avuton Olrich 2008-11-10 00:09:20 UTC
If lame nor ogg useflags are set but icecast use is, icecast dependency will get pulled in needlessly.

In the same manner if icecast useflag is unset but lame useflag is set the lame dependency will needlessly be pulled in. The way this is fixed in the mpd-9999 ebuild on the mpd overlay is to do something like this:

        icecast? ( lame? ( media-sound/lame ) )
        lame? ( icecast? ( media-libs/libshout ) )
        ogg? ( media-libs/libogg
               icecast? ( media-libs/libshout ) )

Icecast may show as a dependency more then once but I don't think that hurts anything.
Comment 1 Avuton Olrich 2008-11-10 00:34:15 UTC
Small obvious correction would be remove the ogg below and put this:

        vorbis? ( media-libs/libvorbis
                  icecast? ( media-libs/libshout) )
Comment 2 Christoph Mende (RETIRED) gentoo-dev 2008-11-10 16:38:14 UTC
thanks, fixed