Date: Fri, 22 Dec 2000 18:37:47 -0500 (EST) From: beaupran@iro.umontreal.ca To: FreeBSD-gnats-submit@freebsd.org Subject: ports/23778: New port (audio/ecasound): Software package designed for multitrack audio processing. Message-ID: <20001222233747.C6D1542C@shall.anarcat.yi.org> Resent-Message-ID: <200012222340.eBMNe2q68452@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 23778 >Category: ports >Synopsis: New port (audio/ecasound): Software package designed for multitrack audio processing. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Dec 22 15:40:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: The Anarcat >Release: FreeBSD 4.2-BETA i386 >Organization: >Environment: N/A. >Description: New port. Please review, this is my first port. >How-To-Repeat: N/A >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ecasound # ecasound/files # ecasound/files/patch-aa # ecasound/files/patch-ab # ecasound/files/patch-ac # ecasound/files/patch-ad # ecasound/files/patch-ae # ecasound/files/patch-af # ecasound/files/patch-ag # ecasound/pkg-plist # ecasound/pkg-comment # ecasound/distinfo # ecasound/pkg-descr # ecasound/Makefile # echo c - ecasound mkdir -p ecasound > /dev/null 2>&1 echo c - ecasound/files mkdir -p ecasound/files > /dev/null 2>&1 echo x - ecasound/files/patch-aa sed 's/^X//' >ecasound/files/patch-aa << 'END-of-ecasound/files/patch-aa' X--- config.h.in.orig Wed Nov 22 12:41:03 2000 X+++ config.h.in Fri Dec 22 13:45:14 2000 X@@ -52,6 +52,9 @@ X /* Define if you have the getpagesize function. */ X #undef HAVE_GETPAGESIZE X X+/* Define if you have the mlockall function. */ X+#undef HAVE_MLOCKALL X+ X /* Define if you have the <asm/atomic.h> header file. */ X #undef HAVE_ASM_ATOMIC_H X END-of-ecasound/files/patch-aa echo x - ecasound/files/patch-ab sed 's/^X//' >ecasound/files/patch-ab << 'END-of-ecasound/files/patch-ab' X--- configure.in.orig Thu Dec 7 00:50:49 2000 X+++ configure.in Fri Dec 22 13:45:14 2000 X@@ -38,6 +38,7 @@ X X dnl -- X dnl Libtool X+AM_PROG_LIBTOOL X AC_PATH_PROG(LIBTOOL,libtool,none) X if test x$LIBTOOL = xnone; then X AC_MSG_ERROR([** Libtool package not installed! **]) X@@ -46,7 +47,6 @@ X if test x$GNUM4 = xnone; then X AC_MSG_ERROR([** GNU m4 not installed! **]) X fi X-AM_PROG_LIBTOOL X X ACLOCAL=aclocal X AUTOMAKE=automake X@@ -106,7 +106,7 @@ X include_debug=yes) X AM_CONDITIONAL(INCLUDE_DEBUG, test x$include_debug = xyes) X if test x$include_debug = xyes; then X-CXXFLAGS="-D_REENTRANT -DENABLE_DBC -g -Wall -Wstrict-prototypes -ffast-math" X+CXXFLAGS="$CXXFLAGS -D_REENTRANT -DENABLE_DBC -g -Wall -Wstrict-prototypes -ffast-math" X dnl LDFLAGS="-pg -pedantic -funroll-loops" X fi X X@@ -123,6 +123,7 @@ X dnl Checks for functions. X dnl --- X AC_FUNC_MMAP X+AC_CHECK_FUNCS(mlockall) X X dnl --- X dnl Checks for libraries. X@@ -152,15 +153,6 @@ X ) X AC_DEFINE(USE_NCURSES) X fi X- X-dnl ------------------------------------------------------------------ X- X-dnl --- X-dnl POSIX.4 threads X-dnl --- X-AC_CHECK_LIB(pthread,pthread_create, [], X- AC_CHECK_LIB(c_r,pthread_create, [], X- AC_MSG_ERROR([** POSIX.4 threads not installed or broken **]))) X X dnl ------------------------------------------------------------------ X END-of-ecasound/files/patch-ab echo x - ecasound/files/patch-ac sed 's/^X//' >ecasound/files/patch-ac << 'END-of-ecasound/files/patch-ac' X--- libecasound/eca-chainsetup-position.cpp.orig Fri Oct 6 18:08:00 2000 X+++ libecasound/eca-chainsetup-position.cpp Wed Dec 20 00:42:14 2000 X@@ -43,11 +43,11 @@ X } X X long int ECA_CHAINSETUP_POSITION::length_in_seconds(void) const { X- return(static_cast<double>(length_rep) / srate_rep); X+ return(static_cast<long int>(length_rep) / srate_rep); X } X X long int ECA_CHAINSETUP_POSITION::position_in_seconds(void) const { X- return(static_cast<double>(curpos_rep) / srate_rep); X+ return(static_cast<long int>(curpos_rep) / srate_rep); X } X X double ECA_CHAINSETUP_POSITION::length_in_seconds_exact(void) const { END-of-ecasound/files/patch-ac echo x - ecasound/files/patch-ad sed 's/^X//' >ecasound/files/patch-ad << 'END-of-ecasound/files/patch-ad' X--- libecasound/eca-object-map.cpp/orig Thu Nov 16 20:03:48 2000 X+++ libecasound/eca-object-map.cpp Mon Dec 18 19:04:48 2000 X@@ -20,6 +20,7 @@ X #include <vector> X #include <string> X #include <map> X+#include <sys/types.h> X #include <regex.h> X X #include "eca-object-map.h" END-of-ecasound/files/patch-ad echo x - ecasound/files/patch-ae sed 's/^X//' >ecasound/files/patch-ae << 'END-of-ecasound/files/patch-ae' X--- libecasound/eca-session.cpp.orig Mon Dec 4 22:22:22 2000 X+++ libecasound/eca-session.cpp Wed Dec 20 01:21:51 2000 X@@ -389,14 +389,18 @@ X int prio = ::atoi(get_argument_number(1, argu).c_str()); X if (prio != 0) X schedpriority_rep = prio; X- ecadebug->msg("(eca-session) Raised-priority mode enabled. Locking memory. (prio:" + X+ ecadebug->msg("(eca-session) Raised-priority mode enabled (prio:" + X kvu_numtostr(schedpriority_rep) + ")"); X raisepriority_rep = true; X+#ifdef HAVE_MLOCKALL X if (::mlockall (MCL_CURRENT|MCL_FUTURE)) { X ecadebug->msg("(eca-session) Warning! Couldn't lock all memory!"); X } X else X ecadebug->msg(ECA_DEBUG::system_objects, "(eca-session) Memory locked!"); X+#else X+ ecadebug->msg("(eca-session) Memory locking not available."); X+#endif X break; X } X END-of-ecasound/files/patch-ae echo x - ecasound/files/patch-af sed 's/^X//' >ecasound/files/patch-af << 'END-of-ecasound/files/patch-af' X--- libecasoundc/Makefile.am.orig Sun Nov 26 22:13:33 2000 X+++ libecasoundc/Makefile.am Fri Dec 22 02:51:28 2000 X@@ -9,10 +9,10 @@ X # remember to update eca-version.cpp X if INCLUDE_DEBUG X eca_ldflags = -version-info 0:0:0 X-ecasound_libs = -lecasound_debug X+ecasound_libs = -L$(top_builddir)/libecasound/.libs -lecasound_debug X else X eca_ldflags = -s -version-info 0:0:0 X-ecasound_libs = -lecasound X+ecasound_libs = -L$(top_builddir)/libecasound/.libs -lecasound X endif X X if KVUTILS_INSTALLED X END-of-ecasound/files/patch-af echo x - ecasound/files/patch-ag sed 's/^X//' >ecasound/files/patch-ag << 'END-of-ecasound/files/patch-ag' X--- pyecasound/Makefile.am.orig Tue Dec 5 20:46:42 2000 X+++ pyecasound/Makefile.am Fri Dec 22 02:53:02 2000 X@@ -6,9 +6,9 @@ X # ---------------------------------------------------------------------- X X if INCLUDE_DEBUG X-ecasound_libs = -lecasound_debug X+ecasound_libs = -L$(top_builddir)/libecasound/.libs -lecasound_debug X else X-ecasound_libs = -lecasound X+ecasound_libs = -L$(top_builddir)/libecasound/.libs -lecasound X endif X X if KVUTILS_INSTALLEDEND-of-ecasound/files/patch-ag echo x - ecasound/pkg-plist sed 's/^X//' >ecasound/pkg-plist << 'END-of-ecasound/pkg-plist' X@name ecasound-1.8.5d15 Xbin/ecaconvert Xbin/ecafixdc Xbin/ecanormalize Xbin/ecaplay Xbin/ecasignalview Xbin/ecasound Xbin/ecasound-config Xbin/ecasoundc-config Xinclude/ecasound/audiofx.h Xinclude/ecasound/audiofx_amplitude.h Xinclude/ecasound/audiofx_analysis.h Xinclude/ecasound/audiofx_compressor.h Xinclude/ecasound/audiofx_envelope_modulation.h Xinclude/ecasound/audiofx_filter.h Xinclude/ecasound/audiofx_impl.h Xinclude/ecasound/audiofx_ladspa.h Xinclude/ecasound/audiofx_mixing.h Xinclude/ecasound/audiofx_rcfilter.h Xinclude/ecasound/audiofx_reverb.h Xinclude/ecasound/audiofx_timebased.h Xinclude/ecasound/audiofx_vst.h Xinclude/ecasound/audiogate.h Xinclude/ecasound/audioio-buffered-proxy.h Xinclude/ecasound/audioio-cdr.h Xinclude/ecasound/audioio-cdr_impl.h Xinclude/ecasound/audioio-ewf.h Xinclude/ecasound/audioio-forked-stream.h Xinclude/ecasound/audioio-loop.h Xinclude/ecasound/audioio-mikmod.h Xinclude/ecasound/audioio-mp3.h Xinclude/ecasound/audioio-mp3_impl.h Xinclude/ecasound/audioio-null.h Xinclude/ecasound/audioio-ogg.h Xinclude/ecasound/audioio-oss.h Xinclude/ecasound/audioio-oss_impl.h Xinclude/ecasound/audioio-plugin.h Xinclude/ecasound/audioio-proxy-buffer.h Xinclude/ecasound/audioio-proxy-server.h Xinclude/ecasound/audioio-raw.h Xinclude/ecasound/audioio-rtnull.h Xinclude/ecasound/audioio-timidity.h Xinclude/ecasound/audioio-types.h Xinclude/ecasound/audioio-wave.h Xinclude/ecasound/audioio.h Xinclude/ecasound/ctrl-source.h Xinclude/ecasound/dynamic-object.h Xinclude/ecasound/dynamic-parameters.h Xinclude/ecasound/eca-audio-format.h Xinclude/ecasound/eca-audio-object-map.h Xinclude/ecasound/eca-audio-objects.h Xinclude/ecasound/eca-audio-position.h Xinclude/ecasound/eca-audio-time.h Xinclude/ecasound/eca-chain.h Xinclude/ecasound/eca-chainop-map.h Xinclude/ecasound/eca-chainop.h Xinclude/ecasound/eca-chainsetup-position.h Xinclude/ecasound/eca-chainsetup.h Xinclude/ecasound/eca-comhelp.h Xinclude/ecasound/eca-control-base.h Xinclude/ecasound/eca-control-dump.h Xinclude/ecasound/eca-control-interface.h Xinclude/ecasound/eca-control-objects.h Xinclude/ecasound/eca-control.h Xinclude/ecasound/eca-controller-map.h Xinclude/ecasound/eca-debug.h Xinclude/ecasound/eca-error.h Xinclude/ecasound/eca-fileio-mmap.h Xinclude/ecasound/eca-fileio-stream.h Xinclude/ecasound/eca-fileio.h Xinclude/ecasound/eca-iamode-parser.h Xinclude/ecasound/eca-ladspa-plugin-map.h Xinclude/ecasound/eca-main.h Xinclude/ecasound/eca-midi.h Xinclude/ecasound/eca-object-factory.h Xinclude/ecasound/eca-object-map.h Xinclude/ecasound/eca-object.h Xinclude/ecasound/eca-operator.h Xinclude/ecasound/eca-preset-map.h Xinclude/ecasound/eca-resources.h Xinclude/ecasound/eca-session.h Xinclude/ecasound/eca-static-object-maps.h Xinclude/ecasound/eca-version.h Xinclude/ecasound/eca-vst-plugin-map.h Xinclude/ecasound/ecasoundc.h Xinclude/ecasound/file-preset.h Xinclude/ecasound/finite-envelope.h Xinclude/ecasound/generic-controller.h Xinclude/ecasound/global-preset.h Xinclude/ecasound/ladspa.h Xinclude/ecasound/layer.h Xinclude/ecasound/linear-envelope.h Xinclude/ecasound/midi-cc.h Xinclude/ecasound/osc-gen.h Xinclude/ecasound/osc-sine.h Xinclude/ecasound/oscillator.h Xinclude/ecasound/plugin-paths.h Xinclude/ecasound/preset.h Xinclude/ecasound/resource-file.h Xinclude/ecasound/sample-specs.h Xinclude/ecasound/samplebuffer.h Xinclude/ecasound/samplebuffer_functions.h Xinclude/ecasound/samplebuffer_impl.h Xinclude/ecasound/samplebuffer_iterators.h Xinclude/ecasound/two-stage-linear-envelope.h Xinclude/kvutils/com_line.h Xinclude/kvutils/definition_by_contract.h Xinclude/kvutils/kvu_numtostr.h Xinclude/kvutils/kvutils.h Xinclude/kvutils/locks.h Xinclude/kvutils/message_item.h Xinclude/kvutils/object_queue.h Xinclude/kvutils/procedure_timer.h Xinclude/kvutils/value_queue.h Xlib/libecasound.a Xlib/libecasound.la Xlib/libecasound.so Xlib/libecasound.so.7 Xlib/libecasoundc.a Xlib/libecasoundc.la Xlib/libecasoundc.so Xlib/libecasoundc.so.0 Xlib/libkvutils.a Xlib/libkvutils.la Xlib/libkvutils.so Xlib/libkvutils.so.2 Xlib/ecasound-plugins/libaudioio_af.la Xlib/ecasound-plugins/libaudioio_af.so Xlib/ecasound-plugins/libaudioio_alsa.la Xlib/ecasound-plugins/libaudioio_alsa.so Xlib/ecasound-plugins/libaudioio_alsa2.la Xlib/ecasound-plugins/libaudioio_alsa2.so Xlib/ecasound-plugins/libaudioio_alsa2_plugin.la Xlib/ecasound-plugins/libaudioio_alsa2_plugin.so Xlib/ecasound-plugins/libaudioio_alsa3.la Xlib/ecasound-plugins/libaudioio_alsa3.so Xlib/ecasound-plugins/libaudioio_alsalb.la Xlib/ecasound-plugins/libaudioio_alsalb.so Xlib/ecasound-plugins/libaudioio_arts.la Xlib/ecasound-plugins/libaudioio_arts.so Xshare/ecasound/effect_presets Xshare/ecasound/generic_oscillators Xlib/python1.5/site-packages/pyeca.py Xlib/python1.5/site-packages/libpyecasound.la Xlib/python1.5/site-packages/libpyecasound.so X@dirrm share/ecasound X@dirrm include/ecasound X@dirrm lib/ecasound-plugins X@unexec rmdir %D/lib/python1.5/site-packages 2>/dev/null || true X@exec /sbin/ldconfig -m %D/lib X@unexec /sbin/ldconfig -R END-of-ecasound/pkg-plist echo x - ecasound/pkg-comment sed 's/^X//' >ecasound/pkg-comment << 'END-of-ecasound/pkg-comment' XSoftware package designed for multitrack audio processing. END-of-ecasound/pkg-comment echo x - ecasound/distinfo sed 's/^X//' >ecasound/distinfo << 'END-of-ecasound/distinfo' XMD5 (ecasound-1.8.5d15.tar.gz) = 9e9f1480b026c37e95efdeab16e0dec7 END-of-ecasound/distinfo echo x - ecasound/pkg-descr sed 's/^X//' >ecasound/pkg-descr << 'END-of-ecasound/pkg-descr' X======================================================================= X*** [Extract from] Ecasound - README *** X======================================================================= X----------------------------------------------------------------------- X What is it? X----------------------------------------------------------------------- X XEcasound is a software package designed for multitrack audio Xprocessing. It can be used for simple tasks like audio playback, Xrecording and format conversions, as well as for multitrack effect Xprocessing, mixing, recording and signal recycling. Ecasound supports Xa wide range of audio inputs, outputs and effect algorithms. XEffects and audio objects can be combined in various ways, and their Xparameters can be controlled by operator objects like oscillators Xand MIDI-CCs. As most functionality is located in shared libraries, Xcreating alternative user-interfaces is easy. A versatile console mode Xinterface is included in the package. X XEcasound home site XWWW: http://www.eca.cx/ecasound X X- The Anarcat <anarcat@tao.ca> END-of-ecasound/pkg-descr echo x - ecasound/Makefile sed 's/^X//' >ecasound/Makefile << 'END-of-ecasound/Makefile' X# New ports collection makefile for: ecasound X# Date created: 22 dec 2000 X# Whom: The Anarcat <anarcat@tao.ca> X# X# $FreeBSD: ports/audio/esound/Makefile,v 1.23 2000/10/05 23:03:41 ade Exp $ X# X XPORTNAME= ecasound XPORTVERSION= 1.8.5d15 XCATEGORIES= audio XMASTER_SITES= http://ecasound.seul.org/download/ \ X ftp://ecawave.sourceforge.net:/pub/ecawave/ \ X http://download.sourceforge.net/ecawave/ X XMAINTAINER= anarcat@tao.ca X X# RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 \ X# lame:${PORTSDIR}/audio/lame \ X# mikmod:${PORTSDIR}/audio/mikmod X X# LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_AUTOMAKE= yes X XUSE_LIBTOOL= yes XINSTALLS_SHLIB= yes X XMAN1= ecasound-iam.1 ecasound.1 ecatools.1 XMAN5= ecasoundrc.5 X X#post-install: X# strip ${PREFIX}/bin/ecaconvert ${PREFIX}/bin/ecafixdc \ X#${PREFIX}/bin/ecanormalize ${PREFIX}/bin/ecaplay ${PREFIX}/bin/ecasignalview \ X#${PREFIX}/bin/ecasound ${PREFIX}/bin/ecasound-config ${PREFIX}/bin/ecasoundc-config X X.include <bsd.port.mk> END-of-ecasound/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001222233747.C6D1542C>