* Re: [gentoo-dev] BitchX and esound
@ 2001-09-23 2:15 Martin Schlemmer
2001-09-23 2:22 ` [gentoo-ebuild] " Martin Schlemmer
0 siblings, 1 reply; 8+ messages in thread
From: Martin Schlemmer @ 2001-09-23 2:15 UTC (permalink / raw
To: Gentoo-Dev; +Cc: Gentoo-Ebuild
[-- 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>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-dev] BitchX and esound
@ 2001-09-22 21:22 Bruce A. Locke
2001-09-23 10:09 ` Mikael Hallendal
0 siblings, 1 reply; 8+ messages in thread
From: Bruce A. Locke @ 2001-09-22 21:22 UTC (permalink / raw
To: gentoo-dev
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?
---------------------------------------------------------------------
Bruce A. Locke
blocke@shivan.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] BitchX and esound
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
0 siblings, 2 replies; 8+ messages in thread
From: Mikael Hallendal @ 2001-09-23 10:09 UTC (permalink / raw
To: gentoo-dev
s_ 2001-09-23 klockan 05.22 skrev Bruce A. Locke:
>
> 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.
Hmm .. I built it with esound-support yesterday (esound 0.2.22-r2).
No problems at all.
Btw, what idiot would name the package so that 0.2.22 is not newer than
0.2.5?
Regards,
Mikael Hallendal
--
Mikael Hallendal micke@codefactory.se
CodeFactory AB http://www.codefactory.se/
Office: +46 (0)8 587 583 05 Cell: +46 (0)709 718 918
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] BitchX and esound
2001-09-23 10:09 ` Mikael Hallendal
@ 2001-09-23 10:31 ` Martin Schlemmer
2001-09-23 16:33 ` Bruce A. Locke
1 sibling, 0 replies; 8+ messages in thread
From: Martin Schlemmer @ 2001-09-23 10:31 UTC (permalink / raw
To: gentoo-dev
On Sun, 2001-09-23 at 17:14, Mikael Hallendal wrote:
> Hmm .. I built it with esound-support yesterday (esound 0.2.22-r2).
>
> No problems at all.
>
> Btw, what idiot would name the package so that 0.2.22 is not newer than
> 0.2.5?
dont i just feel stupid now ? thought the porblem was that 0.2.8 was
newer than 0.2.22 and spend too much time to try and fix. just show you
that it cant hurt to verify stuff ;p
MS
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] BitchX and esound
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
1 sibling, 1 reply; 8+ messages in thread
From: Bruce A. Locke @ 2001-09-23 16:33 UTC (permalink / raw
To: gentoo-dev
On 23 Sep 2001 17:14:18 +0200
Mikael Hallendal <micke@codefactory.se> wrote:
> Btw, what idiot would name the package so that 0.2.22 is not newer than
> 0.2.5?
I'm assuming this is the case because the test for 0.2.5+ fails in the
BitchX configure script and the authors website shows 0.2.8 as the most
recent version. Either way BitchX isn't building for me with 0.2.22.
---------------------------------------------------------------------
Bruce A. Locke
blocke@shivan.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] BitchX and esound
2001-09-23 16:33 ` Bruce A. Locke
@ 2001-09-23 16:44 ` Bruce A. Locke
2001-09-24 2:50 ` Mikael Hallendal
0 siblings, 1 reply; 8+ messages in thread
From: Bruce A. Locke @ 2001-09-23 16:44 UTC (permalink / raw
To: gentoo-dev
On Sun, 23 Sep 2001 18:32:41 -0400
"Bruce A. Locke" <blocke@shivan.org> wrote:
Ah someone shoot me... I found the source of the problem... Whoever did
the original -r3 BitchX ebuild forgot about the makefile, etc patch we
have in the files directory. I checked in a copy of the patch for -r3
while trying to debug stuff and thats probably why it started building for
other people after I complained. :( With this patch BitchX now detected
esound fine.
Sorry everyone...
> On 23 Sep 2001 17:14:18 +0200
> Mikael Hallendal <micke@codefactory.se> wrote:
>
> > Btw, what idiot would name the package so that 0.2.22 is not newer
than
> > 0.2.5?
>
> I'm assuming this is the case because the test for 0.2.5+ fails in the
> BitchX configure script and the authors website shows 0.2.8 as the most
> recent version. Either way BitchX isn't building for me with 0.2.22.
>
> ---------------------------------------------------------------------
> Bruce A. Locke
> blocke@shivan.org
>
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
>
---------------------------------------------------------------------
Bruce A. Locke
blocke@shivan.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] BitchX and esound
2001-09-23 16:44 ` Bruce A. Locke
@ 2001-09-24 2:50 ` Mikael Hallendal
0 siblings, 0 replies; 8+ messages in thread
From: Mikael Hallendal @ 2001-09-24 2:50 UTC (permalink / raw
To: gentoo-dev
mån 2001-09-24 klockan 00.44 skrev Bruce A. Locke:
> On Sun, 23 Sep 2001 18:32:41 -0400
> "Bruce A. Locke" <blocke@shivan.org> wrote:
>
> Ah someone shoot me... I found the source of the problem... Whoever did
> the original -r3 BitchX ebuild forgot about the makefile, etc patch we
> have in the files directory. I checked in a copy of the patch for -r3
> while trying to debug stuff and thats probably why it started building for
> other people after I complained. :( With this patch BitchX now detected
> esound fine.
Hi!
I made the -r3 BitchX ebuild. I merged bitchx and bitchx-gtk into a
single ebuild which used esd and gnome USE-flags.
The patch should probably be named bitchx-1.0.18-gentoo.diff instead. I
makes no sense to have that kind of patch named with revision.
Regards,
Mikael Hallendal
--
Mikael Hallendal micke@codefactory.se
CodeFactory AB http://www.codefactory.se/
Office: +46 (0)8 587 583 05 Cell: +46 (0)709 718 918
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2001-09-24 8:49 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-23 2:15 [gentoo-dev] BitchX and esound Martin Schlemmer
2001-09-23 2:22 ` [gentoo-ebuild] " 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox