Currently, the pulseaudio ebuild always depends on glib, even though the dependency is optional as far as pulseaudio is concerned. Please add a glib use flag to the ebuild to toggle glib support on and off. This is especially useful for embedded gentoo, where glib is not available. I'm attaching a (trivial) patch for 0.9.8-r6
Created attachment 140383 [details, diff] Patch for 0.9.8-r6
I'd rather wait for another change to make rather than doing a bump just for that, but I'll see if nothing comes up in a few days. I was already debating this with myself, if I do add one, it would be enabled by default with EAPI=1 though.
Actually, if you want to speed up this going in portage there is one thing you can help with :) Build pulseaudio with glib disabled, then try to build everything in tree that depends on rdepends on PulseAudio (with the USE flag enabled of course), look at http://tinderbox.dev.gentoo.org/misc/rindex/media-sound/pulseaudio and http://tinderbox.dev.gentoo.org/misc/dindex/media-sound/pulseaudio (why the two are different? o_O). If anything fails, looking for glib, report it here, so that I'll add a built_with_use check. If nothing fails, I might as well do the change and not even enable glib by default :)
Okay, after compiling 200 packages, I discovered I forgot to unmask pulseaudio-0.9.8, which had the the glib patch :-) I'm recompiling the packages with dependencies now.
Now, I compiled the ebuilds directly depending on pulseaudio again, except for: virtualbox (requires kernel sources) gst-plugins-pulse (required gst-plugins-base which I couldn't find) mumble (Compilation failed on OpenGL related stuff). I got a few configure errors: When compiling media-sound/padevchooser-0.9.3 checking for PULSE... configure: error: Package requirements ( libpulse >= 0.9.2 libpulse-browse >= 0.9.2 libpulse-mainloop-glib >= 0.9.2 ) were not met: No package 'libpulse-mainloop-glib' found When compiling media-sound/paman-0.9.4 checking for PULSE... configure: error: Package requirements ( libpulse >= 0.9.5 libpulse-mainloop-glib >= 0.9.5 ) were not met: No package 'libpulse-mainloop-glib' found When compiling media-sound/pavucontrol-0.9.5 checking for PULSE... configure: error: Package requirements ( libpulse >= 0.9.7 libpulse-mainloop-glib >= 0.9.5 ) were not met: No package 'libpulse-mainloop-glib' found When compiling media-sound/pavumeter-0.9.3 checking for PULSE... configure: error: Package requirements ( libpulse >= 0.9.7 libpulse-mainloop-glib >= 0.9.2 ) were not met: No package 'libpulse-mainloop-glib' found So, built_with_use should be added to: media-sound/padevchooser-0.9.3 media-sound/paman-0.9.4 media-sound/pavucontrol-0.9.5 media-sound/pavumeter-0.9.3 For the record, the ebuilds that compiled successfully are: app-accessibility/speech-dispatcher media-libs/libao media-libs/swfdec media-libs/xine-lib media-plugins/alsa-plugins media-plugins/audacious-plugins media-sound/herrie media-sound/mpd media-sound/mpg123 media-sound/paprefs media-video/mplayer net-www/libflashsupport
Fixed in 0.9.9-r1 (and -r2).
Just now have tried to reinstall pulseaudio 0.9.9-r1 with 'glib' flag set, but these packages still claims "Missing glib use flag on media-sound/pulseaudio": paman paprefs pavucontrol pavumeter Please. reopen the issue. Or - must I report bugs against each of these packages? :-)
D'oh! sorry the one I tested last night was the one that had already inherit in it. Fixed now for all four of them.
(In reply to comment #8) > D'oh! sorry the one I tested last night was the one that had already inherit in > it. > > Fixed now for all four of them. > Diego, thanks!