| Summary: | media-tv/xbmc should depend on media-sound/alsa-utils | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | hal <laservader> |
| Component: | Current packages | Assignee: | Gentoo Xbox project <xbox> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
hal
2012-05-21 11:02:53 UTC
I guess
RDEPEND="${COMMON_DEPEND}
alsa? ( media-sound/alsa-utils )"
would make sense.
xbmc doesn't care about init scripts as for the other tools, if the main xbmc package doesn't run them, the dependency doesn't make sense. it doesn't matter if an arbitrary xbmc plugin you installed needs these things -- i'm not adding a dependency on every possible package that every plugin out there might happen to use. if you want to install random plugin $foo that needs random package $bar, it's up to you to install $bar, not the xbmc ebuild. (In reply to comment #2) > xbmc doesn't care about init scripts Basically agreed. Nevertheless the audiocard has to be unmuted in order to use it with xbmc. The initscript restores the mixer levels and muting state. Without umuting the channels xbmc will not output any audio signal at all. > as for the other tools, if the main xbmc package doesn't run them, the > dependency doesn't make sense. The xbmc wiki mentions alsa-utils: http://wiki.xbmc.org/index.php?title=HOW-TO:Setup_HDMI_audio_on_GeForce_GT210,_GT220,_or_GT240#Getting_ALSA As far as I know xbmc does not run them directly. But users might be wondering why they don't get any audio output. Maybe we could/should add a reminder for users instead of adding a dependency? > it doesn't matter if an arbitrary xbmc > plugin you installed needs these things -- i'm not adding a dependency on > every possible package that every plugin out there might happen to use. > > if you want to install random plugin $foo that needs random package $bar, > it's up to you to install $bar, not the xbmc ebuild. Completely agreed. I mentioned the plugin just as an additional example. I don't want a dependeny for each plugin, too. ;) yes, the alsa-utils package provides one method for controlling the alsa levels, but it isn't the only way. anyone can control the audio stack by using libalsa. |