--- cmt-1.16.orig/debian/copyright +++ cmt-1.16/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by Anand Kumria on +Fri, 17 Nov 2000 05:00:31 +1100. + +It was downloaded from http://www.ladspa.org/cmt/ + +Upstream Authors: Richard Furse , + Jezar, David Bartold and Nathaniel Virgo as + as many others. + +CMT is copyright 2000-2007 Richard Furse and others. + +This package is licenced under the terms of the GNU GPL version 2 which, +on Debian systems, may be found in /usr/share/common-licenses/GPL-2 --- cmt-1.16.orig/debian/cmt.doc-base +++ cmt-1.16/debian/cmt.doc-base @@ -0,0 +1,12 @@ +Document: cmt +Title: Computer Music Toolkit +Author: Richard Furse +Abstract: This manual gives and overview of what cmt is + and how it came to be, it's history, it's plugins, bugs and todo items. + This is, in effect, a copy of the website +Section: Sound + +Format: HTML +Index: /usr/share/doc/cmt/html/index.html +Files: /usr/share/doc/cmt/html/*.html + --- cmt-1.16.orig/debian/docs +++ cmt-1.16/debian/docs @@ -0,0 +1 @@ +README --- cmt-1.16.orig/debian/compat +++ cmt-1.16/debian/compat @@ -0,0 +1 @@ +4 --- cmt-1.16.orig/debian/watch +++ cmt-1.16/debian/watch @@ -0,0 +1,4 @@ +# Run the "uscan" command to check for upstream updates and more. +version=3 + +http://www.ladspa.org/download/cmt_src_([\d.]+).tgz --- cmt-1.16.orig/debian/rules +++ cmt-1.16/debian/rules @@ -0,0 +1,61 @@ +#!/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 + +TMPDIR=$(CURDIR)/debian/cmt +DOCDIR=$(TMPDIR)/usr/share/doc/cmt +PLUGINDIR=$(TMPDIR)/usr/lib/ladspa + +include /usr/share/quilt/quilt.make + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + cd src && $(MAKE) + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + cd src && $(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + cd src && $(MAKE) install INSTALL_PLUGINS_DIR=$(PLUGINDIR) + mkdir -p $(DOCDIR) + install -m 644 -p -o root -g root src/freeverb/readme.txt \ + $(DOCDIR)/freeverb-readme.txt + + +# 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_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 + --- cmt-1.16.orig/debian/dirs +++ cmt-1.16/debian/dirs @@ -0,0 +1 @@ +usr/lib/ladspa --- cmt-1.16.orig/debian/cmt.install +++ cmt-1.16/debian/cmt.install @@ -0,0 +1 @@ +doc/*.html /usr/share/doc/cmt/html/ --- cmt-1.16.orig/debian/changelog +++ cmt-1.16/debian/changelog @@ -0,0 +1,75 @@ +cmt (1.16-1) unstable; urgency=low + + * Taking over package. Closes: #508840 + * New upstream release. + * Add watch file. + * Update copyright notice. + * Remove whitespace from doc-base entry. + * Bump standards version. + - Use homepage field. + * Cosmetic fixes to the short and long descriptions. + * Remove Apps/ from the doc-base section, as suggested by lintian. + * Use quilt for patch management. + * Don't strip unconditionally. Closes: #436633 + * Fix zeroing of denormal numbers. Closes: #324529 + * Don't fail if the plugin subdir doesn't exist. + + -- Felipe Sateler Tue, 17 Mar 2009 21:16:03 +1100 + +cmt (1.15-3.1) unstable; urgency=low + + * NMU as part of the GCC 4.1 transition. + * Apply patch Pierre Habouzit to fix "dereferencing type-punned pointer + will break strict-aliasing rules" error (Closes: #356367). + + -- Martin Michlmayr Thu, 25 May 2006 21:59:25 +0200 + +cmt (1.15-3) unstable; urgency=low + + * Respin build for C++ transition + + -- Anand Kumria Sat, 3 Sep 2005 02:42:41 +1000 + +cmt (1.15-2) unstable; urgency=low + + * Apply patch to compile properly with upcoming versions of GCC. Thanks + to Andreas Jochens (Closes: #285595) + + -- Anand Kumria Sun, 6 Mar 2005 23:29:26 +1100 + +cmt (1.15-1) unstable; urgency=low + + * New upstream version + * Adds pink noise, logistic, sledgehammer, disintegrator and hardgate plugins + + -- Anand Kumria Sat, 19 Apr 2003 00:50:03 +1000 + +cmt (1.14-1) unstable; urgency=low + + * New upstream version + * Adds LoFi (low fidelity) and phasemod plugins + * LADSPA 1.1 ready + * Fix speeling (Closes: #124508) + + -- Anand Kumria Tue, 13 Aug 2002 17:00:42 +1000 + +cmt (1.11-2) unstable; urgency=low + + * Change the doc-base section from "sound" to "Apps/Sound". + (Closes: #107888) + + -- Anand Kumria Sun, 26 Aug 2001 22:55:52 +1000 + +cmt (1.11-1) unstable; urgency=low + + * New upstream version + + -- Anand Kumria Tue, 19 Jun 2001 01:09:53 +1000 + +cmt (1.08-1) unstable; urgency=low + + * Initial Release. + + -- Anand Kumria Fri, 17 Nov 2000 05:00:31 +1100 + + --- cmt-1.16.orig/debian/control +++ cmt-1.16/debian/control @@ -0,0 +1,24 @@ +Source: cmt +Section: sound +Priority: optional +Maintainer: Felipe Sateler +Build-Depends: debhelper (>> 4.0.0), ladspa-sdk, quilt +Standards-Version: 3.8.0.0 +Homepage: http://www.ladspa.org/cmt/ + +Package: cmt +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: ladspa-plugin +Description: a collection of LADSPA plugins + Computer Music Toolkit is a collection of LADSPA compatible + plugins that any conforming program may take advantage of. + . + Plugins available are: low/high pass filters, echo/feedback delay filters + with configurable delays from 0.01 to 60 seconds, amplifies, white and + ping noise generators, compressors, expanders, limiters, b/fmh encoders, + drum synthesizers, lofi (low fidelity), phase modulator (phasemod) and + many more. + . + These plugins are only usable in host applications, of which glame, + sweep and others can be found in Debian. --- cmt-1.16.orig/debian/patches/series +++ cmt-1.16/debian/patches/series @@ -0,0 +1,3 @@ +no-strip.patch +correct_denormal.patch +create-dest-dir.patch --- cmt-1.16.orig/debian/patches/correct_denormal.patch +++ cmt-1.16/debian/patches/correct_denormal.patch @@ -0,0 +1,19 @@ +Use the C99 function isnormal instead of messing with the floats format +directly. +Index: cmt/src/freeverb/Components/denormals.h +=================================================================== +--- cmt.orig/src/freeverb/Components/denormals.h 2008-12-19 15:46:05.000000000 -0300 ++++ cmt/src/freeverb/Components/denormals.h 2008-12-20 15:44:49.000000000 -0300 +@@ -8,7 +8,11 @@ + #ifndef _denormals_ + #define _denormals_ + +-#define undenormalise(sample) if(((*(unsigned int*)&sample)&0x7f800000)==0) sample=0.0f ++#include ++ ++#define undenormalise(sample) \ ++ if(!isnormal(sample)) \ ++ sample -= 0.0f + + #endif//_denormals_ + --- cmt-1.16.orig/debian/patches/no-strip.patch +++ cmt-1.16/debian/patches/no-strip.patch @@ -0,0 +1,13 @@ +Stripping of binaries is done by dh_strip (which can be overruled) +Index: cmt/src/makefile +=================================================================== +--- cmt.orig/src/makefile 2008-12-19 14:45:02.000000000 -0300 ++++ cmt/src/makefile 2008-12-19 14:45:11.000000000 -0300 +@@ -71,7 +71,6 @@ + $(PLUGIN_OBJECTS) + + install: $(PLUGIN_LIB) +- -strip $(PLUGIN_LIB) + cp $(PLUGIN_LIB) $(INSTALL_PLUGINS_DIR) + + test: /tmp/test.wav ../../ladspa_sdk/snd/noise.wav always --- cmt-1.16.orig/debian/patches/create-dest-dir.patch +++ cmt-1.16/debian/patches/create-dest-dir.patch @@ -0,0 +1,12 @@ +Index: cmt/src/makefile +=================================================================== +--- cmt.orig/src/makefile 2009-02-15 11:12:41.000000000 +1100 ++++ cmt/src/makefile 2009-02-15 11:14:03.000000000 +1100 +@@ -66,6 +66,7 @@ + targets: $(PLUGIN_LIB) + + $(PLUGIN_LIB): $(PLUGIN_OBJECTS) ++ mkdir -p $(shell dirname $(PLUGIN_LIB)) + $(CXX) -shared \ + -o $(PLUGIN_LIB) \ + $(PLUGIN_OBJECTS)