--- rexima-1.4.orig/debian/patches/01_nostrip.dpatch
+++ rexima-1.4/debian/patches/01_nostrip.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_nostrip.dpatch by <gregor+debian@comodo.priv.at>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Don't strip binary during install.
+
+@DPATCH@
+diff -urNad rexima~/Makefile rexima/Makefile
+--- rexima~/Makefile 2007-08-03 16:12:35.000000000 +0200
++++ rexima/Makefile 2007-08-14 21:35:33.000000000 +0200
+@@ -23,7 +23,7 @@
+ /bin/sh ./mkinstalldirs $(BINDIR) $(MANDIR)
+
+ install: rexima installdirs
+- install -s -m 755 rexima $(BINDIR)
++ install -m 755 rexima $(BINDIR)
+ install -m 644 rexima.1 $(MANDIR)
+
+ uninstall:
--- rexima-1.4.orig/debian/patches/00list
+++ rexima-1.4/debian/patches/00list
@@ -0,0 +1,2 @@
+01_nostrip
+02_mixerlevelkeys
--- rexima-1.4.orig/debian/patches/02_mixerlevelkeys.dpatch
+++ rexima-1.4/debian/patches/02_mixerlevelkeys.dpatch
@@ -0,0 +1,41 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_mixerlevelkeys.dpatch by <tmancill@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad rexima~/rexima.1 rexima/rexima.1
+--- rexima~/rexima.1 2006-07-06 21:42:53.000000000 -0700
++++ rexima/rexima.1 2008-04-06 16:02:50.000000000 -0700
+@@ -135,6 +135,9 @@
+ .I L
+ increase level by 1% of maximum.
+ .TP
++.IR 1 "-" 9
++set level of current device to 10%, 20%, .. 90% of maximum (according to the key pressed).
++.TP
+ .I Space
+ toggle whether device is a recording source or not.
+ .TP
+diff -urNad rexima~/rexima.c rexima/rexima.c
+--- rexima~/rexima.c 2008-04-06 15:53:59.000000000 -0700
++++ rexima/rexima.c 2008-04-06 15:57:17.000000000 -0700
+@@ -558,7 +558,16 @@
+ clearok(curscr,TRUE);
+ break;
+ }
+-
++
++ /* tmancill@debian.org - add 1-9 keys */
++ if (key >= 0x31 && key <= 0x39) {
++ if(existmask&(1<<cursel))
++ {
++ mixer_setlevel(mixfd,cursel,(key - 0x30)*10);
++ drawlevel(cursel,mixer_getlevel(mixfd,cursel));
++ }
++ }
++
+ drawsel(cursel,oldsel);
+
+ refresh();
--- rexima-1.4.orig/debian/docs
+++ rexima-1.4/debian/docs
@@ -0,0 +1,2 @@
+README
+NEWS
--- rexima-1.4.orig/debian/compat
+++ rexima-1.4/debian/compat
@@ -0,0 +1 @@
+5
--- rexima-1.4.orig/debian/rules
+++ rexima-1.4/debian/rules
@@ -0,0 +1,68 @@
+#!/usr/bin/make -f
+# Made with the aid of dh_make, by Craig Small
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Some lines taken from debmake, by Cristoph Lameter.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+build: build-stamp
+build-stamp: patch
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+
+ touch build-stamp
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp install-stamp
+
+ # Add here commands to clean up after the build process.
+ [ ! -f Makefile ] || $(MAKE) clean
+
+ dh_clean
+
+install: install-stamp
+install-stamp: build-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/tmp.
+ $(MAKE) install PREFIX=$(CURDIR)/debian/rexima/usr MANDIR=$(CURDIR)/debian/rexima/usr/share/man/man1
+
+ touch install-stamp
+
+# 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
+ dh_installdocs README NEWS
+ dh_installchangelogs ChangeLog
+ dh_installmenu
+ dh_installman
+ dh_installdeb
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_shlibdeps
+ dh_gencontrol
+ dh_makeshlibs
+ dh_md5sums
+ dh_builddeb
+
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
--- rexima-1.4.orig/debian/watch
+++ rexima-1.4/debian/watch
@@ -0,0 +1,2 @@
+version=3
+ftp://ftp.gwdg.de/pub/linux/mirrors/sunsite/apps/sound/mixers/rexima-([\d\.]+)\.tar\.gz
--- rexima-1.4.orig/debian/copyright
+++ rexima-1.4/debian/copyright
@@ -0,0 +1,12 @@
+Upstream source location: ftp://ftp.ibiblio.org:/pub/Linux/apps/sound/mixers/
+
+Files: *
+Copyright: © 1996-2003 Russell Marks.
+License: GPL2+
+ 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.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
--- rexima-1.4.orig/debian/menu
+++ rexima-1.4/debian/menu
@@ -0,0 +1,5 @@
+?package(rexima):\
+ needs="text"\
+ section="Applications/Sound"\
+ title="rexima"\
+ command="/usr/bin/rexima"
--- rexima-1.4.orig/debian/changelog
+++ rexima-1.4/debian/changelog
@@ -0,0 +1,94 @@
+rexima (1.4-6) unstable; urgency=low
+
+ [ gregor herrmann ]
+ * Change debian/copyright to the new machine-readable format.
+
+ [ tony mancill ]
+ * add mixer level keys 1-9 (closes: #474566)
+
+ -- tony mancill <tmancill@debian.org> Sun, 06 Apr 2008 16:10:42 -0700
+
+rexima (1.4-5) unstable; urgency=low
+
+ [ gregor herrmann ]
+ * Change XS-Vcs-* fields to Vcs-*.
+ * Set Standards-Version to 3.7.3 (no changes needed).
+
+ [ tony mancill ]
+ * Set debian/compat to 5.
+ * Add Homepage: to debian/control source stanza.
+
+ -- tony mancill <tmancill@debian.org> Tue, 25 Dec 2007 09:03:15 -0800
+
+rexima (1.4-4) unstable; urgency=low
+
+ * Add patch 01_nostrip.dpatch to prevent stripping the binary during
+ install (closes: #437907).
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at> Tue, 14 Aug 2007 21:32:40 +0200
+
+rexima (1.4-3) unstable; urgency=low
+
+ * Add XS-Vcs-Svn and XS-Vcs-Browser fields to debian/control.
+ * Don't ignore errors of $(MAKE) clean.
+ * Install upstream NEWS and README files.
+ * Adjust menu file to the new menu policy.
+ * Add watch file.
+ * Remove README.Debian which is a greeting from the last millenium.
+ * Add myself to uploaders.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at> Mon, 13 Aug 2007 21:58:47 +0200
+
+rexima (1.4-2) unstable; urgency=low
+
+ * debian/control: bump Standards-Version to 3.7.2
+ * add debian/compat for debhelper compatibility version
+ * update debian/rules to install to debian/rexima, not debian/tmp
+
+ -- tony mancill <tmancill@debian.org> Sat, 21 Apr 2007 20:33:04 -0700
+
+rexima (1.4-1) unstable; urgency=low
+
+ * New upstream release
+ * New maintainer (closes: #312866)
+
+ -- tony mancill <tmancill@debian.org> Sun, 12 Jun 2005 22:42:00 -0700
+
+rexima (1.3-1) unstable; urgency=low
+
+ * New upstream version (Closes: #191465)
+
+ -- Pablo Averbuj <pablo@debian.org> Thu, 1 May 2003 01:42:36 -0400
+
+rexima (1.1-4) unstable; urgency=low
+
+ * Fixing lintian errors:
+ * Updated to standards 3.5.0
+ * Added build-depends
+ * Wrapped the full description at column 75
+
+ -- Pablo Averbuj <pablo@debian.org> Fri, 7 Sep 2001 15:57:46 -0400
+
+rexima (1.1-3) unstable; urgency=low
+
+ * Recompiled for libncurses5 (Closes: #93941)
+
+ -- Pablo Averbuj <pablo@debian.org> Sat, 14 Apr 2001 19:43:22 -0400
+
+rexima (1.1-2) unstable; urgency=low
+
+ * Fixed manpage path (Closes: #91009)
+
+ -- Pablo Averbuj <pablo@debian.org> Sat, 24 Mar 2001 19:12:11 -0500
+
+rexima (1.1-1) unstable; urgency=low
+
+ * New upstream release. Closes: #72200
+
+ -- Pablo Averbuj <pablo@debian.org> Sun, 15 Oct 2000 20:17:57 -0400
+
+rexima (1.0-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Pablo Averbuj <pablo@debian.org> Tue, 6 Apr 1999 00:48:52 -0400
--- rexima-1.4.orig/debian/control
+++ rexima-1.4/debian/control
@@ -0,0 +1,18 @@
+Source: rexima
+Section: sound
+Priority: optional
+Maintainer: tony mancill <tmancill@debian.org>
+Uploaders: gregor herrmann <gregor+debian@comodo.priv.at>
+Standards-Version: 3.7.3
+Vcs-Svn: http://dorf.mancill.com/svn/deb/rexima/
+Vcs-Browser: http://dorf.mancill.com/websvn/listing.php?repname=debian+SVN+repository&path=%2Frexima%2F
+Homepage: http://rus.members.beeb.net/rexima.html
+Build-Depends: libncurses5-dev, debhelper (>= 5), dpatch
+
+Package: rexima
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: a simple ncurses/command-line mixer
+ rexima is 'a mixer' spelled backwards. A humble command-line/ncurses mixer
+ which is easy to use and can modify mixer settings non-interactively in
+ shell scripts (for example).
--- rexima-1.4.orig/debian/dirs
+++ rexima-1.4/debian/dirs
@@ -0,0 +1 @@
+usr/bin