aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/changelog422
-rw-r--r--debian/compat1
-rw-r--r--debian/control45
-rw-r--r--debian/copyright91
-rw-r--r--debian/dvb-apps.examples5
-rw-r--r--debian/dvb-apps.postinst11
-rw-r--r--debian/hauppauge2.rc541
-rw-r--r--debian/patches/00list2
-rw-r--r--debian/patches/01_README.scan.dpatch28
-rw-r--r--debian/patches/09_x_zap_flush_stdout.dpatch34
-rwxr-xr-xdebian/rules22
-rw-r--r--debian/watch2
12 files changed, 704 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..90770e2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,422 @@
+linuxtv-dvb-apps (1.1.1+rev1207-1) unstable; urgency=low
+
+ [ Mark Purcell ]
+ * New upstream mercurial (Hg) release
+ - NEW Package: dvb-apps to match upstream name
+ - Replaces:/ Conflicts: dvb-utils
+ * Fixed Upstream:
+ - fr-Paris should have an added offset of 167000 for each value
+ (Closes: #478020)
+ - scan fails on Eurobird 28.5E (Sky UK) (Closes: #415264)
+ - /usr/share/doc/dvb-utils/examples/scan/dvb-t/au-Sydney_North_Shore
+ out of date (Closes: #471829)
+ - new file /usr/share/doc/dvb-utils/examples/scan/dvb-t/de-Leipzig
+ (Closes: #441984)
+ - Example file for dvb-t/de-Koeln-Bonn out of date (Closes: #485449)
+ - Is the zap util the latest version? (Closes: #408246)
+ - /usr/share/doc/dvb-utils/examples/scan/dvb-t/de-Frankfurt out of
+ date (Closes: #471210)
+ - please ship example DVB-T file for de-Dresden (Closes: #473145)
+ - contains /usr/bin/evtest which is also in lineakd (Closes: #438696)
+ - LP: #90752, #180332, #191233
+ * Patches included upstream:
+ - 02_av7110_loadkeys-BTN.dpatch 03_budget_ci_loadkeys.dpatch
+ - 05_scanfiles_not_in_cvs_yet.dpatch 06_scan_uk-heathfield-fix.dpatch
+ - 04_scanfiles_from_cvs.dpatch
+ * Refresh: 01_README.scan.dpatch 09_x_zap_flush_stdout.dpatch
+ * debian/rules: Switch to /usr/share/cdbs/1/class/makefile.mk
+ * Update debian/copyright
+ * debian/control update Description:
+ * Install various READMEs
+ * Install test/ under doc/dvb-apps/examples
+
+ [ Thomas Schmidt ]
+ * Switched Build-System to cdbs, Build-Depend on cdbs
+ * Added Homepage, Vcs-Svn and Vcs-Browser fields to debian/control
+ * Bumped Standards-Version to 3.7.3
+ * Do not ignore errors of "make clean"
+
+ -- Mark Purcell <msp@debian.org> Sun, 22 Jun 2008 11:00:40 +1000
+
+linuxtv-dvb-apps (1.1.1-3) unstable; urgency=low
+
+ [ Mark Purcell ]
+ * Update scan files from 20070804
+ - initial-tuning-data files duplication between dvb-utils & kaffeine
+ (Closes: #419566)
+ * Add myself to uploaders
+ * Add debian/compat: lintian debian-rules-sets-DH_COMPAT
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Mon, 06 Aug 2007 21:41:18 +0100
+
+linuxtv-dvb-apps (1.1.1-2) unstable; urgency=low
+
+ * Added 06_scan_uk-heathfield-fix.dpatch to fix the uk-Heathfiels scanfile
+ as reported in Ubuntu bug #55789
+ * Bumped Standards-Version to 3.7.2
+
+ -- Thomas Schmidt <tschmidt@debian.org> Mon, 28 Aug 2006 23:24:20 +0200
+
+linuxtv-dvb-apps (1.1.1-1) unstable; urgency=low
+
+ * Thomas Schmidt <tschmidt@debian.org>
+ - New upstream release, supports ATSC now (closes: #345413, #368763)
+ + Removed 06_freeview_channel_numbers.dpatch
+ + Removed 07_vdr_output.dpatch
+ + Removed 08_debug_minor_fixes.dpatch
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Sat, 3 Jun 2006 13:12:54 +0200
+
+linuxtv-dvb-apps (1.1.0-11) unstable; urgency=low
+
+ * Thomas Schmidt <tschmidt@debian.org>
+ - Added 09_x_zap_flush_stdout.dpatch - make [stc]zap flush stdout
+ after writing status line (closes: #357126)
+ - Fixed spelling mistake in package description (closes: #363364)
+ - Fixed debian/watch
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Sat, 29 Apr 2006 21:42:54 +0200
+
+linuxtv-dvb-apps (1.1.0-10) unstable; urgency=low
+
+ * Thomas Schmidt <tschmidt@debian.org>
+ - Depend on makedev | udev
+
+ -- Thomas Schmidt <tschmidt@debian.org> Thu, 29 Dec 2005 14:33:17 +0100
+
+linuxtv-dvb-apps (1.1.0-9) unstable; urgency=low
+
+ * Thomas Schmidt <tschmidt@debian.org>
+ - Added 05_scanfiles_not_in_cvs_yet.dpatch, containing:
+ + de-Schwerin from Michael Meyer <mimesn@web.de>
+ + de-Rostock from Oliver Beyer <musketaquid@web.de>
+
+ -- Thomas Schmidt <tschmidt@debian.org> Thu, 15 Dec 2005 13:26:37 +0100
+
+linuxtv-dvb-apps (1.1.0-8) unstable; urgency=low
+
+ * Darren Salt <linux@youmustbejoking.demon.co.uk>:
+ - New patch 06_freeview_channel_numbers:
+ + fix Freeview channel number extraction (was losing the top two bits).
+ - New patch 07_vdr_output:
+ + correct format - output "channel;provider", not "provider - channel";
+ + output audio language information (assume that the AC3 PID is in the
+ same language as the first 'plain' audio channel);
+ + ensure that the transport stream ID is set for every service (else
+ there may be an apparent lack of EPG data for some channels).
+ - New patch 08_debug_minor_fixes:
+ + remove duplicate "0x".
+ - Modified patch 03_budget_ci_loadkeys, removing *.orig.
+ * Thomas Schmidt <tschmidt@debian.org>
+ - Updated scan files from linuxtv.org cvs (20051210)
+ - Bumped Standards-Version to 3.6.2.1
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Sun, 11 Dec 2005 13:37:12 +0100
+
+linuxtv-dvb-apps (1.1.0-7) unstable; urgency=low
+
+ * Thomas Schmidt <tschmidt@debian.org>
+ - Updated scan files from linuxtv.org cvs
+ - Added de-Hamburg scan file from Stephan Poehlsen
+ (closes: #303183)
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Wed, 9 Mar 2005 21:09:49 +0100
+
+linuxtv-dvb-apps (1.1.0-6) unstable; urgency=low
+
+ * Thomas Schmidt <tschmidt@debian.org>
+ - Added dvbnet and dvbtraffic bins to dvb-utils (closes: #298707)
+ - Changed debian/watch and all other references to the new
+ download-directory on www.linuxtv.org
+ - Removed Andreas Müller from uploaders - he does not intend
+ to do uploads anymore
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Wed, 23 Feb 2005 12:09:16 +0100
+
+linuxtv-dvb-apps (1.1.0-5) unstable; urgency=low
+
+ * The "This is my first upload." release
+ * Thomas Schmidt <tschmidt@debian.org>
+ - Added the new frequency-definitions for the scan-utility from
+ the cvs-repository to dvb-utils (closes: #294325)
+ - Changed my email-address to new debian one
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Wed, 9 Feb 2005 11:38:10 +0100
+
+linuxtv-dvb-apps (1.1.0-4) unstable; urgency=low
+
+ * Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
+ - Build-depend on dpatch (>= 2.0.9) to fix FTBFS on sparc,
+ caused by the new dpatch-file-format
+ - Applied patch from Darren Salt <linux@youmustbejoking.demon.co.uk>
+ to add budget_ci_loadkeys-utility (closes: #276082)
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Sat, 16 Oct 2004 10:01:14 +0200
+
+linuxtv-dvb-apps (1.1.0-3) unstable; urgency=low
+
+ * Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
+ - Applied patch from Darren Salt <linux@youmustbejoking.demon.co.uk>
+ to allow key names that begin with BTN_* in av7110_loadkeys
+ (closes: #273733)
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Tue, 28 Sep 2004 15:50:41 +0200
+
+linuxtv-dvb-apps (1.1.0-2) unstable; urgency=low
+
+ * Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
+ + New upstream version (closes: Bug#242701)
+ + Cleanup of complete debian-directory
+ + Use dh_install
+ + Include README for szap (closes: Bug#254518)
+ + Include hauppauge2.rc5 for Hauppauge Nexus-S 2.2 from
+ Uwe Maier <uwe.maier@hp.com>
+ + Changed Maintainer to Debian VDR Team
+ <pkg-vdr-dvb-devel@lists.alioth.debian.org>
+ + Cleaned up Build-Deps
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Fri, 30 Jul 2004 14:09:15 +0200
+
+linuxtv-dvb-apps (1.1.0-1) experimental; urgency=low
+
+ * Thomas Schmidt:
+ + Split apps from linuxtv-dvb-package, because upstream did this too
+ + Create DVB-Devices in dvb-utils, as suggested by Mark Purcell
+ + Added correct watch-file
+
+ -- Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de> Sun, 7 Mar 2004 15:08:27 +0100
+
+linuxtv-dvb (1.0.1-7) unstable; urgency=low
+
+ * Make dvb-dev a dummy package - move the dvb-api-documentation to
+ dvb-utils (closes: Bug#226985)
+ * Include the datafiles for scan under /usr/share/doc/examples/scan/
+ and changed README.scan accordingly. (closes: Bug#225596)
+ * Do not package as debian-native-package anymore (closes: Bug#223855)
+
+ -- Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de> Sun, 11 Jan 2004 11:37:42 +0100
+
+linuxtv-dvb (1.0.1-6) unstable; urgency=low
+
+ * Change dvb-dev to depend only on linux-kernel-headers
+ * Remove header-files from dvb-dev, because they are included in
+ linux-kernel-headers (closes: Bug#214502)
+
+ -- Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de> Fri, 31 Oct 2003 12:09:04 +0100
+
+linuxtv-dvb (1.0.1-5) unstable; urgency=low
+
+ * Add linux-kernel-headers as alternative depend to dvb-dev to the
+ dvb-driver-source package
+
+ -- Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de> Fri, 31 Oct 2003 00:28:45 +0100
+
+linuxtv-dvb (1.0.1-4) unstable; urgency=low
+
+ * changed build-system to dpatch
+ * corrected build-depends, as suggested by Santiago Vila
+ (closes: Bug#217531)
+
+ -- Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de> Sun, 19 Oct 2003 00:19:30 +0200
+
+linuxtv-dvb (1.0.1-3) unstable; urgency=low
+
+ * cleaned up debian/rules a little bit
+ * changed "Source: dvb" to "Source: linuxtv-dvb" in control.template of the
+ dvb-driver-source
+ * changed symbolic link "linux" in the dvb-driver-source-package to
+ /usr/include and rename it to "include" (closes: Bug#216192)
+ * changed section of dvb-dev to devel
+
+ -- Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de> Fri, 17 Oct 2003 12:32:51 +0200
+
+linuxtv-dvb (1.0.1-2) unstable; urgency=low
+
+ * added Thomas as a co maintainer
+
+ -- Andreas Mueller <amu@tr.debian.net> Sun, 12 Oct 2003 16:50:12 +0200
+
+linuxtv-dvb (1.0.1-1) unstable; urgency=low
+
+ * New upstream version
+ * renamed source from dvb to upstream's linuxtv-dvb
+ * removed em8300.h since driver isnt supported :)
+ (closes: Bug#211933)
+
+ -- Andreas Mueller <amu@tr.debian.net> Mon, 29 Sep 2003 14:36:56 +0200
+
+dvb (1.0.0-3) unstable; urgency=low
+
+ * dvb-dev: trying to overwrite `/usr/include/linux/em8300.h', which
+ is also in package em8300-headers see bug: #211883. Added a
+ Conflicts. Notified upstream.
+ * finally close: bug #211933 added kernel-sources as a dependence
+ (closes: Bug#211933)
+
+ -- Andreas Mueller <amu@tr.debian.net> Fri, 26 Sep 2003 21:38:44 +0200
+
+dvb (1.0.0-2) unstable; urgency=low
+
+ * Moved to Standarts-Version: 3.6.1
+ * close: bug #211933
+ Added missing build dep kernel-headers for
+ dvb-driver-source
+ * testing now with precompiled modules
+
+ -- Andreas Mueller <amu@tr.debian.net> Sun, 21 Sep 2003 12:07:02 +0200
+
+dvb (1.0.0-1) unstable; urgency=low
+
+ * Updated to 1.0.0 release
+ * fixed the dvb-driver-source package
+ * close bug #186207
+ (closes: Bug#186207)
+ * close bug #172173
+ (closes: Bug#172173)
+ * close bug #166818
+ (closes: Bug#166818)
+ * close bug #166829
+ (closes: Bug#166829)
+ * close bug #199845
+ (closes: Bug#199845)
+
+ -- Andreas Mueller <amu@tr.debian.net> Tue, 9 Sep 2003 12:00:00 +0200
+
+dvb (0.9.4.20020803-6.1) unstable; urgency=low
+
+ * NMU (sponsored by Joey Hess)
+ * debian/patches/02_strstream-gcc3.3-fix_diff:
+ - Change all references to 'strstream.h' to 'strstream', so the package
+ can be successfully built with GCC 3.3, closes: #198286.
+
+ -- Tore Anderson <tore@linpro.no> Sun, 13 Jul 2003 20:05:32 +0200
+
+dvb (0.9.4.20020803-6) unstable; urgency=low
+
+ * close bug 157436
+ (closes: Bug#157436)
+ * set architecture to "any"
+ (closes: Bug#148272)
+ * Added autoconf2.13 as build-dep and modified autogen.sh to run
+ autoconf2.13. Added a patch file 01_auto_sh_diff for this.
+ thanks to Francesco
+ (closes: #157198)
+
+ -- Andreas Mueller <amu@tr.debian.net> Sat, 15 Mar 2003 21:22:00 +0100
+
+dvb (0.9.4.20020803-5) unstable; urgency=low
+
+ * some cosmetic changes
+
+ -- Andreas Mueller <amu@tr.debian.net> Sat, 4 Jan 2003 16:27:00 +0100
+
+
+dvb (0.9.4.20020803-4) unstable; urgency=low
+
+ * took package from Eduard/QA
+ (closes: Bug#117995)
+
+ -- Andreas Mueller <amu@tr.debian.net> Sat, 4 Jan 2003 16:27:00 +0100
+
+dvb (0.9.4.20020803-3) unstable; urgency=low
+
+ * Too bad, my own scripts reverted the changes in control. Now fixes
+ Build-Dependencies and Arch, thanks to Lamont, closes: #155364
+ * separated Debian changes from CVS snapshot, now patching like with DBS
+
+ -- Eduard Bloch <blade@debian.org> Sun, 4 Aug 2002 11:26:12 +0200
+
+dvb (0.9.4.20020803-2) unstable; urgency=low
+
+ * Arch: all, now really :(
+
+ -- Eduard Bloch <blade@debian.org> Sat, 3 Aug 2002 12:00:46 +0200
+
+dvb (0.9.4.20020803-1) unstable; urgency=low
+
+ * Updated CVS snapshot
+ * Fixed devfsd integration, thanks to Kay Sievers <kay@vrfy.org>
+ * Removed KDREV dependency, -DMODVERSIONS fixed this
+
+ -- Eduard Bloch <blade@debian.org> Sat, 3 Aug 2002 10:03:36 +0200
+
+dvb (0.9.4.20020709-1) unstable; urgency=low
+
+ * Updated CVS snapshot, works with 2.4.19-rc1
+ * Better dependency on automake, closes: #151685
+ * Defined MODVERSIONS, closes: #145006
+ * Devfs optimisations, closes: #133755. Symlinks may need some improvement,
+ cannot test yet.
+ * Changed misleading debconf message
+ * Arch: all, let's see how far this go.
+
+ -- Eduard Bloch <blade@debian.org> Tue, 9 Jul 2002 22:45:52 +0200
+
+dvb (0.9.4.20020321-1) unstable; urgency=low
+
+ * Updated CVS snapshot
+ * creating missing symlinks in mpegtools
+
+ -- Eduard Bloch <blade@debian.org> Wed, 20 Mar 2002 17:31:48 +0100
+
+dvb (0.9.4.20020308-1) unstable; urgency=medium
+
+ * New CVS snapshot, follows new main release
+ * Setting exact kernel version dependency, and Firmware files are installed
+ with the particular modules package. I am fed up with unresolved symbols
+ and ARM crashes.
+ * including Dpram and Root now. If someone tries to argument with GPL
+ violatons, they shold first explain how the various firmware files can be
+ distributed with the Linux kernel while Convergence gives the same
+ permissions for distribution
+ * Set DVB_FIRM_PATH to Debian's storage directory and removed other cludges
+ * Rewrotten a Makefile to make it work with kernel-headers only
+ * added changes from VDR author to make the driver act more smooth with
+ still frames
+
+ -- Eduard Bloch <blade@debian.org> Mon, 11 Mar 2002 15:57:39 +0100
+
+dvb (0.9.3.20011227-1) unstable; urgency=low
+
+ * New CVS snapshot
+ - 2.4.17 ready
+ - new module, included in the init script. Closes: #126422
+ * removed the patch from fimrware searching routine, making symlinks instead
+ * fixed spelling errors, closes: #124584
+ * fixed paths in dvb-driver-source, using dvb-dev package now
+ * used gtvscreen2.c from the previous version, the new is broken
+ * New example files apps/szap/channels.conf-dvbt*
+
+ -- Eduard Bloch <blade@debian.org> Tue, 27 Dec 2001 15:12:27 +0100
+
+dvb (0.9.3.20011107-1) unstable; urgency=low
+
+ * New CVS snapshot
+ - driver-source: fixes compilation problems with kernel >> 2.4.10
+ - zapping, mpegtools: various improvements and fixes
+ * improved description and README.Debian, upstream's hints
+
+ -- Eduard Bloch <blade@debian.org> Tue, 7 Nov 2001 09:36:27 +0100
+
+dvb (0.9.3.20011003-1) unstable; urgency=low
+
+ * New CVS snapshot, minor fix in mpegtools
+ * typos in manpages fixed
+ * included forgotten README in the mpegtools
+ * combined both rules files to build multiple modules packages.
+ * changed location of firmware to /lib/dvb
+
+ -- Eduard Bloch <blade@debian.org> Wed, 3 Oct 2001 23:11:23 +0200
+
+dvb (0.9.3.20010921-1) unstable; urgency=low
+
+ * Initial Release. Closes: #112463, Closes: #112464
+ * removed firmware from the source, unclear license.
+ * Hacked Makefile and dvb.c to compile w/o firmware files and load external
+ firmware from Debian conform locations.
+
+ -- Eduard Bloch <blade@debian.org> Fri, 21 Sep 2001 21:21:14 +0200
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ef4b24a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,45 @@
+Source: linuxtv-dvb-apps
+Section: misc
+Priority: extra
+Maintainer: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
+Uploaders: Thomas Schmidt <tschmidt@debian.org>, Mark Purcell <msp@debian.org>
+Build-Depends: debhelper (>> 4.0.0), cdbs, dpatch (>= 2.0.9)
+Standards-Version: 3.7.3
+Vcs-Svn: svn://svn.debian.org/pkg-vdr-dvb/dvb/linuxtv-dvb-apps/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-vdr-dvb/dvb/linuxtv-dvb-apps/trunk/
+Homepage: http://www.linuxtv.org/
+
+Package: dvb-apps
+Architecture: any
+Depends: ${shlibs:Depends}, makedev (>=2.3.1-66) | udev
+Replaces: dvb-utils
+Conflicts: dvb-utils
+Description: Digitial Video Broadcasting (DVB) applications
+ Applications and utilities geared towards the initial setup, testing
+ and operation of an DVB device supporting the DVB-S, DVB-C, DVB-T,
+ and ATSC standards.
+ .
+ Main User Applications:
+ . util/scan - Scan for channels on your digital TV device
+ . util/gnutv - Tune, watch and stream your TV
+ .
+ General Utilities:
+ . util/dvbdate - Set your clock from digital TV
+ . util/dvbnet - Control digital data network interfaces
+ . util/dvbtraffic - Monitor traffic on a digital device
+ . util/femon - Monitor the tuning on a digital TV device
+ . util/zap - *Just* tunes a digital device
+ .
+ Hardware Specific Utilities:
+ . util/av7110_loadkeys - Load remote keys into an av7110 based card
+ . util/dib3000-watch - Monitor DIB3000 demodulators
+ . util/dst-utils - Utilities for DST based cards
+ . util/ttusb_dec_reset - Reset a TechnoTrends TTUSB DEC device
+ .
+ Libraries:
+ . lib/libdvbapi - Interface library to digital TV devices
+ . lib/libdvbcfg - Library to parse/create digital TV channel
+ . lib/libdvbsec - Library for Satellite Equipment Control operations
+ . lib/libucsi - Fast MPEG2 Transport Stream SI table parsing library
+ . lib/libdvben50221- Implementation of a Cenelec EN 50221 CAM stack
+ . lib/libdvbmisc - Miscellaneous utilities used by the other libraries
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ed77b63
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,91 @@
+This package was debianized by Eduard Bloch <blade@debian.org> on
+Fri, 21 Sep 2001 17:31:06 +0200.
+
+It was downloaded from http://www.linuxtv.org/download/
+
+Upstream Authors:
+
+ Manu Abraham <abraham.manu@gmail.com>
+ Andrew de Quincey (adq_dvb@lidskialf.net)
+
+Copyright:
+
+ Copyright (C) 2004, 2005 Manu Abraham <abraham.manu@gmail.com>
+ Copyright (C) 2006 Andrew de Quincey (adq_dvb@lidskialf.net)
+
+License:
+
+ 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.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+
+Other Portions:
+ [Copyright: 1999-2000 Vojtech Pavlik]
+ [Copyright: 2000 - 2002 convergence GmbH]
+ [Copyright: 2000 Holger Waechtler <holger@convergence.de>]
+ [Copyright: 2000 Marcus Metzler <marcus@convergence.de>]
+ [Copyright: 2000 Ralph Metzler <ralph@convergence.de>]
+ [Copyright: 2000 Ralph Metzler <ralph@convergence.de> / 2003 Convergence GmbH]
+ [Copyright: 2001 Johannes Stezenbach (js@convergence.de)]
+ [Copyright: 2001 Ralph Metzler <ralph@convergence.de>]
+ [Copyright: 2002 convergence GmbH]
+ [Copyright: 2003 convergence GmbH]
+ [Copyright: 2004, 2005 Manu Abraham <abraham.manu@gmail.com>]
+ [Copyright: 2004, 2005 Manu Abraham <abraham.manu@gmail.com> / 2005 Julian Scheel (julian at jusst dot de)]
+ [Copyright: 2004, 2005 Manu Abraham <abraham.manu@gmail.com> / 2005 Julian Scheel (julian at jusst dot de) / 2006 Andrew de Quincey (adq_dvb@lidskialf.net)]
+ [Copyright: 2004, 2005 Manu Abraham <abraham.manu@gmail.com> / 2005 Julian Scheel (julian@jusst.de) / 2006 Andrew de Quincey (adq_dvb@lidskialf.net)]
+ [Copyright: 2004, 2005 Manu Abraham <abraham.manu@gmail.com> / 2006 Andrew de Quincey (adq_dvb@lidskialf.net)]
+ [Copyright: 2004, 2005 Manu Abraham (manu@kromtek.com) / 2005 Julian Scheel (julian at jusst dot de) / 2006 Andrew de Quincey (adq_dvb@lidskialf.net)]
+ [Copyright: 2004 Werner Fink <werner@suse.de> / 2000 Ralph Metzler <ralph@convergence.de>]
+ [Copyright: 2005 Andrew de Quincey (adq_atsc@lidskialf.net) / 2005 Kenneth Aafloy (kenneth@linuxtv.org)]
+ [Copyright: 2005 Andrew de Quincey (adq_dvb@lidskialf.net)]
+ [Copyright: 2005 Andrew de Quincey (adq_dvb@lidskialf.net) / 2005 Kenneth Aafloy (kenneth@linuxtv.org)]
+ [Copyright: 2005 Andrew de Quincey (adq_dvb@lidskialf.net) / 2005 Manu Abraham <abraham.manu@gmail.com> / 2005 Kenneth Aafloy (kenneth@linuxtv.org)]
+ [Copyright: 2005 by Andrew de Quincey <adq_dvb@lidskialf.net>]
+ [Copyright: 2005 by Patrick Boettcher <patrick.boettcher@desy.de>]
+ [Copyright: 2005 Kenneth Aafloy (kenneth@linuxtv.org)]
+ [Copyright: 2005 Manu Abraham <abraham.manu@gmail.com>]
+ [Copyright: 2005 Patrick Boettcher (pb@linuxtv.org) / 2005 Andrew de Quincey (adq_dvb@lidskialf.net) / 2005 Kenneth Aafloy (kenneth@linuxtv.org)]
+ [Copyright: 2006 Andrew de Quincey <adq_dvb@lidskialf.net>]
+ [Copyright: 2006 Andrew de Quincey (adq_dvb@lidskialf.net)]
+ [Copyright: 2006 Andrew de Quincey <adq_dvb@lidskialf.net> / 2003 TV Files S.p.A]
+ [Copyright: 2006 Andrew de Quincey <adq_dvb@lidskialf.net> / 2005 Manu Abraham <abraham.manu@gmail.com>]
+ [Copyright: 2006 Andrew de Quincey (adq_dvb@lidskialf.net)\n\n" / 2004, 2005 Manu Abraham <abraham.manu@gmail.com> / 2004, 2005, 2006 Manu Abraham (manu@kromtek.com)\n" / 2006 Andrew de Quincey (adq_dvb@lidskialf.net)]
+ [Copyright: 2006 Andrew de Quincey (adq_dvb@lidskialf.net)\n\n" / 2006 Andrew de Quincey (adq_dvb@lidskialf.net)]
+ [Copyright: 2006 by Andrew de Quincey <adq_dvb@lidskialf.net>]
+ [Copyright: 2006 Christoph Pfister <christophpfister@gmail.com> / 2005 Andrew de Quincey <adq_dvb@lidskialf.net>]
+ [Copyright: 2006 Stephane Este-Gracias (sestegra@free.fr)]
+ [Copyright: 2006 Stephane Este-Gracias (sestegra@free.fr) / 2005 Andrew de Quincey (adq_dvb@lidskialf.net) / 2005 Kenneth Aafloy (kenneth@linuxtv.org)]
+ [Copyright: Dave Chapman 2001 / Laurence Culhane 2002 <dvbdate@holmes.demon.co.uk>]
+ [Copyright: Manu Abraham <abraham.manu@gmail.com> / 2000 Marcus Metzler <marcus@convergence.de>]
diff --git a/debian/dvb-apps.examples b/debian/dvb-apps.examples
new file mode 100644
index 0000000..5020676
--- /dev/null
+++ b/debian/dvb-apps.examples
@@ -0,0 +1,5 @@
+util/szap/channels.conf*
+util/av7110_loadkeys/*.rcmm
+util/av7110_loadkeys/*.rc5
+debian/hauppauge2.rc5
+test
diff --git a/debian/dvb-apps.postinst b/debian/dvb-apps.postinst
new file mode 100644
index 0000000..b358197
--- /dev/null
+++ b/debian/dvb-apps.postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ ! -e /dev/.devfsd ] ; then
+cd /dev && /sbin/MAKEDEV dvb
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/hauppauge2.rc5 b/debian/hauppauge2.rc5
new file mode 100644
index 0000000..566ecab
--- /dev/null
+++ b/debian/hauppauge2.rc5
@@ -0,0 +1,41 @@
+0x00 KEY_0
+0x01 KEY_1
+0x02 KEY_2
+0x03 KEY_3
+0x04 KEY_4
+0x05 KEY_5
+0x06 KEY_6
+0x07 KEY_7
+0x08 KEY_8
+0x09 KEY_9
+
+0x10 KEY_VOLUMEUP
+0x11 KEY_VOLUMEDOWN
+0x1e KEY_VENDOR
+
+0x20 KEY_CHANNELUP
+0x21 KEY_CHANNELDOWN
+0x22 KEY_SELECT
+0x26 KEY_CYCLEWINDOWS
+
+0x3d KEY_POWER
+0x3b KEY_GOTO
+0x1f KEY_BACK
+0x0d KEY_MENU
+0x0b KEY_RED
+0x2e KEY_GREEN
+0x38 KEY_YELLOW
+0x25 KEY_OK
+0x29 KEY_BLUE
+0x0f KEY_MUTE
+0x0c KEY_AUX
+0x3c KEY_SCREEN
+0x32 KEY_REWIND
+0x35 KEY_PLAY
+0x34 KEY_FORWARD
+0x37 KEY_RECORD
+0x36 KEY_STOP
+0x30 KEY_PAUSE
+0x24 KEY_LEFT
+0x1e KEY_RIGHT
+
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 0000000..8b8a191
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1,2 @@
+01_README.scan
+09_x_zap_flush_stdout
diff --git a/debian/patches/01_README.scan.dpatch b/debian/patches/01_README.scan.dpatch
new file mode 100644
index 0000000..29dbd47
--- /dev/null
+++ b/debian/patches/01_README.scan.dpatch
@@ -0,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_README.scan.dpatch by Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: change Readme to list Debian-specific Paths
+
+@DPATCH@
+diff -urNad linuxtv-dvb-apps-1.1.1+rev1207~/util/scan/README linuxtv-dvb-apps-1.1.1+rev1207/util/scan/README
+--- linuxtv-dvb-apps-1.1.1+rev1207~/util/scan/README 2008-06-17 01:44:38.000000000 +1000
++++ linuxtv-dvb-apps-1.1.1+rev1207/util/scan/README 2008-06-17 20:18:03.000000000 +1000
+@@ -6,13 +6,13 @@
+ feel free to submit it to the linux-dvb mailing list
+ http://www.linuxtv.org/lists.php.
+
+-Basic usage: ./dvbscan dvb-s/Astra-19.2E | tee mychannels.conf
+-or ./atscscan atsc/us-NTSC-center-frequencies-8VSB
++Basic usage: dvbscan dvb-s/Astra-19.2E | tee mychannels.conf
++or atscscan atsc/us-NTSC-center-frequencies-8VSB
+
+ If you want it to check a specific frequency, tune to that frequency
+-(e.g. using szap/tzap/czap/azap) and then use './dvbscan -c' or './atscscan -c'.
++(e.g. using szap/tzap/czap/azap) and then use 'dvbscan -c' or 'atscscan -c'.
+
+-For more scan options see ./dvbscan -h or ./atscscan -h
++For more scan options see dvbscan -h or atscscan -h
+
+ atscscan is _just_ a copy of dvbscan to not confuse ATSC-user.
+
diff --git a/debian/patches/09_x_zap_flush_stdout.dpatch b/debian/patches/09_x_zap_flush_stdout.dpatch
new file mode 100644
index 0000000..82fac8d
--- /dev/null
+++ b/debian/patches/09_x_zap_flush_stdout.dpatch
@@ -0,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
+## 09_x_zap_flush_stdout.dpatch by Sebastian Schmidt <yath@yath.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Make [stc]zap flush stdout after writing status line
+
+@DPATCH@
+diff -urNad linuxtv-dvb-apps-1.1.1+rev1207~/util/szap/czap.c linuxtv-dvb-apps-1.1.1+rev1207/util/szap/czap.c
+--- linuxtv-dvb-apps-1.1.1+rev1207~/util/szap/czap.c 2008-06-17 01:44:38.000000000 +1000
++++ linuxtv-dvb-apps-1.1.1+rev1207/util/szap/czap.c 2008-06-17 20:44:19.000000000 +1000
+@@ -252,9 +252,10 @@
+ if (status & FE_HAS_LOCK)
+ printf("FE_HAS_LOCK");
+
+- usleep(1000000);
+
+ printf("\n");
++ fflush(stdout);
++ usleep(1000000);
+
+ if (exit_after_tuning && (status & FE_HAS_LOCK))
+ break;
+diff -urNad linuxtv-dvb-apps-1.1.1+rev1207~/util/szap/szap.c linuxtv-dvb-apps-1.1.1+rev1207/util/szap/szap.c
+--- linuxtv-dvb-apps-1.1.1+rev1207~/util/szap/szap.c 2008-06-17 01:44:38.000000000 +1000
++++ linuxtv-dvb-apps-1.1.1+rev1207/util/szap/szap.c 2008-06-17 20:44:19.000000000 +1000
+@@ -287,6 +287,7 @@
+ if (status & FE_HAS_LOCK)
+ printf("FE_HAS_LOCK");
+ printf("\n");
++ fflush(stdout);
+
+ if (exit_after_tuning && ((status & FE_HAS_LOCK) || (++timeout >= 10)))
+ break;
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..65fc6cc
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+include /usr/share/cdbs/1/class/makefile.mk
+
+DEB_MAKE_BUILD_TARGET := util
+DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/dvb-apps/
+
+common-build-arch::
+ $(MAKE)
+
+clean::
+ [ ! -f Makefile ] || make clean
+
+binary-install/dvb-apps::
+ # install READMEs into doc/dvb-apps
+ cp -a util/av7110_loadkeys/README debian/dvb-apps/usr/share/doc/dvb-apps/README.av7110_loadkeys
+ cp -a util/scan/README debian/dvb-apps/usr/share/doc/dvb-apps/README.scan
+ cp -a util/szap/README debian/dvb-apps/usr/share/doc/dvb-apps/README.szap
+ cp -a util/scan/dvb-h/README debian/dvb-apps/usr/share/doc/dvb-apps/README.dvb-h
+ cp -a util/ttusb_dec_reset/README debian/dvb-apps/usr/share/doc/dvb-apps/README.ttusb_dec_reset
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..6b5d5c7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://www.linuxtv.org/hg/dvb-apps/archive/ dvb-apps-(.*)\.tar\.bz2