--- resample-1.7.orig/Makefile +++ resample-1.7/Makefile @@ -5,8 +5,8 @@ ARCHS=m68k i386 DESTROOT = -INSTALLDIR = $(DESTROOT)/usr/local/bin -MANDIR = $(DESTROOT)/usr/local/man/man1 +INSTALLDIR = $(DESTROOT)/usr/bin +MANDIR = $(DESTROOT)/usr/share/man/man1 ################################################################################ # Not normally necessary to edit below this point --- resample-1.7.orig/debian/changelog +++ resample-1.7/debian/changelog @@ -0,0 +1,18 @@ +resample (1.7-3) unstable; urgency=low + + * Orphan package as in bug # 297444 + + -- Kevin M. Rosenberg Sat, 5 Mar 2005 03:04:20 -0700 + +resample (1.7-2) unstable; urgency=low + + * Patch upstream bug (closes:265328) + + -- Kevin M. Rosenberg Thu, 12 Aug 2004 12:15:57 -0600 + +resample (1.7-1) unstable; urgency=low + + * Initial Release. + + -- Kevin M. Rosenberg Tue, 21 Jan 2003 07:53:06 -0700 + --- resample-1.7.orig/debian/control +++ resample-1.7/debian/control @@ -0,0 +1,20 @@ +Source: resample +Section: utils +Priority: optional +Maintainer: Debian QA Group +Build-Depends: debhelper (>> 4.0.0) +Standards-Version: 3.6.1.1 + +Package: resample +Architecture: any +Depends: ${shlibs:Depends} +Description: Resamples a sound file using a FIR filter + The resample program "resamples" a soundfile to change its sampling + rate. For example, it can be used to convert the sampling rate from + 48 kHz (used by DAT machines) to 44.1 kHz (the standard sampling rate + for Compact Discs). + . + The windowfilter program designs Finite-Impulse-Response (FIR) digital + filters by the so-called "window method." In this method, the ideal + impulse response (a sinc function) is "windowed" by a Kaiser window (a + popular window used in spectrum analysis). --- resample-1.7.orig/debian/dirs +++ resample-1.7/debian/dirs @@ -0,0 +1,2 @@ +usr/bin + --- resample-1.7.orig/debian/postinst +++ resample-1.7/debian/postinst @@ -0,0 +1,48 @@ +#! /bin/sh +# postinst script for resample +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- resample-1.7.orig/debian/preinst +++ resample-1.7/debian/preinst @@ -0,0 +1,44 @@ +#! /bin/sh +# preinst script for resample +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) +# if [ "$1" = "upgrade" ] +# then +# start-stop-daemon --stop --quiet --oknodo \ +# --pidfile /var/run/resample.pid \ +# --exec /usr/sbin/resample 2>/dev/null || true +# fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- resample-1.7.orig/debian/postrm +++ resample-1.7/debian/postrm @@ -0,0 +1,38 @@ +#! /bin/sh +# postrm script for resample +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- resample-1.7.orig/debian/prerm +++ resample-1.7/debian/prerm @@ -0,0 +1,39 @@ +#! /bin/sh +# prerm script for resample +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/resample.info.gz + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- resample-1.7.orig/debian/delist_ptr.patch +++ resample-1.7/debian/delist_ptr.patch @@ -0,0 +1,11 @@ +--- io.c.~1~ 2000-06-27 10:33:55.000000000 -0600 ++++ io.c 2004-08-12 12:14:22.000000000 -0600 +@@ -930,7 +930,7 @@ + void mus_untableptr(int ip_1) + { + MUS_SAMPLE_TYPE *ip; +- ip = delist_ptr(ip_1); ++ ip = mus_table2ptr(ip_1); + if (ip) FREE(ip); + long_int_p_table[ip_1] = NULL; + } --- resample-1.7.orig/debian/copyright +++ resample-1.7/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Kevin M. Rosenberg on +Tue, 21 Jan 2003 07:53:06 -0700. + +It was downloaded from http://www-ccrma.stanford.edu/~jos/resample/ + +Upstream Authors: Julius Orion Smith III, Bill Schottstaedt + +Copyright: + +SNDLIB files are Copyright 2000 by Bill Schottstaedt . + +The remaining files in this package, unless otherwise noted, are +Copyright 1994-2002 by Julius O. Smith III , +all rights reserved. Permission to use and copy is granted subject to +the terms of the "GNU Lesser General Public License" (LGPL) as +published by the Free Software Foundation; either version 2.1 of the +License, or any later version. In addition, we request that a copy of +any modified files be sent by email to jos@ccrma.stanford.edu so that +we may incorporate them into the CCRMA version. + +A copy of the LGPL is located in the Debian file system in the file +/usr/share/common-licenses/LGPL. + + This library 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 + Lesser General Public License for more details. --- resample-1.7.orig/debian/docs +++ resample-1.7/debian/docs @@ -0,0 +1,2 @@ +README +README.deemph --- resample-1.7.orig/debian/rules +++ resample-1.7/debian/rules @@ -0,0 +1,80 @@ +#!/usr/bin/make -f + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + patch -p0 < debian/delist_ptr.patch + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + -$(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/resample. + $(MAKE) install DESTROOT=$(CURDIR)/debian/resample + +# 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 + rm -rf debian/resample/sndlib-10/config.cache debian/resample/sndlib-10/config.status +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman resample.1 + dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- resample-1.7.orig/debian/compat +++ resample-1.7/debian/compat @@ -0,0 +1 @@ +4