Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413165 - media-sound/pulseaudio automagically builds against x11-libs/gtk+
Summary: media-sound/pulseaudio automagically builds against x11-libs/gtk+
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arun Raghavan (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-04-22 22:09 UTC by DaboD
Modified: 2012-06-13 11:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DaboD 2012-04-22 22:09:00 UTC
Without --disable-gtk2, pulseaudio always compile the gtk+-2.0 supporting part. In system without gtk+-2.0 installed, build fail while compiling, no dependency bring in.

--- pulseaudio-1.99.2.ebuild	2012-04-23 06:04:07.068048401 +0800
+++ pulseaudio-1.99.2-r1.ebuild	2012-04-23 05:58:19.101393068 +0800
@@ -126,6 +126,7 @@
 		$(use_enable webrtc-aec) \
 		$(use_with caps) \
 		$(use_with equalizer fftw) \
+		--disable-gtk2 \
 		--disable-adrian-aec \
 		--disable-esound \
 		--localstatedir="${EPREFIX}"/var \


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-24 14:45:56 UTC
(In reply to comment #0)
>  		$(use_with equalizer fftw) \
> +		--disable-gtk2 \
>  		--disable-adrian-aec \

So that should be $(use_enable gtk gtk2), since people might actually want this.
Comment 2 DaboD 2012-04-25 04:57:06 UTC
You are right.
Comment 3 Arun Raghavan (RETIRED) gentoo-dev 2012-06-13 11:56:03 UTC
Fixed in 2.0-r1.