r323 - vdr/vdr-plugin-prefermenu/trunk/debian

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


Author: tschmidt
Date: 2005-03-26 16:37:55 +0000 (Sat, 26 Mar 2005)
New Revision: 323

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


Modified: vdr/vdr-plugin-prefermenu/trunk/debian/changelog
===================================================================
--- vdr/vdr-plugin-prefermenu/trunk/debian/changelog	2005-03-26 16:31:05 UTC (rev 322)
+++ vdr/vdr-plugin-prefermenu/trunk/debian/changelog	2005-03-26 16:37:55 UTC (rev 323)
@@ -1,11 +1,11 @@
 vdr-plugin-prefermenu (0.6.2-4) 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)
     - Changed my email-address to the debian one
 
- -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>  Thu, 17 Mar 2005 20:19:58 +0100
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>  Sat, 26 Mar 2005 17:35:49 +0100
 
 vdr-plugin-prefermenu (0.6.2-3) unstable; urgency=low
 

Modified: vdr/vdr-plugin-prefermenu/trunk/debian/control
===================================================================
--- vdr/vdr-plugin-prefermenu/trunk/debian/control	2005-03-26 16:31:05 UTC (rev 322)
+++ vdr/vdr-plugin-prefermenu/trunk/debian/control	2005-03-26 16:37:55 UTC (rev 323)
@@ -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.2.6-6), 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-prefermenu

Modified: vdr/vdr-plugin-prefermenu/trunk/debian/rules
===================================================================
--- vdr/vdr-plugin-prefermenu/trunk/debian/rules	2005-03-26 16:31:05 UTC (rev 322)
+++ vdr/vdr-plugin-prefermenu/trunk/debian/rules	2005-03-26 16:37:55 UTC (rev 323)
@@ -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-prefermenu
 VDRDIR=/usr/include/$(VDR)
 DVBDIR=/usr/include
@@ -79,16 +81,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