vdr/vdr-plugin-bitstreamout/debian watch changelog control rules dirs
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Sat, 03 Jul 2004 10:32:44 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-bitstreamout/debian
In directory haydn:/tmp/cvs-serv25530/vdr/vdr-plugin-bitstreamout/debian
Modified Files:
changelog control rules
Added Files:
watch
Removed Files:
dirs
Log Message:
watch-file, patchlevel, ...
Index: changelog
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-bitstreamout/debian/changelog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- changelog 2 Jul 2004 17:36:29 -0000 1.5
+++ changelog 3 Jul 2004 10:32:42 -0000 1.6
@@ -7,6 +7,8 @@
- Changed maintainer to Debian VDR and DVB Packaging Team
<pkg-vdr-dvb-devel@lists.alioth.debian.org>
- First upload to official Debian-archive (closes: Bug#229225)
+ - Added patchlevel-mechanism, to be compatible with c't-vdr
+ - Added watch-file
-- Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de> Fri, 2 Jul 2004 18:50:37 +0200
--- NEW FILE: watch ---
version=2
http://prdownloads.sourceforge.net/bitstreamout/vdr-bitstreamout-(0\..*)\.tar\.bz2
Index: control
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-bitstreamout/debian/control,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- control 2 Jul 2004 16:52:25 -0000 1.3
+++ control 3 Jul 2004 10:32:42 -0000 1.4
@@ -3,7 +3,7 @@
Priority: extra
Maintainer: Debian VDR and DVB Packaging Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
Uploaders: Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
-Build-Depends: debhelper (>> 3.0.0), vdr-dev (>=1.2.6), libasound2-dev, libmad0-dev
+Build-Depends: debhelper (>> 4.1.16), vdr-dev (>=1.2.6), libasound2-dev, libmad0-dev
Standards-Version: 3.6.1
Package: vdr-plugin-bitstreamout
@@ -13,3 +13,4 @@
Description: Plugin to vdr for playing AC3-Sound via your Soundcard
This plugin(s) for vdr allows you to play the AC3-Audio from
the DVB-Card via the SPDIF-Port of your Soundcard.
+XB-VDR-Patchlevel: ${patchlevel}
--- dirs DELETED ---
Index: rules
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-bitstreamout/debian/rules,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- rules 2 Jul 2004 16:52:25 -0000 1.2
+++ rules 3 Jul 2004 10:32:42 -0000 1.3
@@ -6,7 +6,7 @@
#export DH_VERBOSE=1
# This is the debhelper compatibility version to use.
-export DH_COMPAT=3
+export DH_COMPAT=4
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g
@@ -15,6 +15,11 @@
INSTALL_PROGRAM += -s
endif
+VDR=vdr
+PACKAGE=$(VDR)-plugin-bitstreamout
+VDRDIR=/usr/include/$(VDR)
+DVBDIR=/usr/include
+
configure: configure-stamp
configure-stamp:
dh_testdir
@@ -26,7 +31,7 @@
build-stamp: configure-stamp
dh_testdir
- cd bitstreamout; $(MAKE) CXXARCH= DVBDIR=/usr VDRDIR=/usr/include/vdr LIBDIR=. all
+ cd bitstreamout; $(MAKE) all CXXARCH= DVBDIR=$(DVBDIR) VDRDIR=$(VDRDIR) LIBDIR=.
touch build-stamp
@@ -71,6 +76,16 @@
dh_fixperms
dh_installdeb
dh_shlibdeps
+
+ # VDR can be customized with quite a lot of different patches, which can make
+ # the plugins binary incompatible.
+ # Although Debian will not provide different binary packages for VDR, we
+ # will include a patchlevel info, which is created at compile time and can
+ # be checked before a plugin is loaded.
+
+ [ -r $(VDRDIR)/patchlevel ] || echo 'patchlevel=' >> debian/$(PACKAGE).substvars
+ [ ! -r $(VDRDIR)/patchlevel ] || cat $(VDRDIR)/patchlevel >> debian/$(PACKAGE).substvars
+
dh_gencontrol
dh_md5sums
dh_builddeb