[Pkg-alsa-devel] [Debian ALSA CVS] debian/alsa-utils/debian (2 files)

Thomas Hood jdthood-guest@haydn.debian.org
Tue, 07 Sep 2004 03:27:03 -0600


    Date: Tuesday, September 7, 2004 @ 03:27:03
  Author: jdthood-guest
    Path: /cvsroot/pkg-alsa/debian/alsa-utils/debian

   Added: patches/15_arecord_docfixes.dpatch
Modified: changelog

Add 15_arecord_docfixes.dpatch


------------------------------------+
 changelog                          |    3 +++
 patches/15_arecord_docfixes.dpatch |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)


Index: debian/alsa-utils/debian/changelog
diff -u debian/alsa-utils/debian/changelog:1.37 debian/alsa-utils/debian/changelog:1.38
--- debian/alsa-utils/debian/changelog:1.37	Tue Sep  7 03:13:34 2004
+++ debian/alsa-utils/debian/changelog	Tue Sep  7 03:27:03 2004
@@ -15,6 +15,9 @@
         . Don't really clear screen; just newline  (Closes: #261850)
       + Add 92_debian_alsaconf_restore:
         . Set up module loader to do "alsactl restore" post install
+    - arecord.1
+      + Add 15_arecord_docfixes:
+        . Note that the default duration is zero  (Closes: #243965)
 
  -- Jordi Mallach <jordi@debian.org>  Mon,  6 Sep 2004 12:19:31 +0200
 
Index: debian/alsa-utils/debian/patches/15_arecord_docfixes.dpatch
diff -u /dev/null debian/alsa-utils/debian/patches/15_arecord_docfixes.dpatch:1.1
--- /dev/null	Tue Sep  7 03:27:03 2004
+++ debian/alsa-utils/debian/patches/15_arecord_docfixes.dpatch	Tue Sep  7 03:27:03 2004
@@ -0,0 +1,37 @@
+#! /bin/sh -e
+## 15_arecord_docfixes.dpatch by  <jdthood@yahoo.co.uk>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+if [ $# -lt 1 ]; then
+    echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+    exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
+
+case "$1" in
+    -patch) patch -p1 ${patch_opts} < $0;;
+    -unpatch) patch -R -p1 ${patch_opts} < $0;;
+    *)
+        echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+        exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+diff -urNad /home/jdthood/src/pkg-alsa/debian/alsa-utils/aplay/arecord.1 alsa-utils/aplay/arecord.1
+--- /home/jdthood/src/pkg-alsa/debian/alsa-utils/aplay/arecord.1	2003-08-07 16:48:17.000000000 +0200
++++ alsa-utils/aplay/arecord.1	2004-09-07 11:24:12.000000000 +0200
+@@ -69,7 +69,7 @@
+ Sampling rate in Hertz.
+ .TP
+ \fI-d, --duration=#\fP
+-Interrupt after # seconds
++Interrupt after # seconds.  The default is zero.
+ .TP
+ \fI-s, --sleep-min=#\fP
+ Min ticks to sleep