debian/0000755000000000000000000000000012177312207007170 5ustar debian/source/0000755000000000000000000000000012177311233010466 5ustar debian/source/format0000644000000000000000000000001412177311233011674 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012177311233010615 5ustar debian/patches/00_standard-makefile.patch0000644000000000000000000000420112177311233015505 0ustar Allow overriding of build parameters via the standard make variables --- a/src/makefile +++ b/src/makefile @@ -15,8 +15,9 @@ INCLUDES = -I. LIBRARIES = -ldl -lm -CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC -CXXFLAGS = $(CFLAGS) +MANDATORY = $(INCLUDES) -fPIC +CFLAGS ?= -Wall -Werror -O3 +CXXFLAGS ?= $(CFLAGS) PLUGINS = ../plugins/amp.so \ ../plugins/delay.so \ ../plugins/filter.so \ @@ -25,21 +26,25 @@ PROGRAMS = ../bin/analyseplugin \ ../bin/applyplugin \ ../bin/listplugins -CC = cc -CPP = c++ +CC ?= cc +CXX ?= c++ + +WITH_INIT = noise amp delay filter ############################################################################### # # RULES TO BUILD PLUGINS FROM C OR C++ CODE # +$(patsubst %, ../plugins/%.so, $(WITH_INIT)) : NOSTART = -nostartfiles + ../plugins/%.so: plugins/%.c ladspa.h - $(CC) $(CFLAGS) -o plugins/$*.o -c plugins/$*.c - $(LD) -o ../plugins/$*.so plugins/$*.o -shared + $(CC) $(MANDATORY) $(CPPFLAGS) $(CFLAGS) -o plugins/$*.o -c plugins/$*.c + $(CC) $(NOSTART) $(MANDATORY) -o ../plugins/$*.so plugins/$*.o -shared $(CFLAGS) $(LDFLAGS) $(LIBRARIES) ../plugins/%.so: plugins/%.cpp ladspa.h - $(CPP) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp - $(CPP) -o ../plugins/$*.so plugins/$*.o -shared + $(CXX) $(MANDATORY) $(CPPFLAGS) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp + $(CXX) $(MANDATORY) -o ../plugins/$*.so plugins/$*.o -shared $(CXXFLAGS) $(LDFLAGS) $(LIBRARIES) ############################################################################### # @@ -90,17 +95,17 @@ # ../bin/applyplugin: applyplugin.o load.o default.o - $(CC) $(CFLAGS) $(LIBRARIES) \ + $(CC) $(CFLAGS) $(LIBRARIES) $(LDFLAGS) \ -o ../bin/applyplugin \ applyplugin.o load.o default.o ../bin/analyseplugin: analyseplugin.o load.o default.o - $(CC) $(CFLAGS) $(LIBRARIES) \ + $(CC) $(CFLAGS) $(LIBRARIES) $(LDFLAGS) \ -o ../bin/analyseplugin \ analyseplugin.o load.o default.o ../bin/listplugins: listplugins.o search.o - $(CC) $(CFLAGS) $(LIBRARIES) \ + $(CC) $(CFLAGS) $(LIBRARIES) $(LDFLAGS) \ -o ../bin/listplugins \ listplugins.o search.o debian/patches/01_no-mkdirhier.diff0000644000000000000000000000075312177311233014344 0ustar Use mkdir -p instead of mkdirhier to avoid build-dep on xutils-dev --- a/src/makefile +++ b/src/makefile @@ -64,9 +64,9 @@ @echo Test complete. install: targets - -mkdirhier $(INSTALL_PLUGINS_DIR) - -mkdirhier $(INSTALL_INCLUDE_DIR) - -mkdirhier $(INSTALL_BINARY_DIR) + -mkdir -p $(INSTALL_PLUGINS_DIR) + -mkdir -p $(INSTALL_INCLUDE_DIR) + -mkdir -p $(INSTALL_BINARY_DIR) cp ../plugins/* $(INSTALL_PLUGINS_DIR) cp ladspa.h $(INSTALL_INCLUDE_DIR) cp ../bin/* $(INSTALL_BINARY_DIR) debian/patches/02_default-ladspa-path.diff0000644000000000000000000000114512177311233015571 0ustar Use a default ladspa path instead of failing when LADSPA_PATH is undefined --- a/src/load.c +++ b/src/load.c @@ -54,6 +54,8 @@ to search. */ pcLADSPAPath = getenv("LADSPA_PATH"); + if (!pcLADSPAPath) + pcLADSPAPath = "/usr/lib/ladspa"; if (pcLADSPAPath) { --- a/src/search.c +++ b/src/search.c @@ -99,10 +99,10 @@ pcLADSPAPath = getenv("LADSPA_PATH"); if (!pcLADSPAPath) { + pcLADSPAPath = "/usr/lib/ladspa/"; fprintf(stderr, "Warning: You do not have a LADSPA_PATH " "environment variable set.\n"); - return; } pcStart = pcLADSPAPath; debian/patches/series0000644000000000000000000000014212177311233012027 0ustar 00_standard-makefile.patch 01_no-mkdirhier.diff 02_default-ladspa-path.diff 05_linking_order.diff debian/patches/05_linking_order.diff0000644000000000000000000000216612177311233014606 0ustar Description: Correct linking order to prevent FTBFS with GCC4.5 + binutils-gold. Author: Alessio Treglia Forwarded: no --- src/makefile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) --- a/src/makefile +++ b/src/makefile @@ -95,19 +95,22 @@ # ../bin/applyplugin: applyplugin.o load.o default.o - $(CC) $(CFLAGS) $(LIBRARIES) $(LDFLAGS) \ + $(CC) $(CFLAGS) \ -o ../bin/applyplugin \ - applyplugin.o load.o default.o + applyplugin.o load.o default.o \ + $(LIBRARIES) $(LDFLAGS) ../bin/analyseplugin: analyseplugin.o load.o default.o - $(CC) $(CFLAGS) $(LIBRARIES) $(LDFLAGS) \ + $(CC) $(CFLAGS) \ -o ../bin/analyseplugin \ - analyseplugin.o load.o default.o + analyseplugin.o load.o default.o \ + $(LIBRARIES) $(LDFLAGS) ../bin/listplugins: listplugins.o search.o - $(CC) $(CFLAGS) $(LIBRARIES) $(LDFLAGS) \ + $(CC) $(CFLAGS) \ -o ../bin/listplugins \ - listplugins.o search.o + listplugins.o search.o \ + $(LIBRARIES) $(LDFLAGS) ############################################################################### # debian/pbuilder-test/0000755000000000000000000000000012177311233011751 5ustar debian/pbuilder-test/02_ladspah0000644000000000000000000000015712177311233013614 0ustar #!/bin/bash # test that ladspa.h works set -e gcc debian/pbuilder-test/02_ladspah.c -o /tmp/test.o /tmp/test.o debian/pbuilder-test/02_ladspah.c0000644000000000000000000000020312177311233014025 0ustar /*BINFMTC: */ #include #include int main() { printf("ladspa version %s\n", LADSPA_VERSION); return 0; } debian/pbuilder-test/01_listplugins0000644000000000000000000000134512177311233014554 0ustar #!/bin/bash # make sure listplugins works. diff -u <(listplugins 2>&1 | sort ) <( cat < Sat, 15 Jun 2013 12:11:43 +0200 ladspa-sdk (1.13-1) unstable; urgency=low * Imported Upstream version 1.13 - No more mismatched free/delete. Closes: #342156, #561560 * Set Debian Multimedia Maintainers as maintainer. Closes: #520269 * Switch from dpatch to quilt * Drop patch 03_gcc41, not needed anymore * Switch to debhelper compat level 7 * Split the debian patch into logical changes * Add misc:Depends to Depends line * Build-Depend on debhelper >= 7 * Bump standards version, no changes needed * Note use of quilt for patches * Fix build error with git-buildpackage * Fix doc-base section * Remove extra whitespace * Remove useless dir file * Add Vcs-* fields * Drop versioned build-depends on g++, required version in oldstable * Fix linkage of C plugins * Clarify copyright. * Explicitly use 1.0 source format * Add homepage field -- Felipe Sateler Tue, 29 Jun 2010 13:31:44 -0400 ladspa-sdk (1.1-6) unstable; urgency=low * wrong symlink installed, install a better symlink for ladspa.h.txt. -- Junichi Uekawa Sun, 6 May 2007 08:27:45 +0900 ladspa-sdk (1.1-5) unstable; urgency=low * Bug fix: "ladspa-sdk: Broken link in documentation", thanks to Reuben Thomas (Closes: #422377). Install ladspa.h.txt * add pbuilder-test. -- Junichi Uekawa Sun, 6 May 2007 08:21:44 +0900 ladspa-sdk (1.1-4.1) unstable; urgency=low * NMU as part of the GCC 4.1 transition. * patches/03_gcc41.dpatch: add patch from Ben Hutchings to declare friend functions (closes: #355989) -- Martin Michlmayr Sat, 27 May 2006 13:49:24 +0200 ladspa-sdk (1.1-4) unstable; urgency=low * m68k ICE workaround; reduce optimization to -O2 from -O3 02_m68k_workaround.dpatch (closes: #328285) -- Junichi Uekawa Thu, 15 Sep 2005 06:58:48 +0900 ladspa-sdk (1.1-3) unstable; urgency=low * recompile with gcc-4.0 - only plugins are affected, does not really affect packages Build-Depending on this package. * standards-version 3.6.2 * use dpatch to maintain Debian patch. - 01_debian-patch: the Debian patch. -- Junichi Uekawa Sat, 20 Aug 2005 11:05:43 +0900 ladspa-sdk (1.1-2) unstable; urgency=low * recompile with gcc-3.3 * update debian/copyright * update standards-version * link plugins against libc and other necessary libs. -- Junichi Uekawa Thu, 3 Jul 2003 23:23:29 +0900 ladspa-sdk (1.1-1) unstable; urgency=low * New upstream release * forward-port local hack to check /usr/lib/ladspa even if env variable is not set -- Junichi Uekawa Mon, 9 Sep 2002 18:52:31 +0900 ladspa-sdk (1.0.LGPL-7) unstable; urgency=low * fixed manpage. - is escaped with a backslash. * fixing the control dependency wrt ladspa-sdk-dev -- Junichi Uekawa Wed, 8 Aug 2001 19:20:34 +0900 ladspa-sdk (1.0.LGPL-6) unstable; urgency=low * removed ladspa-sdk-dev. It should not enter woody, as released. The compatibility package has existed long enough in testing, I assume I don't need it included in stable. (closes: #105982) * fixed a typo that I thought I have already fixed. (closes: #103113) -- Junichi Uekawa Fri, 20 Jul 2001 23:50:54 +0900 ladspa-sdk (1.0.LGPL-5) unstable; urgency=low * mkdirhier is in xutils, and use mkdir -p instead in the upstream makefile. (closes: #103476) Thanks go to wouter@debian.org. * changed upstream makefile so that -Wall and -Werror is removed. These flags should not have been there... -- Junichi Uekawa Thu, 5 Jul 2001 00:22:10 +0900 ladspa-sdk (1.0.LGPL-4) unstable; urgency=low * reported that doc-base file has a typo. Fixed. (closes: #103113) * does not demand that LADSPA_PATH environmental variable to be set (closes: #103271) -- Junichi Uekawa Tue, 3 Jul 2001 15:19:57 +0900 ladspa-sdk (1.0.LGPL-3) unstable; urgency=low * integrates ladspa-sdk-dev into ladspa-sdk since ladspa-sdk-dev is really an unnecessary package. ladspa-sdk-dev is an empty package depending on ladspa-sdk now. (closes: #98809) * policy 3.5.5, finally making plugins a legal entity... -- Junichi Uekawa Fri, 8 Jun 2001 21:02:21 +0900 ladspa-sdk (1.0.LGPL-2) unstable; urgency=low * Adds more documentation, installs documentation properly to ladspa-sdk-dev, adds manpages. (closes: #97213) * debian/rules: cleaned up the rules. * debian/rules, debian/{listplugins.1,analyseplugin.1,applyplugin.1}: Install debian version of manpages. -- Junichi Uekawa Mon, 14 May 2001 18:52:44 +0900 ladspa-sdk (1.0.LGPL-1) unstable; urgency=low * Initial Release. (closes: #90949) -- Junichi Uekawa Wed, 9 May 2001 20:20:08 +0900 debian/ladspa-sdk.manpages0000644000000000000000000000010112177311233012716 0ustar debian/analyseplugin.1 debian/applyplugin.1 debian/listplugins.1 debian/compat0000644000000000000000000000000212177311233010364 0ustar 9 debian/watch0000644000000000000000000000010312177311233010211 0ustar version=3 http://www.ladspa.org/download/ \ ladspa_sdk_(.*)\.tgz debian/gbp.conf0000644000000000000000000000003612177311233010604 0ustar [DEFAULT] pristine-tar = True debian/control0000644000000000000000000000171012177311233010570 0ustar Source: ladspa-sdk Section: sound Priority: optional Maintainer: Debian Multimedia Maintainers Build-Depends: cdbs, debhelper (>= 9) Standards-Version: 3.9.4 Uploaders: Felipe Sateler , Jaromír Mikeš Vcs-Git: git://anonscm.debian.org/pkg-multimedia/ladspa-sdk.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/ladspa-sdk.git Homepage: http://www.ladspa.org/ Package: ladspa-sdk Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Provides: ladspa-host, ladspa-plugin, ladspa-sdk-dev Conflicts: ladspa-sdk-dev Description: sample tools for linux-audio-dev plugin architecture LADSPA is a free standard specification for audio effect plugins. . Contains sample plugins, and analyseplugin, listplugin, applyplugin programs, and the ladspa.h, the LADSPA specification. . Please build-depend on this package if you need ladspa.h debian/README.Debian0000644000000000000000000000120112177311233011221 0ustar ladspa-sdk for Debian --------------------- Hopefully all ladspa-aware programs have a Provides: ladspa-plugin (when it is a ladspa-plugin) or Recommends: ladspa-plugin (when it uses a ladspa-plugin) in them. And also, Debian ladspa plugin packages should be installed in /usr/lib/ladspa/ and the search path should be something like /usr/local/lib/ladspa:/usr/lib/ladspa. LADSPA requires LADSPA_PATH to be set to /usr/lib/ladspa to work properly. However, since it is against Debian Policy, I have patched it to work with a default value when LADSPA_PATH is not available. -- Junichi Uekawa , 3 July 2001 debian/rules0000755000000000000000000000112312177311233010243 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/class/makefile.mk include /usr/share/cdbs/1/rules/debhelper.mk # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEB_BUILDDIR = src DEB_MAKE_BUILD_TARGET = targets DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/ladspa-sdk \ INSTALL_PLUGINS_DIR=$(CURDIR)/debian/ladspa-sdk/usr/lib/ladspa/ \ INSTALL_INCLUDE_DIR=$(CURDIR)/debian/ladspa-sdk/usr/include/ \ INSTALL_BINARY_DIR=$(CURDIR)/debian/ladspa-sdk/usr/bin/ pre-build:: # git doesn't preserve empty dirs, this is for git-buildpackage mkdir -p plugins mkdir -p bin debian/docs0000644000000000000000000000027212177311233010042 0ustar README doc/background.html doc/download.html doc/example_plugins.html doc/index.html doc/installation.html doc/license.html doc/overview.html doc/shared_plugins.html doc/unique_ids.html debian/copyright0000644000000000000000000000075612177311233011131 0ustar This package was debianized by Junichi Uekawa on Wed, 9 May 2001 20:19:32 +0900. It was downloaded from http://www.ladspa.org Upstream Authors: Richard W.E. Furse Paul Barton-Davis Stefan Westerfeld Copyright (C) 2000-2002 Richard W.E. Furse, Paul Barton-Davis and Stefan Westerfeld. The LADSPA Software Development Kit and the LADSPA plugin API itself are licensed under LGPL version 2.1 or later. See /usr/share/common-licenses/LGPL-2.1 on Debian systems. debian/applyplugin.10000644000000000000000000000234112177311233011614 0ustar .TH applyplugin 1 "2001 May 14" "ladspa-sdk" "Debian GNU/Linux" .SH "NAME" applyplugin \- apply LADSPA plugin to an audio file .SH "SYNOPSIS" .BI "applyplugin [\-s[" "seconds" "]] <" "input wave file" \ "> <" "output wave file" \ "> <" "LADSPA plugin file name" "> <" "plugin label" "> <" "Control1" \ "> <" "Control2" "> ... [<" "LADSPA plugin file name" "> <" \ "plugin label" "> <" "Control1" "> <" "Control2" "> ... ] ..." .SH "DESCRIPTION" .B applyplugin applies a series of LADSPA plugins to an audio data source to create a destination audio file. .SH "OPTIONS" .TP .BI "\-s[" "seconds" "]" Add seconds of silence after end of input file. .SH "FILES" .TP .B "/usr/lib/ladspa/*.so" LADSPA plugin files are installed here by default. .SH "ENVIRONMENT" .TP .B "LADSPA_PATH" should be set to something like "/usr/local/lib/ladspa:/usr/lib/ladspa:" for plugins to be found at all. .PP .SH "BUGS" Requires environmental variable to work properly. .SH "CONFORMING TO" .B "LADSPA" standard, by .B "linux\-audio\-dev" mailing list members. .SH "AUTHOR" ladspa-sdk was written by Richard Furse (richard@muse.demon.co.uk). This manpage was written by Junichi Uekawa (dancer@debian.org). .SH "SEE ALSO" .BR "listplugins" "(1), " "analyseplugin" "(1) " debian/ladspa-sdk.links0000644000000000000000000000007512177311233012255 0ustar /usr/include/ladspa.h /usr/share/doc/ladspa-sdk/ladspa.h.txt