Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2010 09:39:23 GMT
From:      Demelier David <demelier.david@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/145669: audio/gnome-media hard dep on pulseaudio
Message-ID:  <201004130939.o3D9dNfC030303@www.freebsd.org>
Resent-Message-ID: <201004130940.o3D9e398045012@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004130939.o3D9dNfC030303>