Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204754 - media-sound/pulseaudio-0.9.8-r6: Add glib use flag
Summary: media-sound/pulseaudio-0.9.8-r6: Add glib use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-07 14:26 UTC by Matthijs Kooijman
Modified: 2008-01-24 16:27 UTC (History)
1 user (show)

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


Attachments
Patch for 0.9.8-r6 (pa-glib.diff,644 bytes, patch)
2008-01-07 14:27 UTC, Matthijs Kooijman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthijs Kooijman 2008-01-07 14:26:54 UTC
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
Comment 1 Matthijs Kooijman 2008-01-07 14:27:41 UTC
Created attachment 140383 [details, diff]
Patch for 0.9.8-r6
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-01-07 22:37:55 UTC
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.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-01-07 22:40:33 UTC
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 :)
Comment 4 Matthijs Kooijman 2008-01-11 12:57:45 UTC
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.
Comment 5 Matthijs Kooijman 2008-01-11 16:03:04 UTC
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
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-01-24 02:06:53 UTC
Fixed in 0.9.9-r1 (and -r2).
Comment 7 Andrew Gaydenko 2008-01-24 07:39:27 UTC
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? :-)
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-01-24 09:27:17 UTC
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.
Comment 9 Andrew Gaydenko 2008-01-24 16:27:53 UTC
(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!