vdr/vdr/debian debianize-vdrplugin changelog rules vdr-dev.install

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sat, 06 Nov 2004 15:54:40 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv23783/vdr/vdr/debian

Modified Files:
	changelog rules vdr-dev.install 
Added Files:
	debianize-vdrplugin 
Log Message:
* added debianize-vdrplugin, plugin-templates, thanks to Tobias :)
* changed 04_newplugin.dpatch to append the version-number to the directory-name

Index: changelog
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/changelog,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- changelog	31 Oct 2004 10:08:28 -0000	1.58
+++ changelog	6 Nov 2004 15:54:38 -0000	1.59
@@ -20,11 +20,13 @@
       dvb-module)
     - Build-depend on dpatch (>= 2.0.9)
     - Converted existing dpatch-files to the new short format
-    - Added newplugin-script to vdr-dev, so plugin-developers can
-      initialize a new plugin-directory even without a 
+    - Added newplugin-script as vdr-newplugin to vdr-dev, so 
+      plugin-developers can initialize a new plugin-directory without a 
       normal vdr-source-tree
+    - Added debianize-vdrplugin-script and the plugin-template-dir from 
+      c't-vdr
 
- -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>  Sun, 17 Oct 2004 12:59:25 +0200 
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>  Sat, 06 Nov 2004 16:48:46 +0100
 
 vdr (1.2.6-5) unstable; urgency=low
 

Index: vdr-dev.install
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr-dev.install,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- vdr-dev.install	31 Oct 2004 10:08:28 -0000	1.2
+++ vdr-dev.install	6 Nov 2004 15:54:38 -0000	1.3
@@ -1,2 +1,6 @@
-*.h 			usr/include/vdr/
-newplugin	usr/bin/
+*.h 				usr/include/vdr/
+
+debian/debianize-vdrplugin  	usr/bin/
+debian/plugin-template/     	usr/share/vdr-dev/
+
+vdr-newplugin			usr/bin/

--- NEW FILE: debianize-vdrplugin ---
#!/bin/sh

if [ ! -x /usr/bin/dh_make ] ; then
    echo "If you want to use this script, please install the package dh-make!"
    exit 1
fi

VDRVERSION=`dpkg -s vdr-dev | awk '/Version/ { print $2 }'`

/usr/bin/dh_make -t /usr/share/vdr-dev/plugin-template -d -s && \
perl -pi -e "s/#VDRVERSION#/$VDRVERSION/g" debian/control

Index: rules
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/rules,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- rules	15 Jul 2004 21:28:50 -0000	1.31
+++ rules	6 Nov 2004 15:54:38 -0000	1.32
@@ -57,7 +57,9 @@
 	# plugins
 	mkdir PLUGINS/lib
 	$(MAKE) plugins
-	
+
+	cp newplugin vdr-newplugin
+
 	touch build-stamp
 
 patchlevel:
@@ -81,6 +83,7 @@
 	rm -f vdr-kbd vdr-daemon vdr-lirc vdr-rcu
 	rm -rf PLUGINS/lib
 	rm -f debian/patchlevel
+	rm -f vdr-newplugin
 	
 	dh_clean