--- stk-4.2.0.orig/debian/changelog +++ stk-4.2.0/debian/changelog @@ -0,0 +1,27 @@ +stk (4.2.0-1) unstable; urgency=low + + * New upstream version + * Fixed stk.links file in order to remove rthe dangling symlink of + STKDemo (closes: #268013) + + -- Guenter Geiger (Debian/GNU) Mon, 11 Oct 2004 11:58:57 +0200 + +stk (4.1.3-3) unstable; urgency=low + + * changed link line from -Wl,shared to -shared + + -- Guenter Geiger (Debian/GNU) Mon, 23 Aug 2004 18:06:35 +0200 + +stk (4.1.3-2) unstable; urgency=low + + * Added -fPIC to shared library linker flags (hoping to fix the + compilation on hppa) + + -- Guenter Geiger (Debian/GNU) Thu, 19 Aug 2004 19:10:10 +0200 + +stk (4.1.3-1) unstable; urgency=low + + * Initial Release (closes: #197053). + + -- Guenter Geiger (Debian/GNU) Thu, 22 Apr 2004 10:55:08 +0200 + --- stk-4.2.0.orig/debian/compat +++ stk-4.2.0/debian/compat @@ -0,0 +1 @@ +4 --- stk-4.2.0.orig/debian/stk-demo.1 +++ stk-4.2.0/debian/stk-demo.1 @@ -0,0 +1,90 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH STK-DEMO 1 "august 13, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +stk-demo \- Sound Synthesis Toolkit demo application +.SH SYNOPSIS +.B stk-demo +Instrument +.RI [ options ] +.br +.B STKDemo + +.SH DESCRIPTION + +The stk-demo program demonstrates several of the algorithms that are built +into the Sound Synthesis Toolkit (STK). The stk-demo is a command line +program, but it has a GUI frontend called STKDemo. Use STKDemo if you want +to try out the different synthesis algorithms implemented in STK. +.PP +The stk-demo program can be used to build your own synthesizer/sequencer +combination. The program is listening to SKINI commands on stdin. +.PP +.B Instrument +can be one of the following: +.PP +Clarinet, BlowHole, Saxofony, Flute, Brass, BlowBotl, Bowed, Plucked, +StifKarp, Sitar, Mandolin, Rhodey, Wurley, TubeBell, HevyMetl, PercFlut, +BeeThree, FMVoices, VoicForm, Moog, Simple, Drummer, BandedWG, Shakers, +ModalBar, Mesh2D, Resonate, Whistle +.PP +Simultaneous multiple output types are supported. +Likewise, simultaneous control input types are supported. +SKINI formatted scorefiles can be piped or redirected +to stk-demo, though realtime control flags should be omitted +when doing so. If the optional are not +specified, default names will be indicated. Each flag +must include its own '-' sign. + +.SH OPTIONS +.B \-s +RATE to specify a sample rate +.TP +.B \-n NUMBER +specifies the number of voices to allocate +.TP +.B \-ow +for .wav audio output file +.TP +.B \-os +for .snd audio output file +.TP +.B \-om +for .mat audio output file +.TP +.B \-oa +for .aif audio output file +.TP +.B \-or +for realtime audio output +.TP +.B \-ip +for realtime control input by pipe +.TP +.B \-is +for realtime control input by socket +.TP +.B \-im +for realtime control input by MIDI, +.TP + +.SH SEE ALSO + +/usr/share/doc/stk-doc in the stk-doc package. + +.SH AUTHOR +This manual page was written for the Debian project (but may be used by others). --- stk-4.2.0.orig/debian/watch +++ stk-4.2.0/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +www-ccrma.stanford.edu /software/stk/release stk-(.*)\.tar\.gz debian uupdate --- stk-4.2.0.orig/debian/rules +++ stk-4.2.0/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +DEB_TAR_SRCDIR := stk-4.2.0 +export RAWWAVE_PATH = /usr/share/stk/rawwaves/ + + +# config.status in the upstream source is in our way. remove it +post-patches:: pre-build + -rm $(DEB_BUILDDIR)/config.status + +include /usr/share/cdbs/1/rules/tarball.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_CONFIGURE_EXTRA_FLAGS := --with-rawwaves=/usr/share/stk \ + --with-jack \ + --with-alsa \ + --with-oss + --- stk-4.2.0.orig/debian/stk-doc.docs +++ stk-4.2.0/debian/stk-doc.docs @@ -0,0 +1 @@ +build-tree/stk*/doc/html --- stk-4.2.0.orig/debian/STKDemo +++ stk-4.2.0/debian/STKDemo @@ -0,0 +1,7 @@ +#!/bin/sh + +cd /usr/share/stk +echo STK Demo Application +wish < /usr/share/stk/tcl/Demo.tcl | stk-demo Clarinet -or -ip +cd - + --- stk-4.2.0.orig/debian/stk.menu +++ stk-4.2.0/debian/stk.menu @@ -0,0 +1,3 @@ +?package(stk):needs="X11" section="Apps/Sound"\ + title="STKDemo" command="/usr/bin/STKDemo" + --- stk-4.2.0.orig/debian/delme +++ stk-4.2.0/debian/delme @@ -0,0 +1,27 @@ + +useage: stk-demo Instrument flag(s) + where flag = -s RATE to specify a sample rate, + -n NUMBER specifies the number of voices to allocate, + -ow for .wav audio output file, + -os for .snd audio output file, + -om for .mat audio output file, + -oa for .aif audio output file, + -or for realtime audio output, + -ip for realtime control input by pipe, + (won't work under Win95/98), + -is for realtime control input by socket, + -im for realtime control input by MIDI, + and Instrument = one of these: +Clarinet BlowHole Saxofony Flute Brass BlowBotl Bowed Plucked +StifKarp Sitar Mandolin Rhodey Wurley TubeBell HevyMetl PercFlut +BeeThree FMVoices VoicForm Moog Simple Drummer BandedWG Shakers +ModalBar Mesh2D Resonate Whistle + +Simultaneous multiple output types are supported. +Likewise, simultaneous control input types are supported. +SKINI formatted scorefiles can be piped or redirected +to stk-demo, though realtime control flags should be omitted +when doing so. If the optional are not +specified, default names will be indicated. Each flag +must include its own '-' sign. + --- stk-4.2.0.orig/debian/control +++ stk-4.2.0/debian/control @@ -0,0 +1,39 @@ +Source: stk +Section: sound +Priority: optional +Maintainer: Guenter Geiger (Debian/GNU) +Build-Depends: debhelper (>= 4.0.0), cdbs, libasound2, libjack-dev, libreadline4-dev +Standards-Version: 3.6.1.1 + +Package: libstk0-dev +Architecture: any +Depends: libstk0 +Description: sound synthesis toolkit development files + This package provides the development files for the sound synthesis toolkit. + If you want to develop with the sound synthesis toolkit you need these + files. + +Package: libstk0 +Architecture: any +Depends: ${shlibs:Depends} +Description: Sound Synthesis Toolkit + The Sound Synthesis Toolkit is a C++ library with implementations + of several sound synthesis algorithms, starting from Frequency + Modulation, over Physical Modelling and others. It can be used + as a library, but it also provides some nice software synthesizers. + +Package: stk +Architecture: any +Depends: libstk0, tk8.4, ${shlibs:Depends} +Description: Sound Synthesis Toolkit example applications + The example applications and synthesisers that come with the sound + synthesis toolkit. + . + Homepage: http://ccrma.stanford.edu/software/stk/download.html + +Package: stk-doc +Architecture: all +Description: documentation for the sound synthesis toolkit (STK) + This package contains the documentation for the sound synthesis + toolkit. The documentation is developer oriented and covers all + you need to know if you want to develop an STK application. --- stk-4.2.0.orig/debian/stk.install +++ stk-4.2.0/debian/stk.install @@ -0,0 +1,5 @@ +build-tree/stk-*/rawwaves/* usr/share/stk/rawwaves +build-tree/stk-*/projects/examples/rawwaves/* usr/share/stk/rawwaves +build-tree/stk-*/projects/demo/stk-demo usr/bin +build-tree/stk-*/projects/demo/tcl usr/share/stk +debian/STKDemo usr/bin --- stk-4.2.0.orig/debian/dirs +++ stk-4.2.0/debian/dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- stk-4.2.0.orig/debian/copyright +++ stk-4.2.0/debian/copyright @@ -0,0 +1,11 @@ +Debianized by Guenter Geiger (Debian/GNU) on +Thu, 22 Apr 2004 10:55:08 +0200. + +http://ccrma.stanford.edu/software/stk/ + +Authors: Perry Cook and Gary P. Scavone + +Copyright: + This software was designed and created to be made publicly available for free, primarily for academic purposes, so if you use it, pass it on with this + documentation, and for free. + --- stk-4.2.0.orig/debian/patches/01_makefile.patch +++ stk-4.2.0/debian/patches/01_makefile.patch @@ -0,0 +1,238 @@ +diff -ruN stk-4.2.0-old/Makefile stk-4.2.0/Makefile +--- stk-4.2.0-old/Makefile 1970-01-01 01:00:00.000000000 +0100 ++++ stk-4.2.0/Makefile 2004-10-11 11:55:48.000000000 +0200 +@@ -0,0 +1,9 @@ ++ ++ ++all: ++ make -C src ++ make -C projects/demo ++ ++install: ++ make -C src install ++# make -C projects/demo install +diff -ruN stk-4.2.0-old/projects/demo/Makefile.in stk-4.2.0/projects/demo/Makefile.in +--- stk-4.2.0-old/projects/demo/Makefile.in 2004-10-04 17:04:43.000000000 +0200 ++++ stk-4.2.0/projects/demo/Makefile.in 2004-10-11 11:55:48.000000000 +0200 +@@ -1,6 +1,6 @@ + ### STK demo Makefile - for various flavors of unix + +-PROGRAMS = demo ++PROGRAMS = stk-demo + RM = /bin/rm + SRC_PATH = ../../src + OBJECT_PATH = @object_path@ +@@ -54,8 +54,8 @@ + + all : $(PROGRAMS) + +-demo: demo.cpp $(OBJECTS) +- $(CC) $(CFLAGS) $(DEFS) -o demo demo.cpp $(OBJECT_PATH)/*.o $(LIBRARY) ++stk-demo: demo.cpp ++ $(CC) $(CFLAGS) $(DEFS) -o stk-demo demo.cpp utilities.cpp -L../../src -lstk $(LIBRARY) + + libdemo: demo.cpp + $(CC) $(CFLAGS) $(DEFS) -o demo utilities.cpp demo.cpp -L../../src $(LIBRARY) -lstk +@@ -75,6 +75,7 @@ + strip : + strip $(PROGRAMS) + ++ + # Project specific objects: + + utilities.o: utilities.cpp +diff -ruN stk-4.2.0-old/projects/demo/Makefile.in.orig stk-4.2.0/projects/demo/Makefile.in.orig +--- stk-4.2.0-old/projects/demo/Makefile.in.orig 1970-01-01 01:00:00.000000000 +0100 ++++ stk-4.2.0/projects/demo/Makefile.in.orig 2004-10-04 17:04:43.000000000 +0200 +@@ -0,0 +1,81 @@ ++### STK demo Makefile - for various flavors of unix ++ ++PROGRAMS = demo ++RM = /bin/rm ++SRC_PATH = ../../src ++OBJECT_PATH = @object_path@ ++vpath %.o $(OBJECT_PATH) ++ ++OBJECTS = Stk.o Generator.o Noise.o SubNoise.o Envelope.o ADSR.o \ ++ Modulate.o SingWave.o \ ++ WvIn.o WaveLoop.o WvOut.o \ ++ Filter.o OneZero.o OnePole.o PoleZero.o TwoZero.o \ ++ BiQuad.o FormSwep.o Delay.o DelayL.o DelayA.o \ ++ Function.o ReedTable.o JetTable.o BowTable.o \ ++ Effect.o PRCRev.o \ ++ Voicer.o Vector3D.o Sphere.o \ ++ \ ++ Instrmnt.o Clarinet.o BlowHole.o Saxofony.o Flute.o Brass.o BlowBotl.o \ ++ Bowed.o Plucked.o StifKarp.o Sitar.o PluckTwo.o Mandolin.o Mesh2D.o \ ++ FM.o Rhodey.o Wurley.o TubeBell.o HevyMetl.o PercFlut.o BeeThree.o FMVoices.o \ ++ Sampler.o Moog.o Simple.o Drummer.o Shakers.o \ ++ Modal.o ModalBar.o BandedWG.o Resonate.o VoicForm.o Phonemes.o Whistle.o \ ++ \ ++ Messager.o Skini.o utilities.o ++ ++INCLUDE = @include@ ++ifeq ($(strip $(INCLUDE)), ) ++ INCLUDE = ../../include ++endif ++vpath %.h $(INCLUDE) ++ ++CC = @CXX@ ++DEFS = @byte_order@ ++DEFS += @debug@ ++CFLAGS = @cflags@ ++CFLAGS += @warn@ -I$(INCLUDE) ++LIBRARY = @LIBS@ ++LIBRARY += @frameworks@ ++ ++REALTIME = @realtime@ ++ifeq ($(REALTIME),yes) ++ OBJECTS += RtMidi.o RtAudio.o Thread.o Mutex.o Socket.o ++ DEFS += @audio_apis@ ++endif ++ ++RAWWAVES = @rawwaves@ ++ifeq ($(strip $(RAWWAVES)), ) ++ RAWWAVES = ../../rawwaves/ ++endif ++DEFS += -DRAWWAVE_PATH=\"$(RAWWAVES)\" ++ ++%.o : $(SRC_PATH)/%.cpp ++ $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $(OBJECT_PATH)/$@ ++ ++all : $(PROGRAMS) ++ ++demo: demo.cpp $(OBJECTS) ++ $(CC) $(CFLAGS) $(DEFS) -o demo demo.cpp $(OBJECT_PATH)/*.o $(LIBRARY) ++ ++libdemo: demo.cpp ++ $(CC) $(CFLAGS) $(DEFS) -o demo utilities.cpp demo.cpp -L../../src $(LIBRARY) -lstk ++ ++Md2Skini: Md2Skini.cpp Stk.o RtMidi.o ++ $(CC) $(CFLAGS) $(DEFS) -o Md2Skini Md2Skini.cpp $(OBJECT_PATH)/Stk.o $(OBJECT_PATH)/RtMidi.o $(LIBRARY) ++ ++libMd2Skini: Md2Skini.cpp ++ $(CC) $(CFLAGS) $(DEFS) -o Md2Skini Md2Skini.cpp -L../../src $(LIBRARY) -lstk ++ ++$(OBJECTS) : Stk.h ++ ++clean : ++ -rm $(OBJECT_PATH)/*.o ++ -rm $(PROGRAMS) ++ ++strip : ++ strip $(PROGRAMS) ++ ++# Project specific objects: ++ ++utilities.o: utilities.cpp ++ $(CC) $(CFLAGS) $(DEFS) -c utilities.cpp -o $(OBJECT_PATH)/$@ +diff -ruN stk-4.2.0-old/src/Makefile.in stk-4.2.0/src/Makefile.in +--- stk-4.2.0-old/src/Makefile.in 2004-09-21 21:12:29.000000000 +0200 ++++ stk-4.2.0/src/Makefile.in 2004-10-11 11:55:55.000000000 +0200 +@@ -38,7 +38,7 @@ + DEFS = @byte_order@ + DEFS += @debug@ + CFLAGS = @cflags@ +-CFLAGS += @warn@ $(INCLUDE) ++CFLAGS += @warn@ $(INCLUDE) -fPIC + + REALTIME = @realtime@ + ifeq ($(REALTIME),yes) +@@ -66,3 +66,25 @@ + clean : + -rm $(OBJECT_PATH)/*.o + -rm $(LIBRARY) ++ ++SHLIB = libstk.so ++MAJ = 0 ++MIN = 4.1.3 ++ ++shlibs: $(LIBRARY) ++ g++ -fPIC -shared -Wl,-soname=$(SHLIB).$(MAJ) -o libstk.so.$(MAJ).$(MIN) Release/*.o -lc ++ -ln -s $(SHLIB).$(MAJ).$(MIN) $(SHLIB).$(MAJ) ++ -ln -s $(SHLIB).$(MAJ).$(MIN) $(SHLIB) ++ ++install-headers: ++ install -d $(DESTDIR)/usr/include/stk ++ cp -r ../include/*.h $(DESTDIR)/usr/include/stk ++ ++install: shlibs install-headers ++ install -d $(DESTDIR)/usr/share/stk ++ install -d $(DESTDIR)/usr/lib ++ install -m 644 $(LIBRARY) $(DESTDIR)/usr/lib ++ install -m 644 $(SHLIB).$(MAJ).$(MIN) $(DESTDIR)/usr/lib ++ ln -s $(SHLIB).$(MAJ).$(MIN) $(DESTDIR)/usr/lib/$(SHLIB).$(MAJ) ++ ln -s $(SHLIB).$(MAJ).$(MIN) $(DESTDIR)/usr/lib/$(SHLIB) ++ +diff -ruN stk-4.2.0-old/src/Makefile.in.orig stk-4.2.0/src/Makefile.in.orig +--- stk-4.2.0-old/src/Makefile.in.orig 1970-01-01 01:00:00.000000000 +0100 ++++ stk-4.2.0/src/Makefile.in.orig 2004-09-21 21:12:29.000000000 +0200 +@@ -0,0 +1,68 @@ ++### libstk Makefile - for various flavors of unix ++ ++LIBRARY = libstk.a ++AR = ar -rsc ++RM = /bin/rm ++OBJECT_PATH = @object_path@ ++vpath %.o $(OBJECT_PATH) ++ ++OBJECTS = Stk.o Generator.o Noise.o SubNoise.o \ ++ Envelope.o ADSR.o Asymp.o Modulate.o SingWave.o \ ++ WvIn.o WaveLoop.o WvOut.o \ ++ Filter.o OneZero.o OnePole.o PoleZero.o TwoZero.o TwoPole.o \ ++ BiQuad.o FormSwep.o Delay.o DelayL.o DelayA.o \ ++ Effect.o PRCRev.o JCRev.o NRev.o \ ++ Chorus.o Echo.o PitShift.o \ ++ Function.o Table.o ReedTable.o JetTable.o BowTable.o \ ++ Voicer.o Vector3D.o Sphere.o \ ++ \ ++ Instrmnt.o Clarinet.o BlowHole.o Saxofony.o Flute.o Brass.o BlowBotl.o \ ++ Bowed.o Plucked.o StifKarp.o Sitar.o PluckTwo.o Mandolin.o Mesh2D.o \ ++ FM.o Rhodey.o Wurley.o TubeBell.o HevyMetl.o PercFlut.o BeeThree.o FMVoices.o \ ++ Sampler.o Moog.o Simple.o Drummer.o Shakers.o \ ++ Modal.o ModalBar.o BandedWG.o Resonate.o VoicForm.o Phonemes.o Whistle.o \ ++ \ ++ Messager.o Skini.o MidiFileIn.o ++ ++ ++INCLUDE = @include@ ++ifeq ($(strip $(INCLUDE)),) ++ vpath %.h ../include ++ INCLUDE = -I../include ++else ++ vpath %.h ../include $(INCLUDE) ++ INCLUDE = -I../include -I@include@ ++endif ++ ++CC = @CXX@ ++DEFS = @byte_order@ ++DEFS += @debug@ ++CFLAGS = @cflags@ ++CFLAGS += @warn@ $(INCLUDE) ++ ++REALTIME = @realtime@ ++ifeq ($(REALTIME),yes) ++ OBJECTS += RtMidi.o RtAudio.o RtWvOut.o RtWvIn.o RtDuplex.o TcpWvOut.o TcpWvIn.o Thread.o Mutex.o Socket.o ++ DEFS += @audio_apis@ ++endif ++ ++RAWWAVES = @rawwaves@ ++ifeq ($(strip $(RAWWAVES)), ) ++ RAWWAVES = ../rawwaves/ ++endif ++DEFS += -DRAWWAVE_PATH=\"$(RAWWAVES)\" ++ ++%.o : %.cpp ++ $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $(OBJECT_PATH)/$@ ++ ++all : $(LIBRARY) ++ ++$(LIBRARY) : $(OBJECTS) ++ /bin/rm -f $(LIBRARY) ++ $(AR) $(LIBRARY) $(OBJECT_PATH)/*.o ++ ++$(OBJECTS) : Stk.h ++ ++clean : ++ -rm $(OBJECT_PATH)/*.o ++ -rm $(LIBRARY) --- stk-4.2.0.orig/debian/stk.manpages +++ stk-4.2.0/debian/stk.manpages @@ -0,0 +1 @@ +debian/stk-demo.1 --- stk-4.2.0.orig/debian/libstk0.install +++ stk-4.2.0/debian/libstk0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* --- stk-4.2.0.orig/debian/stk-doc.doc-base +++ stk-4.2.0/debian/stk-doc.doc-base @@ -0,0 +1,13 @@ +Document: stk-doc +Title: The Synthesis Toolkit in C++ (STK) +Author: Perry R. Cook and Gary P. Scavone +Abstract: The Synthesis ToolKit in C++ (STK) is a set of open source audio + signal processing and algorithmic synthesis classes written in C++. STK + was designed to facilitate rapid development of music synthesis and audio + processing software, with an emphasis on cross-platform functionality, + realtime control, ease of use, and educational example code. +Section: Apps/Programming + +Format: HTML +Index: /usr/share/doc/stk-doc/html/index.html +Files: /usr/share/doc/stk-doc/html/*.html --- stk-4.2.0.orig/debian/libstk0-dev.dirs +++ stk-4.2.0/debian/libstk0-dev.dirs @@ -0,0 +1,2 @@ +usr/include +usr/lib --- stk-4.2.0.orig/debian/libstk0.dirs +++ stk-4.2.0/debian/libstk0.dirs @@ -0,0 +1,2 @@ +usr/lib + --- stk-4.2.0.orig/debian/libstk0-dev.install +++ stk-4.2.0/debian/libstk0-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/lib*.so +debian/tmp/usr/lib/lib*.a +debian/tmp/usr/include/stk/* --- stk-4.2.0.orig/debian/stk.links +++ stk-4.2.0/debian/stk.links @@ -0,0 +1 @@ +usr/share/man/man1/stk-demo.1 usr/share/man/man1/STKDemo.1 --- stk-4.2.0.orig/debian/stk.dirs +++ stk-4.2.0/debian/stk.dirs @@ -0,0 +1 @@ +usr/share/stk