--- ams-1.8.7.orig/debian/ams.desktop +++ ams-1.8.7/debian/ams.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Ams +Comment=Alsa Modular Synth +Exec=ams +Icon=/usr/share/pixmaps/ams.xpm +Terminal=false +Type=Application +Categories=GNOME;Application;AudioVideo;Audio;Synthesis; --- ams-1.8.7.orig/debian/dirs +++ ams-1.8.7/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/lib/ams --- ams-1.8.7.orig/debian/docs +++ ams-1.8.7/debian/docs @@ -0,0 +1,5 @@ +README +THANKS +demos/ +instruments/ +tutorial/ --- ams-1.8.7.orig/debian/menu +++ ams-1.8.7/debian/menu @@ -0,0 +1,5 @@ +?package(ams):needs="X11" section="Apps/Sound"\ + title="ALSA modular synth" command="/usr/bin/ams"\ + hints="Synthesis,Modular,Softsynth"\ + description="Realtime modular synthesizer for ALSA"\ + icon="/usr/share/pixmaps/ams.xpm" --- ams-1.8.7.orig/debian/control +++ ams-1.8.7/debian/control @@ -0,0 +1,14 @@ +Source: ams +Section: sound +Priority: optional +Maintainer: Free Ekanayaka +Build-Depends: debhelper (>> 3.0.0), libqt3-mt-dev (>= 3:3.3.4-7), ladspa-sdk, libasound2-dev, libjack0.100.0-dev, fftw-dev, sfftw-dev, dpatch, libqt3-compat-headers, libclalsadrv-dev (>= 1.0.1-3) +Standards-Version: 3.6.2.1 + +Package: ams +Architecture: any +Depends: ${shlibs:Depends} +Suggests: swh-plugins, cmt +Description: Realtime modular synthesizer for ALSA + This is a soft synth with a Qt GUI. All parameters can be modified in + realtime via MIDI. --- ams-1.8.7.orig/debian/ams.1 +++ ams-1.8.7/debian/ams.1 @@ -0,0 +1,119 @@ +.\" Copyright (c) 2003 Dave Phillips +.\" +.\" This is free documentation; 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. +.\" +.\" The GNU General Public License's references to "object code" +.\" and "executables" are to be interpreted as the output of any +.\" document formatting or typesetting system, including +.\" intermediate and printed output. +.\" +.\" This manual 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 manual; if not, write to the Free +.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, +.\" USA. +.\" +.TH AlsaModularSynth 1 "November 2003" +.SH NAME +AlsaModularSynth (AMS) - A software synthesizer modeled after modular patching synthesizers +.SH SYNOPSIS +.BI "ams [" OPTIONS "]" +.SH DESCRIPTION +The +.B AlsaModularSynth +(AMS) is a software synthesizer designed after the great analog modular synths of the 1960s. It employs +virtual control voltages (VC) for each module's parameter control, using the the +.B Moog +synthesizer's 1V/oct logarithmic control scale for its oscillator and filter functions. + +Following the modular synth model +.B AMS +supplies the user with a variety of sound-producing and sound-processing software modules +such as digital oscillators, filters, amplifiers, and DSP effects. These modules are linked together +(patched) to create complex audio synthesis networks. These network patches can be played in +realtime via MIDI or internal control structures, and they may be saved and reloaded at will. + +.SH OPTIONS +Runtime options for +.B AMS +are shown here with their default values in brackets. + +.TP 10 +.B --jack +Enable JACK I/O + +.TP 10 +.BI "--in " +Number of JACK input ports + +.TP 10 +.BI "--out " +Number of JACK output ports + +.TP 10 +.BI "--poly " +Polyphony [1] + +.TP 10 +.BI "--periodsize " +Period size [1024] + +.TP 10 +.BI "--frag " +Number of fragments [2] + +.TP 10 +.BI "--rate " +Sample rate [44100] + +.TP 10 +.BI "--edge " <0...10> +VCO edge [1.0] + +.TP 10 +.BI "--soundcard " +Soundcard [plughw:0,0] + +.TP 10 +.BI "--preset " +Preset file + +.TP 10 +.BI "--presetpath " +Preset path + +.TP 10 +.B --nogui +Start without GUI + +.SH FILES +Numerous example patches can be found in +.I /usr/share/ams +or +.I /usr/local/share/ams. + +Tutorial documentation is available at +.I http://alsamodular.sourceforge.net/alsamodularsynth_doc.html. + +.SH BUGS +Please send bug reports or any other feedback to Matthias Nagorni + +.SH AUTHOR +.B AMS +is written and maintained by Dr. Matthias Nagorni. + +.SH COPYRIGHT +Copyright and license information for +.B AMS: + +.B AlsaModularSynth +by Matthias Nagorni (c) 2002-2003 SuSE AG Nuremberg. +Licensed under the +.B GNU Public License. --- ams-1.8.7.orig/debian/rules +++ ams-1.8.7/debian/rules @@ -0,0 +1,88 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=3 + +include /usr/share/dpatch/dpatch.make + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp patch-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/ams.sgml > ams.1 + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + # This is a horrible hack because the patch for clean target + # is unapplied before we arrive here + rm -f *.o *.cpp.moc ams.real + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/ams. + $(MAKE) install DESTDIR=$(CURDIR)/debian/ams + cp ams $(CURDIR)/debian/ams/usr/bin + chmod +x $(CURDIR)/debian/ams/usr/bin/ams + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_install + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- ams-1.8.7.orig/debian/watch +++ ams-1.8.7/debian/watch @@ -0,0 +1,4 @@ +version=2 + +# Pattern +http://prdownloads.sf.net/a/al/alsamodular/ams-(.*)\.tar\.bz2 debian uupdate --- ams-1.8.7.orig/debian/changelog +++ ams-1.8.7/debian/changelog @@ -0,0 +1,114 @@ +ams (1.8.7-5) unstable; urgency=low + + * Removed useless debconf dependency + + -- Free Ekanayaka Thu, 29 Sep 2005 09:25:57 +0100 + +ams (1.8.7-4) unstable; urgency=low + + * Built against the newly transitioned qt3 libraries + + -- Free Ekanayaka Tue, 23 Aug 2005 12:18:48 +0200 + +ams (1.8.7-3) unstable; urgency=low + + * Bug fix: "bug in ams script", thanks to James Stone (Closes: #311847). + * Launch with --presetpath=/usr/share/doc/ams/demos + * Launch with --jack if jackd is running + * Build depends on libjack 0.100.0 (Closes: #317182) + * Added .desktop file for GNOME menus + + -- Free Ekanayaka Tue, 20 Jul 2005 13:45:01 +0200 + +ams (1.8.7-2) unstable; urgency=low + + * Fixed watch file + * Removed useless libc6-dev build dependency + * Bug fix: "ams: Menu Icon please", thanks to tim hall (Closes: + #299409). + + -- Free Ekanayaka Wed, 23 Mar 2005 11:43:56 +0100 + +ams (1.8.7-1) unstable; urgency=low + + * New upstream release + * First Debian upload (closes: #203902), sponsored by + Cosimo Alfarano + * Updated Standards-Version to 3.6.1.1 + + -- Free Ekanayaka Tue, 31 Aug 2004 14:21:00 +0200 + +ams (1.8.6-1) unstable; urgency=low + + * New upstream release + + -- Free Ekanayaka Tue, 20 Jul 2004 14:35:18 +0200 + +ams (1.7.7-1) unstable; urgency=low + + * New upstream release + + -- Free Ekanayaka Wed, 14 Apr 2004 14:27:17 +0200 + +ams (1.7.6-1) unstable; urgency=low + + * New upstream release + + -- Free Ekanayaka Fri, 12 Mar 2004 14:39:28 +0100 + +ams (1.7.1-0test2) unstable; urgency=low + + * the /usr/bin/ams wrapper script wasn't considering command line + paramenters when launching /usr/share/ams.real. fixed adding a + simple $\@ + + -- Free Ekanayaka Fri, 16 Jan 2004 13:10:26 +0100 + +ams (1.7.1-0test1) unstable; urgency=low + + * New upstream release + + -- Free Ekanayaka Sat, 20 Dec 2003 11:37:11 +0600 + +ams (1.6.0-0test3) unstable; urgency=low + + * added watch file + * ams will open /usr/share/ams as the default patch directory + * removed ams.examples; all the patches are now in /usr/share/ams + * debian/control: added dpatch and libqt3-compat-headers build dependency + + -- Free Ekanayaka Thu, 4 Dec 2003 11:23:31 +0600 + +ams (1.6.0-0test2) unstable; urgency=low + + * debian/ams.1: added manpage (submitted by ) + * depends on libjack-dev instead than libjack0.71.2-dev + * debian/ams: small script to export the correct value for LADSPA_PATH + + -- Andrea Glorioso Fri, 21 Nov 2003 12:08:10 +0100 + +ams (1.6.0-0test1) unstable; urgency=low + + * New upstream version. + * Using dpatch from now on. + + -- Andrea Glorioso Thu, 20 Nov 2003 12:16:00 +0100 + +ams (1.5.9-1.agnula-1) unstable; urgency=low + + * Repackaged for AGNULA. + + -- Free Ekanayaka Tue, 22 Jul 2003 11:13:36 +0200 + +ams (1.5.9-1) unstable; urgency=low + + * New upstream. + + -- Free Ekanayaka Fri, 4 Jul 2003 10:01:37 +0200 + +ams (1.4.12-1) unstable; urgency=low + + * Initial Release. + + -- Free Ekanayaka Wed, 25 Sep 2002 12:14:00 +0000 + --- ams-1.8.7.orig/debian/manpages +++ ams-1.8.7/debian/manpages @@ -0,0 +1 @@ +debian/ams.1 --- ams-1.8.7.orig/debian/ams.xpm +++ ams-1.8.7/debian/ams.xpm @@ -0,0 +1,178 @@ +/* XPM */ +static char *alsamodular[]={ +"32 32 143 2", +".k c #4d4640", +"#N c #524b46", +".u c #5c5651", +".R c #61594c", +"#d c #615b56", +".6 c #665c47", +".M c #6b5f42", +"#n c #6d6762", +"ae c #706a66", +".o c #75716d", +"#E c #76716d", +"#m c #78736e", +"#F c #797470", +"#H c #7c7772", +"a# c #7e776c", +".n c #7f7c78", +".l c #817c78", +"Qt c #825a31", +".# c #825a32", +".G c #825b34", +".B c #825c34", +".5 c #825c36", +".0 c #825e38", +"#J c #835b30", +"#h c #835c34", +"#u c #835c35", +"#g c #835e38", +".L c #835e3a", +".v c #835f3b", +"ac c #845d32", +".c c #845e37", +".V c #84603a", +".p c #84623f", +"#r c #85603a", +".X c #856342", +"a. c #856443", +"#b c #856544", +"#T c #856545", +"ak c #86603a", +".1 c #866647", +".Q c #866748", +".C c #86684b", +".H c #86694b", +"#t c #87623d", +"#s c #87633d", +".K c #886e55", +".4 c #886f56", +"#a c #887056", +"#K c #89602e", +".a c #896643", +"ab c #8a612d", +"#k c #8a6744", +".F c #8a725b", +".w c #8a755f", +"#4 c #8a7560", +"#Z c #8a7b51", +".D c #8c7966", +".b c #8d6c4a", +"#P c #8d7354", +"## c #8d7e6f", +".I c #8d7f6f", +".J c #8d7f70", +".e c #8d8884", +"#e c #8d8984", +".P c #8e7e6d", +".3 c #8e7f71", +".2 c #8e8071", +"#U c #8e8173", +".E c #8f8277", +"#. c #8f8377", +".Y c #908476", +"#3 c #90877e", +"#C c #917152", +"#V c #91806a", +".x c #918475", +".h c #927456", +"#L c #936e3e", +".g c #937556", +"#6 c #937e40", +"#v c #947658", +"#I c #95795d", +"#2 c #967746", +"#x c #977b5f", +".i c #987e63", +"#w c #997e63", +"#o c #998066", +".W c #9a7330", +".q c #9a7432", +"#i c #9a8066", +"al c #9a8269", +"#q c #9b8670", +".t c #9b9085", +".U c #9c722a", +"#p c #9c8771", +"#5 c #9c9185", +"#O c #9c9894", +"aa c #9d7f55", +"#9 c #9d885d", +"am c #9f8872", +"ai c #9f9c9a", +"#M c #a1947d", +"#l c #a1978c", +"#j c #a2907d", +"#y c #a39280", +"ad c #a3998e", +".m c #a3998f", +"#A c #a4978b", +"ah c #a4a19f", +"#D c #a59b91", +"#z c #a6998d", +"af c #a6a19e", +".f c #a6a2a0", +".T c #a87c21", +"#G c #a8a4a0", +".r c #a97e25", +"#B c #a99b8f", +"#W c #ab832d", +".j c #ab9d90", +"#c c #ac9f91", +"ag c #aca298", +"aj c #aca9a7", +".9 c #ae8b36", +".d c #afa395", +".S c #b09a60", +"#1 c #b4881f", +"#f c #b68b22", +"#Y c #baa057", +"#X c #bb9027", +"#0 c #c19932", +".s c #c1a865", +"#Q c #c29925", +".7 c #c5a53c", +".Z c #c7a738", +".O c #c8a431", +"#S c #caaa3e", +"#8 c #cda018", +".8 c #ce9e10", +".y c #d1aa28", +"#R c #d9a911", +".N c #dab018", +"#7 c #dcae17", +".A c #ecbd0f", +".z c #f4c000", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.#.a.b.b.b.b.b.b.b.b.cQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.c.d.e.e.e.e.e.e.e.f.gQt", +"QtQt.h.i.i.i.i.i.i.hQtQtQtQtQtQtQtQtQtQt.c.j.k.k.k.k.k.k.k.l.gQt", +"QtQt.m.n.o.o.o.o.n.mQtQtQtQtQtQtQtQt.p.q.r.s.k.k.k.k.k.k.k.l.gQt", +"QtQt.t.u.k.k.k.k.u.tQtQtQtQtQtQt.v.w.x.y.z.A.k.k.k.k.k.k.k.l.gQt", +"QtQt.t.u.k.k.k.k.u.tQtQtQt.B.C.D.E.F.GQt.c.j.k.k.k.k.k.k.k.l.gQt", +"QtQt.t.u.k.k.k.k.u.tQtQt.H.I.J.K.LQtQtQt.c.j.k.k.k.k.k.k.k.l.gQt", +"QtQt.t.u.k.k.k.k.M.N.z.O.P.QQtQtQtQtQtQt.c.j.k.k.k.k.k.k.k.l.gQt", +"QtQt.t.u.k.k.k.k.R.S.T.U.GQtQtQtQtQtQtQt.c.j.k.k.k.k.k.k.k.l.gQt", +"QtQt.t.u.k.k.k.k.u.tQtQtQtQtQtQtQtQt.V.W.r.s.k.k.k.k.k.k.k.l.gQt", +"QtQt.t.u.k.k.k.k.u.tQtQtQtQtQtQt.X.w.Y.Z.z.A.k.k.k.k.k.k.k.l.gQt", +"QtQt.t.u.k.k.k.k.u.tQtQt.0.1.w.2.3.4.5Qt.c.j.k.k.k.k.k.k.k.l.gQt", +"QtQt.t.u.k.k.k.k.6.7.8.9#.###a#b.GQtQtQt.c#c#d#d#d#d#d#d#d#e.gQt", +"QtQt.t.u.k.k.k.k.6.7.8#f#gQtQtQtQtQtQtQt#h#i#j#j#j#j#j#j#j#j#kQt", +"QtQt.t.u.k.k.k.k.u.tQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQt#l#m#n#n#n#n#m#lQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQt#o#p#q#q#q#q#p#oQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQt#r#s#s#s#s#s#s#s#s#s#s#s#s#s#t#uQtQtQtQtQtQt.c#v#w#w#w#xQtQt", +"QtQt#y#z#A#A#A#A#A#A#A#A#A#A#A#A#B#CQtQtQtQtQtQt#k#D#E#E#F#GQtQt", +"QtQt.t.u.k.k.k.k.k.k.k.k.k.k.k.k#H#IQtQtQtQt#J#K#L#M.k.k#N#OQtQt", +"QtQt.t.u.k.k.k.k.k.k.k.k.k.k.k.k#H#IQtQtQt.##P#Q#R#S.k.k#N#OQtQt", +"QtQt.t.u.k.k.k.k.k.k.k.k.k.k.k.k#H#IQtQt#T#U#V#W#X#Y.k.k#N#OQtQt", +"QtQt.t.u.k.k.k.k.k.k.k.k.k.k.k.k#Z#0#1#2#3#4.5Qt#k#5.k.k#N#OQtQt", +"QtQt.t.u.k.k.k.k.k.k.k.k.k.k.k.k#6#7#8#9a.QtQtQt#k#5.k.k#N#OQtQt", +"QtQt.t.u.k.k.k.k.k.k.k.k.k.k.k.ka#aaabacQtQtQtQt#k#5.k.k#N#OQtQt", +"QtQt.t.u.k.k.k.k.k.k.k.k.k.k.k.k#H#IQtQtQtQtQtQt#kad#n#naeafQtQt", +"QtQtagahaiaiaiaiaiaiaiaiaiaiaiaiaj#IQtQtQtQtQtQtakal#q#q#qamQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt"}; --- ams-1.8.7.orig/debian/patches/11ams_launch_script.dpatch +++ ams-1.8.7/debian/patches/11ams_launch_script.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## ams_launch_script.dpatch by Free Ekanayaka +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad ams-1.8.7/ams /tmp/dpep.VcE7VH/ams-1.8.7/ams +--- ams-1.8.7/ams 1970-01-01 01:00:00.000000000 +0100 ++++ /tmp/dpep.VcE7VH/ams-1.8.7/ams 2005-06-21 13:43:55.000000000 +0200 +@@ -0,0 +1,20 @@ ++#!/bin/sh ++# ++# Little script to set up the environment before launching ams ++# ++# Copyright (C) 2005 Free Ekanayaka ++# ++# This script is licensed under the GNU GPL v2 - you can find a ++# complete copy of the license under /usr/share/common-licenses/GPL-2 ++ ++LADSPA_DEFAULT_PATH=/usr/lib/ladspa ++OPTIONS=" --presetpath /usr/share/doc/ams/demos" ++ ++if [ -z "$LADSPA_PATH" ]; then ++ export LADSPA_PATH=${LADSPA_DEFAULT_PATH} ++fi ++if [ $(ps -C jackd| wc -l) -gt 1 ]; then ++ OPTIONS="$OPTIONS --jack" ++fi ++ ++/usr/lib/ams/ams.real $OPTIONS $@ --- ams-1.8.7.orig/debian/patches/10makefile.dpatch +++ ams-1.8.7/debian/patches/10makefile.dpatch @@ -0,0 +1,65 @@ +#! /bin/sh -e +## 10makefile.dpatch by Free Ekanayaka +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/free/demudi/packages/ams/ams-1.8.7/Makefile ams-1.8.7/Makefile +--- /home/free/demudi/packages/ams/ams-1.8.7/Makefile 2004-08-31 14:31:35.000000000 +0200 ++++ ams-1.8.7/Makefile 2004-08-31 14:42:38.000000000 +0200 +@@ -1,10 +1,14 @@ +-QT_BASE_DIR=/usr/lib/qt3 +-QT_LIB_DIR=$(QT_BASE_DIR)/lib ++QT_BASE_DIR=/usr ++QT_LIB_DIR=$(QT_BASE_DIR)/lib/qt3 + QT_BIN_DIR=$(QT_BASE_DIR)/bin +-QT_INCLUDE_DIR=$(QT_BASE_DIR)/include ++QT_INCLUDE_DIR=$(QT_BASE_DIR)/include/qt3 + X11_LIB_DIR=/usr/X11R6/lib + LADSPA_PATH?=/usr/lib/ladspa:/usr/local/lib/ladspa +-VERSION=1.8.6 ++VERSION=1.8.7 ++ ++BINARY = ams.real ++DESTDIR = ++BIN = $(DESTDIR)/usr/lib/ams + + #CXXFLAGS=-DQT_THREAD_SUPPORT -I$(QT_INCLUDE_DIR) -DLADSPA_PATH=\"$(LADSPA_PATH)\" -I/usr/X11R6/include -I. -O2 -g -Wall + CXXFLAGS=-DQT_THREAD_SUPPORT -I$(QT_INCLUDE_DIR) -DLADSPA_PATH=\"$(LADSPA_PATH)\" -I/usr/X11R6/include -I. -O2 -Wall +@@ -77,11 +81,15 @@ + modularsynth.o modularsynth.moc.o \ + main.o + +-ams: $(AMS_O) +- gcc -g -o ams $(AMS_O) \ ++$(BINARY): $(AMS_O) ++ gcc -g -o $(BINARY) $(AMS_O) \ + -L$(QT_LIB_DIR) -L$(X11_LIB_DIR) \ + -lqt-mt -lclalsadrv -ljack -lasound -lsrfftw -lsfftw -lm + ++install: $(BINARY) ++ install -d $(BIN) ++ install $(BINARY) $(BIN) ++ + clean: + /bin/rm -f *.o *.moc.cpp *~ + --- ams-1.8.7.orig/debian/patches/00list +++ ams-1.8.7/debian/patches/00list @@ -0,0 +1,2 @@ +10makefile +11ams_launch_script --- ams-1.8.7.orig/debian/patches/12default_patch_dir.dpatch +++ ams-1.8.7/debian/patches/12default_patch_dir.dpatch @@ -0,0 +1,37 @@ +#!/bin/sh -e +## 12default_patch_dir.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/demudi/buster/ams/ams-1.6.0/modularsynth.cpp ams-1.6.0/modularsynth.cpp +--- /home/demudi/buster/ams/ams-1.6.0/modularsynth.cpp 2003-11-27 21:02:36.000000000 +0600 ++++ ams-1.6.0/modularsynth.cpp 2003-11-27 21:02:57.000000000 +0600 +@@ -1363,7 +1363,7 @@ + QString config_fn; + + if (presetPath.isEmpty()) { +- if (!(config_fn = QString(QFileDialog::getOpenFileName(QString::null, "AlsaModularSynth files (*.ams)")))) { ++ if (!(config_fn = QString(QFileDialog::getOpenFileName("/usr/share/ams", "AlsaModularSynth files (*.ams)")))) { + return; + } + } else { --- ams-1.8.7.orig/debian/copyright +++ ams-1.8.7/debian/copyright @@ -0,0 +1,14 @@ +This package was debianized by Free Ekanayaka on +Wed, 25 Sep 2002 12:14:00 +0000. + +It was downloaded from http://alsamodular.sourceforge.net + +Upstream Author: Matthias Nagorni + +Copyright: + +This software is copyright by Matthias Nagorni +You are free to distribute this software under the terms of +the GNU General Public License. +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL file. --- ams-1.8.7.orig/debian/install +++ ams-1.8.7/debian/install @@ -0,0 +1,2 @@ +debian/ams.xpm usr/share/pixmaps +debian/ams.desktop usr/share/applications