From: Martin Schlemmer <azarah@saintmail.net>
To: Gentoo-Dev <gentoo-dev@gentoo.org>
Cc: Gentoo-Ebuild <gentoo-ebuild@gentoo.org>
Subject: Re: [gentoo-dev] BitchX and esound
Date: Sun Sep 23 02:15:02 2001 [thread overview]
Message-ID: <1001232816.21964.59.camel@nosferatu.lan> (raw)
[-- Attachment #1: Type: text/plain, Size: 1464 bytes --]
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
[-- Attachment #2: esound-0.2.8.ebuild --]
[-- Type: text/plain, Size: 1638 bytes --]
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# /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
}
[-- Attachment #3: esddsp.c.diff --]
[-- Type: text/x-patch, Size: 424 bytes --]
*** esddsp.c Thu Feb 11 03:48:33 1999
--- esddsp.c.new Sun Sep 23 08:47:46 2001
***************
*** 34,39 ****
--- 34,45 ----
#include "config.h"
+ // Tempory hack to fix a wierd #define not passed to #includes problem
+ // Maybe someone with gcc 3.01 could try without .diff ?
+ #ifndef RTLD_NEXT
+ # define RTLD_NEXT ((void *) -1l)
+ #endif
+
#include <dlfcn.h>
#include <stdarg.h>
#include <stdlib.h>
next reply other threads:[~2001-09-23 8:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-23 2:15 Martin Schlemmer [this message]
2001-09-23 2:22 ` [gentoo-ebuild] Re: [gentoo-dev] BitchX and esound Martin Schlemmer
-- strict thread matches above, loose matches on Subject: below --
2001-09-22 21:22 Bruce A. Locke
2001-09-23 10:09 ` Mikael Hallendal
2001-09-23 10:31 ` Martin Schlemmer
2001-09-23 16:33 ` Bruce A. Locke
2001-09-23 16:44 ` Bruce A. Locke
2001-09-24 2:50 ` Mikael Hallendal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1001232816.21964.59.camel@nosferatu.lan \
--to=azarah@saintmail.net \
--cc=gentoo-dev@cvs.gentoo.org \
--cc=gentoo-dev@gentoo.org \
--cc=gentoo-ebuild@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox