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
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 13 09:40:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Demelier David
>Release: 8.0-RELEASE
>Organization:
>Environment:
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
>Description:
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.
>How-To-Repeat:
cd /usr/ports/x11/gnome2-lite && make config-recursive
#
# remove pulseaudio
#
make missing | grep -i pulse
echo $? # show 0 ;)
>Fix:
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 \
unique-1.0.2:${PORTSDIR}/x11-toolkits/unique
+OPTIONS= PULSE "Enable Pulse Audio support" off
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_PULSE)
+LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
+PLIST_SUB+= PULSE=""
+.endif
+
USE_BZIP2= yes
USE_GETTEXT= yes
INSTALLS_OMF= yes
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list