#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_fix_manpages.dpatch by Sandro Tosi <matrixhasu@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Added to fix hyphen-used-as-minus-sign lintian warning
@DPATCH@
diff -urNad rplay-3.3.2~/contrib/mailsound/mailsound.1 rplay-3.3.2/contrib/mailsound/mailsound.1
--- rplay-3.3.2~/contrib/mailsound/mailsound.1 2008-08-17 20:40:45.000000000 +0200
+++ rplay-3.3.2/contrib/mailsound/mailsound.1 2008-08-17 20:40:48.177590534 +0200
@@ -3,7 +3,7 @@
mailsound \- play sounds when mail is received
.SH SYNOPSIS
.B mailsound
-[-hszZvrd] soundname \.\.\.
+[\-hszZvrd] soundname \.\.\.
.SH DESCRIPTION
mailsound allows a user to play sounds when new mail arrives.
It reads a mail message from stdin and uses Mark Boyns'
@@ -89,10 +89,10 @@
Here is a sample $HOME/.mailsounds file:
.IP
.nf
-Andrew.* -r Passing_Train riot arrp flinstones
+Andrew.* \-r Passing_Train riot arrp flinstones
root.* out!
-daemon.* -v 220 sci_fi_fun
-MAILER.* -S 1000,10000 cuckoo pig Oomph
+daemon.* \-v 220 sci_fi_fun
+MAILER.* \-S 1000,10000 cuckoo pig Oomph
*. pigs
.fi
.SH FILES
diff -urNad rplay-3.3.2~/doc/rplay.1 rplay-3.3.2/doc/rplay.1
--- rplay-3.3.2~/doc/rplay.1 2008-08-17 20:40:45.000000000 +0200
+++ rplay-3.3.2/doc/rplay.1 2008-08-17 20:40:48.177590534 +0200
@@ -43,8 +43,8 @@
Examples: ulaw,8000,8,1,big-endian,0
gsm,8000
Shorthand info is provided for Sun's audio devices using the
-following options: --info-amd, --info-dbri, --info-cs4231.
-There's also: --info-ulaw and --info-gsm.
+following options: \-\-info\-amd, \-\-info\-dbri, \-\-info\-cs4231.
+There's also: \-\-info\-ulaw and \-\-info\-gsm.
.TP
.I "\-p, \-\-pause"
Pause sounds.
@@ -70,7 +70,7 @@
.TP
.I "\-\-rptp, \-\-RPTP"
Force the use of the RPTP protocol.
-See `--rplay' for more information about protocols.
+See `\-\-rplay' for more information about protocols.
.TP
.I "\-R N, \-\-sample\-rate=N"
Play sounds at sample rate N, default = 0.
diff -urNad rplay-3.3.2~/doc/rplay.helpers.5 rplay-3.3.2/doc/rplay.helpers.5
--- rplay-3.3.2~/doc/rplay.helpers.5 2008-08-17 20:40:45.000000000 +0200
+++ rplay-3.3.2/doc/rplay.helpers.5 2008-08-17 20:40:48.177590534 +0200
@@ -15,7 +15,7 @@
.IP
<regex> <audio-format> <application>
.SH EXAMPLE
- .*mp3$ linear16,44100,16,2,little-endian /usr/bin/mpg123 -s -q -r 44100 --stereo -
+ .*mp3$ linear16,44100,16,2,little\-endian /usr/bin/mpg123 \-s \-q \-r 44100 \-\-stereo \-
.SH FILES
.B /usr/local/etc/rplay.helpers
.SH "SEE ALSO"
diff -urNad rplay-3.3.2~/doc/rplayd.8 rplay-3.3.2/doc/rplayd.8
--- rplay-3.3.2~/doc/rplayd.8 2008-08-17 20:40:45.000000000 +0200
+++ rplay-3.3.2/doc/rplayd.8 2008-08-17 20:40:48.177590534 +0200
@@ -68,9 +68,9 @@
Close /dev/dsp after N idle seconds, disabled with 0 (5).
.TP
.I "\-F N, \-\-audio_flush=N"
-Flush /dev/dsp after N idle seconds, disabled with 0 (-1).
-N = -1 : flush when spool is empty.
-N = -2 : flush after each audio write. (not recommended)
+Flush /dev/dsp after N idle seconds, disabled with 0 (\-1).
+N = \-1 : flush when spool is empty.
+N = \-2 : flush after each audio write. (not recommended)
N should be <= to the audio close timeout.
.TP
.I "\-\-audio\-format=FORMAT"
@@ -88,13 +88,13 @@
INFO is of the form: format,sample-rate,bits,channels
Examples: `ulaw,8000,8,1' and `linear-16,44100,16,2'
Also provided are:
- --audio-info-ulaw, --info-ulaw -> ulaw,8000,8,1
+ \-\-audio\-info\-ulaw, \-\-info\-ulaw \-> ulaw,8000,8,1
.TP
.I "\-\-audio\-match"
Attempt to match the sample rate of the audio device with
the sample rate of the current sound when no other sounds
-are playing. If the match fails, --audio-sample-rate is used.
-This option overrides --audio-bufsize.
+are playing. If the match fails, \-\-audio\-sample\-rate is used.
+This option overrides \-\-audio\-bufsize.
.TP
.I "\-\-audio\-port=PORT[,PORT...]"
Output audio to the specified audio port(s).
@@ -184,11 +184,11 @@
.TP
.I "\-\-port=PORT, \-\-rplay\-port=PORT"
Use PORT as the RPLAY/UDP port. (5555)
-(--other-rplay-port may also be available)
+(\-\-other\-rplay\-port may also be available)
.TP
.I "\-\-rptp\-port=PORT"
Use PORT as the RPTP/TCP port. (5556)
-(--other-rptp-port may also be available)
+(\-\-other\-rptp\-port may also be available)
.TP
.I "\-S FILE, \-\-servers=FILE"
Use FILE for rplay.servers (/etc/rplay/rplay.servers).
diff -urNad rplay-3.3.2~/doc/rptp.1 rplay-3.3.2/doc/rptp.1
--- rplay-3.3.2~/doc/rptp.1 1998-07-15 00:35:23.000000000 +0200
+++ rplay-3.3.2/doc/rptp.1 2008-08-17 20:41:54.717382418 +0200
@@ -9,7 +9,6 @@
report its status. See the output of the
.B rptp help
command for a list of available commands.
-.OPTIONS
.SH SEE ALSO
.IR rplayd (8),
.IR rplay (1)
diff -urNad rplay-3.3.2~/perl/Mailsound.1 rplay-3.3.2/perl/Mailsound.1
--- rplay-3.3.2~/perl/Mailsound.1 2008-08-17 20:40:45.000000000 +0200
+++ rplay-3.3.2/perl/Mailsound.1 2008-08-17 20:40:48.177590534 +0200
@@ -21,7 +21,7 @@
file, use something like:
.nf
- \\yourusername, |"/usr/local/bin/Mailsound -h soundhostname"
+ \\yourusername, |"/usr/local/bin/Mailsound \-h soundhostname"
.fi
For
@@ -30,7 +30,7 @@
.nf
:0 ic
- | /usr/local/bin/Mailsound -h doctor:doit
+ | /usr/local/bin/Mailsound \-h doctor:doit
.fi
.SH OPTIONS