Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246236 - media-sound/mpd-0.14_alpha1: incorrect dependencies.
Summary: media-sound/mpd-0.14_alpha1: incorrect dependencies.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-10 00:09 UTC by Avuton Olrich
Modified: 2008-11-10 16:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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