Update of /cvsroot/fink/dists/10.2-gcc3.3/stable/main/finkinfo/sound
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26162/10.2-gcc3.3/stable/main/finkinfo/sound
Added Files:
ladspa-cmt.info ladspa-cmt.patch ladspa.info ladspa.patch
Log Message:
to stable
--- NEW FILE: ladspa-cmt.info ---
Package: ladspa-cmt
Version: 1.15
Revision: 2
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Depends: ladspa (>= 1.12-2), dlcompat-shlibs
BuildDepends: ladspa-dev (>= 1.12-2), dlcompat-dev
Source: http://www.ladspa.org/download/cmt_src_1.15.tgz
Source-MD5: aa2f0609aca8b698625d86170c426e2c
PatchScript: sed -e 's,@PREFIX@,%p,g' %a/%n.patch | patch -p1
SourceDirectory: cmt
GCC: 3.3
DocFiles: README doc/*
CompileScript: <<
#!/bin/sh
pushd src
make
popd
<<
InstallScript: <<
#!/bin/sh
install -d -m 755 %i/lib/ladspa
install -m 755 plugins/* %i/lib/ladspa/
<<
Description: LADSPA Computer Music Toolkit (plugins)
DescDetail: <<
The Computer Music Toolkit (CMT) is a collection of LADSPA plugins
for use with software synthesis and recording packages on Linux.
See the license before use.
The CMT was initially designed and developed by Richard W.E. Furse
(who was also the principal designer of the LADSPA standard) and
further plugins have been provided by by Jezar, David Bartold and
Nathaniel Virgo. If you are a programmer or can write
documentation and would like to help out, please feel free to
contact Richard.
<<
License: GPL
--- NEW FILE: ladspa-cmt.patch ---
diff -uNr cmt/src/analogue.cpp cmt-new/src/analogue.cpp
--- cmt/src/analogue.cpp Sat Feb 17 06:50:07 2001
+++ cmt-new/src/analogue.cpp Sun Oct 26 21:25:27 2003
@@ -24,7 +24,7 @@
/*****************************************************************************/
-#include <malloc.h>
+#include <unistd.h>
#include <math.h>
#include <stdlib.h>
#include "cmt.h"
diff -uNr cmt/src/canyondelay.cpp cmt-new/src/canyondelay.cpp
--- cmt/src/canyondelay.cpp Sat Nov 4 06:39:53 2000
+++ cmt-new/src/canyondelay.cpp Sun Oct 26 21:25:27 2003
@@ -25,7 +25,7 @@
/*****************************************************************************/
-#include <malloc.h>
+#include <unistd.h>
#include <math.h>
#include "cmt.h"
diff -uNr cmt/src/lofi.cpp cmt-new/src/lofi.cpp
--- cmt/src/lofi.cpp Mon Sep 17 18:15:46 2001
+++ cmt-new/src/lofi.cpp Sun Oct 26 21:25:27 2003
@@ -24,7 +24,7 @@
/*****************************************************************************/
-#include <malloc.h>
+#include <unistd.h>
#include <math.h>
#include <stdlib.h>
#include "cmt.h"
diff -uNr cmt/src/makefile cmt-new/src/makefile
--- cmt/src/makefile Thu Dec 19 15:52:51 2002
+++ cmt-new/src/makefile Sun Oct 26 21:26:14 2003
@@ -5,15 +5,15 @@
# Change this if you want to install somewhere else. In particularly
# you may wish to remove the middle "local/" part.
-INSTALL_PLUGINS_DIR = /usr/local/lib/ladspa/
+INSTALL_PLUGINS_DIR = @PREFIX@/lib/ladspa/
###############################################################################
#
# GENERAL
#
-INCLUDES = -I/usr/local/include/
-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC
+INCLUDES = -I. [EMAIL PROTECTED]@/include/
+CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fno-common
-Ddlsym=dlsym_prepend_underscore
CXXFLAGS = $(CFLAGS)
PLUGIN_LIB = ../plugins/cmt.so
@@ -68,24 +68,12 @@
targets: $(PLUGIN_LIB)
$(PLUGIN_LIB): $(PLUGIN_OBJECTS)
- $(CXX) -shared \
+ $(CXX) -dynamiclib [EMAIL PROTECTED]@/lib -ldl \
-o $(PLUGIN_LIB) \
$(PLUGIN_OBJECTS)
install: $(PLUGIN_LIB)
- -strip $(PLUGIN_LIB)
cp $(PLUGIN_LIB) $(INSTALL_PLUGINS_DIR)
-
-test: /tmp/test.wav ../../ladspa_sdk/snd/noise.wav always
- @echo ---------------------------------------------
- @echo First listen to the white noise input signal:
- @echo ---------------------------------------------
- play ../../ladspa_sdk/snd/noise.wav
- @echo -------------------------
- @echo Compare to plugin output.
- @echo -------------------------
- @echo Should be a noise band around 6000Hz, repeated quietly after 1s.
- play /tmp/test.wav
/tmp/test.wav: $(PLUGIN_LIB) ../../ladspa_sdk/snd/noise.wav
analyseplugin $(PLUGIN_LIB)
diff -uNr cmt/src/phasemod.cpp cmt-new/src/phasemod.cpp
--- cmt/src/phasemod.cpp Mon Sep 17 18:15:46 2001
+++ cmt-new/src/phasemod.cpp Sun Oct 26 21:25:27 2003
@@ -24,7 +24,7 @@
/*****************************************************************************/
-#include <malloc.h>
+#include <unistd.h>
#include <math.h>
#include <stdlib.h>
#include "cmt.h"
diff -uNr cmt/src/syndrum.cpp cmt-new/src/syndrum.cpp
--- cmt/src/syndrum.cpp Thu Dec 19 15:54:36 2002
+++ cmt-new/src/syndrum.cpp Sun Oct 26 21:25:27 2003
@@ -24,7 +24,7 @@
/*****************************************************************************/
-#include <malloc.h>
+#include <unistd.h>
#include <math.h>
#include "cmt.h"
diff -uNr cmt/src/vcf303.cpp cmt-new/src/vcf303.cpp
--- cmt/src/vcf303.cpp Sat Nov 4 06:39:53 2000
+++ cmt-new/src/vcf303.cpp Sun Oct 26 21:25:27 2003
@@ -26,7 +26,7 @@
/*****************************************************************************/
-#include <malloc.h>
+#include <unistd.h>
#include <math.h>
#include "cmt.h"
--- NEW FILE: ladspa.info ---
Package: ladspa
Version: 1.12
Revision: 2
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
BuildDepends: dlcompat-dev
Depends: dlcompat-shlibs
Source: http://www.ladspa.org/download/ladspa_sdk_1.12.tgz
Source-MD5: dbd63dd701d80b152943073c84565c14
PatchScript: sed -e 's,@PREFIX@,%p,g' %a/%n.patch | patch -p1
SourceDirectory: %N_sdk
GCC: 3.3
DocFiles: README doc/*
CompileScript: <<
#!/bin/sh
pushd src && \
make && \
popd
<<
InstallScript: <<
#!/bin/sh
install -d -m 755 %i/lib/ladspa && \
install -d -m 755 %i/include && \
install -d -m 755 %i/bin && \
install -m 755 plugins/* %i/lib/ladspa/ && \
install -m 644 src/ladspa.h %i/include/ && \
install -m 755 bin/* %i/bin/ && exit 0
exit 1
<<
SplitOff: <<
Package: %N-dev
Depends: %N
Description: Development files for LADSPA
Files: include
<<
RuntimeVars: <<
LADSPA_PATH: %p/lib/ladspa
<<
Description: Linux Audio Developer's Simple Plugin API
DescDetail: <<
Many audio synthesis and recording packages are in use or in development on
Linux. These work in many different ways. LADSPA provides a standard way
for `plugin' audio processors to be used with a wide range of these packages.
<<
License: LGPL
--- NEW FILE: ladspa.patch ---
diff -uNr ladspa_sdk/src/applyplugin.c ladspa_sdk-new/src/applyplugin.c
--- ladspa_sdk/src/applyplugin.c Sat May 18 13:01:36 2002
+++ ladspa_sdk-new/src/applyplugin.c Sun Oct 26 21:23:57 2003
@@ -6,7 +6,7 @@
/*****************************************************************************/
#include <dlfcn.h>
-#include <endian.h>
+#include <machine/endian.h>
#include <errno.h>
#include <math.h>
#include <stdlib.h>
diff -uNr ladspa_sdk/src/makefile ladspa_sdk-new/src/makefile
--- ladspa_sdk/src/makefile Sat Jul 6 13:34:20 2002
+++ ladspa_sdk-new/src/makefile Sun Oct 26 21:24:54 2003
@@ -5,18 +5,18 @@
# Change these if you want to install somewhere else. In particularly
# you may wish to remove the middle "local/" part of each entry.
-INSTALL_PLUGINS_DIR = /usr/local/lib/ladspa/
-INSTALL_INCLUDE_DIR = /usr/include/
-INSTALL_BINARY_DIR = /usr/local/bin/
+INSTALL_PLUGINS_DIR = @PREFIX@/lib/ladspa/
+INSTALL_INCLUDE_DIR = @PREFIX@/include/
+INSTALL_BINARY_DIR = @PREFIX@/bin/
###############################################################################
#
# GENERAL
#
-INCLUDES = -I.
-LIBRARIES = -ldl -lm
-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC
+INCLUDES = -I. [EMAIL PROTECTED]@/include
+LIBRARIES = [EMAIL PROTECTED]@/lib -ldl -lm
+CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC -fno-common
-Ddlsym=dlsym_prepend_underscore
CXXFLAGS = $(CFLAGS)
PLUGINS = ../plugins/amp.so \
../plugins/delay.so \
@@ -28,6 +28,7 @@
../bin/listplugins
CC = cc
CPP = c++
+LD = $(CC)
###############################################################################
#
@@ -36,27 +37,16 @@
../plugins/%.so: plugins/%.c ladspa.h
$(CC) $(CFLAGS) -o plugins/$*.o -c plugins/$*.c
- $(LD) -o ../plugins/$*.so plugins/$*.o -shared
+ $(LD) -bundle -o ../plugins/$*.so plugins/$*.o
../plugins/%.so: plugins/%.cpp ladspa.h
$(CPP) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp
- $(CPP) -o ../plugins/$*.so plugins/$*.o -shared
+ $(CPP) -bundle -o ../plugins/$*.so plugins/$*.o
###############################################################################
#
# TARGETS
#
-
-test: /tmp/test.wav ../snd/noise.wav always
- @echo ---------------------------------------------
- @echo First listen to the white noise input signal:
- @echo ---------------------------------------------
- play ../snd/noise.wav
- @echo -------------------------
- @echo Compare to plugin output.
- @echo -------------------------
- @echo Should be a noise band around 6000Hz, repeated quietly after 1s.
- play /tmp/test.wav
install: targets
-mkdirhier $(INSTALL_PLUGINS_DIR) \
diff -uNr ladspa_sdk/src/search.c ladspa_sdk-new/src/search.c
--- ladspa_sdk/src/search.c Sat Jul 21 12:04:23 2001
+++ ladspa_sdk-new/src/search.c Sun Oct 26 21:29:22 2003
@@ -5,12 +5,12 @@
/*****************************************************************************/
+#include <sys/types.h>
#include <dirent.h>
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/types.h>
#include <unistd.h>
/*****************************************************************************/
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits