vdr/vdr-plugin-femon/debian changelog control rules
Tobias Grimm
pkg-vdr-dvb-changes@lists.alioth.debian.org
Thu, 24 Jun 2004 20:23:33 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-femon/debian
In directory haydn:/tmp/cvs-serv26343/debian
Modified Files:
changelog control rules
Log Message:
added patchlevel field
Index: changelog
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-femon/debian/changelog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- changelog 21 Jun 2004 21:22:18 -0000 1.2
+++ changelog 24 Jun 2004 20:23:31 -0000 1.3
@@ -1,8 +1,11 @@
vdr-plugin-femon (0.0.6-2) unstable; urgency=low
* backported from c't VDR
- * removed c't-VDR specific stuff
* updated debian/watch
+ * The Patchlevel, as used in the c't vdr, is now a new custom field in
+ debian/control. It will have no effect in Debian, but can be used
+ by other Debian-based distributions to check against what patched
+ VDR version the plugin was compiled.
-- Tobias Grimm <tg@e-tobi.net> Mon, 21 Jun 2004 23:03:00 +0200
Index: rules
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-femon/debian/rules,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- rules 21 Jun 2004 21:22:18 -0000 1.2
+++ rules 24 Jun 2004 20:23:31 -0000 1.3
@@ -15,6 +15,11 @@
INSTALL_PROGRAM += -s
endif
+VDR=vdr
+PACKAGE=$(VDR)-plugin-femon
+VDRDIR=/usr/include/$(VDR)
+DVBDIR=/usr/include
+
configure: configure-stamp
configure-stamp:
dh_testdir
@@ -27,7 +32,7 @@
build-stamp: configure-stamp
dh_testdir
- $(MAKE) all DVBDIR=/usr/include VDRDIR=/usr/include/vdr LIBDIR=. REMOTE=lirc
+ $(MAKE) all DVBDIR=$(DVBDIR) VDRDIR=$(VDRDIR) LIBDIR=.
touch build-stamp
@@ -35,7 +40,6 @@
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
- rm -f debian/vdr-plugin-femon.substvars
rm -f libvdr-*.so*
make clean
@@ -69,6 +73,15 @@
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
Index: control
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-femon/debian/control,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- control 21 Jun 2004 23:53:36 -0000 1.3
+++ control 24 Jun 2004 20:23:31 -0000 1.4
@@ -11,3 +11,4 @@
Description: DVB frontend status monitor plugin for vdr
DVB Frontend Status Monitor is a plugin that displays a few signal
quality parameters of the tuned channel on your screen.
+XB-VDR-Patchlevel: ${patchlevel}