Summary: | media-sound/mpd should depend on media-libs/alsa-lib | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | nzqr <candysnell> |
Component: | Current packages | Assignee: | Christoph Mende (RETIRED) <angelos> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | hwoarang, sound |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info output |
Description
nzqr
2012-05-06 06:11:11 UTC
Created attachment 312203 [details]
emerge --info output
+ 27 May 2012; Christoph Mende <angelos@gentoo.org> mpd-0.16.8.ebuild: + Depend on media-libs/alsa-lib (bug #414827) Ok, but depend on media-sound/alsa-utils is unnecessary. Please do not reopen and rename old bugs. Open a new one Why? Someone already renamed it in wrong way; i posted as: >media-sound/mpd-0.16.8: suspect RDEPENDs they renamed to >media-sound/mpd should depend on media-libs/alsa-lib that messed up things. The init script makes use of alsa-utils. >The init script makes use of alsa-utils
Where?
#!/sbin/runscript
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/files/mpd.init,v 1.1 2010/09/10 07:55:07 angelos Exp $
depend() {
need localmount
use net netmount nfsmount alsa esound pulseaudio
}
checkconfig() {
if ! [ -f /etc/mpd.conf ]; then
eerror "Configuration file /etc/mpd.conf does not exist."
return 1
fi
return 0
}
start() {
checkconfig || return 1
ebegin "Starting Music Player Daemon"
start-stop-daemon --start --quiet --background --exec /usr/bin/mpd --pidfile /var/run/mpd.pid --make-pidfile -- --no-daemon /etc/mpd.conf 2>/dev/null
eend $?
}
stop() {
ebegin "Stopping Music Player Daemon"
start-stop-daemon --stop --exec /usr/bin/mpd --pidfile /var/run/mpd.pid
eend $?
}
(In reply to comment #7) > >The init script makes use of alsa-utils > Where? > > > #!/sbin/runscript > # Copyright 1999-2010 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/files/mpd.init,v 1.1 > 2010/09/10 07:55:07 angelos Exp $ > > depend() { > need localmount > use net netmount nfsmount alsa esound pulseaudio ^^^^ right here And please don't tell me "that's just a use". I will not remove the dependency. If you really can't live a package that's ~2 MB on disk, put it in package.provided. |