esound: Remove this obsolete package

Users migrated to PulseAudio 10 years ago.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Adrian Bunk
2019-07-03 23:56:24 +03:00
committed by Khem Raj
parent d10c707dca
commit 6ab4819af9
6 changed files with 1 additions and 150 deletions
@@ -190,7 +190,7 @@ RDEPENDS_packagegroup-meta-oe-kernel_remove_mips64 = "crash"
RDEPENDS_packagegroup-meta-oe-kernel_remove_mips64el = "crash" RDEPENDS_packagegroup-meta-oe-kernel_remove_mips64el = "crash"
RDEPENDS_packagegroup-meta-oe-multimedia ="\ RDEPENDS_packagegroup-meta-oe-multimedia ="\
alsa-oss audiofile cdrkit esound id3lib \ alsa-oss audiofile cdrkit id3lib \
a2jmidid jack libass libburn libcdio libcdio-paranoia \ a2jmidid jack libass libburn libcdio libcdio-paranoia \
libdvdread libmms libmodplug libopus live555 \ libdvdread libmms libmodplug libopus live555 \
mplayer-common opus-tools \ mplayer-common opus-tools \
@@ -1,24 +0,0 @@
From 945df2da87a412758ceab4ac5711abbb269a47c1 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 8 Jun 2017 23:09:51 -0700
Subject: [PATCH] audio_alsa09.c: alsa drain fix
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
audio_alsa09.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/audio_alsa09.c b/audio_alsa09.c
index 534e3db..d9450e6 100644
--- a/audio_alsa09.c
+++ b/audio_alsa09.c
@@ -506,7 +506,7 @@ void esd_audio_flush(void)
}
if (alsa_playback_handle != NULL)
- snd_pcm_drain( alsa_playback_handle );
+ snd_pcm_drop( alsa_playback_handle );
if (alsadbg)
print_state();
@@ -1,33 +0,0 @@
From e218d5a0a545ebb9623d62da5cfca478f9c90fce Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 8 Jun 2017 23:11:31 -0700
Subject: [PATCH] Undefine open64 and fopen64
Since the signatures do not match with libc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
esddsp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/esddsp.c b/esddsp.c
index d3c6ea9..17b5949 100644
--- a/esddsp.c
+++ b/esddsp.c
@@ -290,6 +290,7 @@ open (const char *pathname, int flags, ...)
return open_wrapper(func, pathname, flags, mode);
}
+#undef open64
int
open64 (const char *pathname, int flags, ...)
{
@@ -374,6 +375,7 @@ fopen (const char *path, const char *mode)
return fopen_wrapper(func, path, mode);
}
+#undef fopen64
FILE *
fopen64 (const char *path, const char *mode)
{
@@ -1,36 +0,0 @@
From 89c62db54716d514e639f9e1bfd3c1f7d82641dd Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 8 Jun 2017 23:12:36 -0700
Subject: [PATCH] Use -I=<path> in configure
This helps to use proper sysroot in
cross build environment
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 5645dce..d374cda 100644
--- a/configure.ac
+++ b/configure.ac
@@ -208,7 +208,7 @@ if test "x$enable_local_sound" = "xyes"; then
AC_CHECK_HEADERS(CoreAudio/CoreAudio.h)
# mme_api.h directly includes other files from the mme subdir
xCPPFLAGS="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS -I/usr/include/mme"
+ CPPFLAGS="$CPPFLAGS -I=/usr/include/mme"
AC_CHECK_HEADERS(mme/mme_api.h)
CPPFLAGS="$xCPPFLAGS"
AM_PATH_ARTS(, HAVE_ARTS=yes, HAVE_ARTS=no)
@@ -269,7 +269,7 @@ if test "x$enable_local_sound" = "xyes"; then
osf*)
found_sound=yes
AC_DEFINE(DRIVER_OSF, 1, [Defined if OSF backend is enabled])
- CPPFLAGS="$CPPFLAGS -I/usr/include/mme"
+ CPPFLAGS="$CPPFLAGS -I=/usr/include/mme"
SOUND_LIBS=-lmme
esac
fi
@@ -1,19 +0,0 @@
From bfcaa9bdc70440db96f10afc0c2a792870f75acb Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Fri, 3 Jun 2011 19:39:02 +0200
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 08c4c94..ede9d26 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
-SUBDIRS = docs
+SUBDIRS =
ACLOCAL_AMFLAGS = -I m4
@@ -1,37 +0,0 @@
SUMMARY = "Enlightened Sound Daemon"
SECTION = "gpe/base"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605"
DEPENDS = "audiofile"
inherit gnome
SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/esound/0.2/${BP}.tar.bz2;name=archive \
file://no-docs.patch \
file://0001-audio_alsa09.c-alsa-drain-fix.patch \
file://0002-Undefine-open64-and-fopen64.patch \
file://0003-Use-I-path-in-configure.patch \
"
SRC_URI[archive.md5sum] = "8d9aad3d94d15e0d59ba9dc0ea990c6c"
SRC_URI[archive.sha256sum] = "5eb5dd29a64b3462a29a5b20652aba7aa926742cef43577bf0796b787ca34911"
EXTRA_OECONF += " \
--disable-arts \
--disable-artstest \
"
EXTRA_OECONF_remove = "--disable-schemas-install"
CFLAGS += "-lm"
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
PACKAGECONFIG[libwrap] = "--with-libwrap,--without-libwrap,tcp-wrappers,"
PACKAGECONFIG[alsa] = "--enable-alsa --disable-oss,--disable-alsa,alsa-lib,"
PACKAGECONFIG ??= "libwrap alsa \
${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
"
PACKAGES =+ "esddsp esd esd-utils"
FILES_esddsp = "${bindir}/esddsp ${libdir}/libesddsp.so.*"
FILES_esd = "${bindir}/esd"
FILES_esd-utils = "${bindir}/*"