From c8c22ad49b0501f9e3c35ee79bc8bf94e05eba66 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 19 May 2006 12:14:19 +0200 Subject: Modified the Makefile to copy additional libraries a plugin might provide --- CONTRIBUTORS | 2 ++ HISTORY | 4 +++- Makefile | 4 ++-- PLUGINS.html | 12 +++++++++++- config.h | 4 ++-- 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 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 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 @@

The VDR Plugin System

-
Version 1.4
+
Version 1.4.1

Copyright © 2006 Klaus Schmidinger
@@ -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 hello-0.0.1 and hello-0.0.2) and define which one to actually use through the symbolic link. +

+If a plugin needs library files of its own, it can copy them to the lib +directory following the naming convention libname-library.so.0.0.1, +where name is the name of the plugin, and library identifies the +plugin's additional library. If the plugin hello would require the two +additional libraries foo and bar, the names would be +

+libhello-foo.so.0.0.1
+libhello-bar.so.0.0.1 +


Initializing a new plugin directory

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: -- cgit v1.2.3