Bug#312570: Help needed: dvb-apps

2010-02-25 Thread Mark Purcell
On Wednesday 24 February 2010 23:34:56 Uwe Bugla wrote:
 For the stuff residing @ the second link I have manpages (printouts of
 the -h switch in manpage format for every binary) here plus some
 patches.

Uwe,

If you have man pages that would help us with this bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=312570

 Use the snapshot from link 2.
 Use the patches against this snapshot that I can send you if you wish.

Yes please, ideally you would be able to submit through http://bugs.debian.org

Thanks for any assistance you can provide.

Mark


signature.asc
Description: This is a digitally signed message part.


Bug#312570: Help needed: dvb-apps

2010-02-25 Thread Uwe Bugla
Am Donnerstag, den 25.02.2010, 21:06 +1100 schrieb Mark Purcell:

Hi Mark,

 On Wednesday 24 February 2010 23:34:56 Uwe Bugla wrote:
  For the stuff residing @ the second link I have manpages (printouts of
  the -h switch in manpage format for every binary) here plus some
  patches.
 
 Uwe,
 
 If you have man pages that would help us with this bug:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=312570

Yes! Please see apps_manpages.patch.

  Use the snapshot from link 2.
  Use the patches against this snapshot that I can send you if you wish.
 
 Yes please, ideally you would be able to submit through http://bugs.debian.org

No! We can make that easier:

alevt.patch provides:
- cosmetic changes for README, Changelog, and TODO
- erasure of an obsolete error message in vbi.c
(I did the whole refactoring of alevt-dvb, so this is a post correction)

Last point:

When checking the Debian package with Lintian you wil need to work with
overrides:
Please see dvb-apps.lintian-overrides..

 Thanks for any assistance you can provide.
 
 Mark

It's a pleasure to work with open-minded people like you, Mark.

Best regards

Uwe

--- a/Make.rules
+++ b/Make.rules
@@ -33,6 +33,7 @@
 includedir ?= $(prefix)/include
 libdir ?= $(prefix)/lib
 sharedir   ?= $(prefix)/share
+mandir ?= $(prefix)/share/man/man1
 
 ifneq ($(DESTDIR),)
 DESTDIR := $(DESTDIR)/
@@ -64,6 +65,11 @@
 	mkdir -p $(DESTDIR)$(bindir)
 	install -m 755 $(inst_bin) $(DESTDIR)$(bindir)/
 endif
+ifneq ($(inst_man),)
+	@echo installing manpages
+	@mkdir -p $(DESTDIR)$(mandir)
+	@install -m 755 $(inst_man) $(DESTDIR)$(mandir)/
+endif
 else
 %.o: %.c
 	@echo CC $@
@@ -99,6 +105,11 @@
 	@mkdir -p $(DESTDIR)$(bindir)
 	@install -m 755 $(inst_bin) $(DESTDIR)$(bindir)/
 endif
+ifneq ($(inst_man),)
+	@echo installing manpages
+	@mkdir -p $(DESTDIR)$(mandir)
+	@install -m 755 $(inst_man) $(DESTDIR)$(mandir)/
+endif
 endif
 
 -include $(prerequisites)
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@
 	$(MAKE) -C lib $@
 	$(MAKE) -C test $@
 	$(MAKE) -C util $@
+	$(MAKE) -C man $@
 
 update:
 	@echo Pulling changes  updating from master repository
--- a/man/Makefile
+++ b/man/Makefile
@@ -0,0 +1,14 @@
+manpages = *.1
+inst_man = $(manpages)
+
+.PHONY: all
+all: $(manpages)
+$(manpages): atsc_epg.1 av7110_loadkeys.1 azap.1 czap.1 dib3000-watch.1 \
+dst_test.1 dvbdate.1 dvbnet.1 dvbscan.1 dvbtraffic.1 femon.1 gnutv.1 gotox.1 \
+scan.1 szap.1 tzap.1 zap.1
+include ../Make.rules
+
+install::
+	@echo installing manpages
+	@mkdir -p $(DESTDIR)$(mandir)
+	@install -m 644 *.1 $(DESTDIR)$(mandir)/
--- a/man/atsc_epg.1
+++ b/man/atsc_epg.1
@@ -0,0 +1,35 @@
+.TH atsc_epg 1 February 14, 2010
+.SH NAME
+atsc_epg \- an electronic program guide using ATSC devices.
+.SH SYNOPSIS
+.B atsc_epg
+.RI [ options ]
+.br
+.SH DESCRIPTION
+This manual page documents briefly the
+.B atsc_epg
+commands.
+.PP
+\fBatsc_epg\fP is an electronic program guide for ATSC devices.
+.SH OPTIONS
+.TP
+.B \-a
+adapter index to use, (default 0)
+.TP
+.B \-f
+tuning frequency
+.TP
+.B \-h
+print this help text
+.TP
+.B \-p
+period in hours, (default 12)
+.TP
+.B \-m
+modulation ATSC vsb_8|vsb_16 (default vsb_8)
+.TP
+.B \-t
+enable ETT to receive program details, if available
+.br
+.PP
+This manual page was written by Uwe Bugla uwe.bu...@gmx.de.
--- a/man/av7110_loadkeys.1
+++ b/man/av7110_loadkeys.1
@@ -0,0 +1,26 @@
+.TH av7110_loadkeys 1 February 14, 2010
+.SH NAME
+av7110_loadkeys \- a program to load keymaps.
+.SH SYNOPSIS
+.B av7110_loadkeys
+.RI [ options ] keymap_filename.(rc5|rcmm
+.br
+.SH DESCRIPTION
+This manual page documents briefly the
+.B av7110_loadkeys
+commands.
+.PP
+\fBav7110_loadkeys\fP is a program to load keymaps.
+.SH OPTIONS
+.TP
+.B \-i
+invert
+.TP
+.B \-a
+address num
+.TP
+.B \-h
+print this help text
+.br
+.PP
+This manual page was written by Uwe Bugla uwe.bu...@gmx.de.
--- a/man/azap.1
+++ b/man/azap.1
@@ -0,0 +1,35 @@
+.TH azap 1 February 14, 2010
+.SH NAME
+azap \- a program to process channels.conf files.
+.SH SYNOPSIS
+.B azap
+.RI [ options ] channel name
+.br
+.SH DESCRIPTION
+This manual page documents briefly the
+.B azap
+commands.
+.PP
+\fBazap\fP is a program to process a channels.conf file.
+.SH OPTIONS
+.TP
+.B \-a adapter_num
+use given adapter (default 0)
+.TP
+.B \-f frontend_id
+use given frontend (default 0)
+.TP
+.B \-d demux_id
+use given demux (default 0)
+.TP
+.B \-c conf_file
+read channels list from 'file'
+.TP
+.B \-r
+set up /dev/dvb/adapterX/dvr0 for TS recording
+.TP
+.B \-h
+print this help text
+.br
+.PP
+This manual page was written by Uwe Bugla uwe.bu...@gmx.de.
--- a/man/czap.1
+++ b/man/czap.1
@@ -0,0 +1,46 @@
+.TH czap 1 February 14, 2010
+.SH NAME
+czap \- a program to process channels.conf files.
+.SH SYNOPSIS
+.B czap
+.RI [ options ] channel name
+.br
+.SH DESCRIPTION
+This manual page documents briefly the
+.B czap
+commands.
+.PP
+\fBczap\fP is a program to process a channels.conf file.
+.SH OPTIONS channel name
+.TP
+.B \-a