debian/0000755000000000000000000000000011611710542007164 5ustar debian/source/0000755000000000000000000000000011611710542010464 5ustar debian/source/format0000644000000000000000000000001411611710542011672 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000007111611710542010213 0ustar version=3 http://sf.net/pure-data/earplug~-(.*)\.tar\.gz debian/copyright0000644000000000000000000000220011611710542011111 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135 Name: earplug~ Maintainer: Hans-Christoph Steiner Source: http://sourceforge.net/projects/pure-data/files/libraries/earplug~/ Copyright: 2004, Pei Xiang 2006, Jorge Castellanos 2009, Hans-Christoph Steiner License: GPL-2+ This package 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 package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA X-Comment: On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/patches/0000755000000000000000000000000011611710542010613 5ustar debian/patches/series0000644000000000000000000000004611611710542012030 0ustar makefile_update_for_kfreebsd_and_hurd debian/patches/makefile_update_for_kfreebsd_and_hurd0000644000000000000000000000652711611710542020246 0ustar Description: updated Makefile to build on kFreeBSD and Hurd This patch takes the upstream template Makefile with new code for handling building using kFreeBSD and Hurd kernels. This Makefile is already included in the upstream SVN repository, but there is no new release yet. Author: Hans-Christoph Steiner Bug-Debian: http://bugs.debian.org/605825 Forwarded: not-needed Reviewed-By: Hans-Christoph Steiner Last-Update: <2010-12-19> --- pd-earplug-0.2.orig/Makefile +++ pd-earplug-0.2/Makefile @@ -1,4 +1,4 @@ -## Pd library template version 1.0.4 +## Pd library template version 1.0.6 # For instructions on how to use this template, see: # http://puredata.info/docs/developer/MakefileTemplate LIBRARY_NAME = earplug~ @@ -31,7 +31,8 @@ EXTRA_DIST = earplug~.h earplug_data.txt # #------------------------------------------------------------------------------# -CFLAGS = -DPD -I"$(PD_INCLUDE)" -Wall -W -g +# -I"$(PD_INCLUDE)/pd" supports the header location for 0.43 +CFLAGS = -I"$(PD_INCLUDE)/pd" -Wall -W -g LDFLAGS = LIBS = @@ -44,7 +45,7 @@ LIBS = # get library version from meta file LIBRARY_VERSION = $(shell sed -n 's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' $(LIBRARY_NAME)-meta.pd) -CFLAGS += -DVERSION='"$(LIBRARY_VERSION)"' +CFLAGS += -DPD -DVERSION='"$(LIBRARY_VERSION)"' PD_INCLUDE = $(PD_PATH)/include # where to install the library, overridden below depending on platform @@ -121,6 +122,34 @@ ifeq ($(UNAME),Linux) STRIP = strip --strip-unneeded -R .note -R .comment DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) endif +ifeq ($(UNAME),GNU) + # GNU/Hurd, should work like GNU/Linux for basically all externals + CPU := $(shell uname -m) + SOURCES += $(SOURCES_linux) + EXTENSION = pd_linux + OS = linux + PD_PATH = /usr + OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer + CFLAGS += -fPIC + LDFLAGS += -Wl,--export-dynamic -shared -fPIC + LIBS += -lc + STRIP = strip --strip-unneeded -R .note -R .comment + DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) +endif +ifeq ($(UNAME),GNU/kFreeBSD) + # Debian GNU/kFreeBSD, should work like GNU/Linux for basically all externals + CPU := $(shell uname -m) + SOURCES += $(SOURCES_linux) + EXTENSION = pd_linux + OS = linux + PD_PATH = /usr + OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer + CFLAGS += -fPIC + LDFLAGS += -Wl,--export-dynamic -shared -fPIC + LIBS += -lc + STRIP = strip --strip-unneeded -R .note -R .comment + DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) +endif ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME))) CPU := $(shell uname -m) SOURCES += $(SOURCES_cygwin) @@ -140,7 +169,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME)) EXTENSION = dll OS = windows PD_PATH = $(shell cd "$(PROGRAMFILES)"/pd && pwd) - OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -march=i686 -mtune=pentium4 + OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer CFLAGS += -mms-bitfields LDFLAGS += -s -shared -Wl,--enable-auto-import LIBS += -L"$(PD_PATH)/src" -L"$(PD_PATH)/bin" -L"$(PD_PATH)/obj" -lpd -lwsock32 -lkernel32 -luser32 -lgdi32 @@ -149,7 +178,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME)) endif # in case somebody manually set the HELPPATCHES above -HELPPATCHES ?= $(SOURCES:.c=-help.pd) $(PDOBJECTS:.c=-help.pd) +HELPPATCHES ?= $(SOURCES:.c=-help.pd) $(PDOBJECTS:.pd=-help.pd) CFLAGS += $(OPT_CFLAGS) debian/links0000644000000000000000000000023611611710542010230 0ustar usr/lib/pd/extra/earplug~/README.txt usr/share/doc/pd-earplug/README usr/share/common-licenses/GPL-2 usr/lib/pd/extra/earplug~/LICENSE.txt debian/gbp.conf0000644000000000000000000000024511611710542010604 0ustar [DEFAULT] upstream-branch = upstream debian-branch = master upstream-tag = upstream/%(version)s debian-tag = debian/%(version)s pristine-tar = True sign-tags = True debian/changelog0000644000000000000000000000140011611710542011031 0ustar pd-earplug (0.2-3) unstable; urgency=low [ Alessio Treglia ] * Drop quilt patchsystem since the format is set to 3.0 (quilt). [ Hans-Christoph Steiner ] * updated Build-Depends to use puredata-dev when available (Closes: #629706) * bumped standards version to 3.9.2 -- Hans-Christoph Steiner Fri, 10 Jun 2011 14:29:22 -0400 pd-earplug (0.2-2) unstable; urgency=low * patched Makefile to build on kFreeBSD and Hurd (Closes: #605825) * added quilt dep so that debclean unpatches automatically -- Hans-Christoph Steiner Mon, 20 Dec 2010 14:47:56 -0500 pd-earplug (0.2-1) unstable; urgency=low * Initial release (Closes: #591846) -- Hans-Christoph Steiner Thu, 21 Jan 2010 23:27:04 -0500 debian/rules0000755000000000000000000000076511611710542010254 0ustar #!/usr/bin/make -f LIBRARY_NAME = earplug~ PACKAGE = pd-earplug pkglibdir = /usr/lib/pd/extra %: dh $@ --buildsystem=makefile override_dh_auto_install: dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir) # replace license file with link to the Debian license file rm -f -- $(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/LICENSE.txt override_dh_shlibdeps: dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \ -T$(CURDIR)/debian/$(PACKAGE).substvars debian/control0000644000000000000000000000171711611710542010575 0ustar Source: pd-earplug Section: sound Priority: optional Maintainer: Debian Multimedia Maintainers DM-Upload-Allowed: yes Uploaders: Hans-Christoph Steiner Build-Depends: debhelper (>= 7.0.50~), puredata-dev | puredata (<< 0.43) Standards-Version: 3.9.2 Homepage: http://puredata.info Vcs-Git: git://git.debian.org/pkg-multimedia/pd-earplug.git Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/pd-earplug.git Package: pd-earplug Architecture: any Depends: ${shlibs:Depends}, pd, ${misc:Depends} Description: binaural filter based on KEMAR impulse measurement for Pd earplug~ is a realtime binaural filter based on KEMAR impulse measurement. It allows you to spatialize a sound in realtime. It basically takes the KEMAR data set, and interpolates 366 locations where HRTF measurement exists in a spherical surface. you get azimuth control 0-360 and elevation -40 - 90. debian/compat0000644000000000000000000000000211611710542010362 0ustar 7