summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-05-19 12:14:19 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-05-19 12:14:19 +0200
commitc8c22ad49b0501f9e3c35ee79bc8bf94e05eba66 (patch)
tree4156e65bf5bfa679f14cce61571d0bd2fc839838
parentcd7aaa021321c29241b4889b022a7434c793d22f (diff)
downloadvdr-c8c22ad49b0501f9e3c35ee79bc8bf94e05eba66.tar.gz
vdr-c8c22ad49b0501f9e3c35ee79bc8bf94e05eba66.tar.bz2
Modified the Makefile to copy additional libraries a plugin might provide
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY4
-rw-r--r--Makefile4
-rw-r--r--PLUGINS.html12
-rw-r--r--config.h4
5 files changed, 20 insertions, 6 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 4624d605..f03f6c38 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1273,6 +1273,8 @@ Wayne Keer <syphir@syphir.sytes.net>
for reporting a spelling error in 'canceling'
for adding some 'mkdir -p' to the Makefile's 'install' target
for reporting some missing braces in remux.c
+ for suggesting to modifiy the Makefile to copy additional libraries a plugin might
+ provide
Marco Schlüßler <marco@lordzodiac.de>
for fixing handling colors in cDvbSpuPalette::yuv2rgb()
diff --git a/HISTORY b/HISTORY
index 65492da4..07fe1566 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4716,6 +4716,8 @@ Video Disk Recorder Revision History
- Fixed automatically updating the CAM menu in case the whole operation (for
instance a firmware update) takes longer than the menu timeout.
-2006-05-14: Version 1.4.0-2
+2006-05-19: Version 1.4.0-2
- Removed leftover LSMOD=... line from 'runvdr'.
+- Modified the Makefile to copy additional libraries a plugin might provide (suggested
+ by Wayne Keer). See PLUGINS.html for details.
diff --git a/Makefile b/Makefile
index 148a688d..7adebcc9 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile 1.91 2006/04/24 17:18:06 kls Exp $
+# $Id: Makefile 1.92 2006/05/19 12:00:32 kls Exp $
.DELETE_ON_ERROR:
@@ -223,7 +223,7 @@ install-doc:
install-plugins: plugins
@mkdir -p $(PLUGINLIBDIR)
- @cp $(PLUGINDIR)/lib/libvdr-*.so.$(APIVERSION) $(PLUGINLIBDIR)
+ @cp $(PLUGINDIR)/lib/lib*-*.so.$(APIVERSION) $(PLUGINLIBDIR)
# Source documentation:
diff --git a/PLUGINS.html b/PLUGINS.html
index 0869c38f..51424ce3 100644
--- a/PLUGINS.html
+++ b/PLUGINS.html
@@ -6,7 +6,7 @@
<center><h1>The VDR Plugin System</h1></center>
-<center><b>Version 1.4</b></center>
+<center><b>Version 1.4.1</b></center>
<p>
<center>
Copyright &copy; 2006 Klaus Schmidinger<br>
@@ -192,6 +192,16 @@ of only lowercase characters and digits, it will only follow the symbolic links,
should lead to the current version of the plugin you want to use. This way you can
have several different versions of a plugin source (like <tt>hello-0.0.1</tt> and
<tt>hello-0.0.2</tt>) and define which one to actually use through the symbolic link.
+<p>
+If a plugin needs library files of its own, it can copy them to the <tt>lib</tt>
+directory following the naming convention <tt>lib<i>name</i>-<i>library</i>.so.0.0.1</tt>,
+where <i>name</i> is the name of the plugin, and <i>library</i> identifies the
+plugin's additional library. If the plugin <tt>hello</tt> would require the two
+additional libraries <tt>foo</tt> and <tt>bar</tt>, the names would be
+<p>
+<tt>libhello-foo.so.0.0.1</tt><br>
+<tt>libhello-bar.so.0.0.1</tt>
+<p>
<a name="Initializing a new plugin directory"><hr><h2>Initializing a new plugin directory</h2>
diff --git a/config.h b/config.h
index 0f042cf3..0611e16c 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 1.256 2006/05/07 09:01:49 kls Exp $
+ * $Id: config.h 1.257 2006/05/19 12:12:39 kls Exp $
*/
#ifndef __CONFIG_H
@@ -21,7 +21,7 @@
// VDR's own version number:
-#define VDRVERSION "1.4.0-1"
+#define VDRVERSION "1.4.0-2"
#define VDRVERSNUM 10400 // Version * 10000 + Major * 100 + Minor
// The plugin API's version number: