[paulstretch] Initial import of SRPM

Brendan Jones bsjones at fedoraproject.org
Mon Jul 9 09:20:24 UTC 2012


commit a53092ea0143a94902ee26ed005dbe1a36901f5d
Author: Brendan Jones <brendan.jones.it at gmail.com>
Date:   Mon Jul 9 11:20:18 2012 +0200

    Initial import of SRPM

 .gitignore              |    1 +
 paulstretch-fsf.patch   |  455 +++++++++++++++++++++++++++++++++++++++++++++++
 paulstretch-nomp3.patch |  111 ++++++++++++
 paulstretch.desktop     |    9 +
 paulstretch.png         |  Bin 0 -> 9020 bytes
 paulstretch.spec        |   80 +++++++++
 sources                 |    1 +
 7 files changed, 657 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..35fb506 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/paulstretch-2.2-2.tar.bz2
diff --git a/paulstretch-fsf.patch b/paulstretch-fsf.patch
new file mode 100644
index 0000000..db0a489
--- /dev/null
+++ b/paulstretch-fsf.patch
@@ -0,0 +1,455 @@
+diff --git a/BinauralBeats.cpp b/BinauralBeats.cpp
+index 1d65e26..5d42dd5 100644
+--- a/BinauralBeats.cpp
++++ b/BinauralBeats.cpp
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #include <math.h>
+diff --git a/BinauralBeats.h b/BinauralBeats.h
+index e159f93..2edca00 100644
+--- a/BinauralBeats.h
++++ b/BinauralBeats.h
+@@ -14,7 +14,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #ifndef BINAURAL_BEATS
+diff --git a/Control.cpp b/Control.cpp
+index d22e2d0..6b75bcf 100644
+--- a/Control.cpp
++++ b/Control.cpp
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ #include <math.h>
+ #include <stdlib.h>
+diff --git a/Control.h b/Control.h
+index fe121a5..7ecafeb 100644
+--- a/Control.h
++++ b/Control.h
+@@ -13,7 +13,7 @@ GNU General Public License (version 2) for more details.
+ 
+ You should have received a copy of the GNU General Public License (version 2)
+ along with this program; if not, write to the Free Software Foundation,
+-Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #ifndef CONTROL_H
+diff --git a/FreeEdit.cpp b/FreeEdit.cpp
+index 2c1b8e8..c7c94e1 100644
+--- a/FreeEdit.cpp
++++ b/FreeEdit.cpp
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #include <stdio.h>
+diff --git a/FreeEdit.h b/FreeEdit.h
+index 4ce2650..d38f252 100644
+--- a/FreeEdit.h
++++ b/FreeEdit.h
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ #ifndef FREEEDIT_H
+ #define FREEEDIT_H
+diff --git a/Input/AInputS.cpp b/Input/AInputS.cpp
+index 0db1fdb..cd63770 100644
+--- a/Input/AInputS.cpp
++++ b/Input/AInputS.cpp
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ 
+diff --git a/Input/AInputS.h b/Input/AInputS.h
+index b04ccc3..d43de3f 100644
+--- a/Input/AInputS.h
++++ b/Input/AInputS.h
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #ifndef AINPUT_H
+diff --git a/Input/InputS.h b/Input/InputS.h
+index 2fa0ebf..bab282f 100644
+--- a/Input/InputS.h
++++ b/Input/InputS.h
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #ifndef INPUTS_H
+diff --git a/Input/MP3InputS.cpp b/Input/MP3InputS.cpp
+index b918e22..ff73cde 100644
+--- a/Input/MP3InputS.cpp
++++ b/Input/MP3InputS.cpp
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #define BUFSIZE 4096 //minimum 2 buffere de mp3
+diff --git a/Input/MP3InputS.h b/Input/MP3InputS.h
+index 1a438fe..a52fe52 100644
+--- a/Input/MP3InputS.h
++++ b/Input/MP3InputS.h
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #ifndef MP3_INPUT_H
+diff --git a/Input/VorbisInputS.cpp b/Input/VorbisInputS.cpp
+index 6228d0e..cf76a64 100644
+--- a/Input/VorbisInputS.cpp
++++ b/Input/VorbisInputS.cpp
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ 
+diff --git a/Input/VorbisInputS.h b/Input/VorbisInputS.h
+index 0cf3d30..2164707 100644
+--- a/Input/VorbisInputS.h
++++ b/Input/VorbisInputS.h
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #ifndef VORBIS_INPUT_H
+diff --git a/JAaudiooutput.cpp b/JAaudiooutput.cpp
+index 338ccda..71c4c6b 100644
+--- a/JAaudiooutput.cpp
++++ b/JAaudiooutput.cpp
+@@ -14,7 +14,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ 
+ */
+ 
+diff --git a/JAaudiooutput.h b/JAaudiooutput.h
+index eb95d1d..d293275 100644
+--- a/JAaudiooutput.h
++++ b/JAaudiooutput.h
+@@ -14,7 +14,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #ifndef JACK_AUDIO_OUTPUT_H
+diff --git a/Mutex.cpp b/Mutex.cpp
+index 61d2e7c..ee88d51 100644
+--- a/Mutex.cpp
++++ b/Mutex.cpp
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ #include "Mutex.h"
+ Mutex::Mutex(){
+diff --git a/Mutex.h b/Mutex.h
+index 135a14f..65bd153 100644
+--- a/Mutex.h
++++ b/Mutex.h
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ #ifndef MUTEX_H
+ #define MUTEX_H
+diff --git a/Output/AOutputS.cpp b/Output/AOutputS.cpp
+index 44eb6f0..db0edbc 100644
+--- a/Output/AOutputS.cpp
++++ b/Output/AOutputS.cpp
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #include <stdio.h>
+diff --git a/Output/AOutputS.h b/Output/AOutputS.h
+index 8c46fa6..cebe642 100644
+--- a/Output/AOutputS.h
++++ b/Output/AOutputS.h
+@@ -14,7 +14,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #ifndef AOUTPUT_H
+diff --git a/Output/VorbisOutputS.cpp b/Output/VorbisOutputS.cpp
+index 5b6dec3..b5779b3 100644
+--- a/Output/VorbisOutputS.cpp
++++ b/Output/VorbisOutputS.cpp
+@@ -14,7 +14,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #include <stdlib.h>
+diff --git a/Output/VorbisOutputS.h b/Output/VorbisOutputS.h
+index 0799e1a..3b6e640 100644
+--- a/Output/VorbisOutputS.h
++++ b/Output/VorbisOutputS.h
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #ifndef VORBISOUTPUT_H
+diff --git a/PAaudiooutput.cpp b/PAaudiooutput.cpp
+index d65a06f..76a8fcd 100644
+--- a/PAaudiooutput.cpp
++++ b/PAaudiooutput.cpp
+@@ -14,7 +14,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ 
+ */
+ 
+diff --git a/PAaudiooutput.h b/PAaudiooutput.h
+index 6d88974..82c5e25 100644
+--- a/PAaudiooutput.h
++++ b/PAaudiooutput.h
+@@ -14,7 +14,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #ifndef PA_AUDIO_OUTPUT_H
+diff --git a/Player.cpp b/Player.cpp
+index 8212235..038f6d2 100644
+--- a/Player.cpp
++++ b/Player.cpp
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ #include <stdlib.h>
+ #include <stdio.h>
+diff --git a/Player.h b/Player.h
+index bfb29aa..91e6fa2 100644
+--- a/Player.h
++++ b/Player.h
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ #ifndef PLAYER_H
+ #define PLAYER_H
+diff --git a/ProcessedStretch.cpp b/ProcessedStretch.cpp
+index 5b51c4d..ebaffe4 100644
+--- a/ProcessedStretch.cpp
++++ b/ProcessedStretch.cpp
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #include <math.h>
+diff --git a/ProcessedStretch.h b/ProcessedStretch.h
+index 1c859e5..74826ab 100644
+--- a/ProcessedStretch.h
++++ b/ProcessedStretch.h
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ 
+diff --git a/Stretch.cpp b/Stretch.cpp
+index 5b543de..f51e668 100644
+--- a/Stretch.cpp
++++ b/Stretch.cpp
+@@ -13,7 +13,7 @@
+ 	
+ 	You should have received a copy of the GNU General Public License (version 2)
+ 	along with this program; if not, write to the Free Software Foundation,
+-	Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++	Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ 
+ #include "Stretch.h"
+diff --git a/Stretch.h b/Stretch.h
+index 0fdf80c..78b4429 100644
+--- a/Stretch.h
++++ b/Stretch.h
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ #ifndef STRETCH_H
+ #define STRETCH_H
+diff --git a/Thread.cpp b/Thread.cpp
+index 103a854..3b6b527 100644
+--- a/Thread.cpp
++++ b/Thread.cpp
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ #include <unistd.h>
+ #include "Thread.h"
+diff --git a/Thread.h b/Thread.h
+index 971868f..ee68f5a 100644
+--- a/Thread.h
++++ b/Thread.h
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ #ifndef THREAD_H
+ #define THREAD_H
+diff --git a/XMLwrapper.cpp b/XMLwrapper.cpp
+index 1efb66e..75cc5fe 100644
+--- a/XMLwrapper.cpp
++++ b/XMLwrapper.cpp
+@@ -14,7 +14,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ 
+ */
+ 
+diff --git a/XMLwrapper.h b/XMLwrapper.h
+index 38f1faf..8794701 100644
+--- a/XMLwrapper.h
++++ b/XMLwrapper.h
+@@ -14,7 +14,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ 
+ */
+ 
+diff --git a/globals.cpp b/globals.cpp
+index 7815ef3..6500a6b 100644
+--- a/globals.cpp
++++ b/globals.cpp
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ #include "globals.h"
+ #ifdef WINDOWS
+diff --git a/globals.h b/globals.h
+index c03042e..3a182a8 100644
+--- a/globals.h
++++ b/globals.h
+@@ -13,7 +13,7 @@
+ 
+   You should have received a copy of the GNU General Public License (version 2)
+   along with this program; if not, write to the Free Software Foundation,
+-  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
++  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+ #ifndef GLOBALS_H
+ #define GLOBALS_H
diff --git a/paulstretch-nomp3.patch b/paulstretch-nomp3.patch
new file mode 100644
index 0000000..ed5cc18
--- /dev/null
+++ b/paulstretch-nomp3.patch
@@ -0,0 +1,111 @@
+diff -Nurp paulstretch-2.2-2/compile_linux_fftw_jack.sh paulstretch-2.2-2.nomp3/compile_linux_fftw_jack.sh
+--- paulstretch-2.2-2/compile_linux_fftw_jack.sh	2011-02-09 22:45:44.000000000 +0100
++++ paulstretch-2.2-2.nomp3/compile_linux_fftw_jack.sh	2012-02-17 09:39:15.757708014 +0100
+@@ -9,7 +9,7 @@ g++ -ggdb GUI.cxx FreeEditUI.cxx *.cpp I
+  `fltk-config --ldflags` \
+  -laudiofile -lfftw3f -lvorbisenc -lvorbisfile -lportaudio -lpthread -lmad -lmxml \
+  `pkg-config --cflags --libs jack samplerate` \
+- -DHAVE_JACK -DENABLE_RESAMPLING \
++ -DHAVE_JACK -DHAVE_MAD -DENABLE_RESAMPLING \
+  -o $outfile
+ 
+ rm -f GUI.h GUI.cxx FreeEditUI.h FreeEditUI.cxx
+diff -Nurp paulstretch-2.2-2/compile_linux_fftw.sh paulstretch-2.2-2.nomp3/compile_linux_fftw.sh
+--- paulstretch-2.2-2/compile_linux_fftw.sh	2011-02-09 21:53:51.000000000 +0100
++++ paulstretch-2.2-2.nomp3/compile_linux_fftw.sh	2012-02-17 09:40:10.676024833 +0100
+@@ -6,7 +6,7 @@ fluid -c GUI.fl
+ fluid -c FreeEditUI.fl
+ 
+ g++ -ggdb GUI.cxx FreeEditUI.cxx *.cpp Input/*.cpp Output/*.cpp `fltk-config --cflags` \
+- `fltk-config --ldflags`  -laudiofile -lfftw3f -lvorbisenc -lvorbisfile -lportaudio -lpthread -lmad -lmxml -o $outfile
++ `fltk-config --ldflags`  -laudiofile -lfftw3f -lvorbisenc -lvorbisfile -lportaudio -lpthread -lmad -lmxml -DHAVE_MAD -o $outfile
+ 
+ rm -f GUI.h GUI.cxx FreeEditUI.h FreeEditUI.cxx
+ 
+diff -Nurp paulstretch-2.2-2/compile_linux_kissfft.sh paulstretch-2.2-2.nomp3/compile_linux_kissfft.sh
+--- paulstretch-2.2-2/compile_linux_kissfft.sh	2011-02-09 21:53:58.000000000 +0100
++++ paulstretch-2.2-2.nomp3/compile_linux_kissfft.sh	2012-02-17 09:39:58.240405984 +0100
+@@ -6,6 +6,6 @@ fluid -c FreeEditUI.fl
+ 
+ 
+ g++ -ggdb -DKISSFFT -I./contrib GUI.cxx FreeEditUI.cxx *.cpp Input/*.cpp Output/*.cpp contrib/*.c `fltk-config --cflags` \
+- `fltk-config --ldflags`  -laudiofile  -lvorbisenc -lvorbisfile -lportaudio -lpthread -lmad -lmxml -o $outfile
++ `fltk-config --ldflags`  -laudiofile  -lvorbisenc -lvorbisfile -lportaudio -lpthread -lmad -lmxml -DHAVE_MAD -o $outfile
+ 
+ rm -f GUI.h GUI.cxx FreeEditUI.h FreeEditUI.cxx
+diff -Nurp paulstretch-2.2-2/compile_win32.sh paulstretch-2.2-2.nomp3/compile_win32.sh
+--- paulstretch-2.2-2/compile_win32.sh	2011-03-04 18:36:11.000000000 +0100
++++ paulstretch-2.2-2.nomp3/compile_win32.sh	2012-02-17 09:39:40.827939659 +0100
+@@ -9,7 +9,7 @@ wine "$mingw_dir/bin/fluid.exe" -c FreeE
+ 
+ clear 
+ 
+-i586-mingw32msvc-g++ -O3 -DWINDOWS -DKISSFFT -I./contrib GUI.cxx FreeEditUI.cxx *.cpp Input/*.cpp Output/*.cpp contrib/*.c \
++i586-mingw32msvc-g++ -O3 -DWINDOWS -DHAVE_MAD -DKISSFFT -I./contrib GUI.cxx FreeEditUI.cxx *.cpp Input/*.cpp Output/*.cpp contrib/*.c \
+ `"$mingw_dir/bin/fltk-config" --cflags` \
+ `"$mingw_dir/bin/fltk-config" --ldflags` \
+ "$mingw_dir/lib/libvorbisenc.a" \
+diff -Nurp paulstretch-2.2-2/Control.cpp paulstretch-2.2-2.nomp3/Control.cpp
+--- paulstretch-2.2-2/Control.cpp	2011-03-06 11:49:38.000000000 +0100
++++ paulstretch-2.2-2.nomp3/Control.cpp	2012-02-17 08:53:32.295723297 +0100
+@@ -60,7 +60,9 @@ Control::~Control(){
+ bool Control::set_input_filename(string filename,FILE_TYPE intype){
+ 	InputS *ai=NULL;
+ 	if (intype==FILE_VORBIS) ai=new VorbisInputS;
++#ifdef HAVE_MAD
+ 	if (intype==FILE_MP3) ai=new MP3InputS;
++#endif
+ 	if (intype==FILE_WAV) ai=new AInputS;
+ 	if (!ai) return false;
+ 	wavinfo.filename=filename;
+@@ -367,7 +369,9 @@ string Control::Render(string inaudio,st
+ 	switch(intype){
+ 		case FILE_VORBIS:ai=new VorbisInputS;
+ 						 break;
++#ifdef HAVE_MAD
+ 		case FILE_MP3:ai=new MP3InputS;
++#endif
+ 					  break;
+ 		default:ai=new AInputS;
+ 	};
+diff -Nurp paulstretch-2.2-2/Control.h paulstretch-2.2-2.nomp3/Control.h
+--- paulstretch-2.2-2/Control.h	2011-03-02 21:38:51.000000000 +0100
++++ paulstretch-2.2-2.nomp3/Control.h	2012-02-17 08:53:32.295723297 +0100
+@@ -22,7 +22,9 @@ Inc., 59 Temple Place, Suite 330, Boston
+ #include "globals.h"
+ #include "Input/AInputS.h"
+ #include "Input/VorbisInputS.h"
+-#include "Input/MP3InputS.h"
++#ifdef HAVE_MP3
++# include "Input/MP3InputS.h"
++#endif
+ #include "Output/AOutputS.h"
+ #include "Output/VorbisOutputS.h"
+ #include "ProcessedStretch.h"
+diff -Nurp paulstretch-2.2-2/Player.cpp paulstretch-2.2-2.nomp3/Player.cpp
+--- paulstretch-2.2-2/Player.cpp	2011-03-05 19:31:57.000000000 +0100
++++ paulstretch-2.2-2.nomp3/Player.cpp	2012-02-17 09:29:24.221845364 +0100
+@@ -250,7 +250,9 @@ void Player::newtaskcheck(){
+ 		switch (task.intype){
+ 			case FILE_VORBIS:ai=new VorbisInputS;
+ 							 break;
++#ifdef HAVE_MAD
+ 			case FILE_MP3:ai=new MP3InputS;
++#endif
+ 						  break;
+ 			default: ai=new AInputS;
+ 		};
+diff -Nurp paulstretch-2.2-2/Player.h paulstretch-2.2-2.nomp3/Player.h
+--- paulstretch-2.2-2/Player.h	2011-03-02 21:47:49.000000000 +0100
++++ paulstretch-2.2-2.nomp3/Player.h	2012-02-17 11:06:09.661797843 +0100
+@@ -21,7 +21,9 @@
+ #include <string>
+ #include "Input/AInputS.h"
+ #include "Input/VorbisInputS.h"
+-#include "Input/MP3InputS.h"
++#ifdef HAVE_MAD 
++# include "Input/MP3InputS.h"
++#endif 
+ #include "ProcessedStretch.h"
+ #include "Thread.h"
+ #include "BinauralBeats.h"
diff --git a/paulstretch.desktop b/paulstretch.desktop
new file mode 100644
index 0000000..fad98b5
--- /dev/null
+++ b/paulstretch.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Paulstretch
+Comment=Pauls Extreme Audio Stretch
+Icon=paulstretch
+Type=Application
+Exec=paulstretch
+Categories=Application;AudioVideo;Audio;X-Jack;X-Audio_Tools
+Terminal=false
+Encoding=UTF-8
diff --git a/paulstretch.png b/paulstretch.png
new file mode 100644
index 0000000..f55dbcc
Binary files /dev/null and b/paulstretch.png differ
diff --git a/paulstretch.spec b/paulstretch.spec
new file mode 100644
index 0000000..9f330e0
--- /dev/null
+++ b/paulstretch.spec
@@ -0,0 +1,80 @@
+
+Summary:       An audio sample stretching utility
+Name:          paulstretch
+Version:       2.2.2
+Release:       2%{?dist}
+License:       GPLv2+ and BSD
+Group:         Applications/Multimedia
+URL:           http://hypermammut.sourceforge.net/%{name}
+Source0:       http://downloads.sourceforge.net/hypermammut/files/%{name}-2.2-2.tar.bz2
+# desktop file submitted upstream
+Source1:       %{name}.desktop
+Source2:       %{name}.png
+# remove dependance on bad library - submitted upstream (by email)
+Patch0:        paulstretch-nomp3.patch
+# FSF address patch of sources - submitted upstream via email
+Patch1:        paulstretch-fsf.patch
+
+BuildRequires: desktop-file-utils 
+BuildRequires: audiofile-devel
+BuildRequires: portaudio-devel
+BuildRequires: fftw-devel
+BuildRequires: libsamplerate-devel
+BuildRequires: fltk-devel
+BuildRequires: fltk-fluid
+BuildRequires: libvorbis-devel
+BuildRequires: libogg-devel
+BuildRequires: alsa-lib-devel 
+BuildRequires: zlib-devel
+BuildRequires: mxml-devel
+BuildRequires: jack-audio-connection-kit-devel
+
+%description
+%{name} is a program for stretching the audio. It is suitable only for 
+extreme sound stretching of the audio (like 50x) and for applying 
+special effects by "spectral smoothing" the sounds. It can transform 
+any sound/music to a texture.
+
+%prep
+%setup -q -n %{name}-2.2-2
+%patch0 -p1 
+%patch1 -p1
+sed -i -e "s|HAVE_MAD|HAVE_NO_MAD|" GUI.fl
+
+%build
+fluid -c GUI.fl 
+fluid -c FreeEditUI.fl
+
+g++ -ggdb GUI.cxx FreeEditUI.cxx *.cpp Output/*.cpp \
+ Input/V*.cpp Input/A*.cpp  \
+ `fltk-config --cflags` `fltk-config --ldflags` %{optflags} \
+ -laudiofile -lvorbis -logg -lmxml -lz -lfftw3f -lvorbisenc \
+ -lvorbisfile -lportaudio -lpthread -lmxml \
+ `pkg-config --cflags --libs jack samplerate` \
+ -DHAVE_JACK -DENABLE_RESAMPLING \
+ -o %{name}
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+install -m 0755 %{name} %{buildroot}%{_bindir}/
+
+mkdir -p %{buildroot}%{_datadir}/applications
+desktop-file-install \
+  --dir %{buildroot}%{_datadir}/applications    \
+  %{SOURCE1}
+mkdir -p %{buildroot}%{_datadir}/pixmaps
+install -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/
+
+%files
+%doc readme.txt
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.png
+
+%changelog
+* Wed Jul 04 2012 Brendan Jones <brendan.jones.it at gmail.com> 2.2.2-2
+- Add FSF address patch, correct license
+
+* Wed Oct 26 2011 Brendan Jones <brendan.jones.it at gmail.com> - 2.2.2-1
+- Initial RPM
+
diff --git a/sources b/sources
index e69de29..396e872 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+172dec7ad316ea4df0fda6d97758c5f2  paulstretch-2.2-2.tar.bz2


More information about the scm-commits mailing list