vdr/vdr-plugin-dvd/debian watch changelog control rules
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Sat, 03 Jul 2004 11:52:21 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-dvd/debian
In directory haydn:/tmp/cvs-serv8185/vdr/vdr-plugin-dvd/debian
Modified Files:
changelog control rules
Added Files:
watch
Log Message:
watch-file, patchlevel-system
Index: changelog
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-dvd/debian/changelog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- changelog 2 Jul 2004 17:36:29 -0000 1.3
+++ changelog 3 Jul 2004 11:52:19 -0000 1.4
@@ -6,6 +6,8 @@
<pkg-vdr-dvb-devel@lists.alioth.debian.org>
- Cleanup debian/rules
- First upload to official Debian-archive (closes: Bug#229221)
+ - Added watch-file
+ - Added patchlevel-mechanism, to be compatible with c't-vdr
-- Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de> Fri, 2 Jul 2004 18:57:33 +0200
--- NEW FILE: watch ---
version=2
http://jausoft.com/Files/vdr/vdr-dvd/vdr-dvd-(0\..*)\.tar\.bz2
Index: control
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-dvd/debian/control,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- control 2 Jul 2004 17:01:28 -0000 1.2
+++ control 3 Jul 2004 11:52:19 -0000 1.3
@@ -14,3 +14,4 @@
Description: Plugin to vdr for playing DVD's
This plugin(s) for vdr allows you to play your DVD's from
vdr's OSD.
+XB-VDR-Patchlevel: ${patchlevel}
Index: rules
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-dvd/debian/rules,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- rules 2 Jul 2004 17:01:28 -0000 1.2
+++ rules 3 Jul 2004 11:52:19 -0000 1.3
@@ -17,6 +17,11 @@
INSTALL_PROGRAM += -s
endif
+VDR=vdr
+PACKAGE=$(VDR)-plugin-dvd
+VDRDIR=/usr/include/$(VDR)
+DVBDIR=/usr/include
+
configure: configure-stamp
configure-stamp:
dh_testdir
@@ -29,8 +34,8 @@
build-stamp: configure-stamp
dh_testdir
- $(MAKE) NEWSTRUCT=1 VDRDIR=/usr/include/vdr VDRINC=/usr/include/vdr \
- LIBDIR=. NAVDIR=/usr/include/dvdnav all
+ $(MAKE) all NEWSTRUCT=1 VDRDIR=$(VDRDIR) VDRINC=$(VDRDIR) \
+ LIBDIR=. NAVDIR=/usr/include/dvdnav
touch build-stamp
@@ -73,6 +78,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