ports/145669: audio/gnome-media hard dep on pulseaudio

Demelier David demelier.david at gmail.com
Tue Apr 13 09:40:04 UTC 2010

>Number:         145669
>Category:       ports
>Synopsis:       audio/gnome-media hard dep on pulseaudio
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 13 09:40:03 UTC 2010
>Originator:     Demelier David
>Release:        8.0-RELEASE
FreeBSD Abricot.malikania.fr 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1: Mon Apr 12 14:01:27 CEST 2010     root at Abricot.malikania.fr:/usr/obj/usr/src/sys/Abricot  i386

gnome-media needs pulseaudio and we can not choose option to remove it. It doesn't need it but we can add it as a optional dependency. 

You can make config-recursive in x11/gnome2-lite to remove pulseaudio on some ports, so if gnome-media needs pulseaudio it's amibugous.
cd /usr/ports/x11/gnome2-lite && make config-recursive
# remove pulseaudio
make missing | grep -i pulse
echo $? # show 0 ;)
apply the patch below which add a pulseaudio option.

Patch attached with submission follows:

--- Makefile.orig	2010-03-28 08:31:01.000000000 +0200
+++ Makefile	2010-04-13 11:37:41.000000000 +0200
@@ -18,9 +18,17 @@
 BUILD_DEPENDS=	xml2po:${PORTSDIR}/textproc/gnome-doc-utils
 LIB_DEPENDS=	canberra-gtk.0:${PORTSDIR}/audio/libcanberra \
-    		pulse.0:${PORTSDIR}/audio/pulseaudio \
+OPTIONS=	PULSE "Enable Pulse Audio support" off
+.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_PULSE)
+LIB_DEPENDS+=	pulse.0:${PORTSDIR}/audio/pulseaudio
 USE_BZIP2=	yes


More information about the freebsd-ports-bugs mailing list