<?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>233602</bug_id>
          
          <creation_ts>2008-08-01 14:50 0000</creation_ts>
          <short_desc>media-libs/swfdec-0.6.6-r1 USE=-alsa - checking for ALSA... configure: error: Package requirements (alsa &gt;= 1.0) were not met</short_desc>
          <delta_ts>2008-08-26 10:18:12 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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo@dstutz.com</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>gentoo@dstutz.com</who>
            <bug_when>2008-08-01 14:50:20 0000</bug_when>
            <thetext>Build died with:
checking for ALSA... configure: error: Package requirements (alsa &gt;= 1.0) were not met:

No package &apos;alsa&apos; found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ALSA_CFLAGS
and ALSA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

System in question is a server and I don&apos;t have any sound hardware and I don&apos;t have alsa USE flag enabled.

depgraph of why the package is getting pulled in:
[nomerge      ] gnome-base/gnome-2.22.2 [2.20.3] USE=&quot;-accessibility -cdr -cups -dvdr -esd -ldap -mono&quot;
[ebuild     U ]  x11-libs/vte-0.16.14 [0.16.13] USE=&quot;-debug -doc opengl python&quot; 0 kB
[ebuild     U ]  gnome-base/gnome-menus-2.22.2 [2.20.3] USE=&quot;-debug python&quot; 0 kB
[ebuild     U ]   dev-python/pygtk-2.12.1-r2 [2.12.0] USE=&quot;X%* -doc -examples (-opengl%*)&quot; 0 kB
[ebuild     U ]  gnome-extra/gcalctool-5.22.3 [5.20.2] USE=&quot;-debug&quot; 0 kB
[ebuild  N    ]  gnome-extra/swfdec-gnome-2.22.2  USE=&quot;-debug&quot; 0 kB
[ebuild  N    ]   media-libs/swfdec-0.6.6-r1  USE=&quot;-alsa -doc -ffmpeg -gstreamer gtk -oss -pulseaudio&quot; 0 kB


Reproducible: Always



Expected Results:  
Expected it to not complain about alsa when -alsa is in use for the package.

Can the package be built without any sound support whatsoever?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ford_prefect@gentoo.org</who>
            <bug_when>2008-08-04 10:08:00 0000</bug_when>
            <thetext>(In reply to comment #0)
[...]
&gt; Can the package be built without any sound support whatsoever?

Yes it can. There is a --with-audio=none option that should, in a sense, be the default for the myconf variable. I&apos;ll get to this as soon as my internet connection gets fixed. If anyone else feels like beating me to it, you&apos;re welcome ... :D</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nirbheek@gentoo.org</who>
            <bug_when>2008-08-07 00:43:55 0000</bug_when>
            <thetext>Created an attachment (id=162402)
Patch to ebuild to fix audio=none issue, and pa/alsa/oss order issues

(In reply to comment #1)
&gt; Yes it can. There is a --with-audio=none option that should, in a sense, be the
&gt; default for the myconf variable. I&apos;ll get to this as soon as my internet
&gt; connection gets fixed. If anyone else feels like beating me to it, you&apos;re
&gt; welcome ... :D
&gt; 

Hah! I beat you to it! You suck! (among other things) ;p

Contributions to the attached ebuild patch came from: Cardoe, Ford_Prefect, leio, and a few other guys on #-desktop :p</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ford_prefect@gentoo.org</who>
            <bug_when>2008-08-17 20:28:17 0000</bug_when>
            <thetext>Thanks for the patch - fixed in CVS without bump (0.6.8 and 0.7.4 to make future bumps easier).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@dstutz.com</who>
            <bug_when>2008-08-26 10:18:12 0000</bug_when>
            <thetext>Thanks guys, I was able to merge media-libs/swfdec-0.6.8 this morning.  I kept trying the old one and missed the fact that you said 0.6.8 :)</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>162402</attachid>
            <date>2008-08-07 00:43 0000</date>
            <desc>Patch to ebuild to fix audio=none issue, and pa/alsa/oss order issues</desc>
            <filename>fix-swfdec-audio-backend-logic.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9tZWRpYS1saWJzL3N3ZmRlYy9zd2ZkZWMtMC42LjguZWJ1aWxkCTIw
MDgtMDctMzAgMjE6MDk6MDYuMDAwMDAwMDAwICswNTMwCisrKyAvdXNyL2xvY2FsL3BvcnRhZ2Uv
bWVkaWEtbGlicy9zd2ZkZWMvc3dmZGVjLTAuNi44LmVidWlsZAkyMDA4LTA4LTA1IDAxOjM4OjMy
LjEyMDk1MDY5NyArMDUzMApAQCAtNCw3ICs0LDcgQEAKIAogRUFQST0xCiAKLWluaGVyaXQgZXV0
aWxzIHZlcnNpb25hdG9yIGNvbmZ1dGlscworaW5oZXJpdCBldXRpbHMgdmVyc2lvbmF0b3IKIAog
TVlfUFY9JChnZXRfdmVyc2lvbl9jb21wb25lbnRfcmFuZ2UgMS0yKQogREVTQ1JJUFRJT049Ik1h
Y3JvbWVkaWEgRmxhc2ggZGVjb2RpbmcgbGlicmFyeSIKQEAgLTUxLDE2ICs1MSwyMCBAQAogCQll
d2FybiAiYXMgc3VjaCBpdCByZXF1aXJlcyB0aGUgJ2dzdHJlYW1lcicgVVNFIGZsYWcgdG8gYmUg
ZW5hYmxlZC4iCiAJZmkKIAotCWNvbmZ1dGlsc191c2VfY29uZmxpY3Qgb3NzIGFsc2EgcHVsc2Vh
dWRpbworCWlmI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