Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 204754
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Sound Team <sound@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matthijs Kooijman <matthijs@stdin.nl>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pa-glib.diff Patch for 0.9.8-r6 patch Matthijs Kooijman 2008-01-07 14:27 0000 644 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 204754 depends on: Show dependency tree
Bug 204754 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-01-07 14:26 0000
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 From Matthijs Kooijman 2008-01-07 14:27:41 0000 -------
Created an attachment (id=140383) [details]
Patch for 0.9.8-r6

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2008-01-07 22:37:55 0000 -------
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 From Diego E. 'Flameeyes' Pettenò 2008-01-07 22:40:33 0000 -------
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 From Matthijs Kooijman 2008-01-11 12:57:45 0000 -------
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 From Matthijs Kooijman 2008-01-11 16:03:04 0000 -------
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 From Diego E. 'Flameeyes' Pettenò 2008-01-24 02:06:53 0000 -------
Fixed in 0.9.9-r1 (and -r2).

------- Comment #7 From Andrew Gaydenko 2008-01-24 07:39:27 0000 -------
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 From Diego E. 'Flameeyes' Pettenò 2008-01-24 09:27:17 0000 -------
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 From Andrew Gaydenko 2008-01-24 16:27:53 0000 -------
(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!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug