Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-dev
On Sun, 2001-09-23 at 05:22, Bruce A. Locke wrote:
>
> Hello... Enabling sound support in BitchX requires esound 0.2.5 or
better.
> The only version of esound we have in portage is 0.2.22. The problem
> with this is that 0.2.22 is _not_ newer then 0.2.5. And with sound
> support enabled BitchX's configure script bombs horribly so for now
I've
> commented out such support from BitchX's ebuild.
>
> So we have two issues, the first is the esound versioning problem.
The
> second was I couldn't get esound 0.2.8 to compile anyways after 15
minutes
> of playing with it. :(
>
> Any comments?
hi
ok, attached is esound-0.2.8.ebuild and esddsp.c.diff (which should go
in the files dir).
i had to patch esddsp because it needs RTLD_NEXT defined in #include
<dlfcn.h>. only problem is, for it to get defined, __USE_GNU needs to
be defined. but for some wierd reason even if defineing it in esddsp.d,
it does not get passed to #include <dlfcn.h> as being defined. i am on
gcc-2.95.3-r5, if someone can trie with another version (gcc 3.01 ??),
it would be appreciated.
also there is problems with ALSA support, so i disabled it. i dont use
ALSA so im assuming esd should work ok with ALSA OSS emolution ?!?
dont know what the problem is, but it seems the version of ALSA that
gentoo use dont have all the strucktures and functions esound-0.2.8
needs defined ... same with 0.2.7, so maybe we need to use a newer
version of ALSA (0.9 maybe ?).
greetings
MS
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@g.o>
# /home/cvsroot/gentoo-x86/media-sound/esound/esound-0.2.22-r2.ebuild,v 1.2 2001/06/11 08:11:28 hallski Exp
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="esound"
SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/esound/${A}
ftp://download.sourceforge.net/pub/mirrors/gnome/stable/sources/esound/${A}"
HOMEPAGE="http://www.tux.org/~ricdude/EsounD.html"
DEPEND="virtual/glibc
alsa? ( >=media-libs/alsa-lib-0.5.9 )
>=media-libs/audiofile-0.1.9
tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )"
RDEPEND="virtual/glibc
alsa? ( >=media-libs/alsa-lib-0.5.9 )
>=media-libs/audiofile-0.1.9"
src_unpack() {
unpack ${A}
cd ${S}
patch -p0 <${FILESDIR}/esddsp.c.diff || die
}
src_compile() {
local myconf
if [ "`use tcpd`" ]
then
myconf="--with-libwrap"
else
myconf="--without-libwrap"
fi
# ALSA support broken ... need newer ALSA ?
# if [ "`use alsa`" ]
# then
# myconf="$myconf --enable-alsa"
# else
myconf="$myconf --enable-alsa=no"
# fi
./configure --host=${CHOST} --prefix=/usr \
--sysconfdir=/etc/esd $myconf || die
pmake || die
}
src_install() {
cd ${S}
make prefix=${D}/usr sysconfdir=${D}/etc/esd install || die
dodoc AUTHORS COPYING* ChangeLog README TODO
dodoc NEWS TIPS
dodoc docs/esound.ps
docinto html
dodoc docs/html/*.html docs/html/*.css
docinto html/stylesheet-images
dodoc docs/html/stylesheet-images/*.gif
}
|
|