<?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>107832</bug_id>
          
          <creation_ts>2005-10-01 16:12 0000</creation_ts>
          <short_desc>media-sound/imp3sh-0.2.4 bump request</short_desc>
          <delta_ts>2007-05-12 18:31:35 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>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P4</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>adrian.fruehwirth@gmx.at</reporter>
          <assigned_to>sound@gentoo.org</assigned_to>
          <cc>tcort@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>adrian.fruehwirth@gmx.at</who>
            <bug_when>2005-10-01 16:12:06 0000</bug_when>
            <thetext>Version 0.2.4 out since Juli 2004, see ChangeLog (http://www.geocities.com/
kman_can/CHANGES-024.txt).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2005-10-16 13:55:36 0000</bug_when>
            <thetext>This requires libxaudio for me to test on amd64 (which is a binary), and I
didn&apos;t add the package initially, so bumping to sound herd</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tcort@gentoo.org</who>
            <bug_when>2006-01-11 21:14:48 0000</bug_when>
            <thetext>Created an attachment (id=76881)
imp3sd-0.2.4.ebuild

Attached is an ebuild copied from imp3sh-0.2.3.ebuild with the following changes...

The old ebuild had:
DEPEND=&quot;sys-libs/ncurses
     vorbis? ( media-libs/libvorbis
               media-libs/libao )&quot;

The new ebuild has:
DEPEND=&quot;sys-libs/ncurses
        media-libs/libvorbis
        media-libs/libogg
        media-libs/libao&quot;

Added libogg to DEPEND (it was missing[1]). Removed IUSE=&quot;vorbis&quot; as running
`USE=&quot;-vorbis&quot; emerge imp3sh` will still compile with vorbis support (assuming you have libvorbis libogg libao installed) because there is no enable/disable configure option for vorbis support.


The old ebuild had:
KEYWORDS=&quot;x86&quot;

The new ebuld has:
KEYWORDS=&quot;-* ~x86&quot;

This is done as the libxaudio[2] library included in the package is an x86 binary (ie you cannot compile this program on non-x86). Binaries for other arches exist, but if Gentoo wanted to distribute the library for other archs as a separate package, there would be license fees[3].

Related to the Xaudio library, I think that there might be a GPL violation here. imp3sh is LICENSE=&quot;GPL-2&quot;, but Xaudio is GPL-incompatible and doesn&apos;t fit the  &quot;from major parts of a proprietary operating system&quot; exception in the GPL, nor can I find a &quot;permission to link&quot; exception from the copyright holder. See the GPL FAQ[4] for more info.


When emerging imp3sh-0.2.4 with this ebuild I got the following QA Notice:
QA Notice: the following files contain executable stacks
 Files with executable stacks will not work properly (or at all!)
 on some architectures/operating systems.  A bug should be filed
 at http://bugs.gentoo.org/ to make sure the file is fixed.
RWX --- --- usr/bin/imp3sh

I followed the GNU Stack QuickStart[5], but I was not able to find/fix the problem.  
imp3sh-0.2.4 # scanelf -qeR .
RWX --- ---  ./work/imp3sh-0.2.4/imp3sh


I haven&apos;t done much testing of the program itself as my x86 box has no sound card presently (I&apos;m working to fix that ;), and I couldn&apos;t test it on my ppc, alpha, or sparc32 boxes because of the Xaudio library.


[1] List of dependencies at the bottom of the page
http://www.geocities.com/kman_can/

[2] Xaudio Homepage
http://xaudio.com

[3] Xaudio License Request Page
http://www.xaudio.com/license_request.html

[4] GNU GPL FAQ Linking GPL programs with GPL incompatible libraries
http://www.gnu.org/licenses/gpl-faq.html#GPLIncompatibleLibs

[5] Gentoo GNU Stack QuickStart
http://www.gentoo.org/proj/en/hardened/gnu-stack.xml</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>beandog@gentoo.org</who>
            <bug_when>2007-05-12 18:31:35 0000</bug_when>
            <thetext>in CVS, thanks for the ebuild</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>76881</attachid>
            <date>2006-01-11 21:14 0000</date>
            <desc>imp3sd-0.2.4.ebuild</desc>
            <filename>imp3sh-0.2.4.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA1IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6ICQKCmluaGVyaXQgZ251Y29uZmlnIHRvb2xjaGFpbi1mdW5jcwoKREVTQ1JJUFRJT049ImZs
ZXhpYmxlIHBsYXlsaXN0IG1hbmlwdWxhdGlvbiBzaGVsbCBhbmQgc29uZyBwbGF5ZXIvc3RyZWFt
ZXIiCkhPTUVQQUdFPSJodHRwOi8vd3d3Lmdlb2NpdGllcy5jb20va21hbl9jYW4vIgpTUkNfVVJJ
PSJodHRwOi8vd3d3Lmdlb2NpdGllcy5jb20va21hbl9jYW4vJHtQfS50YXIuZ3oiCgpMSUNFTlNF
PSJHUEwtMiIKU0xPVD0iMCIKS0VZV09SRFM9IiotIH54ODYiCgpERVBFTkQ9InN5cy1saWJzL25j
dXJzZXMKCW1lZGlhLWxpYnMvbGlidm9yYmlzCgltZWRpYS1saWJzL2xpYm9nZwoJbWVkaWEtbGli
cy9saWJhbyIKCnNyY191bnBhY2soKSB7Cgl1bnBhY2sgJHtBfQoKCWNkICR7U30KCWdudWNvbmZp
Z191cGRhdGUKfQoKc3JjX2NvbXBpbGUoKSB7CgllY29uZiB8fCBkaWUKCWVtYWtlIENDTEQ9JCh0
Yy1nZXRDWFgpIHx8IGRpZQp9CgpzcmNfaW5zdGFsbCgpIHsKCW1ha2UgREVTVERJUj0iJHtEfSIg
aW5zdGFsbCB8fCBkaWUKCWRvZG9jIFJFQURNRSogQ0hBTkdFUyB3ZWIvUkVBRE1FLmltcDN3ZWIg
d2ViL2ltcDN3ZWIucGhwIEVYQU1QTEUuaW1wM3NoIEVYVEVSTkFMLnBsYXllcnMKCSMgU29tZSBk
b2NzIGFyZSBsaW5lciBub3RlcyBpbiB0aGUgYWN0dWFsIC5jIGZpbGVzLiBVSEcuCglkb2RvYyBw
aXBlZC1pby9pbXAzc2gqLmMKfQo=
</data>        

          </attachment>
    </bug>

</bugzilla>