alevt-dvb now part of the dvb-apps - some critical remarks / enhancements
Subsystems (2)
Hi everybody,
Hello Manu,
now that Francesco's proposal is reality I want to add some necessary things as I do not want or appreciate an implementation of alevt-dvb in a kind of half-way-down-the-line-style.
Either this is done correctly (100 %) or this should not be done at all.
I provide some patchset as outline attachment to improve:
1. alevt.patch: - Changes in Changelog, README and TODO
a nasty superfluous error message in vbi.c is being wiped out
2. alevt.png: wasn't part of the implemetation patch,
please apply manually in the main directory of alevt
3. apps_manpages.patch: in one of my creative moments I wrote a whole bunch of manpages for the dvb-apps suite. In case of Debianization of the package the lintian tool requires 1 manpage per binary. Mandatory!
4. apps_zapcycles.patch: one of my apps needs a shorter timeout for szap to function correctly
5. dvb-apps.lintian-overrides: These are program errors that lintian finds during testing the validity of the package.
A. I'd appreciate to apply 1. - 3.
B. Applying 4. is not necessary, but would ease my personal hosting C. 5. should be eliminated by an experienced software hacker
5. looks like this:
dvb-apps: sharedobject-in-library-directory-missing-soname usr/lib/libucsi.so
dvb-apps: sharedobject-in-library-directory-missing-soname usr/lib/libdvbapi.so
dvb-apps: sharedobject-in-library-directory-missing-soname usr/lib/libdvben50221.so
dvb-apps: sharedobject-in-library-directory-missing-soname usr/lib/libdvbsec.so
dvb-apps: sharedobject-in-library-directory-missing-soname usr/lib/libdvbcfg.so
dvb-apps: sharedobject-in-library-directory-missing-soname usr/lib/libesg.so
D. As I stated several times, the major problem of that program is NOT where it is hosted, but furthermore the problem that it does not know how to deal with a channel change in DVB mode when the transponder is being changed by the external player application..... Just as reminder.......
P. S.: Wouldn't it be a good idea to imply a dependency checker into the dvb-apps package?
It's a bit unhandy to tell the people via readme to go to /utils/alevt and type make, if the dependencies are fulfilled.
Guess that can be automatized?
Cheers
CS
util/alevt/ChangeLog +3 -3
@@ -1,11 +1,11 @@ -Thu Feb 11 22:05:00 MET 2010 (1.7.0) +Sat Feb 14 15:10:00 MET 2010 (1.7.0) - redesigned version: - outfile, new starting methods, libzvbi implementation - lots of bug fixes, all patches available in the Internet applied - - extensive code cleanup + - intensive code cleanup -Mon Dec 3 03:11:07 MET 2007 (1.6.2) +Mon Dec 3 03:11:07 MET 2007 (1.6.2) - compilation fixes for newer gcc - makefile tweaks (man vs share/man, /usr/X11R6 vs /usr, etc)
util/alevt/README +12 -9
@@ -13,7 +13,7 @@ 3. lots of cruft which is completely outdated or obsolete for other reasons To handle all that in one big effort I decided to redesign the program -completely, enlarging its capabilities for DVB-S at the same time. +completely, enlarging its DVB capabilities at the same time. So here are the changes:
@@ -22,8 +22,7 @@ 2. Erasure of old outdated integers, functions, parameters: -- bell, big_buf, debug, display, editor, erc, fine_tune, newbttv, -- oldbttv +- bell, big_buf, debug, display, editor, erc, fine_tune, newbttv, oldbttv. 3. Coding style cleanups (no superfluous comments, not more than 80 characters per column, no uncommented code.
@@ -52,20 +51,24 @@ make install" there is an uninstaller now to revert the installation: "make uninstall". -ENJOY IT! +External dependencies to run that program: -Uwe Bugla, February 11th, 2010. +AleVT needs some some system libraries to be installed in your system. +- libc6 (>= 2.3.6) +- libpng12 (>= 1.2.13) +- libx11 (>= 1.3.3) +- libzvbi0 (>= 0.2.11) +- zlib (>= 1.1.4) -External dependencies +ENJOY IT! -AleVT needs some system libraries to be installed in your system. -They are zlib, libX11, libpng and libzvbi. +Uwe Bugla, February 14th, 2010. Credits go to: - Andreas Rottmann from debian.org for compiler fixes and other kinds of investigation. - Francesco Lavra for supplying a kernel patch to avoid kernel demux - incompatibilities with kernels >= 2.6.32 + incompatibilities with kernels 2.6.32-rc1 - 2.6.33-rc7 - Andy Walls for helpful investigation in kernelspace - Edgar Toernig for providing the source version 1.6.2 and doing all the development for the basic versions
util/alevt/TODO +14 -8
@@ -1,12 +1,18 @@ -Hi, these are issues that I unfortunately cannot resolve myself: +These are issues that I unfortunately cannot resolve myself: -1. graphical menu written in GKT2, to be used in general connection with +1. Most important: for usage without script and outfile option: + DVB monitoring demon helping the program to rewrite the PAT + (Program Allocation Table) when the external player software + has chosen a channel which is part of a new transponder. + At the moment alevt hangs when the transponder is changed by an + external player software. + It then can only be stopped via "killall -9 alevt". + Or you switch it off before every channel change. + +2. Graphical menu written in GKT2, to be used in general connection with the outfile (-o) option. -2. for usage without script and outfile option: - DVB monitoring demon helping the program to rewrite the PAT when the - external player software has chosen a channel which is part of a - new transponder. - At the moment alevt hangs when the transponder is changed. +3. New BDF fonts for slightly bigger windows. + Those BDF fonts need to be edited so that they can be transformed by bdf2xbm. -Uwe Bugla, February 11th, 2010. +Uwe Bugla, February 14th, 2010.
util/alevt/vbi.c +0 -4
@@ -706,10 +706,6 @@ } j = i +5 ; i = j + (((tbl[i+3 ] <<8 ) | tbl[i+4 ]) &0x0fff ); -if (!progp) { -error ("SDT: service_id 0x%x not in PAT\n" , k); -continue ; - }while (j < i) {switch (tbl[j]) {case 0x48 :// service descriptor
Make.rules +11 -0
@@ -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)
Makefile +1 -0
@@ -6,6 +6,7 @@ $(MAKE) -C lib $@ $(MAKE) -C test $@ $(MAKE) -C util $@ + $(MAKE) -C man $@ update: @echo "Pulling changes & updating from master repository"
man/Makefile +14 -0
@@ -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)/
man/atsc_epg.1 +35 -0
@@ -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 <[email protected]>.
man/av7110_loadkeys.1 +26 -0
@@ -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 <[email protected]>.
man/azap.1 +35 -0
@@ -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 <[email protected]>.
man/czap.1 +46 -0
46 lines not on this page · raw message
man/dib3000-watch.1 +34 -0
@@ -0,0 +1,34 @@ +.TH dib3000-watch 1 "February 14, 2010" +.SH NAME +dib3000-watch \- a program to check DVB cards. +.SH SYNOPSIS +.B dib3000-watch +.RI [ options ] <channel name> +.br +.SH DESCRIPTION +This manual page documents briefly the +.B dib3000-watch +commands. +.PP +\fBdib3000-watch\fP is a program to check DVB cards. +.SH OPTIONS +.TP +.B \-d <i2c-device> +-d: normally one of /dev/i2c-[0-255] +.TP +.B \-a <i2c-address> +-a: is 8 for DiB3000M-B and 9, 10, 11 or 12 for DiB3000M-C or DiB3000-P +.TP +.B \-o <type> +-o: output type (print|csv) (default: print) +.TP +.B \-i <seconds> +-i: query interval in seconds (default: 0.1) +.TP +.B \-h +print this help text +.br +.SH AUTHOR +Copyright (C) 2005 by Patrick Boettcher <[email protected]> +.PP +This manual page was written by Uwe Bugla <[email protected]>.
man/dst_test.1 +41 -0
41 lines not on this page · raw message
man/dvbdate.1 +38 -0
@@ -0,0 +1,38 @@ +.TH dvbdate 1 "February 14, 2010" +.SH NAME +dvbdate \- a program to show the actual time. +.SH SYNOPSIS +.B dvbdate +.RI [ options ] +.br +.SH DESCRIPTION +This manual page documents briefly the +.B dvbdate +commands. +.PP +\fBdvbdate\fP is a program to show the actual time. +.SH OPTIONS +.TP +.B \-a --adapter +adapter to use, default: 0 +.TP +.B \-p --print +print current time, received time and delta +.TP +.B \-s --set +set the system clock to received time +.TP +.B \-f --force +force the setting of the clock +.TP +.B \-q --quiet +be silent +.TP +.B \-h --help +display this message +.TP +.B \-t --timeout n +max seconds to wait, default: 25 +.br +.PP +This manual page was written by Uwe Bugla <[email protected]>.
man/dvbnet.1 +38 -0
@@ -0,0 +1,38 @@ +.TH dvbnet 1 "February 14, 2009" +.SH NAME +dvbnet \- a DVB Network Interface Manager. +.SH SYNOPSIS +.B dvbnet +.RI [ options ] +.br +.SH DESCRIPTION +This manual page documents briefly the +.B dvbnet +commands. +.PP +\fBdvbnet\fP is a DVB Network Interface Manager. +.SH OPTIONS +.TP +.B \-a AD +Adapter card (default 0) +.TP +.B \-n DD +Demux (default 0) +.TP +.B \-p PID +Add interface listening on PID +.TP +.B \-d NUM +Remove interface NUM +.TP +.B \-l +List currently available interfaces +.TP +.B \-U +use ULE framing (default: MPE) +.TP +.B \-v +Print current version +.br +.PP +This manual page was written by Uwe Bugla <[email protected]>.
man/dvbscan.1 +72 -0
72 lines not on this page · raw message
man/dvbtraffic.1 +26 -0
@@ -0,0 +1,26 @@ +.TH dvbtraffic 1 "February 14, 2010" +.SH NAME +dvbtraffic \- a program to show satellite traffic. +.SH SYNOPSIS +.B dvbtraffic +.RI [ options ] +.br +.SH DESCRIPTION +This manual page documents briefly the +.B dvbtraffic +commands. +.PP +\fBdvbtraffic\fP is a program to show satellite traffic. +.SH OPTIONS +.TP +.B \-a N +use dvb adapter N +.TP +.B \-d N +use demux N +.TP +.B \-h +display this help +.br +.PP +This manual page was written by Uwe Bugla <[email protected]>.
man/femon.1 +32 -0
@@ -0,0 +1,32 @@ +.TH femon 1 "February 14, 2010" +.SH NAME +femon \- a program to monitor DVB frontend signal input. +.SH SYNOPSIS +.B femon +.RI [ options ] +.br +.SH DESCRIPTION +This manual page documents briefly the +.B femon +commands. +.PP +\fBfemon\fP is a program to monitor DVB frontend signal input. +.SH OPTIONS +.TP +.B \-h +print this help text +.TP +.B \-H +human readable output +.TP +.B \-a number +use given adapter (default 0) +.TP +.B \-f number +use given frontend (default 0) +.TP +.B \-c number +samples to take (default 0 = infinite) +.br +.PP +This manual page was written by Uwe Bugla <[email protected]>.
man/gnutv.1 +79 -0
79 lines not on this page · raw message
man/gotox.1 +33 -0
@@ -0,0 +1,33 @@ +.TH gotox 1 "February 14, 2010" +.SH NAME +gotox \- a program to operate a rotor of a satellite dish. +.SH SYNOPSIS +.B gotox +.RI [ options ] +.br +.SH DESCRIPTION +This manual page documents briefly the +.B gotox +commands. +.PP +\fBgotox \fP is a program to operate a rotor set to tune a satellite dish. +.SH OPTIONS +.TP +.B \-h +print this help text +.TP +.B \-d degrees +Goto the specified angle. Positive value for East rotation, +negative value for West rotation on Northern Hemisphere (default 0) +.TP +.B \-a number +use given adapter (default 0) +.TP +.B \-f number +use given frontend (default 0) +.TP +.B \-t seconds +leave power on to rotor for at least specified seconds of time (default 30) +.br +.PP +This manual page was written by Uwe Bugla <[email protected]>.
man/scan.1 +85 -0
85 lines not on this page · raw message
man/szap.1 +57 -0
57 lines not on this page · raw message
man/tzap.1 +56 -0
56 lines not on this page · raw message
man/zap.1 +44 -0
44 lines not on this page · raw message
util/szap/szap.c +1 -1
@@ -201,7 +201,7 @@printf ("FE_HAS_LOCK" );printf ("\n" ); -if (exit_after_tuning && ((status &FE_HAS_LOCK ) || (++timeout >=10 ))) +if (exit_after_tuning && ((status &FE_HAS_LOCK ) && (++timeout ==5 )))break ;usleep (1000000 );
dvb-apps: sharedobject-in-library-directory-missing-soname usr/lib/libucsi.so
dvb-apps: sharedobject-in-library-directory-missing-soname usr/lib/libdvbapi.so
dvb-apps: sharedobject-in-library-directory-missing-soname usr/lib/libdvben50221.so
dvb-apps: sharedobject-in-library-directory-missing-soname usr/lib/libdvbsec.so
dvb-apps: sharedobject-in-library-directory-missing-soname usr/lib/libdvbcfg.so
dvb-apps: sharedobject-in-library-directory-missing-soname usr/lib/libesg.so