This requires libxaudio for me to test on amd64 (which is a binary), and I
didn't add the package initially, so bumping to sound herd
Created an attachment (id=76881) [details]
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="sys-libs/ncurses
vorbis? ( media-libs/libvorbis
media-libs/libao )"
The new ebuild has:
DEPEND="sys-libs/ncurses
media-libs/libvorbis
media-libs/libogg
media-libs/libao"
Added libogg to DEPEND (it was missing[1]). Removed IUSE="vorbis" as running
`USE="-vorbis" 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="x86"
The new ebuld has:
KEYWORDS="-* ~x86"
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="GPL-2", but Xaudio is GPL-incompatible and doesn't fit
the "from major parts of a proprietary operating system" exception in the GPL,
nor can I find a "permission to link" 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't done much testing of the program itself as my x86 box has no sound
card presently (I'm working to fix that ;), and I couldn'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