r327 - vdr/vdr-plugin-vcd/trunk/debian

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sat, 26 Mar 2005 16:56:54 +0000


Author: tschmidt
Date: 2005-03-26 16:56:53 +0000 (Sat, 26 Mar 2005)
New Revision: 327

Modified:
   vdr/vdr-plugin-vcd/trunk/debian/changelog
   vdr/vdr-plugin-vcd/trunk/debian/control
   vdr/vdr-plugin-vcd/trunk/debian/rules
Log:
vdr-plugin-vcd:
	* Use patchlevel.sh subst in debian/rules not the old code,
        * therefore Build-Depend on vdr (>=1.2.6-7)
	* prepared 0.0.6c-2 for release


Modified: vdr/vdr-plugin-vcd/trunk/debian/changelog
===================================================================
--- vdr/vdr-plugin-vcd/trunk/debian/changelog	2005-03-26 16:48:25 UTC (rev 326)
+++ vdr/vdr-plugin-vcd/trunk/debian/changelog	2005-03-26 16:56:53 UTC (rev 327)
@@ -1,13 +1,13 @@
 vdr-plugin-vcd (0.0.6c-2) unstable; urgency=low
 
-  * NOT RELEASED YET
-
   * Thomas Schmidt <tschmidt@debian.org>
+    - Use patchlevel.sh subst in debian/rules not the old code,
+      therefore Build-Depend on vdr (>=1.2.6-7)
     - Build-depend on dpatch (>= 2.0.9)
     - Converted existing dpatch-files to the new short format
     - Changed my email-address to the debian one
 
- -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>  Thu, 17 Mar 2005 20:25:06 +0100
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>  Sat, 26 Mar 2005 17:53:07 +0100
 
 vdr-plugin-vcd (0.0.6c-1) unstable; urgency=low
 

Modified: vdr/vdr-plugin-vcd/trunk/debian/control
===================================================================
--- vdr/vdr-plugin-vcd/trunk/debian/control	2005-03-26 16:48:25 UTC (rev 326)
+++ vdr/vdr-plugin-vcd/trunk/debian/control	2005-03-26 16:56:53 UTC (rev 327)
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
 Uploaders: Thomas Schmidt <tschmidt@debian.org>
-Build-Depends: debhelper (>> 4.1.16), vdr-dev (>=1.1.17), dpatch (>= 2.0.9)
+Build-Depends: debhelper (>> 4.1.16), vdr-dev (>=1.2.6-7), dpatch (>= 2.0.9)
 Standards-Version: 3.6.1
 
 Package: vdr-plugin-vcd

Modified: vdr/vdr-plugin-vcd/trunk/debian/rules
===================================================================
--- vdr/vdr-plugin-vcd/trunk/debian/rules	2005-03-26 16:48:25 UTC (rev 326)
+++ vdr/vdr-plugin-vcd/trunk/debian/rules	2005-03-26 16:56:53 UTC (rev 327)
@@ -18,7 +18,9 @@
 	INSTALL_PROGRAM += -s
 endif
 
-VDR=vdr
+# Set VDR=vdr or VDR=vdrdevel
+VDR=$(shell dh_listpackages | grep "^vdr.*-" | head -n 1 | sed -e "s/-.*//")
+
 PACKAGE=$(VDR)-plugin-vcd
 VDRDIR=/usr/include/$(VDR)
 DVBDIR=/usr/include
@@ -80,16 +82,7 @@
 	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
-
+	/usr/lib/$(VDR)-dev/patchlevel.sh subst
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb