summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-06-01 16:32:15 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-06-01 16:32:15 +0000
commit40eb3dfc6263c59125830b3a1937d59240cda61f (patch)
tree4865bd31fd6c23637c72d20cc2c29ae97d9a4fa1 /media-sound/esound
parentppc stable #270536 (diff)
downloadgentoo-2-40eb3dfc6263c59125830b3a1937d59240cda61f.tar.gz
gentoo-2-40eb3dfc6263c59125830b3a1937d59240cda61f.tar.bz2
gentoo-2-40eb3dfc6263c59125830b3a1937d59240cda61f.zip
Fix repoman warnings, clean old
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/esound')
-rw-r--r--media-sound/esound/esound-0.2.38-r1.ebuild80
-rw-r--r--media-sound/esound/esound-0.2.39.ebuild71
-rw-r--r--media-sound/esound/esound-0.2.40.ebuild71
-rw-r--r--media-sound/esound/esound-0.2.41.ebuild31
-rw-r--r--media-sound/esound/files/esound-0.2.32-amd64.patch20
-rw-r--r--media-sound/esound/files/esound-0.2.36-asneeded.patch22
-rw-r--r--media-sound/esound/files/esound-0.2.36-mode_t.patch16
-rw-r--r--media-sound/esound/files/esound-0.2.38-as-needed.patch12
-rw-r--r--media-sound/esound/files/esound-0.2.38-doc.patch23
-rw-r--r--media-sound/esound/files/esound-0.2.38-libtool-2.2.patch11
-rw-r--r--media-sound/esound/files/esound.init.d27
11 files changed, 11 insertions, 373 deletions
diff --git a/media-sound/esound/esound-0.2.38-r1.ebuild b/media-sound/esound/esound-0.2.38-r1.ebuild
deleted file mode 100644
index 5e6cc949b095..000000000000
--- a/media-sound/esound/esound-0.2.38-r1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/esound-0.2.38-r1.ebuild,v 1.10 2008/06/17 13:09:45 remi Exp $
-
-WANT_AUTOMAKE=1.10
-inherit libtool gnome.org eutils autotools flag-o-matic
-
-DESCRIPTION="The Enlightened Sound Daemon"
-HOMEPAGE="http://www.tux.org/~ricdude/EsounD.html"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
-IUSE="alsa debug doc ipv6 tcpd"
-
-# esound comes with arts support, but it hasn't been tested yet, feel free to
-# submit patches/improvements
-COMMON_DEPEND=">=media-libs/audiofile-0.1.5
- alsa? ( >=media-libs/alsa-lib-0.5.10b )
- doc? ( app-text/docbook-sgml-utils )
- tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )"
-# arts? ( kde-base/arts )
-
-DEPEND="${COMMON_DEPEND}
- dev-util/pkgconfig"
-
-RDEPEND="${COMMON_DEPEND}
- app-admin/eselect-esd"
-
-src_unpack() {
-
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-0.2.32-amd64.patch"
-
- epatch "${FILESDIR}/${PN}-0.2.36-mode_t.patch"
- epatch "${FILESDIR}/${PN}-0.2.38-as-needed.patch"
- epatch "${FILESDIR}/${PN}-0.2.38-doc.patch"
- epatch "${FILESDIR}/${PN}-0.2.38-libtool-2.2.patch"
-
- eautoreconf
-}
-
-src_compile() {
- # Strict aliasing problem
- append-flags -fno-strict-aliasing
-
- econf \
- --sysconfdir=/etc/esd \
- --htmldir=/usr/share/doc/${PF}/html \
- $(use_enable ipv6) \
- $(use_enable debug debugging) \
- $(use_enable alsa) \
- $(use_with tcpd libwrap) \
- --disable-dependency-tracking \
- || die "Configure failed"
-
- emake || die "Make failed"
-}
-
-src_install() {
- emake -j1 DESTDIR="${D}" install || die "Installation failed"
- mv "${D}/usr/bin/"{esd,esound-esd}
-
- dodoc AUTHORS ChangeLog MAINTAINERS NEWS README TIPS TODO
-
- newconfd "${FILESDIR}/esound.conf.d" esound
-
- extradepend=""
- use tcpd && extradepend=" portmap"
- use alsa && extradepend="$extradepend alsasound"
- sed -e "s/@extradepend@/$extradepend/" "${FILESDIR}/esound.init.d.2" >"${T}/esound"
- doinitd "${T}/esound"
-}
-
-pkg_postinst() {
- eselect esd update --if-unset \
- || die "eselect failed, try removing /usr/bin/esd and re-emerging."
-}
diff --git a/media-sound/esound/esound-0.2.39.ebuild b/media-sound/esound/esound-0.2.39.ebuild
deleted file mode 100644
index e39c9772ff65..000000000000
--- a/media-sound/esound/esound-0.2.39.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/esound-0.2.39.ebuild,v 1.2 2008/07/21 17:07:00 remi Exp $
-
-inherit libtool gnome.org eutils flag-o-matic
-
-DESCRIPTION="The Enlightened Sound Daemon"
-HOMEPAGE="http://www.tux.org/~ricdude/EsounD.html"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="alsa debug doc ipv6 tcpd"
-
-# esound comes with arts support, but it hasn't been tested yet, feel free to
-# submit patches/improvements
-COMMON_DEPEND=">=media-libs/audiofile-0.1.5
- alsa? ( >=media-libs/alsa-lib-0.5.10b )
- doc? ( app-text/docbook-sgml-utils )
- tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )"
-# arts? ( kde-base/arts )
-
-DEPEND="${COMMON_DEPEND}
- dev-util/pkgconfig"
-
-RDEPEND="${COMMON_DEPEND}
- app-admin/eselect-esd"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-0.2.39-fix-errno.patch"
-}
-
-src_compile() {
- # Strict aliasing problem
- append-flags -fno-strict-aliasing
-
- econf \
- --sysconfdir=/etc/esd \
- --htmldir=/usr/share/doc/${PF}/html \
- $(use_enable ipv6) \
- $(use_enable debug debugging) \
- $(use_enable alsa) \
- $(use_with tcpd libwrap) \
- --disable-dependency-tracking \
- || die "Configure failed"
-
- emake || die "Make failed"
-}
-
-src_install() {
- emake -j1 DESTDIR="${D}" install || die "Installation failed"
- mv "${D}/usr/bin/"{esd,esound-esd}
-
- dodoc AUTHORS ChangeLog MAINTAINERS NEWS README TIPS TODO
-
- newconfd "${FILESDIR}/esound.conf.d" esound
-
- extradepend=""
- use tcpd && extradepend=" portmap"
- use alsa && extradepend="$extradepend alsasound"
- sed -e "s/@extradepend@/$extradepend/" "${FILESDIR}/esound.init.d.2" >"${T}/esound"
- doinitd "${T}/esound"
-}
-
-pkg_postinst() {
- eselect esd update --if-unset \
- || die "eselect failed, try removing /usr/bin/esd and re-emerging."
-}
diff --git a/media-sound/esound/esound-0.2.40.ebuild b/media-sound/esound/esound-0.2.40.ebuild
deleted file mode 100644
index ed76c7d26cb2..000000000000
--- a/media-sound/esound/esound-0.2.40.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/esound-0.2.40.ebuild,v 1.1 2008/09/07 18:48:48 eva Exp $
-
-inherit libtool gnome.org eutils flag-o-matic
-
-DESCRIPTION="The Enlightened Sound Daemon"
-HOMEPAGE="http://www.tux.org/~ricdude/EsounD.html"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="alsa debug doc ipv6 tcpd"
-
-# esound comes with arts support, but it hasn't been tested yet, feel free to
-# submit patches/improvements
-COMMON_DEPEND=">=media-libs/audiofile-0.1.5
- alsa? ( >=media-libs/alsa-lib-0.5.10b )
- doc? ( app-text/docbook-sgml-utils )
- tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )"
-# arts? ( kde-base/arts )
-
-DEPEND="${COMMON_DEPEND}
- dev-util/pkgconfig"
-
-RDEPEND="${COMMON_DEPEND}
- app-admin/eselect-esd"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-0.2.39-fix-errno.patch"
-}
-
-src_compile() {
- # Strict aliasing problem
- append-flags -fno-strict-aliasing
-
- econf \
- --sysconfdir=/etc/esd \
- --htmldir=/usr/share/doc/${PF}/html \
- $(use_enable ipv6) \
- $(use_enable debug debugging) \
- $(use_enable alsa) \
- $(use_with tcpd libwrap) \
- --disable-dependency-tracking \
- || die "Configure failed"
-
- emake || die "Make failed"
-}
-
-src_install() {
- emake -j1 DESTDIR="${D}" install || die "Installation failed"
- mv "${D}/usr/bin/"{esd,esound-esd}
-
- dodoc AUTHORS ChangeLog MAINTAINERS NEWS README TIPS TODO
-
- newconfd "${FILESDIR}/esound.conf.d" esound
-
- extradepend=""
- use tcpd && extradepend=" portmap"
- use alsa && extradepend="$extradepend alsasound"
- sed -e "s/@extradepend@/$extradepend/" "${FILESDIR}/esound.init.d.2" >"${T}/esound"
- doinitd "${T}/esound"
-}
-
-pkg_postinst() {
- eselect esd update --if-unset \
- || die "eselect failed, try removing /usr/bin/esd and re-emerging."
-}
diff --git a/media-sound/esound/esound-0.2.41.ebuild b/media-sound/esound/esound-0.2.41.ebuild
index 996adbbb854b..9903155f3d27 100644
--- a/media-sound/esound/esound-0.2.41.ebuild
+++ b/media-sound/esound/esound-0.2.41.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/esound-0.2.41.ebuild,v 1.8 2009/03/05 22:30:18 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/esound-0.2.41.ebuild,v 1.9 2009/06/01 16:32:15 ssuominen Exp $
+EAPI=2
inherit libtool gnome.org eutils flag-o-matic
DESCRIPTION="The Enlightened Sound Daemon"
@@ -12,13 +13,10 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE="alsa debug doc ipv6 tcpd"
-# esound comes with arts support, but it hasn't been tested yet, feel free to
-# submit patches/improvements
COMMON_DEPEND=">=media-libs/audiofile-0.2.3
- alsa? ( >=media-libs/alsa-lib-0.5.10b )
+ alsa? ( media-libs/alsa-lib )
doc? ( app-text/docbook-sgml-utils )
tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )"
-# arts? ( kde-base/arts )
DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig"
@@ -26,34 +24,27 @@ DEPEND="${COMMON_DEPEND}
RDEPEND="${COMMON_DEPEND}
app-admin/eselect-esd"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-0.2.39-fix-errno.patch"
-
- # Fix compilation with USE="debug"
- epatch "${FILESDIR}/${P}-debug.patch"
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-0.2.39-fix-errno.patch" \
+ "${FILESDIR}/${P}-debug.patch"
}
-src_compile() {
- # Strict aliasing problem
+src_configure() {
+ # Strict aliasing issues
append-flags -fno-strict-aliasing
econf \
--sysconfdir=/etc/esd \
--htmldir=/usr/share/doc/${PF}/html \
+ --disable-dependency-tracking \
$(use_enable ipv6) \
$(use_enable debug debugging) \
$(use_enable alsa) \
- $(use_with tcpd libwrap) \
- --disable-dependency-tracking
-
- emake || die "Make failed"
+ $(use_with tcpd libwrap)
}
src_install() {
- emake -j1 DESTDIR="${D}" install || die "Installation failed"
+ emake -j1 DESTDIR="${D}" install || die "emake install failed"
mv "${D}/usr/bin/"{esd,esound-esd}
dodoc AUTHORS ChangeLog MAINTAINERS NEWS README TIPS TODO
diff --git a/media-sound/esound/files/esound-0.2.32-amd64.patch b/media-sound/esound/files/esound-0.2.32-amd64.patch
deleted file mode 100644
index 22c81bcdf561..000000000000
--- a/media-sound/esound/files/esound-0.2.32-amd64.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/clients.c 2003-07-05 10:32:07.000000000 -0400
-+++ b/clients.c 2004-02-03 23:34:29.000000000 -0500
-@@ -155,7 +155,7 @@
- if ( esd_use_ipv6 ) {
- char addrbuf[INET6_ADDRSTRLEN];
-
-- fd = accept( listen,(struct sockaddr *)&incoming6, &size_in6 );
-+ fd = accept( listen,(struct sockaddr *)&incoming6, (socklen_t *) &size_in6 );
- if ( fd < 0 )
- goto again;
- port = ntohs( incoming6.sin6_port );
-@@ -168,7 +168,7 @@
- else
- #endif
- {
-- fd = accept( listen, (struct sockaddr*) &incoming, &size_in );
-+ fd = accept( listen, (struct sockaddr*) &incoming, (socklen_t *) &size_in );
- if ( fd < 0 )
- goto again;
- port = ntohs( incoming.sin_port );
diff --git a/media-sound/esound/files/esound-0.2.36-asneeded.patch b/media-sound/esound/files/esound-0.2.36-asneeded.patch
deleted file mode 100644
index fc0a6a9a83a7..000000000000
--- a/media-sound/esound/files/esound-0.2.36-asneeded.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- esound-0.2.36/Makefile.am.orig 2006-05-19 08:37:00.000000000 -0700
-+++ esound-0.2.36/Makefile.am 2006-05-19 08:31:56.000000000 -0700
-@@ -60,7 +60,7 @@
- audio_win32.c
-
- libesddsp_la_LDFLAGS = -version-info $(ESD_VERSION_INFO)
--libesddsp_la_LIBADD = $(DL_LIB) -lm
-+libesddsp_la_LIBADD = libesd.la $(DL_LIB) -lm
-
- libesddsp_la_SOURCES = \
- esddsp.c
---- esound-0.2.36/Makefile.in.orig 2006-05-19 08:37:25.000000000 -0700
-+++ esound-0.2.36/Makefile.in 2006-05-19 08:32:35.000000000 -0700
-@@ -374,7 +374,7 @@
- audio_win32.c
-
- libesddsp_la_LDFLAGS = -version-info $(ESD_VERSION_INFO)
--libesddsp_la_LIBADD = $(DL_LIB) -lm
-+libesddsp_la_LIBADD = libesd.la $(DL_LIB) -lm
- libesddsp_la_SOURCES = \
- esddsp.c
-
diff --git a/media-sound/esound/files/esound-0.2.36-mode_t.patch b/media-sound/esound/files/esound-0.2.36-mode_t.patch
deleted file mode 100644
index b7b610e71de2..000000000000
--- a/media-sound/esound/files/esound-0.2.36-mode_t.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Index: esound-0.2.36/esddsp.c
-===================================================================
---- esound-0.2.36.orig/esddsp.c
-+++ esound-0.2.36/esddsp.c
-@@ -227,7 +227,10 @@ open (const char *pathname, int flags, .
- dsp_init ();
-
- va_start (args, flags);
-- mode = va_arg (args, mode_t);
-+ if ( sizeof(mode_t) < sizeof(int) )
-+ mode = va_arg (args, int);
-+ else
-+ mode = va_arg (args, mode_t);
- va_end (args);
-
- if (!strcmp (pathname, "/dev/dsp"))
diff --git a/media-sound/esound/files/esound-0.2.38-as-needed.patch b/media-sound/esound/files/esound-0.2.38-as-needed.patch
deleted file mode 100644
index 6da0befce592..000000000000
--- a/media-sound/esound/files/esound-0.2.38-as-needed.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN esound-0.2.38.orig/Makefile.am esound-0.2.38/Makefile.am
---- esound-0.2.38.orig/Makefile.am 2007-04-19 10:43:59.000000000 -0400
-+++ esound-0.2.38/Makefile.am 2007-05-30 11:03:00.000000000 -0400
-@@ -61,7 +61,7 @@ AUDIO_BACKENDS = \
- audio_win32.c
-
- libesddsp_la_LDFLAGS = -version-info $(ESD_VERSION_INFO)
--libesddsp_la_LIBADD = $(DL_LIB) -lm libesd.la
-+libesddsp_la_LIBADD = libesd.la $(DL_LIB) -lm
-
- libesddsp_la_SOURCES = \
- esddsp.c
diff --git a/media-sound/esound/files/esound-0.2.38-doc.patch b/media-sound/esound/files/esound-0.2.38-doc.patch
deleted file mode 100644
index a873b90b664f..000000000000
--- a/media-sound/esound/files/esound-0.2.38-doc.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- configure.ac.old 2007-09-09 09:28:00.000000000 +0200
-+++ configure.ac 2007-09-09 09:28:12.000000000 +0200
-@@ -25,9 +25,6 @@
- AC_SUBST(ESD_VERSION)
- AC_SUBST(ESD_VERSION_INFO)
-
--pkgdocdir="\$(datadir)/doc/esound"
--AC_SUBST(pkgdocdir)
--
- AC_PROG_CC
- AC_PROG_CPP
- AC_LIBTOOL_WIN32_DLL
---- docs/Makefile.am.old 2007-09-09 09:37:28.000000000 +0200
-+++ docs/Makefile.am 2007-09-09 09:38:59.000000000 +0200
-@@ -14,8 +14,6 @@
-
- CLEANFILES = esound.dvi esound.ps esound.tex esound.aux esound.log
-
--htmldir=$(pkgdocdir)/html
--
- if HAVE_JW
- noinst_DATA = html/index.html
- else
diff --git a/media-sound/esound/files/esound-0.2.38-libtool-2.2.patch b/media-sound/esound/files/esound-0.2.38-libtool-2.2.patch
deleted file mode 100644
index 2fda800011e7..000000000000
--- a/media-sound/esound/files/esound-0.2.38-libtool-2.2.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ur esound-0.2.38.old/configure.ac esound-0.2.38/configure.ac
---- esound-0.2.38.old/configure.ac 2008-05-07 10:12:51.000000000 +0200
-+++ esound-0.2.38/configure.ac 2008-05-07 10:16:05.000000000 +0200
-@@ -26,6 +26,7 @@
- AC_SUBST(ESD_VERSION_INFO)
-
- AC_PROG_CC
-+AC_PROG_CXX
- AC_PROG_CPP
- AC_LIBTOOL_WIN32_DLL
- AM_PROG_LIBTOOL
diff --git a/media-sound/esound/files/esound.init.d b/media-sound/esound/files/esound.init.d
deleted file mode 100644
index d578d0255aea..000000000000
--- a/media-sound/esound/files/esound.init.d
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/files/esound.init.d,v 1.5 2004/07/14 22:47:41 agriffis Exp $
-
-# Note: You need to start esound on boot, only if you want to use it over network.
-
-# Warning: To use global esound daemon, you must also set spawn_options
-# in /etc/esd/esd.conf to the same protocol (i. e. add "-tcp") and unset
-# "Enable sound server startup" in gnome-sound-properties for all users
-# and optionally handle authentization.
-
-depend() {
- use net@extradepend@
-}
-
-start() {
- ebegin "Starting esound"
- start-stop-daemon --start --quiet --background --exec /usr/bin/esd -- $ESD_START $ESD_OPTIONS
- eend $?
-}
-
-stop() {
- ebegin "Stopping esound"
- start-stop-daemon --stop --quiet --exec /usr/bin/esd
- eend $?
-}