summaryrefslogtreecommitdiff
path: root/HISTORY
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-16 09:36:10 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-16 09:36:10 +0200
commit73917abf6036ab12f9c47545bba4395798003d86 (patch)
tree2cde3a9a46cc38b6c620c203307ad0ff2d63fe99 /HISTORY
parent5dccc91c62206980c9e5e6abbc9fb4865fed209a (diff)
downloadvdr-73917abf6036ab12f9c47545bba4395798003d86.tar.gz
vdr-73917abf6036ab12f9c47545bba4395798003d86.tar.bz2
Implemented APIVERSION for the VDR plugin API version number
Diffstat (limited to 'HISTORY')
-rw-r--r--HISTORY33
1 files changed, 33 insertions, 0 deletions
diff --git a/HISTORY b/HISTORY
index ce71fd8a..45bbb177 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4534,6 +4534,8 @@ Video Disk Recorder Revision History
other than /usr/include/linux/dvb, you can define DVBDIR in the Make.config
file (see also INSTALL). Any reference to DVBDIR should be removed from all
plugins' Makefiles, like this:
+
+ ------------------------------------------------------------
--- PLUGINS/src/hello/Makefile 2005/11/11 13:20:14 1.10
+++ PLUGINS/src/hello/Makefile 2006/04/15 11:58:46 1.11
@@ -20,7 +20,6 @@
@@ -4552,6 +4554,7 @@ Video Disk Recorder Revision History
+INCLUDES += -I$(VDRDIR)/include
DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+ ------------------------------------------------------------
Thanks to Marco Schlüßler for pointing out this problem.
- Implemented kNext and kPrev keys (based on a patch from Peter Juszack).
@@ -4561,3 +4564,33 @@ Video Disk Recorder Revision History
allow updating only the PIDs (see MANUAL for details). When updating to this
version of VDR, please verify that the setting is as you want it to be, because
the values have been shifted.
+- The new APIVERSION (see config.h) now allows existing compiled plugins to be
+ used with newer versions of VDR, as long as there have been no changes to the
+ VDR header files since the last APIVERSION. Existing plugins' Makefiles should
+ have all references to VDRVERSION changed to APIVERSION, like this:
+
+ ------------------------------------------------------------
+ --- PLUGINS/src/hello/Makefile 2006/04/15 11:58:46 1.11
+ +++ PLUGINS/src/hello/Makefile 2006/04/16 09:03:50 1.12
+ @@ -28,9 +28,9 @@
+
+ -include $(VDRDIR)/Make.config
+
+ -### The version number of VDR (taken from VDR's "config.h"):
+ +### The version number of VDR's plugin API (taken from VDR's "config.h"):
+
+ -VDRVERSION = $(shell grep 'define VDRVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
+ +APIVERSION = $(shell grep 'define APIVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
+
+ ### The name of the distribution archive:
+
+ @@ -67,7 +67,7 @@
+
+ libvdr-$(PLUGIN).so: $(OBJS)
+ $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
+ - @cp $@ $(LIBDIR)/$@.$(VDRVERSION)
+ + @cp $@ $(LIBDIR)/$@.$(APIVERSION)
+
+ dist: clean
+ @-rm -rf $(TMPDIR)/$(ARCHIVE)
+ ------------------------------------------------------------