parent
42002cc6ae
commit
75e8f60372
@ -1 +1 @@
|
||||
rubberband-1.0.1.tar.bz2
|
||||
rubberband-1.2.tar.bz2
|
||||
|
@ -1,74 +0,0 @@
|
||||
--- rubberband-1.0.1/Makefile.in.destdir 2007-12-13 17:15:03.000000000 -0500
|
||||
+++ rubberband-1.0.1/Makefile.in 2008-03-30 23:31:44.000000000 -0400
|
||||
@@ -16,16 +16,16 @@
|
||||
|
||||
PROGRAM_TARGET := bin/rubberband
|
||||
STATIC_TARGET := lib/librubberband.a
|
||||
-DYNAMIC_TARGET := lib/librubberband$(DYNAMIC_EXTENSION)
|
||||
+DYNAMIC_TARGET := lib/librubberband$(DYNAMIC_EXTENSION).1
|
||||
VAMP_TARGET := lib/vamp-rubberband$(DYNAMIC_EXTENSION)
|
||||
LADSPA_TARGET := lib/ladspa-rubberband$(DYNAMIC_EXTENSION)
|
||||
|
||||
INSTALL_BINDIR := @prefix@/bin
|
||||
INSTALL_INCDIR := @prefix@/include/rubberband
|
||||
-INSTALL_LIBDIR := @prefix@/lib
|
||||
-INSTALL_VAMPDIR := @prefix@/lib/vamp
|
||||
-INSTALL_LADSPADIR := @prefix@/lib/ladspa
|
||||
-INSTALL_PKGDIR := @prefix@/lib/pkgconfig
|
||||
+INSTALL_LIBDIR := @libdir@
|
||||
+INSTALL_VAMPDIR := @libdir@/vamp
|
||||
+INSTALL_LADSPADIR := @libdir@/ladspa
|
||||
+INSTALL_PKGDIR := @libdir@/pkgconfig
|
||||
|
||||
all: bin lib $(PROGRAM_TARGET) $(STATIC_TARGET) $(DYNAMIC_TARGET) $(VAMP_TARGET) $(LADSPA_TARGET)
|
||||
|
||||
@@ -95,7 +95,8 @@
|
||||
$(AR) rsc $@ $^
|
||||
|
||||
$(DYNAMIC_TARGET): $(LIBRARY_OBJECTS)
|
||||
- $(CXX) $(DYNAMIC_LDFLAGS) $^ -o $@ $(LIBRARY_LIBS) $(LDFLAGS)
|
||||
+ $(CXX) -shared -Wl,-soname,librubberband.so.1 $^ \
|
||||
+ -o $@ $(LIBRARY_LIBS) $(LDFLAGS)
|
||||
|
||||
$(VAMP_TARGET): $(LIBRARY_OBJECTS) $(VAMP_OBJECTS)
|
||||
$(CXX) $(DYNAMIC_LDFLAGS) -o $@ $^ $(VAMP_PLUGIN_LIBS) $(LDFLAGS)
|
||||
@@ -109,22 +110,24 @@
|
||||
$(MKDIR) $@
|
||||
|
||||
install: all
|
||||
- $(MKDIR) -p $(INSTALL_BINDIR)
|
||||
- $(MKDIR) -p $(INSTALL_INCDIR)
|
||||
- $(MKDIR) -p $(INSTALL_LIBDIR)
|
||||
- $(MKDIR) -p $(INSTALL_VAMPDIR)
|
||||
- $(MKDIR) -p $(INSTALL_LADSPADIR)
|
||||
- $(MKDIR) -p $(INSTALL_PKGDIR)
|
||||
- cp $(PROGRAM_TARGET) $(INSTALL_BINDIR)
|
||||
- cp $(PUBLIC_INCLUDES) $(INSTALL_INCDIR)
|
||||
- cp $(STATIC_TARGET) $(INSTALL_LIBDIR)
|
||||
- cp $(DYNAMIC_TARGET) $(INSTALL_LIBDIR)
|
||||
- cp $(VAMP_TARGET) $(INSTALL_VAMPDIR)
|
||||
- cp src/vamp/vamp-rubberband.cat $(INSTALL_VAMPDIR)
|
||||
- cp $(LADSPA_TARGET) $(INSTALL_LADSPADIR)
|
||||
- cp src/ladspa/ladspa-rubberband.cat $(INSTALL_LADSPADIR)
|
||||
+ $(MKDIR) -p $(DESTDIR)$(INSTALL_BINDIR)
|
||||
+ $(MKDIR) -p $(DESTDIR)$(INSTALL_INCDIR)
|
||||
+ $(MKDIR) -p $(DESTDIR)$(INSTALL_LIBDIR)
|
||||
+ $(MKDIR) -p $(DESTDIR)$(INSTALL_VAMPDIR)
|
||||
+ $(MKDIR) -p $(DESTDIR)$(INSTALL_LADSPADIR)
|
||||
+ $(MKDIR) -p $(DESTDIR)$(INSTALL_PKGDIR)
|
||||
+ cp -p $(PROGRAM_TARGET) $(DESTDIR)$(INSTALL_BINDIR)
|
||||
+ cp -p $(PUBLIC_INCLUDES) $(DESTDIR)$(INSTALL_INCDIR)
|
||||
+ cp -p $(STATIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)
|
||||
+ cp -p $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)
|
||||
+ ( cd $(DESTDIR)$(INSTALL_LIBDIR) && \
|
||||
+ ln -s librubberband.so.1 librubberband.so )
|
||||
+ cp -p $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
|
||||
+ cp -p src/vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR)
|
||||
+ cp -p $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)
|
||||
+ cp -p src/ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR)
|
||||
sed "s,%PREFIX%,@prefix@," rubberband.pc.in \
|
||||
- > $(INSTALL_PKGDIR)/rubberband.pc
|
||||
+ > $(DESTDIR)$(INSTALL_PKGDIR)/rubberband.pc
|
||||
|
||||
clean:
|
||||
rm -f $(LIBRARY_OBJECTS) $(PROGRAM_OBJECTS) $(LADSPA_OBJECTS) $(VAMP_OBJECTS)
|
@ -1,61 +0,0 @@
|
||||
--- rubberband-1.0.1/src/Window.h.gcc43 2007-12-13 17:15:03.000000000 -0500
|
||||
+++ rubberband-1.0.1/src/Window.h 2008-03-30 22:20:04.000000000 -0400
|
||||
@@ -16,6 +16,7 @@
|
||||
#define _RUBBERBAND_WINDOW_H_
|
||||
|
||||
#include <cmath>
|
||||
+#include <cstdlib>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
|
||||
--- rubberband-1.0.1/src/Thread.cpp.gcc43 2007-12-13 17:15:03.000000000 -0500
|
||||
+++ rubberband-1.0.1/src/Thread.cpp 2008-03-30 22:26:25.000000000 -0400
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "Thread.h"
|
||||
|
||||
+#include <cstdlib>
|
||||
#include <iostream>
|
||||
|
||||
#include <sys/time.h>
|
||||
--- rubberband-1.0.1/src/FFT.cpp.gcc43 2007-12-13 17:15:03.000000000 -0500
|
||||
+++ rubberband-1.0.1/src/FFT.cpp 2008-03-30 22:25:59.000000000 -0400
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <cstdio>
|
||||
+#include <cstdlib>
|
||||
#include <vector>
|
||||
|
||||
namespace RubberBand {
|
||||
--- rubberband-1.0.1/src/RingBuffer.h.gcc43 2007-12-13 17:15:03.000000000 -0500
|
||||
+++ rubberband-1.0.1/src/RingBuffer.h 2008-03-30 22:25:17.000000000 -0400
|
||||
@@ -15,6 +15,7 @@
|
||||
#ifndef _RUBBERBAND_RINGBUFFER_H_
|
||||
#define _RUBBERBAND_RINGBUFFER_H_
|
||||
|
||||
+#include <cstring>
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifndef _WIN32
|
||||
--- rubberband-1.0.1/src/StretchCalculator.cpp.gcc43 2007-12-13 17:15:03.000000000 -0500
|
||||
+++ rubberband-1.0.1/src/StretchCalculator.cpp 2008-03-30 22:21:44.000000000 -0400
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "StretchCalculator.h"
|
||||
|
||||
+#include <algorithm>
|
||||
#include <math.h>
|
||||
#include <iostream>
|
||||
#include <deque>
|
||||
--- rubberband-1.0.1/src/main.cpp.gcc43 2007-12-13 17:15:03.000000000 -0500
|
||||
+++ rubberband-1.0.1/src/main.cpp 2008-03-30 22:26:57.000000000 -0400
|
||||
@@ -17,6 +17,8 @@
|
||||
#include <iostream>
|
||||
#include <sndfile.h>
|
||||
#include <cmath>
|
||||
+#include <cstdlib>
|
||||
+#include <cstring>
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#include "sysutils.h"
|
@ -0,0 +1,10 @@
|
||||
--- rubberband-1.2/src/sysutils.cpp.gcc43 2008-07-08 11:43:31.000000000 -0400
|
||||
+++ rubberband-1.2/src/sysutils.cpp 2008-07-17 18:28:42.000000000 -0400
|
||||
@@ -25,6 +25,7 @@
|
||||
#endif /* !__APPLE__, !_WIN32 */
|
||||
#endif /* !_WIN32 */
|
||||
|
||||
+#include <cstdlib>
|
||||
#include <iostream>
|
||||
|
||||
|
@ -0,0 +1,42 @@
|
||||
--- rubberband-1.2/Makefile.in.mk 2008-07-05 11:22:51.000000000 -0400
|
||||
+++ rubberband-1.2/Makefile.in 2008-07-17 18:32:21.000000000 -0400
|
||||
@@ -28,11 +28,11 @@
|
||||
|
||||
INSTALL_BINDIR := @prefix@/bin
|
||||
INSTALL_INCDIR := @prefix@/include/rubberband
|
||||
-INSTALL_LIBDIR := @prefix@/lib
|
||||
-INSTALL_VAMPDIR := @prefix@/lib/vamp
|
||||
-INSTALL_LADSPADIR := @prefix@/lib/ladspa
|
||||
+INSTALL_LIBDIR := @libdir@
|
||||
+INSTALL_VAMPDIR := @libdir@/vamp
|
||||
+INSTALL_LADSPADIR := @libdir@/ladspa
|
||||
INSTALL_LRDFDIR := @prefix@/share/ladspa/rdf
|
||||
-INSTALL_PKGDIR := @prefix@/lib/pkgconfig
|
||||
+INSTALL_PKGDIR := @libdir@/pkgconfig
|
||||
|
||||
all: bin lib $(PROGRAM_TARGET) $(STATIC_TARGET) $(DYNAMIC_TARGET) $(VAMP_TARGET) $(LADSPA_TARGET)
|
||||
|
||||
@@ -138,17 +138,17 @@
|
||||
$(MKDIR) -p $(DESTDIR)$(INSTALL_LADSPADIR)
|
||||
$(MKDIR) -p $(DESTDIR)$(INSTALL_LRDFDIR)
|
||||
$(MKDIR) -p $(DESTDIR)$(INSTALL_PKGDIR)
|
||||
- cp $(PROGRAM_TARGET) $(DESTDIR)$(INSTALL_BINDIR)
|
||||
- cp $(PUBLIC_INCLUDES) $(DESTDIR)$(INSTALL_INCDIR)
|
||||
- cp $(STATIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)
|
||||
+ cp -p $(PROGRAM_TARGET) $(DESTDIR)$(INSTALL_BINDIR)
|
||||
+ cp -p $(PUBLIC_INCLUDES) $(DESTDIR)$(INSTALL_INCDIR)
|
||||
+ cp -p $(STATIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)
|
||||
rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(DYNAMIC_LIBNAME)$(DYNAMIC_ABI_VERSION)
|
||||
rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(DYNAMIC_LIBNAME)
|
||||
- cp $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(DYNAMIC_LIBNAME)$(DYNAMIC_FULL_VERSION)
|
||||
+ cp -p $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(DYNAMIC_LIBNAME)$(DYNAMIC_FULL_VERSION)
|
||||
test -n "$(DYNAMIC_FULL_VERSION)" && ln -s $(DYNAMIC_LIBNAME)$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(DYNAMIC_LIBNAME)$(DYNAMIC_ABI_VERSION)
|
||||
test -n "$(DYNAMIC_FULL_VERSION)" && ln -s $(DYNAMIC_LIBNAME)$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(DYNAMIC_LIBNAME)
|
||||
- cp $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
|
||||
+ cp -p $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
|
||||
cp src/vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR)
|
||||
- cp $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)
|
||||
+ cp -p $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)
|
||||
cp src/ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR)
|
||||
cp src/ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR)
|
||||
sed "s,%PREFIX%,@prefix@," rubberband.pc.in \
|
Loading…
Reference in new issue