From 3649145acbffbb8cbbee85c5bf23e7f119fe84d8 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 27 Dec 2012 09:59:29 +0100 Subject: [PATCH] Making sure that plugins include the VDR header files from the actual VDR source directory when doing "make plugins" --- CONTRIBUTORS | 2 ++ HISTORY | 5 +++++ Makefile | 8 ++++++-- config.h | 10 +++++----- 4 files changed, 18 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index d21f8844..c48f304b 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2814,6 +2814,8 @@ Christopher Reimer mechanism for suggesting to give the plugin Makefiles a separate 'install' target for making plugin Makefiles use DESTDIR and the 'install' program + for suggesting to make sure that plugins include the VDR header files from the actual + VDR source directory when doing "make plugins" Stefan Huskamp for suggesting to make entering characters via the number keys diff --git a/HISTORY b/HISTORY index 5b4513dd..5794c359 100644 --- a/HISTORY +++ b/HISTORY @@ -7459,3 +7459,8 @@ Video Disk Recorder Revision History - Fixed cIndexFile::GetNextIFrame() to properly handle the case where the very last frame is an I-frame (which normally shouldn't occur). - Fixed replaying ongoing recordings from other VDR instances. + +2012-12-27: Version 1.7.35 + +- Making sure that plugins include the VDR header files from the actual VDR source + directory when doing "make plugins" (suggested by Christoper Reimer). diff --git a/Makefile b/Makefile index de48e376..ccc74af5 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 2.36 2012/12/23 11:28:13 kls Exp $ +# $Id: Makefile 2.37 2012/12/26 10:55:01 kls Exp $ .DELETE_ON_ERROR: @@ -196,7 +196,11 @@ plugins: include-dir vdr.pc if [ "$(LIBDIR)" == "$(CWD)/PLUGINS/lib" ] && [ "$(LOCDIR)" == "$(CWD)/locale" ]; then\ target=install;\ fi;\ - $(MAKE) --no-print-directory -C "$(PLUGINDIR)/src/$$i" VDRDIR=$(CWD) $$target || failed="$$failed $$i";\ + includes=;\ + if [ "$(INCDIR)" != "$(CWD)/include" ]; then\ + includes="INCLUDES=-I$(CWD)/include";\ + fi;\ + $(MAKE) --no-print-directory -C "$(PLUGINDIR)/src/$$i" VDRDIR=$(CWD) $$includes $$target || failed="$$failed $$i";\ done;\ if [ -n "$$noapiv" ] ; then echo; echo "*** plugins without APIVERSION:$$noapiv"; echo; fi;\ if [ -n "$$failed" ] ; then echo; echo "*** failed plugins:$$failed"; echo; exit 1; fi diff --git a/config.h b/config.h index 3624d9dc..eced96e9 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 2.58 2012/12/11 09:59:16 kls Exp $ + * $Id: config.h 2.59 2012/12/27 09:56:56 kls Exp $ */ #ifndef __CONFIG_H @@ -22,13 +22,13 @@ // VDR's own version number: -#define VDRVERSION "1.7.34" -#define VDRVERSNUM 10734 // Version * 10000 + Major * 100 + Minor +#define VDRVERSION "1.7.35" +#define VDRVERSNUM 10735 // Version * 10000 + Major * 100 + Minor // The plugin API's version number: -#define APIVERSION "1.7.34" -#define APIVERSNUM 10734 // Version * 10000 + Major * 100 + Minor +#define APIVERSION "1.7.35" +#define APIVERSNUM 10735 // Version * 10000 + Major * 100 + Minor // When loading plugins, VDR searches them by their APIVERSION, which // may be smaller than VDRVERSION in case there have been no changes to