debian/0000755000000000000000000000000011713502343007165 5ustar debian/compat0000644000000000000000000000000211713467160010372 0ustar 9 debian/patches/0000755000000000000000000000000011525733675010633 5ustar debian/patches/04-gcc44.patch0000644000000000000000000000054111525733675013001 0ustar Origin: Debian Description: Add missing #include to prevent FTBFS with GCC 4.4. --- src/FFT.cpp | 2 ++ src/SndJackIO.cpp | 1 + 2 files changed, 3 insertions(+) --- SndObj-2.6.6.orig/src/SndJackIO.cpp +++ SndObj-2.6.6/src/SndJackIO.cpp @@ -25,6 +25,7 @@ #ifdef JACK +#include #include #include "SndJackIO.h" debian/patches/01_shlib.patch0000644000000000000000000000344011525733675013256 0ustar Origin: Debian Description: Fix library's soname and install it properly. --- SConstruct | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) --- SndObj-2.6.6.orig/SConstruct +++ SndObj-2.6.6/SConstruct @@ -80,13 +80,14 @@ opt.AddOptions( ('customLIBPATH','',''), ('customSHLINKFLAGS','',''), ('customSWIGFLAGS','',''), - ('version', 'library version','2.6.5') + ('version', 'library version','2.6') ) opt.Update(env) opt.Save('options.cache',env) Help(opt.GenerateHelpText(env)) version = env['version'] +major = '2' print "SndObj Library version is " + version customCPPPATH = env['customCPPPATH'] @@ -268,7 +269,7 @@ cffisndobj = env.Clone() examples = env.Clone() if getPlatform() == 'linux': - env.Append(SHLINKFLAGS=['-Wl,-soname=libsndobj.so.%s'% version]) + env.Append(SHLINKFLAGS=['-Wl,-soname=libsndobj.so.%s'% major]) ###################################################################### # # sources @@ -349,9 +350,10 @@ if getPlatform() != 'win': env.Append(LINKFLAGS=['-install_name', env['install_name']]) sndobjlib = env.SharedLibrary(env['install_name'], sources) else: - sndobjlib = env.SharedLibrary('lib/libsndobj.so' + '.' + version, sources, SHLIBPREFIX = '', SHLIBSUFFIX = '') + sndobjlib = env.SharedLibrary('lib/libsndobj.so' + '.' + major + '.' + version, sources, SHLIBPREFIX = '', SHLIBSUFFIX = '') os.spawnvp(os.P_WAIT, 'rm', ['rm', '-f', 'lib/libsndobj.so']) - os.symlink('libsndobj.so' + '.' + version, 'lib/libsndobj.so') + os.symlink('libsndobj.so' + '.' + major + '.' + version, 'lib/libsndobj.so' + '.' + major) + os.symlink('libsndobj.so' + '.' + major + '.' + version, 'lib/libsndobj.so') sndobjlink = 'lib/libsndobj.so' deplibs = [sndobjlib] baselibs = ['sndobj'] debian/patches/series0000644000000000000000000000005511525733675012050 0ustar 01_shlib.patch 03-gcc43.patch 04-gcc44.patch debian/patches/03-gcc43.patch0000644000000000000000000000476011525733675013006 0ustar Origin: Debian Description: Add missing #include to prevent FTBFS with GCC 4.3. --- src/AdSyn.cpp | 2 ++ src/FFT.cpp | 2 ++ src/IFAdd.cpp | 2 ++ src/IFFT.cpp | 1 + src/PVA.cpp | 2 ++ src/PVRead.cpp | 2 ++ src/PVS.cpp | 1 + src/ReSyn.cpp | 2 ++ src/SinAnal.cpp | 2 ++ src/SinSyn.cpp | 2 ++ src/SndRead.cpp | 2 ++ 11 files changed, 20 insertions(+) --- SndObj-2.6.6.orig/src/AdSyn.cpp +++ SndObj-2.6.6/src/AdSyn.cpp @@ -22,6 +22,8 @@ #include "AdSyn.h" +#include + AdSyn::AdSyn(){ } --- SndObj-2.6.6.orig/src/FFT.cpp +++ SndObj-2.6.6/src/FFT.cpp @@ -27,6 +27,8 @@ ///////////////////////////////////////////////// #include "FFT.h" +#include + FFT::FFT(){ m_table = 0; --- SndObj-2.6.6.orig/src/IFAdd.cpp +++ SndObj-2.6.6/src/IFAdd.cpp @@ -22,6 +22,8 @@ #include "IFAdd.h" +#include + IFAdd::IFAdd(){ } --- SndObj-2.6.6.orig/src/IFFT.cpp +++ SndObj-2.6.6/src/IFFT.cpp @@ -27,6 +27,7 @@ ///////////////////////////////////////////////// #include "IFFT.h" +#include IFFT::IFFT(){ --- SndObj-2.6.6.orig/src/PVA.cpp +++ SndObj-2.6.6/src/PVA.cpp @@ -27,6 +27,8 @@ ///////////////////////////////////////////////// #include "PVA.h" +#include + PVA::PVA(){ m_rotcount = 0; m_phases = new float[m_halfsize]; --- SndObj-2.6.6.orig/src/PVRead.cpp +++ SndObj-2.6.6/src/PVRead.cpp @@ -22,6 +22,8 @@ #include "PVRead.h" +#include + PVRead::PVRead(){ m_ioinput = 0; --- SndObj-2.6.6.orig/src/PVS.cpp +++ SndObj-2.6.6/src/PVS.cpp @@ -28,6 +28,7 @@ ///////////////////////////////////////////////// #include "PVS.h" +#include PVS::PVS(){ m_rotcount = m_vecsize; --- SndObj-2.6.6.orig/src/ReSyn.cpp +++ SndObj-2.6.6/src/ReSyn.cpp @@ -24,6 +24,8 @@ #include "ReSyn.h" #include "IFGram.h" +#include + ReSyn::ReSyn(){ AddMsg("pitch", 31); AddMsg("timescale", 32); --- SndObj-2.6.6.orig/src/SinSyn.cpp +++ SndObj-2.6.6/src/SinSyn.cpp @@ -22,6 +22,8 @@ #include "SinSyn.h" +#include + SinSyn::SinSyn(){ m_factor = m_vecsize/m_sr; --- SndObj-2.6.6.orig/src/SndRead.cpp +++ SndObj-2.6.6/src/SndRead.cpp @@ -24,6 +24,8 @@ #include "SndWave.h" #include "SndAiff.h" +#include + SndRead::SndRead(){ m_pitch = 1.f; --- SndObj-2.6.6.orig/src/SinAnal.cpp +++ SndObj-2.6.6/src/SinAnal.cpp @@ -22,6 +22,8 @@ #include "SinAnal.h" +#include + SinAnal::SinAnal(){ m_thresh = 0.f; debian/rules0000755000000000000000000000140011713472023010241 0ustar #!/usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh $@ override_dh_auto_clean: rm -rf lib dh_auto_clean override_dh_auto_build: mkdir lib ifeq (linux,$(DEB_HOST_ARCH_OS)) scons ALSA=true OSS=false JACK=true customLIBS=pthread customLIBPATH=/usr/lib/$(DEB_HOST_MULTIARCH) else scons ALSA=false OSS=true JACK=false customLIBS=pthread customLIBPATH=/usr/lib/$(DEB_HOST_MULTIARCH) endif override_dh_install: dh_install -plibsndobj-dev include/SndObj usr/include dh_install -plibsndobj-dev lib/*.so usr/lib/$(DEB_HOST_MULTIARCH)/ rm -rf debian/libsndobj-dev/usr/include/SndObj/CVS/ dh_install -plibsndobj2c2 lib/*.so.* usr/lib/$(DEB_HOST_MULTIARCH)/ override_dh_installchangelogs: dh_installchangelogs change.log debian/control0000644000000000000000000000253111713472057010601 0ustar Source: sndobj Section: sound Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia Build-Depends: debhelper (>= 8.1.3~), fftw-dev, libasound2-dev [linux-any], libjack-dev, scons Standards-Version: 3.9.2 Homepage: http://sndobj.sourceforge.net/ Vcs-Git: git://git.debian.org/pkg-multimedia/sndobj.git Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/sndobj.git Package: libsndobj-dev Section: libdevel Architecture: any Multi-Arch: same Depends: fftw-dev, libsndobj2c2 (= ${binary:Version}), ${misc:Depends} Description: Sound Object library (development files) The Sound Object Library is an object-oriented audio processing library. It provides objects for synthesis and processing of sound that can be used to build applications for computer-generated music. . This package contains the development files. Package: libsndobj2c2 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Replaces: libsndobj2 Conflicts: libsndobj2 Description: Sound Object library The Sound Object Library is an object-oriented audio processing library. It provides objects for synthesis and processing of sound that can be used to build applications for computer-generated music. debian/libsndobj-dev.examples0000644000000000000000000000001711525733675013464 0ustar src/examples/* debian/libsndobj-dev.dirs0000644000000000000000000000002411525733675012605 0ustar usr/lib usr/include debian/changelog0000644000000000000000000001100211713502056011032 0ustar sndobj (2.6.6.1-3) unstable; urgency=low * Build for Multiarch. * Replace negated list of architectures with linux-any (Closes: #634493) * Properly clean the sources tree. * Bump Standards. -- Alessio Treglia Sun, 05 Feb 2012 14:28:44 +0100 sndobj (2.6.6.1-2) unstable; urgency=low * Add gbp config file. * Update my email address. * Remove DM-Upload-Allowed: yes * Update Standards to 3.9.1. * Switch packaging to the 3.0 (quilt) format. * Update debian/copyright as per DEP-5 rev.166 * Skip quilt files in .pc/ * Unapply patches after git-buildpackage'ing, abort on upstream changes. * Remove vcs-control-dir from /usr/include/SndObj. -- Alessio Treglia Mon, 14 Feb 2011 07:39:31 +0100 sndobj (2.6.6.1-1) unstable; urgency=low * New maintainer (Closes: #546965). * New upstream release. * Switch to debhelper 7, drop cdbs. * Add quilt support. * debian/control: - Don't build-depend on libjack0.100.0-dev (Closes: #527432). - Build-depend on scons. - Bump Standards. - Lines should be shorter than 80 characters. - Improve description. - Allow uploads by Debian Maintainer. - Add Homepage field. - Add Vcs-* tags. * Update debian/copyright (according to Debian DEP-5 proposal). * Bump debian/compat. * Drop 02-gcc41.patch patch, refresh the other GCC-related patches. * debian/patches/01_shlib.patch: - Adjust SConstruct rather than patching Makefile. * Remove debian/patches.old directory. * Remove debian/docs, the license file is already provided by Debian. * Remove debian/libsndobj-dev.files, unnecessary. * Don't install static library files. * Add watch file. -- Alessio Treglia Fri, 12 Feb 2010 08:42:50 +0100 sndobj (2.6.1a-2.4) unstable; urgency=low * Non-maintainer upload * patches/01_shlib_fix.patch: Fix unresolved symbols by using LFLAGS variable (closes: #519088). * control: - Added ${misc:Depends} to both packages. - Moved libsndobj from devel to libdevel. - Renamed ${Source-Version} to ${binary:Version}. * patches/04-gcc44.patch: Add #include for g++ 4.4 (closes: #505377) (patch from Martin Michlmayr). -- Pascal Giard Sun, 08 Mar 2009 17:26:09 -0400 sndobj (2.6.1a-2.3) unstable; urgency=low * Non-maintainer upload * patches/03-gcc43.patch: Add necessary #include directives for g++ 4.3 (closes: #455174) (patch from Cyril Brulebois) * Unset DEB_MAKE_CLEAN_TARGET (closes: #424247) -- Ben Hutchings Sat, 05 Apr 2008 21:29:16 +0100 sndobj (2.6.1a-2.2) unstable; urgency=low * Porter NMU. * Don't build depend on libasound2-dev on non-linux systems (closes: #361479). -- Aurelien Jarno Tue, 15 Jan 2008 02:13:05 +0100 sndobj (2.6.1a-2.1) unstable; urgency=low * NMU as part of the GCC 4.1 transition. * patches/02-gcc41.patch: Remove extra qualification from C++ header files (closes: #356175). -- Martin Michlmayr Sat, 27 May 2006 17:20:25 +0200 sndobj (2.6.1a-2) unstable; urgency=low * removed ALSA support for freebsd (closes: #336858) -- Guenter Geiger (Debian/GNU) Wed, 9 Nov 2005 09:49:15 +0100 sndobj (2.6.1a-1) unstable; urgency=low * New upstream release (closes: #275144) * C++ transition: renamed libsndobj2 to libsndobj2c2 * Uses -O2 compilation flag (closes: #282821) * Added Jack support -- Guenter Geiger (Debian/GNU) Fri, 28 Oct 2005 19:43:53 +0200 sndobj (2.5.1-1) unstable; urgency=low * New upstream version * linked dynamically with fftw * Fixed problem when linking with shared library -- Guenter Geiger (Debian/GNU) Wed, 5 May 2004 14:13:39 +0200 sndobj (2.5-2) unstable; urgency=low * shared moved in link command at debian/rules -- Guenter Geiger (Debian/GNU) Tue, 23 Sep 2003 21:12:31 +0200 sndobj (2.5-1) unstable; urgency=low * new upstream release -- Guenter Geiger (Debian/GNU) Mon, 15 Sep 2003 16:14:32 +0200 sndobj (2.0.3-2) unstable; urgency=low * added -fPIC flag to compilation (closes: #198011) -- Guenter Geiger (Debian/GNU) Thu, 19 Jun 2003 19:28:41 +0200 sndobj (2.0.3-1) unstable; urgency=low * New upstream -- Guenter Geiger (Debian/GNU) Thu, 20 Mar 2003 10:55:47 +0100 sndobj (2.0.2-1) unstable; urgency=low * Initial Release. -- Guenter Geiger (Debian/GNU) Wed, 6 Nov 2002 14:39:51 +0100 debian/README.Debian0000644000000000000000000000043711525733675011251 0ustar sndobj for Debian ----------------- For information on how to program with the SndObj library, go to There are also sample applications available at this page. -- Guenter Geiger , Wed, 6 Nov 2002 14:39:51 +0100 debian/gbp.conf0000644000000000000000000000005711525733731010616 0ustar [DEFAULT] pristine-tar = True sign-tags = True debian/copyright0000644000000000000000000000242111713472057011127 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166 Upstream-Name: The Sound Object Library Upstream-Contact: Victor Lazzarini Source: http://sourceforge.net/projects/sndobj/files/ Copyright: 1997-2004, Victor Lazzarini License: GPL-2+ Files: debian/* Copyright: 2010-2011, Alessio Treglia 2002-2005, Guenter Geiger License: GPL-2+ 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. Comment: On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/source/0000755000000000000000000000000011525736264010501 5ustar debian/source/format0000644000000000000000000000001411525734054011702 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000007211525733675010234 0ustar version=3 http://sf.net/sndobj/SndObj-(.+)-linux\.tar\.gz