vdr/vdr/debian/patches 04_newplugin.dpatch

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/patches
In directory haydn:/tmp/cvs-serv23783/vdr/vdr/debian/patches

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

Index: 04_newplugin.dpatch
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/patches/04_newplugin.dpatch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- 04_newplugin.dpatch	31 Oct 2004 10:08:28 -0000	1.1
+++ 04_newplugin.dpatch	6 Nov 2004 15:54:38 -0000	1.2
@@ -7,9 +7,9 @@
 ## DP: new plugin
 
 @DPATCH@
-diff -urNad vdr/newplugin /tmp/dpep.jUiM2h/vdr/newplugin
+diff -urNad vdr/newplugin /tmp/dpep.PJ00Ue/vdr/newplugin
 --- vdr/newplugin	2004-05-14 12:32:19.000000000 +0200
-+++ /tmp/dpep.jUiM2h/vdr/newplugin	2004-10-31 11:02:14.000000000 +0100
++++ /tmp/dpep.PJ00Ue/vdr/newplugin	2004-11-06 16:21:56.000000000 +0100
 @@ -24,7 +24,7 @@
  $PLUGIN_DESCRIPTION = "Enter description for '$PLUGIN_NAME' plugin";
  $PLUGIN_MAINENTRY = $PLUGIN_CLASS;
@@ -28,6 +28,15 @@
  
  ### The directory environment:
  
+@@ -233,7 +233,7 @@
+ VDRPLUGINCREATOR(cPlugin$PLUGIN_CLASS); // Don't touch this!
+ };
+ 
+-$PLUGINDIR = "$PLUGINS_SRC/$PLUGIN_NAME";
++$PLUGINDIR = "$PLUGINS_SRC/$PLUGIN_NAME-$PLUGIN_VERSION";
+ 
+ die "The directory $PLUGINS_SRC doesn't exist!\n" unless (-d "$PLUGINS_SRC");
+ die "A plugin named '$PLUGIN_NAME' already exists in $PLUGINS_SRC!\n" if (-e "$PLUGINDIR");
 @@ -254,7 +254,8 @@
  * fill in the code skeleton in "$PLUGIN_NAME.c" to implement your plugin function
  * add further source files if necessary