From bbf151ff5613c562fe1e044902fbbb93194c7450 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 25 Sep 2014 10:48:48 +0200 Subject: remove esound, not really maintained, use pulseaudio --- package/esound/Makefile | 43 ----------------------------------- package/esound/files/esd.init | 28 ----------------------- package/esound/files/esound.postinst | 3 --- package/esound/patches/patch-esd_c | 23 ------------------- package/esound/patches/patch-esddsp_c | 38 ------------------------------- 5 files changed, 135 deletions(-) delete mode 100644 package/esound/Makefile delete mode 100644 package/esound/files/esd.init delete mode 100644 package/esound/files/esound.postinst delete mode 100644 package/esound/patches/patch-esd_c delete mode 100644 package/esound/patches/patch-esddsp_c (limited to 'package') diff --git a/package/esound/Makefile b/package/esound/Makefile deleted file mode 100644 index b5303f30f..000000000 --- a/package/esound/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -# This file is part of the OpenADK project. OpenADK is copyrighted -# material, please see the LICENCE file in the top-level directory. - -include ${ADK_TOPDIR}/rules.mk - -PKG_NAME:= esound -PKG_VERSION:= 0.2.41 -PKG_RELEASE:= 8 -PKG_MD5SUM:= 3d8973ed87053d7acc1f4d44af2c4688 -PKG_DESCR:= enlightened sound daemon -PKG_SECTION:= mm/audio -PKG_DEPENDS:= libaudiofile libesd -PKG_BUILDDEP:= libaudiofile -PKG_URL:= http://www.tux.org/~ricdude/EsounD.html -PKG_SITES:= ftp://ftp.gnome.org/pub/gnome/sources/esound/0.2/ -PKG_LIBNAME:= libesd -PKG_OPTS:= dev - -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz - -PKG_SUBPKGS:= ESOUND LIBESD -PKGSC_LIBESD:= libs/audio -PKGSD_LIBESD:= esound library - -include ${ADK_TOPDIR}/mk/package.mk - -$(eval $(call PKG_template,ESOUND,esound,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,LIBESD,libesd,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBESD},${PKGSC_LIBESD},${PKG_OPTS})) - -AUTOTOOL_STYLE:= autoreconf -CONFIGURE_ARGS+= --disable-alsa \ - --disable-arts \ - --enable-oss - -esound-install: - ${INSTALL_DIR} ${IDIR_ESOUND}/usr/bin - ${INSTALL_BIN} ${WRKINST}/usr/bin/esd ${IDIR_ESOUND}/usr/bin/ - -libesd-install: - ${INSTALL_DIR} ${IDIR_LIBESD}/usr/lib - $(CP) $(WRKINST)/usr/lib/libesd.so* $(IDIR_LIBESD)/usr/lib/ - -include ${ADK_TOPDIR}/mk/pkg-bottom.mk diff --git a/package/esound/files/esd.init b/package/esound/files/esd.init deleted file mode 100644 index 336ec9bfe..000000000 --- a/package/esound/files/esd.init +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -#PKG esound -#INIT 75 -. /etc/rc.conf - -case $1 in -autostop) ;; -autostart) - test x"${esd:-NO}" = x"NO" && exit 0 - test x"$esd" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start - exec sh $0 start - ;; -start) - # start as another user via: su - mpd -c 'esd ..' - /usr/bin/esd -public -tcp -nobeeps -noterminate & - ;; -stop) - kill $(pgrep -f /usr/bin/esd) - ;; -restart) - sh $0 stop - sh $0 start - ;; -*) - echo "Usage: $0 {start | stop | restart}" - ;; -esac -exit 0 diff --git a/package/esound/files/esound.postinst b/package/esound/files/esound.postinst deleted file mode 100644 index ecf2ec8da..000000000 --- a/package/esound/files/esound.postinst +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -. $IPKG_INSTROOT/etc/functions.sh -add_rcconf esd NO diff --git a/package/esound/patches/patch-esd_c b/package/esound/patches/patch-esd_c deleted file mode 100644 index 2af302a63..000000000 --- a/package/esound/patches/patch-esd_c +++ /dev/null @@ -1,23 +0,0 @@ -$Id$ - - cast to double, to avoid sinf, patch from Sven Gugges - ---- esound-0.2.41.orig/esd.c 2008-11-18 21:35:19.000000000 +0100 -+++ esound-0.2.41/esd.c 2011-01-14 23:15:33.000000000 +0100 -@@ -134,14 +134,14 @@ void set_audio_buffer( void *buf, esd_fo - { - case ESD_BITS8: - for ( i = 0 ; i < length ; i+=2 ) { -- sample = sin( (float)(i+offset) * kf ); -+ sample = sin( (double)(i+offset) * kf ); - uc_buf[i] = 127 + magl * sample; - uc_buf[i+1] = 127 + magr * sample; - } - break; - case ESD_BITS16: /* assume same endianness */ - for ( i = 0 ; i < length ; i+=2 ) { -- sample = sin( (float)(i+offset) * kf ); -+ sample = sin( (double)(i+offset) * kf ); - ss_buf[i] = magl * sample; - ss_buf[i+1] = magr * sample; - } diff --git a/package/esound/patches/patch-esddsp_c b/package/esound/patches/patch-esddsp_c deleted file mode 100644 index 3b774f403..000000000 --- a/package/esound/patches/patch-esddsp_c +++ /dev/null @@ -1,38 +0,0 @@ ---- esound-0.2.41.orig/esddsp.c 2008-11-18 21:35:19.000000000 +0100 -+++ esound-0.2.41/esddsp.c 2013-12-23 16:08:43.000000000 +0100 -@@ -264,7 +264,7 @@ open_wrapper (int (*func) (const char *, - } - - int --open (const char *pathname, int flags, ...) -+esd_open (const char *pathname, int flags, ...) - { - static int (*func) (const char *, int, mode_t) = NULL; - va_list args; -@@ -291,7 +291,7 @@ open (const char *pathname, int flags, . - } - - int --open64 (const char *pathname, int flags, ...) -+esd_open64 (const char *pathname, int flags, ...) - { - static int (*func) (const char *, int, mode_t) = NULL; - va_list args; -@@ -355,7 +355,7 @@ fopen_wrapper (FILE * (*func) (const cha - } - - FILE * --fopen (const char *path, const char *mode) -+esd_fopen (const char *path, const char *mode) - { - static FILE * (*func) (const char *, const char *) = NULL; - -@@ -375,7 +375,7 @@ fopen (const char *path, const char *mod - } - - FILE * --fopen64 (const char *path, const char *mode) -+esd_fopen64 (const char *path, const char *mode) - { - static FILE * (*func) (const char *, const char *) = NULL; - -- cgit v1.2.3