r38 - in dvb/linuxtv-dvb/trunk: . debian debian/dvb-driver.debian debian/patches
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Wed, 23 Feb 2005 11:29:32 +0100
Author: tschmidt
Date: 2005-02-23 11:29:30 +0100 (Wed, 23 Feb 2005)
New Revision: 38
Added:
dvb/linuxtv-dvb/trunk/debian/
dvb/linuxtv-dvb/trunk/debian/README.modulespackage
dvb/linuxtv-dvb/trunk/debian/changelog
dvb/linuxtv-dvb/trunk/debian/control
dvb/linuxtv-dvb/trunk/debian/copyright
dvb/linuxtv-dvb/trunk/debian/dvb-dev.README.Debian
dvb/linuxtv-dvb/trunk/debian/dvb-dev.dirs
dvb/linuxtv-dvb/trunk/debian/dvb-driver-source.dirs
dvb/linuxtv-dvb/trunk/debian/dvb-driver-source.install
dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/
dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/README.Debian
dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/control.template
dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/dvb-driver.config.template
dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/dvb.conf.d
dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/dvb.symlinks.d
dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/modules.conf
dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/postinst
dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/rules
dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/templates.template
dvb/linuxtv-dvb/trunk/debian/dvb.conf.d
dvb/linuxtv-dvb/trunk/debian/dvb.symlinks.d
dvb/linuxtv-dvb/trunk/debian/patches/
dvb/linuxtv-dvb/trunk/debian/patches/00list
dvb/linuxtv-dvb/trunk/debian/patches/10_Makefile_fix.dpatch
dvb/linuxtv-dvb/trunk/debian/patches/11_budget_ci_loadkeys.dpatch
dvb/linuxtv-dvb/trunk/debian/rules
dvb/linuxtv-dvb/trunk/debian/watch
Log:
Load newtrunk into dvb/linuxtv-dvb/trunk.
Added: dvb/linuxtv-dvb/trunk/debian/README.modulespackage
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/README.modulespackage 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/README.modulespackage 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,14 @@
+Some people maybe want to create modules packages for a specific
+kernel-image package, using their header files only, without
+make-kpkg. That is quite similar since I combined both rules files
+together.
+
+$ fakeroot debian/rules KSRC=/path/to/linux/source/or/headers kdist_image KVERS=KERNELVERSION KDREV=DEBIANVERSION
+
+Now, you can take the generated Debian package in the $KSRC/..
+directory. If you are a kernel maintainer and want to install the
+packages into the archive, you can generate the .changes files using
+this way:
+
+$ dpkg-genchanges -b -B -e"YOUR NAME <nick@debian.org>" > ../dvb_VERSION-DEBIANVERSION_i386.changes
+$ debsign -kYOURKEYID ../dvb_VERSION-DEBIANVERSION_i386.changes
Added: dvb/linuxtv-dvb/trunk/debian/changelog
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/changelog 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/changelog 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,309 @@
+linuxtv-dvb (1.1.1-6) unstable; urgency=low
+
+ * Thomas Schmidt <tschmidt@debian.org>
+ - The dvb-driver-package which is created when compiling the
+ dvb-modules does not depend on kernel-package anymore
+ (closes: #292664)
+ - Do not suggest wget anymore in the dvb-driver-package
+ - Changed maintainer of the resulting dvb-driver-package to
+ Debian VDR Team
+ - Changed my email-address to the new debian one
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Wed, 09 Feb 2005 12:14:22 +0100
+
+linuxtv-dvb (1.1.1-5) unstable; urgency=low
+
+ * Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
+ - Install modules in the correct path, thanks to Stefan-W. Hahn
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Sat, 13 Nov 2004 13:20:30 +0100
+
+linuxtv-dvb (1.1.1-4) unstable; urgency=low
+
+ * Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
+ - Added 11_budget_ci_loadkeys.dpatch, to add a /proc-entry for
+ budget-ci-based-cards, to be able to programm keymaps for
+ remotes on such cards, thanks to Darren Salt (closes: #276083)
+ - Build-depend on dpatch (>= 2.0.9)
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Sat, 16 Oct 2004 12:40:09 +0200
+
+linuxtv-dvb (1.1.1-3) unstable; urgency=high
+
+ * Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
+ - Change 10_Makefile_fix.dpatch to use the correct include-path,
+ when using a KSRC-variable without a trailing / (closes: #269893)
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> Sat, 4 Sep 2004 13:52:20 +0200
+
+linuxtv-dvb (1.1.1-2) unstable; urgency=low
+
+ * Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
+ + New Upstream version (closes: Bug#233994)
+ + Cleanup debian-directory
+ + Do not build dvb-api-doc anymore
+ + New URL for dvb-ttpci-firmware
+ + 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:11:25 +0200
+
+linuxtv-dvb (1.1.1-1) experimental; urgency=low
+
+ * Thomas Schmidt:
+ + Make linuxtv-dvb-apps a separate source-package, since it is not
+ included in upstream-tarball anymore
+ + dvb-driver-source: build-dep on wget for downloading the firmware for
+ dvb-ttpci-cards
+ + Added a correct watch-file
+ + Removed build-dep on automake and libncurses5-dev, not needed anymore
+
+ -- Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de> Sun, 23 May 2004 11:27:21 +0200
+
+linuxtv-dvb (1.0.1-8) unstable; urgency=low
+
+ * Thomas Schmidt:
+ + Add changelog.Debian, copyright and README.Debian-files to
+ dvb-dev (closes: Bug#246472)
+ + Versioned Depends: linux-kernel-headers (>=2.5.999-test7-bk-6)
+ for dvb-dev
+ + Use makedev in dvb-driver-package, therefore depend on makedev
+ + Create Devices in dvb-utils also, as suggested by Mark Purcell
+
+ -- Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de> Thu, 29 Apr 2004 13:07:39 +0200
+
+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)
+
+ -- Andreas Mueller <amu@tr.debian.net> Mon, 12 Apr 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:
Added: dvb/linuxtv-dvb/trunk/debian/control
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/control 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/control 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,28 @@
+Source: linuxtv-dvb
+Section: misc
+Priority: extra
+Maintainer: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
+Uploaders: Andreas Mueller <amu@tr.debian.net>, Thomas Schmidt <tschmidt@debian.org>
+Build-Depends-Indep: debhelper (>> 3.0.0), bzip2, dpatch (>= 2.0.9)
+Standards-Version: 3.6.1
+
+Package: dvb-dev
+Section: devel
+Architecture: all
+Depends: linux-kernel-headers (>=2.5.999-test7-bk-6)
+Description: Dummy package for upgrade purposes only
+ This package depends on linux-kernel-headers to allow smoth
+ upgrades, because the header-files from this package are now
+ in the package linux-kernel-headers.
+
+Package: dvb-driver-source
+Architecture: all
+Depends: kernel-package, debhelper, make, dvb-dev (= ${Source-Version}) | linux-kernel-headers
+Description: sources for drivers for the Fujitsu Siemens DVB card
+ DVB is a standard for transmission of digital TV and Data over
+ satelite transponders or cable connections. Some DVB cards based on
+ the Fujitsu/Siemens chipset are supported by the linux driver.
+ .
+ This package contains sorce code needed to create the driver package.
+ The kernel sources (2.4.19 or newer) must be installed to compile
+ these modules.
Added: dvb/linuxtv-dvb/trunk/debian/copyright
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/copyright 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/copyright 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,20 @@
+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/dvb/
+
+Upstream Authors:
+
+Ralph Metzler <mocm@metzlerbros.de> and Marcus Metzler <rjkm@metzlerbros.de>
+for convergence integrated media GmbH.
+
+Based on parts from:
+Michael Hunold <m.hunold@gmx.de>
+Christian Theiss <mistert@rz.fh-augsburg.de>
+Nathan Laredo <laredo@gnu.org>
+and others
+
+Copyright:
+
+It may be redistributed under the terms of the GNU GPL, Version 2
+found on Debian systems in the file /usr/share/common-licenses/GPL .
Added: dvb/linuxtv-dvb/trunk/debian/dvb-dev.README.Debian
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb-dev.README.Debian 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb-dev.README.Debian 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,6 @@
+linuxtv-dvb for Debian
+----------------------
+
+dvb-dev is a dummy package, it was replaced by linux-kernel-headers (>=2.5.999-test7-bk-6).
+
+ -- Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>, Thu, 29 Apr 2004 13:20:49 +0200
Added: dvb/linuxtv-dvb/trunk/debian/dvb-dev.dirs
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb-dev.dirs 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb-dev.dirs 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1 @@
+usr/include/linux
Added: dvb/linuxtv-dvb/trunk/debian/dvb-driver-source.dirs
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb-driver-source.dirs 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb-driver-source.dirs 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1 @@
+usr/src/modules/dvb-driver/debian
Added: dvb/linuxtv-dvb/trunk/debian/dvb-driver-source.install
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb-driver-source.install 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb-driver-source.install 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,7 @@
+build-2.4/ usr/src/modules/dvb-driver/
+linux/ usr/src/modules/dvb-driver/
+Makefile usr/src/modules/dvb-driver/
+
+debian/copyright* usr/src/modules/dvb-driver/debian/
+debian/changelog usr/src/modules/dvb-driver/debian/
+debian/dvb-driver.debian/* usr/src/modules/dvb-driver/debian/
Added: dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/README.Debian
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/README.Debian 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/README.Debian 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,52 @@
+dvb-driver for Debian
+---------------------
+
+Hints about how to build the drivers are attached below.
+
+General comments:
+
+ - don't report bugs about incompatibilites between these drivers and another
+ software. All this stuff is Work In Progress, make sure you have the newest
+ version of each software part before reporting problems.
+ - If you face weird problems like insmod hanging in a indefinite loop on
+ loading dvb.o complaining about ARM crashes, remove any decoding equipment
+ and try again.
+
+HOWTO build the modules package
+===============================
+
+NOTE: To compile for an precompiled official kernel, install the appropriate
+kernel-headers and read the comments below.
+
+To build the dvb modules package for a local compiled kernel, you better use
+make-kpkg. Extract the tarbal dvb-driver.tgz in /usr/src, and create the
+modules package with make-kpkg. Then install with dpkg.
+
+$ cd /usr/src
+$ tar zxvf dvb-driver.tar.gz
+
+Assuming that kernel source for your kernel is stored in
+/usr/src/kernel-source-2.4.x:
+
+$ cd /usr/src/kernel-source-2.4.X
+$ make-kpkg modules_image
+$ ls -ltra ..
+$ dpkg -i ../<NEW CREATED PACKAGE>
+
+Some people maybe want to create modules packages for a specific kernel-image
+package, using their header packages only, or do not want to use make-kpkg.
+Then try this in the modules/dvb-driver directory:
+
+$ fakeroot debian/rules KSRC=/path/to/linux/source/or/headers kdist_image KVERS=KERNELVERSION KDREV=DEBIANVERSION
+
+Now, you can take the generated Debian package in the $KSRC/..
+directory.
+
+If you are a kernel maintainer and want to install the
+packages into the archive, you can generate the .changes files using
+this way.
+
+$ dpkg-genchanges -b -B -e"YOUR NAME <nick@debian.org>" > ../dvb_VERSION-DEBIANVERSION_i386.changes
+$ debsign -kYOURKEYID ../dvb_VERSION-DEBIANVERSION_i386.changes
+
+ -- Eduard Bloch <blade@debian.org> Mon, 11 Mar 2002 16:03:31 +0100
Added: dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/control.template
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/control.template 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/control.template 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,16 @@
+Source: linuxtv-dvb
+Section: misc
+Priority: extra
+Maintainer: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
+Build-Depends: debhelper (>> 3.0.0), kernel-package, wget
+Standards-Version: 3.6.1
+
+Package: dvb-driver-#KVERS#
+Architecture: i386
+Depends: debhelper, debconf (>= 0.9), makedev (>=2.3.1-66), kernel-image-#KVERS#
+Description: sources for drivers for the Fujitsu Siemens DVB card
+ DVB is a standard for transmission of digital TV and Data over
+ satelite transponders or cable connections. Some DVB cards based on
+ the Fujitsu/Siemens chipset are supported by the linux driver.
+ .
+ This is the driver package for Linux kernel #KVERS#.
Added: dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/dvb-driver.config.template
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/dvb-driver.config.template 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/dvb-driver.config.template 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+# source debconf library
+. /usr/share/debconf/confmodule
+
+db_input high dvb-driver-#KVERS#/note || true
+
+# go, go, go! :)
+db_go
+
Added: dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/dvb.conf.d
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/dvb.conf.d 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/dvb.conf.d 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,4 @@
+# Setup old compatible device files for DVB hardware
+
+REGISTER ^dvb/card[0-9]*/ PERMISSIONS root.video 0660
+REGISTER ^dvb/card([0-9]*)/(.*)0$ CFUNCTION GLOBAL mksymlink ${mntpnt}/\0 ${mntpnt}/ost/\2\1
Added: dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/dvb.symlinks.d
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/dvb.symlinks.d 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/dvb.symlinks.d 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1 @@
+dvb/card0 /dev/ost/card0
Added: dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/modules.conf
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/modules.conf 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/modules.conf 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,6 @@
+probeall /dev/dvb dvb-ttpci
+alias char-major-250 dvb
+alias dvb dvb-ttpci
+below dvb-ttpci ves1x93 alps_tdmb7 alps_tdlb7
+add below dvb-ttpci grundig_29504-401 grundig_29504-491
+add below dvb-ttpci stv0299 ves1820
Added: dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/postinst
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/postinst 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/postinst 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+# source debconf library
+. /usr/share/debconf/confmodule
+
+if [ "$1" = "configure" ] ; then
+ if [ ! -e /dev/.devfsd ] ; then
+ cd /dev && MAKEDEV dvb
+ fi
+fi
+
+update-devfsd 2>/dev/null || true
+
+#DEBHELPER#
Added: dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/rules
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/rules 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/rules 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,166 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 by Joey Hess.
+#
+# This version is for a hypothetical package that builds an
+# architecture-dependant package, as well as an architecture-independent
+# package.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=4
+
+VERS = $(shell sed -ne '1s/.*(\(.*\)).*/\1/p' debian/changelog)
+
+# KSRC is the location of the kernel source. This is the default value,
+# when make-kpkg is used it will supply to real value
+KSRC = /usr/src/linux
+
+# KDREV is the package-revision, as given to make-kpkg by the user.
+# Just put a simply default value in here which we use when we test
+# the packagebuilding without make-kpkg
+KDREV = "Custom.1.00"
+
+# Separate the epoch from the normal revision number in KDREV
+# for use with dh_gencontrol
+KDREV_EPOCH = $(shell echo $(KDREV) | sed -ne '1s/\([^:]*:\)\?\(.*\)/\1/p')
+KDREV_REV = $(shell echo $(KDREV) | sed -ne '1s/\([^:]*:\)\?\(.*\)/\2/p')
+
+# Now we need to get the kernel-version somehow
+KVERS=`sed -n -e '/UTS_RELEASE/s/^[^"]*"\([^"]*\)".*$$/\1/p' $(KSRC)/include/linux/version.h`
+
+SED_SCRIPT=s!\$$KVERS!$(KVERS)!g; \
+ s!\$$KSRC!$(KSRC)!; \
+ s!\$$KEMAIL!$(KEMAIL)!; \
+ s!\$$KMAINT!$(KMAINT)!; \
+ s!\$$KDREV!$(KDREV)!; \
+ s!\$$DEBDATE!$(shell date +"%a, %d %b %Y %H:%M:%S %z")!
+
+# Variables for the firmware-download
+DOWNLOAD_DIR = $(CURDIR)/build-2.4
+BASEURL = http://www.linuxtv.org/download/dvb/firmware
+FILENAME = dvb-ttpci-01.fw-261c
+LOCALFILENAME = dvb-ttpci-01.fw
+
+debian/control: debian/control.in
+ sed -e "$(SED_SCRIPT)" debian/control.in > $@
+
+.PHONY: debian/control
+
+SHELL=/bin/bash
+
+.PHONY: configure_mod
+configure_mod:
+ sed 's/#KVERS#/$(KVERS)/g' debian/control.template | sed 's/#KDREV#/$(KDREV)/g' > $(CURDIR)/debian/control
+ sed 's/#KVERS#/$(KVERS)/g' debian/dvb-driver.config.template > $(CURDIR)/debian/dvb-driver-$(KVERS).config
+ sed 's/#KVERS#/$(KVERS)/g' debian/templates.template > $(CURDIR)/debian/templates
+
+ # Downloading of the dvb-ttpci-firmware, as it is not included in the
+ # upstream-source-package, but it is needed at compile-time to compile
+ # the dvb-ttpci driver for kernel 2.4
+ if [ ! -f $(DOWNLOAD_DIR)/$(LOCALFILENAME) ]; then \
+ echo "Firmware for dvb-ttpci-cards needs to be downloaded."; \
+ if which wget > /dev/null; then \
+ echo "Now attempting to download firmware."; \
+ if ! `wget --passive-ftp $(BASEURL)/$(FILENAME) -O $(DOWNLOAD_DIR)/$(LOCALFILENAME)`; then \
+ echo "$(BASEURL)/$(FILENAME) not on web server, will skip building dvb-ttpci-driver!"; \
+ fi; \
+ else \
+ echo "wget not found, skipping build of the dvb-ttpci-driver!"; \
+ fi; \
+ fi
+
+ dh_testdir
+ dh_testroot
+
+ touch configure_mod-stamp
+
+
+.PHONY: build_mod
+build_mod:
+ dh_testdir
+ dh_testroot
+
+ cd build-2.4 && [ -L saa7146_video.c ] || ./getlinks
+ $(MAKE)
+
+ touch build_mod-stamp
+
+
+.PHONY: install_mod
+install_mod:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs -p dvb-driver-$(KVERS) lib/modules/$(KVERS)/misc etc/modutils etc/devfs/symlinks.d etc/devfs/conf.d
+
+ make DESTDIR=$(CURDIR)/debian/dvb-driver-$(KVERS) install
+
+ cp debian/dvb.symlinks.d debian/dvb-driver-$(KVERS)/etc/devfs/symlinks.d/dvb-driver-$(KVERS)
+ cp debian/dvb.conf.d debian/dvb-driver-$(KVERS)/etc/devfs/conf.d/dvb-driver-$(KVERS)
+
+ cp debian/modules.conf debian/dvb-driver-$(KVERS)/etc/modutils/dvb-$(KVERS)
+
+.PHONY: binary_modules_mod
+binary_modules_mod:
+ dh_testdir
+ dh_testroot
+ dh_installdebconf
+ dh_installmodules
+ dh_installchangelogs
+ dh_installdocs
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol -- -v$(KDREV_EPOCH)$(VERS)+$(KDREV_REV)
+ dh_md5sums
+ifeq "$(origin KPKG_DEST_DIR)" "undefined"
+ifeq "$(origin KMAINT)" "undefined"
+ dh_builddeb --destdir=$(CURDIR)/..
+else
+ dh_builddeb --destdir=$(KSRC)/..
+endif
+else
+ dh_builddeb --destdir=$(KPKG_DEST_DIR)
+endif
+
+.PHONY: clean_mod
+clean_mod:
+ dh_testdir
+ dh_testroot
+ rm -f build_mod-stamp configure_mod-stamp
+
+ # Add here commands to clean up after the build process.
+ $(MAKE) clean
+
+ rm -rf debian/dvb-driver-*config
+
+ -dh_clean
+
+# The kdist_configure target is called by make-kpkg modules_config. It
+# should configure the module so it is ready for compilation (mostly
+# useful for calling configure)
+.PHONY: kdist_config
+kdist_config: configure_mod
+
+
+# the kdist_image target is called by make-kpkg modules_image. It is
+# responsible for compiling the module and creating the package. It
+# should also clean up after making the module. Please note we use a
+# seperate binary-modules target to make testing the package building
+# easier
+.PHONY: kdist_image
+kdist_image: configure_mod build_mod install_mod binary_modules_mod clean_mod
+
+.PHONY: kdist
+kdist: kdist_image
+
+# the kdist_clean target is called by make-kpkg modules_clean. It is
+# responsible for cleaning up any changes that have been made by the
+# other kdist_commands (except for the .deb files created).
+.PHONY: kdist_clean
+kdist_clean: clean_mod
Added: dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/templates.template
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/templates.template 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb-driver.debian/templates.template 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,9 @@
+Template: dvb-driver-#KVERS#/note
+Type: note
+Description: Stability warning!
+ WARNING! Though the DVB drivers are mostly stable, the are still
+ software in development. You may get trouble using them like
+ unexplainable system freezes.
+ .
+ To load the modules, run "modprobe dvb" and add "dvb" line to /etc/modules
+ to load them at boot-time. Or use the modconf utility.
Added: dvb/linuxtv-dvb/trunk/debian/dvb.conf.d
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb.conf.d 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb.conf.d 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1 @@
+REGISTER ^dvb/card[0-9]*/.+ PERMISSIONS root.video 0660
Added: dvb/linuxtv-dvb/trunk/debian/dvb.symlinks.d
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/dvb.symlinks.d 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/dvb.symlinks.d 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1 @@
+dvb/card0 /dev/ost/card0
Added: dvb/linuxtv-dvb/trunk/debian/patches/00list
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/patches/00list 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/patches/00list 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,2 @@
+10_Makefile_fix
+11_budget_ci_loadkeys
Added: dvb/linuxtv-dvb/trunk/debian/patches/10_Makefile_fix.dpatch
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/patches/10_Makefile_fix.dpatch 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/patches/10_Makefile_fix.dpatch 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,66 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_Makefile_fix.dpatch by Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Changes the Makefile to be able to compile a modules-package without
+## DP: a real kernel-dir, using a kernel-headers-package
+
+@DPATCH@
+diff -urNad linuxtv-dvb/build-2.4/getlinks /tmp/dpep.uVMXuc/linuxtv-dvb/build-2.4/getlinks
+--- linuxtv-dvb/build-2.4/getlinks 2004-05-23 11:09:03.000000000 +0200
++++ /tmp/dpep.uVMXuc/linuxtv-dvb/build-2.4/getlinks 2004-11-13 13:19:05.000000000 +0100
+@@ -5,7 +5,7 @@
+ echo "getting links from kernel-cvs driver"
+
+
+-KERNELRELEASE=`cat .version 2>/dev/null || uname -r`
++KERNELRELEASE=`cat .version 2>/dev/null || echo $(KVERS)`
+ make clean
+ echo "$KERNELRELEASE" > .version
+
+diff -urNad linuxtv-dvb/build-2.4/Makefile /tmp/dpep.uVMXuc/linuxtv-dvb/build-2.4/Makefile
+--- linuxtv-dvb/build-2.4/Makefile 2004-02-14 22:00:53.000000000 +0100
++++ /tmp/dpep.uVMXuc/linuxtv-dvb/build-2.4/Makefile 2004-11-13 13:19:45.000000000 +0100
+@@ -60,20 +60,24 @@
+
+ multi-m := $(filter $(list-multi), $(obj-m))
+ int-m := $(sort $(foreach m, $(multi-m), $($(basename $(m))-objs)))
+-EXTRA_CFLAGS := -MD -I ../linux/include -I . -DCONFIG_DVB_AV7110_OSD
+-
+-include $(TOPDIR)/Rules.make
+-
++EXTRA_CFLAGS := -MD -I ../linux/include -I /usr/include -I . -DCONFIG_DVB_AV7110_OSD
+
+ else
+ # take version info from last module build if available
+-KERNELRELEASE := $(shell cat $(obj)/.version 2>/dev/null || uname -r)
++KERNELRELEASE := $(KVERS)
+ endif
+
+-KDIR := /lib/modules/$(KERNELRELEASE)/build
++KDIR := $(KSRC)
+ PWD := $(shell pwd)
+ DEST := /lib/modules/$(KERNELRELEASE)/$(MDIR)
+
++export KCFLAGS= -D__KERNEL__ -I$(KSRC)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include $(KSRC)/include/linux/modversions.h -MD -I ../linux/include -I ./include -I. -DCONFIG_DVB_AV7110_OSD -nostdinc -iwithprefix include -DEXPORT_SYMTAB -c
++
++all: $(obj-m)
++
++%.o: %.c
++ $(CC) $(KCFLAGS) $<
++
+ build:
+ [ -L saa7146_video.c ] || ./getlinks
+ $(MAKE) -C $(KDIR) CC="gcc -I$(PWD)/include" SUBDIRS=$(PWD) modules
+diff -urNad linuxtv-dvb/Makefile /tmp/dpep.uVMXuc/linuxtv-dvb/Makefile
+--- linuxtv-dvb/Makefile 2004-05-23 10:56:26.000000000 +0200
++++ /tmp/dpep.uVMXuc/linuxtv-dvb/Makefile 2004-11-13 13:19:05.000000000 +0100
+@@ -3,7 +3,7 @@
+ CVSROOT := $(shell cat CVS/Root)
+ RELEASE_TAG := LINUXTV-DVB-$(subst .,_,$(subst -,_,$(VERSION)))
+
+-KERNEL_MINOR := $(shell uname -r | sed -e 's/^2\.\(.\).*/\1/')
++KERNEL_MINOR := $(shell echo $(KVERS) | sed -e 's/^2\.\(.\).*/\1/')
+ BUILD_DIR := $(shell pwd)/build-2.$(KERNEL_MINOR)
+
+ all:
Added: dvb/linuxtv-dvb/trunk/debian/patches/11_budget_ci_loadkeys.dpatch
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/patches/11_budget_ci_loadkeys.dpatch 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/patches/11_budget_ci_loadkeys.dpatch 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,91 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 11_budget_ci_loadkeys.dpatch by Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: adds /proc/budget_ci_ir to be able to programm keymaps of remote controls
+## DP: on budget_ci-cards
+
+@DPATCH@
+diff -urNad linuxtv-dvb/linux/drivers/media/dvb/ttpci/budget-ci.c /tmp/dpep.FpWcLr/linuxtv-dvb/linux/drivers/media/dvb/ttpci/budget-ci.c
+--- linuxtv-dvb/linux/drivers/media/dvb/ttpci/budget-ci.c 2004-05-23 11:09:05.000000000 +0200
++++ /tmp/dpep.FpWcLr/linuxtv-dvb/linux/drivers/media/dvb/ttpci/budget-ci.c 2004-10-16 12:37:40.000000000 +0200
+@@ -34,6 +34,7 @@
+ #include <linux/slab.h>
+ #include <linux/interrupt.h>
+ #include <linux/input.h>
++#include <linux/proc_fs.h>
+
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
+ #include "input_fake.h"
+@@ -181,10 +182,48 @@
+ }
+
+
++static int budget_ci_ir_write_proc (struct file *file,
++ const char __user *buffer,
++ unsigned long count, void *data)
++{
++ /* adapted from av7110_ir.c */
++ char *page;
++ int i;
++ struct input_dev *input = (struct input_dev *)data;
++
++ if (count < sizeof (key_map))
++ return -EINVAL;
++
++ page = (char *)vmalloc(sizeof (key_map));
++ if (!page)
++ return -ENOMEM;
++
++ if (copy_from_user(page, buffer, sizeof (key_map))) {
++ vfree(page);
++ return -EFAULT;
++ }
++
++ memcpy (&key_map, page, sizeof (key_map));
++ vfree(page);
++
++ memset (input->keybit, 0, sizeof(input->keybit));
++
++ for (i=0; i<sizeof(key_map)/sizeof(key_map[0]); i++) {
++ if (key_map[i] > KEY_MAX)
++ key_map[i] = 0;
++ else if (key_map[i] > KEY_RESERVED)
++ set_bit (key_map[i], input->keybit);
++ }
++
++ return count;
++}
++
++
+ static int msp430_ir_init (struct budget_ci *budget_ci)
+ {
+ struct saa7146_dev *saa = budget_ci->budget.dev;
+ int i;
++ static struct proc_dir_entry *e;
+
+ memset(&budget_ci->input_dev, 0, sizeof(struct input_dev));
+
+@@ -204,6 +243,13 @@
+
+ saa7146_setgpio(saa, 3, SAA7146_GPIO_IRQHI);
+
++ e = create_proc_entry ("budget_ci_ir", S_IFREG | S_IRUGO | S_IWUSR, NULL);
++ if (e) {
++ e->write_proc = budget_ci_ir_write_proc;
++ e->data = &budget_ci->input_dev;
++ e->size = sizeof (key_map);
++ }
++
+ return 0;
+ }
+
+@@ -213,6 +259,8 @@
+ struct saa7146_dev *saa = budget_ci->budget.dev;
+ struct input_dev *dev = &budget_ci->input_dev;
+
++ remove_proc_entry ("budget_ci_ir", NULL);
++
+ saa7146_write(saa, IER, saa7146_read(saa, IER) & ~MASK_06);
+ saa7146_setgpio(saa, 3, SAA7146_GPIO_INPUT);
+ saa7146_setgpio(saa, 2, SAA7146_GPIO_INPUT);
Added: dvb/linuxtv-dvb/trunk/debian/rules
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/rules 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/rules 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,99 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 by Joey Hess.
+#
+# This version is for a hypothetical package that builds an
+# architecture-dependant package, as well as an architecture-independent
+# package.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=3
+
+# include dpatch stuff
+include /usr/share/dpatch/dpatch.make
+
+SHELL=/bin/bash
+
+docs-stamp:
+ cd doc/dvbapi ; yes "" | make
+
+build: build-stamp
+build-stamp: patch-stamp
+ dh_testdir
+ # Add here commands to compile the package.
+ touch build-stamp
+
+clean: clean1 unpatch
+
+clean1:
+ dh_testdir
+ dh_testroot
+
+ rm -f *-stamp
+
+ # Add here commands to clean up after the build process.
+ cd doc/dvbapi/; make clean
+
+ dh_clean
+
+install: DH_OPTIONS=
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # create the -src package.
+ dh_install
+
+ chmod +x debian/dvb-driver-source/usr/src/modules/dvb-driver/debian/rules
+
+ cd debian/dvb-driver-source/usr/src/ ; tar -c modules/dvb-driver | bzip2 -9c > dvb-driver.tar.bz2
+ rm -rf debian/dvb-driver-source/usr/src/modules/dvb-driver
+
+# Build architecture-independent files here.
+binary-indep: build install
+ dh_testdir -i
+ dh_testroot -i
+ dh_installdocs -i -N dvb-dev debian/dvb-driver.debian/README.Debian
+ dh_installdocs -i
+ dh_installmenu -i
+ dh_installcron -i
+ dh_installinfo -i
+ dh_installchangelogs -i
+ dh_strip -i
+ dh_link -i
+ dh_compress -i
+ dh_fixperms -i
+ dh_fixperms -i -p dvb-dev
+ dh_installdeb -i
+ dh_shlibdeps -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ #dh_testdir -a
+ #dh_testroot -a
+ #dh_installdocs -a
+ #dh_installexamples -a
+ #dh_installmenu -a
+ #dh_installcron -a
+ #dh_installinfo -a
+ #dh_installchangelogs -a
+ #dh_strip -a
+ #dh_link -a
+ #dh_compress -a
+ #dh_fixperms -a
+ #dh_installdeb -a
+ #dh_shlibdeps -a
+ #dh_gencontrol -a
+ #dh_md5sums -a
+ #dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary build install patch unpatch configure clean1
Property changes on: dvb/linuxtv-dvb/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: dvb/linuxtv-dvb/trunk/debian/watch
===================================================================
--- dvb/linuxtv-dvb/trunk/debian/watch 2005-02-23 10:29:15 UTC (rev 37)
+++ dvb/linuxtv-dvb/trunk/debian/watch 2005-02-23 10:29:30 UTC (rev 38)
@@ -0,0 +1,2 @@
+version=2
+http://www.linuxtv.org/download/dvb/ linuxtv-dvb.*-([\d+\.]+|\d+)\.tar(\.gz|\.bz2) debian uupdate