<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>204754</bug_id>
          
          <creation_ts>2008-01-07 14:26 0000</creation_ts>
          <short_desc>media-sound/pulseaudio-0.9.8-r6: Add glib use flag</short_desc>
          <delta_ts>2008-01-24 16:27:53 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>matthijs@stdin.nl</reporter>
          <assigned_to>sound@gentoo.org</assigned_to>
          <cc>a@gaydenko.com</cc>

      

      
          <long_desc isprivate="0">
            <who>matthijs@stdin.nl</who>
            <bug_when>2008-01-07 14:26:54 0000</bug_when>
            <thetext>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&apos;m attaching a (trivial) patch for 0.9.8-r6</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>matthijs@stdin.nl</who>
            <bug_when>2008-01-07 14:27:41 0000</bug_when>
            <thetext>Created an attachment (id=140383)
Patch for 0.9.8-r6

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2008-01-07 22:37:55 0000</bug_when>
            <thetext>I&apos;d rather wait for another change to make rather than doing a bump just for that, but I&apos;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.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2008-01-07 22:40:33 0000</bug_when>
            <thetext>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&apos;ll add a built_with_use check. If nothing fails, I might as well do the change and not even enable glib by default :)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>matthijs@stdin.nl</who>
            <bug_when>2008-01-11 12:57:45 0000</bug_when>
            <thetext>Okay, after compiling 200 packages, I discovered I forgot to unmask pulseaudio-0.9.8, which had the the glib patch :-)

I&apos;m recompiling the packages with dependencies now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>matthijs@stdin.nl</who>
            <bug_when>2008-01-11 16:03:04 0000</bug_when>
            <thetext>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&apos;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 &gt;= 0.9.2 libpulse-browse &gt;= 0.9.2 libpulse-mainloop-glib &gt;= 0.9.2 ) were not met:

	No package &apos;libpulse-mainloop-glib&apos; found

When compiling media-sound/paman-0.9.4
	checking for PULSE... configure: error: Package requirements ( libpulse &gt;= 0.9.5 libpulse-mainloop-glib &gt;= 0.9.5 ) were not met:

	No package &apos;libpulse-mainloop-glib&apos; found

When compiling media-sound/pavucontrol-0.9.5
	checking for PULSE... configure: error: Package requirements ( libpulse &gt;= 0.9.7 libpulse-mainloop-glib &gt;= 0.9.5 ) were not met:

	No package &apos;libpulse-mainloop-glib&apos; found

When compiling media-sound/pavumeter-0.9.3
	checking for PULSE... configure: error: Package requirements ( libpulse &gt;= 0.9.7 libpulse-mainloop-glib &gt;= 0.9.2 ) were not met:

	No package &apos;libpulse-mainloop-glib&apos; 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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2008-01-24 02:06:53 0000</bug_when>
            <thetext>Fixed in 0.9.9-r1 (and -r2).
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>a@gaydenko.com</who>
            <bug_when>2008-01-24 07:39:27 0000</bug_when>
            <thetext>Just now have tried to reinstall pulseaudio 0.9.9-r1 with &apos;glib&apos; flag set, but these packages still claims &quot;Missing glib use flag on media-sound/pulseaudio&quot;:

paman
paprefs
pavucontrol
pavumeter

Please. reopen the issue. Or - must I report bugs against each of these packages? :-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2008-01-24 09:27:17 0000</bug_when>
            <thetext>D&apos;oh! sorry the one I tested last night was the one that had already inherit in it.

Fixed now for all four of them.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>a@gaydenko.com</who>
            <bug_when>2008-01-24 16:27:53 0000</bug_when>
            <thetext>(In reply to comment #8)
&gt; D&apos;oh! sorry the one I tested last night was the one that had already inherit in
&gt; it.
&gt; 
&gt; Fixed now for all four of them.
&gt; 

Diego, thanks!
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>140383</attachid>
            <date>2008-01-07 14:27 0000</date>
            <desc>Patch for 0.9.8-r6</desc>
            <filename>pa-glib.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHB1bHNlYXVkaW8tMC45LjgtcjYuZWJ1aWxkCTIwMDctMTItMzEgMTE6MDU6NTIgKzAwMDAK
KysrIC91c3IvbG9jYWwvcG9ydGFnZS9tZWRpYS1zb3VuZC9wdWxzZWF1ZGlvL3B1bHNlYXVkaW8t
MC45LjgtcjYuZWJ1aWxkCTIwMDgtMDEtMDcgMTQ6MDg6MjcgKzAwMDAKQEAgLTIwLDcgKzIwLDcg
QEAKIAk+PW1lZGlhLWxpYnMvbGlic25kZmlsZS0xLjAuMTAKIAk+PWRldi1saWJzL2xpYm9pbC0w
LjMuNgogCWFsc2E/ICggPj1tZWRpYS1saWJzL2Fsc2EtbGliLTEuMC4xMCApCi0JPj1kZXYtbGli
cy9nbGliLTIuNC4wCisJZ2xpYj8gKCA+PWRldi1saWJzL2dsaWItMi40LjAgKQogCWF2YWhpPyAo
ID49bmV0LWRucy9hdmFoaS0wLjYuMTIgKQogCT49ZGV2LWxpYnMvbGlib2lsLTAuMy4wCiAJamFj
az8gKCA+PW1lZGlhLXNvdW5kL2phY2stYXVkaW8tY29ubmVjdGlvbi1raXQtMC4xMDAgKQpAQCAt
ODQsNyArODQsNyBAQAogc3JjX2NvbXBpbGUoKSB7CiAJZWNvbmYgXAogCQktLWVuYWJsZS1sYXJn
ZWZpbGUgXAotCQktLWVuYWJsZS1nbGliMiBcCisJCSQodXNlX2VuYWJsZSBnbGliIGdsaWIyKSBc
CiAJCS0tZGlzYWJsZS1zb2xhcmlzIFwKIAkJJCh1c2VfZW5hYmxlIGFzeW5jbnMpIFwKIAkJJCh1
c2VfZW5hYmxlIG9zcykgXAo=
</data>        

          </attachment>
    </bug>

</bugzilla>