--- vamp-plugin-sdk-1.2.orig/host/vamp-simple-host.cpp +++ vamp-plugin-sdk-1.2/host/vamp-simple-host.cpp @@ -49,6 +49,8 @@ #include "system.h" #include +#include +#include using namespace std; --- vamp-plugin-sdk-1.2.orig/vamp-sdk/PluginAdapter.cpp +++ vamp-plugin-sdk-1.2/vamp-sdk/PluginAdapter.cpp @@ -35,6 +35,8 @@ */ #include "PluginAdapter.h" +#include +#include //#define DEBUG_PLUGIN_ADAPTER 1 --- vamp-plugin-sdk-1.2.orig/vamp-sdk/PluginHostAdapter.cpp +++ vamp-plugin-sdk-1.2/vamp-sdk/PluginHostAdapter.cpp @@ -35,6 +35,7 @@ */ #include "PluginHostAdapter.h" +#include namespace Vamp { --- vamp-plugin-sdk-1.2.orig/vamp-sdk/hostext/PluginLoader.cpp +++ vamp-plugin-sdk-1.2/vamp-sdk/hostext/PluginLoader.cpp @@ -42,6 +42,7 @@ #include #include // tolower +#include #ifdef _WIN32 --- vamp-plugin-sdk-1.2.orig/debian/vamp-examples.install +++ vamp-plugin-sdk-1.2/debian/vamp-examples.install @@ -0,0 +1,2 @@ +../../examples/vamp-example-plugins.* usr/lib/vamp +../../host/vamp-simple-host usr/bin --- vamp-plugin-sdk-1.2.orig/debian/vamp-plugin-sdk.install +++ vamp-plugin-sdk-1.2/debian/vamp-plugin-sdk.install @@ -0,0 +1,5 @@ +usr/include +usr/lib/pkgconfig +usr/lib/*.la +usr/lib/*.a +usr/lib/*.so --- vamp-plugin-sdk-1.2.orig/debian/vamp-plugin-sdk.docs +++ vamp-plugin-sdk-1.2/debian/vamp-plugin-sdk.docs @@ -0,0 +1 @@ +doc/html/ --- vamp-plugin-sdk-1.2.orig/debian/vamp-simple-host.sgml +++ vamp-plugin-sdk-1.2/debian/vamp-simple-host.sgml @@ -0,0 +1,163 @@ +Szabolcs"> + Székelyi"> + February 8, 2008"> + 1"> + cc@mail.3d.hu"> + + VAMP-SIMPLE-HOST"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2008 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + a simple Vamp plugin host + + + + &dhpackage; + pluginlibrary[.so]:plugin[:output] + + file + + outfile + + + &dhpackage; + pluginlibrary[.so]:plugin + + file + + [outputno] + + outfile + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + &dhpackage; allows processing of a + libsndfile-readable audio file using Vamp plugins, listing + available plugins and the plugin search path. + + By default, &dhpackage; loads plugin + id plugin from + pluginlibrary and runs it on the + audio data in file, retrieving the + named output, or output number + outputno (the first output by + default) and dumping it to standard output, or + to outfile if + the option is given. + + pluginlibrary should be a library + name, not a file path; the standard Vamp library search path + will be used to locate it. If a file path is supplied, the + directory part(s) will be ignored. + + + + OPTIONS + + + + + + List the plugin libraries and Vamp plugins in the + library search path. + + + + + + Display version information only. + + + + + + List the plugin libraries and Vamp plugins in the + library search path. + + + + + + Dump plugin output + into file. + + + + + + ENVIRONMENT + + + + VAMP_PATH + + A colon-separated list of directories to look for + plugins. + + + + + + + AUTHOR + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others), because the + original program does not have a manual page. Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + +
+ + --- vamp-plugin-sdk-1.2.orig/debian/copyright +++ vamp-plugin-sdk-1.2/debian/copyright @@ -0,0 +1,43 @@ +This package was debianized by Székelyi Szabolcs on +Sun, 03 Feb 2008 01:00:33 +0000. + +It was downloaded from http://www.vamp-plugins.org/ + +Upstream Author: + + Chris Cannam + +Copyright: + + Copyright (C) 2005-2007 Chris Cannam + Copyright (C) 2005-2007 Queen Mary, University of London + +License: + + 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. + + 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 X CONSORTIUM 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. + + Except as contained in this notice, the names of the Centre for + Digital Music; Queen Mary, University of London; and Chris Cannam + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written + authorization. + +The Debian packaging is (C) 2008, Székelyi Szabolcs +and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- vamp-plugin-sdk-1.2.orig/debian/control +++ vamp-plugin-sdk-1.2/debian/control @@ -0,0 +1,78 @@ +Source: vamp-plugin-sdk +Section: sound +Priority: extra +Maintainer: Székelyi Szabolcs +Build-Depends: debhelper (>= 5), libsndfile1-dev, doxygen, graphviz, docbook-to-man +Standards-Version: 3.8.0 + +Package: vamp-plugin-sdk +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libvamp-sdk1 (= ${binary:Version}), libvamp-hostsdk2 (= ${binary:Version}) +Description: audio analysis and feature extraction plugins (SDK) + Vamp is an audio processing plugin system for plugins that extract + descriptive information from audio data - typically referred to as + audio analysis plugins or audio feature extraction plugins. + . + Just like an audio effects plugin (such as a VST), a Vamp plugin is a + binary module that can be loaded up by a host application and fed + audio data. However, unlike an effects plugin, a Vamp plugin outputs + not processed audio but some sort of symbolic information. Typical + things that a Vamp plugin might calculate include the locations of + moments such as note onset times, visual representations of the audio + such as histograms, or curve data such as power or fundamental + frequency. + . + Hosts using Vamp plugins include Audacity and Sonic Visualiser. + . + This package contains C and C++ header files for developing Vamp + plugins and hosts, API documentation, and source code of example + plugins and a simple host. + +Package: libvamp-sdk1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: helper library for Vamp plugins written in C++ + Vamp is an audio processing plugin system for plugins that extract + descriptive information from audio data - typically referred to as + audio analysis plugins or audio feature extraction plugins. + . + If you want to develop Vamp plugins in C++, you slould use this + library to expose the official C API to hosts. + +Package: libvamp-hostsdk2 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: helper library for Vamp hosts written in C++ + Vamp is an audio processing plugin system for plugins that extract + descriptive information from audio data - typically referred to as + audio analysis plugins or audio feature extraction plugins. + . + This library contains handy classes for using Vamp plugins from + hosts written in C++. + +Package: vamp-examples +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: example Vamp plugins and host + Vamp is an audio processing plugin system for plugins that extract + descriptive information from audio data - typically referred to as + audio analysis plugins or audio feature extraction plugins. + . + This package contains the following example plugins: + . + * ZeroCrossing: calculates the positions and density of + zero-crossing points in an audio waveform. + . + * SpectralCentroid: calculates the centre of gravity of the + frequency domain representation of each block of audio. + . + * AmplitudeFollower is an implementation of SuperCollider's + amplitude-follower algorithm as a simple Vamp plugin. + . + * PercussionOnsetDetector estimates the locations of percussive + onsets using a simple method described in "Drum Source Separation + using Percussive Feature Detection and Spectral Modulation" by Dan + Barry, Derry Fitzgerald, Eugene Coyle and Bob Lawlor, ISSC 2005. + . + Also included is a simple host that can enumerate plugins, list their + features, and process an audio file. --- vamp-plugin-sdk-1.2.orig/debian/vamp-examples.manpages +++ vamp-plugin-sdk-1.2/debian/vamp-examples.manpages @@ -0,0 +1 @@ +vamp-simple-host.1 --- vamp-plugin-sdk-1.2.orig/debian/watch +++ vamp-plugin-sdk-1.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/vamp/vamp-plugin-sdk-([^-]*)\.tar\.gz --- vamp-plugin-sdk-1.2.orig/debian/libvamp-hostsdk2.install +++ vamp-plugin-sdk-1.2/debian/libvamp-hostsdk2.install @@ -0,0 +1 @@ +usr/lib/libvamp-hostsdk.so.* --- vamp-plugin-sdk-1.2.orig/debian/vamp-plugin-sdk.examples +++ vamp-plugin-sdk-1.2/debian/vamp-plugin-sdk.examples @@ -0,0 +1,2 @@ +../../examples/*.cpp +../../examples/*.h --- vamp-plugin-sdk-1.2.orig/debian/rules +++ vamp-plugin-sdk-1.2/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp + +build-stamp: + dh_testdir + + $(MAKE) + doxygen + docbook-to-man debian/vamp-simple-host.sgml > vamp-simple-host.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + $(MAKE) distclean + rm -rf doc + rm -f vamp-simple-host.1 + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs -A + dh_installdocs -A + dh_installexamples -A + dh_install -A --sourcedir=debian/tmp + dh_installman -A + dh_link -A + dh_strip -A + dh_compress -A + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +get-orig-source: + wget http://downloads.sourceforge.net/vamp/vamp-plugin-sdk-1.1b.tar.gz + mv vamp-plugin-sdk-1.1b.tar.gz vamp-plugin-sdk_1.1b.orig.tar.gz + +.PHONY: build clean binary-indep binary-arch binary install configure get-orig-source --- vamp-plugin-sdk-1.2.orig/debian/changelog +++ vamp-plugin-sdk-1.2/debian/changelog @@ -0,0 +1,22 @@ +vamp-plugin-sdk (1.2-1.1) unstable; urgency=high + + * NMU to fix build with gcc 4.3 (Closes: #482571, #483321) + - vamp-sdk/PluginAdapter.cpp: #include and + - vamp-sdk/PluginHostAdapter.cpp: + - vamp-sdk/hostext/PluginLoader.cpp: + - host/vamp-simple-host.cpp: and + * Bump Standards-Version to 3.8.0 + + -- Albin Tonnerre Sun, 15 Jun 2008 22:22:53 +0200 + +vamp-plugin-sdk (1.2-1) unstable; urgency=low + + * New upstream release + + -- Székelyi Szabolcs Tue, 15 Apr 2008 19:05:36 +0200 + +vamp-plugin-sdk (1.1b-1) unstable; urgency=low + + * Initial release (Closes: #463754) + + -- Székelyi Szabolcs Mon, 11 Feb 2008 01:02:37 +0100 --- vamp-plugin-sdk-1.2.orig/debian/compat +++ vamp-plugin-sdk-1.2/debian/compat @@ -0,0 +1 @@ +5 --- vamp-plugin-sdk-1.2.orig/debian/libvamp-sdk1.install +++ vamp-plugin-sdk-1.2/debian/libvamp-sdk1.install @@ -0,0 +1 @@ +usr/lib/libvamp-sdk.so.*