--- stk-4.4.2.orig/debian/libstk0c2a.dirs +++ stk-4.4.2/debian/libstk0c2a.dirs @@ -0,0 +1,2 @@ +usr/lib + --- stk-4.4.2.orig/debian/libstk0-dev.examples +++ stk-4.4.2/debian/libstk0-dev.examples @@ -0,0 +1 @@ +build-tree/*/projects/examples/* --- stk-4.4.2.orig/debian/README.Debian +++ stk-4.4.2/debian/README.Debian @@ -0,0 +1,9 @@ +This is Perry Cooks STK (Synthesis Toolkit) packaged for Debian. +=============================================================== + +In order to try the Demo program start stk like this: + +#> STKDemo + +Or choose STKDemo from the Debian menu. + --- stk-4.4.2.orig/debian/libstk0-dev.install +++ stk-4.4.2/debian/libstk0-dev.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/lib*.so +debian/tmp/usr/include/stk/* --- stk-4.4.2.orig/debian/stk.dirs +++ stk-4.4.2/debian/stk.dirs @@ -0,0 +1 @@ +usr/share/stk --- stk-4.4.2.orig/debian/changelog +++ stk-4.4.2/debian/changelog @@ -0,0 +1,188 @@ +stk (4.4.2-5) unstable; urgency=low + + * debian/rules: Consider each line executed in a subshell, really + Closes: #569052 + + -- Alessio Treglia Fri, 09 Apr 2010 11:09:24 +0200 + +stk (4.4.2-4) unstable; urgency=low + + * Install config.{guess,sub} into the right location (Closes: #569052). + + -- Alessio Treglia Fri, 09 Apr 2010 03:09:31 +0200 + +stk (4.4.2-3) unstable; urgency=low + + * Drop symbols file. + + -- Alessio Treglia Mon, 08 Feb 2010 11:37:05 +0100 + +stk (4.4.2-2) unstable; urgency=low + + * Change maintainer to Debian Multimedia Maintainers. + * Add Vcs-* tags. + * Disable realtime support on hurd,kfreebsd architecturess; providing ALSA + and OSS support for those archs is now unnecessary. + * Update config.{guess,sub} before calling configure script to prevent FTBFS + on AVR32 (Closes: #568812). + * Add symbols file. + + -- Alessio Treglia Sun, 07 Feb 2010 15:18:48 +0100 + +stk (4.4.2-1) unstable; urgency=low + + * Adopting this (Closes: #547005). + * New upstream release (Closes: #427294). + * debian/control: versioned dependency of libstk0-dev on libstk0c2a, thanks + to Ilya Barygin for the patch. + * debian/control: + - Replace Build-Depends on libjack0.100.0-dev with libjack-dev; + Closes: #527437. + - Set DMUA to yes. + - Move libstk0-dev to libdevel section. + - Move libstk0-doc to doc section. + - Improve descriptions. + - Replace build-dependendency on libreadline5-dev with libreadline-dev; + Closes: #553861. + * Swtich to debhelper 7 and quilt. + * Drop cdbs. + * Bump debian/compat. + * Refresh and rename 01_makefile.patch -> 01-makefile.patch, + drop all other patches, now unnecessary. + * debian/libstk0-dev: Don't install static library file. + * Fix stk-doc.doc-base as per spec. + * debian/copyright: + - Adjust format according to Debian DEP-5. + - Add license text. + * Install ReleaseNotes as upstream's changelog. + + -- Alessio Treglia Sat, 06 Feb 2010 11:02:11 +0100 + +stk (4.2.0-10) unstable; urgency=low + + * QA upload. + * Include patch from Martin Michlmayr to fix FTBFS with GCC 4.4. + (Closes: #504965) + * debian/control: + + Make QA the maintainer. + + Standards Version now 3.8.4 (No changes needed). + + Add Homepage field. + + Add ${misc:Depends} to all packages. + + Build-Depend on debhelper 5 and bump compat to 5. + + Add ${binary:Version} to libstk dependencies. + * debian/copyright: Add (C) to copyright. + * debian/stk.menu: Move to Applications category + + -- Kumar Appaiah Sat, 30 Jan 2010 23:53:35 -0600 + +stk (4.2.0-9.2) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with GCC 4.3 (Closes: #417704). + + -- Luk Claes Sat, 15 Mar 2008 16:55:36 +0000 + +stk (4.2.0-9.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/rules: fixed bashism (use of {,}). Closes: #378528. + * Fixed FTBFS with gcc 4.3 (patch from Martin Michlmayr added + as 01_includes_gcc43.patch). Closes: #417704. + * Fixed debian/watch to read + http://ccrma.stanford.edu/software/stk/download.html instead of directly + trying to list the content of + http://ccrma.stanford.edu/software/stk/release/. Closes: #449826. + * Investigated FTBFS when built twice in a row. It was actually caused + by cdbs' bug #387103, fixed in cdbs 0.4.48. I'm not build-depending + on cdbs >= 0.4.48 since this bug doesn't prevent to build the package. + Closes: #424233. + + -- Lucas Nussbaum Wed, 16 Jan 2008 12:10:29 +0100 + +stk (4.2.0-9) unstable; urgency=low + + * acknowledged NMU + * Standards version to 3.7.2 + + -- Guenter Geiger (Debian/GNU) Tue, 30 May 2006 11:33:39 +0200 + +stk (4.2.0-8.1) unstable; urgency=medium + + * Non-maintainer upload. + * Medium-urgency upload for RC bugfix + * Rename libstk0c2 to libstk0c2a for the C++ mt allocator ABI transition, + and conflict/replace libstk0c2 accordingly (closes: #339267). + + -- Steve Langasek Mon, 5 Dec 2005 16:39:10 -0800 + +stk (4.2.0-8) unstable; urgency=low + + * Added examples to libstk0-dev + * Compiling with -O2 instead of -O3 (problems on mk68) + + -- Guenter Geiger (Debian/GNU) Thu, 15 Sep 2005 09:12:22 +0200 + +stk (4.2.0-7) unstable; urgency=low + + * C++ transicion, renamed libstk0 to libstk0c2 + * update to libreadline5 + + -- Guenter Geiger (Debian/GNU) Mon, 18 Jul 2005 11:11:05 +0200 + +stk (4.2.0-6) unstable; urgency=low + + * Fixed build depends on libasound2-dev + + -- Guenter Geiger (Debian/GNU) Sat, 9 Jul 2005 12:24:44 +0200 + +stk (4.2.0-5) unstable; urgency=low + + * recompiled against new JACK (closes: #317224) + + -- Guenter Geiger (Debian/GNU) Fri, 8 Jul 2005 11:26:14 +0200 + +stk (4.2.0-4) unstable; urgency=low + + * Removed config.{sub,guess} leftovers (closes: #304428) + + -- Guenter Geiger (Debian/GNU) Tue, 19 Apr 2005 10:54:50 +0200 + +stk (4.2.0-3) unstable; urgency=low + + * Added autotools dev dependecy (closes: #300940) + + -- Guenter Geiger (Debian/GNU) Wed, 23 Mar 2005 14:06:52 +0100 + +stk (4.2.0-2) unstable; urgency=low + + * updated config.guess,sub to recent version (closes: #299322) + + -- Guenter Geiger (Debian/GNU) Mon, 21 Mar 2005 15:57:11 +0100 + +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.4.2.orig/debian/dirs +++ stk-4.4.2/debian/dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- stk-4.4.2.orig/debian/stk-doc.docs +++ stk-4.4.2/debian/stk-doc.docs @@ -0,0 +1 @@ +doc/html --- stk-4.4.2.orig/debian/stk-doc.doc-base +++ stk-4.4.2/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: Programming + +Format: HTML +Index: /usr/share/doc/stk-doc/html/index.html +Files: /usr/share/doc/stk-doc/html/*.html --- stk-4.4.2.orig/debian/watch +++ stk-4.4.2/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://ccrma.stanford.edu/software/stk/download.html .*/stk-(.*)\.tar\.gz --- stk-4.4.2.orig/debian/stk.manpages +++ stk-4.4.2/debian/stk.manpages @@ -0,0 +1 @@ +debian/stk-demo.1 --- stk-4.4.2.orig/debian/libstk0c2a.install +++ stk-4.4.2/debian/libstk0c2a.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* --- stk-4.4.2.orig/debian/control +++ stk-4.4.2/debian/control @@ -0,0 +1,68 @@ +Source: stk +Section: sound +Priority: optional +Maintainer: Debian Multimedia Maintainers +Uploaders: Alessio Treglia +Build-Depends: debhelper (>= 7.0.50~), + libasound2-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386], + libjack-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386], + libreadline-dev, + autotools-dev, + autoconf, + quilt (>= 0.46-7~) +Standards-Version: 3.8.4 +DM-Upload-Allowed: yes +Homepage: http://ccrma.stanford.edu/software/stk/ +Vcs-Git: git://git.debian.org/pkg-multimedia/stk.git +Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/stk.git + +Package: libstk0-dev +Section: libdevel +Architecture: any +Depends: libstk0c2a (= ${binary:Version}), + ${misc:Depends} +Description: Sound Synthesis Toolkit (development files) + 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. + . + This package provides the development files for the sound synthesis toolkit. + +Package: libstk0c2a +Conflicts: libstk0, libstk0c2 +Replaces: libstk0, libstk0c2 +Architecture: any +Depends: ${shlibs:Depends}, + ${misc: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: libstk0c2a (= ${binary:Version}), + tk8.4, + ${misc:Depends}, + ${shlibs:Depends} +Description: Sound Synthesis Toolkit (example applications) + 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. + . + This package provides the example files for the sound synthesis toolkit. + +Package: stk-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: Sound Synthesis Toolkit (documentation) + 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. + . + This package contains the documentation for the sound synthesis toolkit. --- stk-4.4.2.orig/debian/stk-demo.1 +++ stk-4.4.2/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.4.2.orig/debian/libstk0-dev.dirs +++ stk-4.4.2/debian/libstk0-dev.dirs @@ -0,0 +1,2 @@ +usr/include +usr/lib --- stk-4.4.2.orig/debian/STKDemo +++ stk-4.4.2/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.4.2.orig/debian/rules +++ stk-4.4.2/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +CONFIGURE_FLAGS = +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + +ifeq ($(DEB_HOST_ARCH_OS),linux) +CONFIGURE_FLAGS += --with-jack --with-alsa --with-oss +else +CONFIGURE_FLAGS += --disable-realtime +endif + + +%: + dh --with quilt $@ + +override_dh_auto_configure: + cd config && \ + ln -f -s /usr/share/misc/config.guess && \ + ln -f -s /usr/share/misc/config.sub + dh_auto_configure -- \ + --with-rawwaves=/usr/share/stk \ + $(CONFIGURE_FLAGS) + +override_dh_installchangelogs: + dh_installchangelogs doc/ReleaseNotes.txt --- stk-4.4.2.orig/debian/copyright +++ stk-4.4.2/debian/copyright @@ -0,0 +1,67 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Name: STK +Maintainer: Perry Cook and Gary P. Scavone +Source: http://ccrma.stanford.edu/software/stk/ + +Copyright: © Perry R. Cook and Gary P. Scavone, 1995 - 2010 +X-Comment: + 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. +License: + STK WWW site: http://ccrma.stanford.edu/software/stk/ + . + The Synthesis ToolKit in C++ (STK) + Copyright (c) 1995-2010 Perry R. Cook and Gary P. Scavone + . + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + Any person wishing to distribute modifications to the Software is + asked to send the modifications to the original developer so that they + can be incorporated into the canonical version. This is, however, not + a binding provision of this license. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR + ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF + CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + . + FURTHER READING: + . + For complete documentation on this ToolKit, the classes, etc., see the + doc directory of the distribution or surf to + http://ccrma.stanford.edu/software/stk/. Also check the platform + specific README's for specific system requirements. + +Files: debian/* +Copyright: + © 2010 Alessio Treglia + © 2004-2006 Guenter Geiger +License: GPL-2 + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +X-Comment: On Debian systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. --- stk-4.4.2.orig/debian/stk.links +++ stk-4.4.2/debian/stk.links @@ -0,0 +1 @@ +usr/share/man/man1/stk-demo.1 usr/share/man/man1/STKDemo.1 --- stk-4.4.2.orig/debian/delme +++ stk-4.4.2/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.4.2.orig/debian/stk.menu +++ stk-4.4.2/debian/stk.menu @@ -0,0 +1,3 @@ +?package(stk):needs="X11" section="Applications/Sound"\ + title="STKDemo" command="/usr/bin/STKDemo" + --- stk-4.4.2.orig/debian/stk.install +++ stk-4.4.2/debian/stk.install @@ -0,0 +1,5 @@ +rawwaves/* usr/share/stk/rawwaves +projects/examples/rawwaves/* usr/share/stk/rawwaves +projects/demo/stk-demo usr/bin +projects/demo/tcl usr/share/stk +debian/STKDemo usr/bin --- stk-4.4.2.orig/debian/compat +++ stk-4.4.2/debian/compat @@ -0,0 +1 @@ +7 --- stk-4.4.2.orig/debian/README.source +++ stk-4.4.2/debian/README.source @@ -0,0 +1,57 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- stk-4.4.2.orig/debian/patches/02-realtime.patch +++ stk-4.4.2/debian/patches/02-realtime.patch @@ -0,0 +1,44 @@ +Author: Pino Toscano +Description: Enable realtime support only on those architectures that + actually provide it. +--- + Makefile.in | 8 ++++++++ + 1 file changed, 8 insertions(+) + +--- stk.orig/Makefile.in ++++ stk/Makefile.in +@@ -1,26 +1,34 @@ + ### Do not edit -- Generated by 'configure --with-whatever' from Makefile.in + ++REALTIME = @realtime@ ++ + all : + cd src && $(MAKE) + cd projects/demo && $(MAKE) stk-demo ++ifeq ($(REALTIME),yes) + cd projects/effects && $(MAKE) libeffects + cd projects/ragamatic && $(MAKE) libragamat ++endif + cd projects/examples && $(MAKE) -f libMakefile + + clean : + -rm -f *~ + cd src && $(MAKE) clean + cd projects/demo && $(MAKE) clean ++ifeq ($(REALTIME),yes) + cd projects/effects && $(MAKE) clean + cd projects/ragamatic && $(MAKE) clean ++endif + cd projects/examples && $(MAKE) clean + + distclean: clean + -rm -rf config.log config.status autom4te.cache Makefile + cd src && $(MAKE) distclean + cd projects/demo && $(MAKE) distclean ++ifeq ($(REALTIME),yes) + cd projects/effects && $(MAKE) distclean + cd projects/ragamatic && $(MAKE) distclean ++endif + cd projects/examples && $(MAKE) distclean + + install: --- stk-4.4.2.orig/debian/patches/01-makefile.patch +++ stk-4.4.2/debian/patches/01-makefile.patch @@ -0,0 +1,98 @@ +Origin: Debian +Description: Provide an install target to the src target, fix some other + little stuff. +--- + Makefile.in | 5 ++++- + projects/demo/Makefile.in | 6 +++--- + src/Makefile.in | 24 ++++++++++++++++++------ + 3 files changed, 25 insertions(+), 10 deletions(-) + +--- stk-4.4.2.orig/projects/demo/Makefile.in ++++ stk-4.4.2/projects/demo/Makefile.in +@@ -1,7 +1,7 @@ + ### Do not edit -- Generated by 'configure --with-whatever' from Makefile.in + ### STK demo Makefile - for various flavors of unix + +-PROGRAMS = demo ++PROGRAMS = stk-demo + RM = /bin/rm + SRC_PATH = ../../src + OBJECT_PATH = @object_path@ +@@ -57,8 +57,8 @@ DEFS += -DRAWWAVE_PATH=\"$(RAWWAVES)\ + + all : $(PROGRAMS) + +-demo: demo.cpp $(OBJECTS) +- $(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o demo demo.cpp $(OBJECT_PATH)/*.o $(LIBRARY) ++stk-demo: demo.cpp $(OBJECTS) ++ $(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o stk-demo demo.cpp utilities.cpp -L../../src -lstk $(LIBRARY) + + libdemo: demo.cpp + $(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o demo utilities.cpp demo.cpp -L../../src -lstk $(LIBRARY) +--- stk-4.4.2.orig/src/Makefile.in ++++ stk-4.4.2/src/Makefile.in +@@ -3,7 +3,7 @@ + + LIBRARY = libstk.a + SHAREDLIB = libstk.so +-MAJOR = 4 ++MAJOR = 0 + RELEASE = 4.4.2 + + AR = ar -rsc +@@ -70,13 +70,26 @@ $(LIBRARY) : $(OBJECTS) + $(RM) -f $(LIBRARY) + $(AR) $(LIBRARY) $(OBJECT_PATH)/*.o + +-$(SHAREDLIB).$(RELEASE) : $(OBJECTS) ++$(SHAREDLIB) : $(OBJECTS) + $(RM) -f $(@) $(SHAREDLIB).$(MAJOR) $(SHAREDLIB) +- $(CC) $(LDFLAGS) -fPIC -shared -o $(@) $(OBJECT_PATH)/*.o $(LIBS) +- $(LN) -s $(SHAREDLIB).$(RELEASE) $(SHAREDLIB).$(MAJOR) +- $(LN) -s $(SHAREDLIB).$(RELEASE) $(SHAREDLIB) ++ $(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname=$(SHAREDLIB).$(MAJOR) -o $(@).$(MAJOR).$(RELEASE) $(OBJECT_PATH)/*.o $(LIBS) ++ $(LN) -s $(SHAREDLIB).$(MAJOR).$(RELEASE) $(SHAREDLIB).$(MAJOR) ++ $(LN) -s $(SHAREDLIB).$(MAJOR).$(RELEASE) $(SHAREDLIB) + # $(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname,$(SHAREDLIB).$(MAJOR) -o $(@) $(OBJECT_PATH)/*.o $(LIBS) + ++install-headers: ++ install -d $(DESTDIR)/usr/include/stk ++ cp -r ../include/*.h $(DESTDIR)/usr/include/stk ++ ++install: $(SHAREDLIB) install-headers ++ install -d $(DESTDIR)/usr/share/stk ++ install -d $(DESTDIR)/usr/lib ++ install -m 644 $(LIBRARY) $(DESTDIR)/usr/lib ++ install -m 644 $(SHAREDLIB).$(MAJOR).$(RELEASE) $(DESTDIR)/usr/lib ++# install -m 644 $(SHAREDLIB) $(DESTDIR)/usr/lib ++ ln -s $(SHAREDLIB).$(MAJOR).$(RELEASE) $(DESTDIR)/usr/lib/$(SHAREDLIB).$(MAJOR) ++ ln -s $(SHAREDLIB).$(MAJOR).$(RELEASE) $(DESTDIR)/usr/lib/$(SHAREDLIB) ++ + $(OBJECTS) : Stk.h + + clean : +@@ -87,4 +100,4 @@ clean : + $(RM) -fR *.dSYM + + distclean: clean +- $(RM) Makefile +\ No newline at end of file ++ $(RM) Makefile +--- stk-4.4.2.orig/Makefile.in ++++ stk-4.4.2/Makefile.in +@@ -2,7 +2,7 @@ + + all : + cd src && $(MAKE) +- cd projects/demo && $(MAKE) libdemo ++ cd projects/demo && $(MAKE) stk-demo + cd projects/effects && $(MAKE) libeffects + cd projects/ragamatic && $(MAKE) libragamat + cd projects/examples && $(MAKE) -f libMakefile +@@ -23,3 +23,6 @@ distclean: clean + cd projects/ragamatic && $(MAKE) distclean + cd projects/examples && $(MAKE) distclean + ++install: ++ make -C src install ++# make -C projects/demo install --- stk-4.4.2.orig/debian/patches/series +++ stk-4.4.2/debian/patches/series @@ -0,0 +1,2 @@ +01-makefile.patch +02-realtime.patch