From d08073815d6d9132f7fb5cd9f82877967dc6b0e4 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 29 Sep 2002 18:00:00 +0200 Subject: Version 1.1.11 - Fixed an incomplete initialization of the filter parameters in eit.c (thanks to Jeremy Hall). - Fixed the 'newplugin' script for use with the NEWSTRUCT driver (thanks to Andreas Schultz for reporting this one). If you have already created a plugin directory and Makefile with 'newplugin', please apply the following patch to it: ------------------------------------------------------- --- Makefile 2002/06/10 16:24:06 1.4 +++ Makefile 2002/09/17 15:36:36 1.5 @@ -15,7 +15,12 @@ ### The directory environment: +ifdef NEWSTRUCT +DVBDIR = ../../../../DVB/include +DEFINES += -DNEWSTRUCT +else DVBDIR = ../../../../DVB/ost/include +endif VDRDIR = ../../.. VDRINC = $(VDRDIR)/include LIBDIR = ../../lib @@ -34,7 +39,7 @@ INCLUDES = -I$(VDRINC) -I$(DVBDIR) -DEFINES = -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' ### The object files (add further files here): ------------------------------------------------------- This is the diff for the 'setup' example that comes with VDR, so your line numbers may be different. - Added a missing 'public' keyword in device.h (thanks to Martin Hammerschmid). - Fixed a race condition when starting 'Transfer Mode'. - Rearranged the remote control key handling to allow plugins to implement additional types of remote controls (see PLUGINS.html, section "Remote Control"). The previously used files 'keys.conf' and 'keys-pc.conf' have been replaced by the file 'remote.conf', which holds the key definitions of all remote controls. - The LIRC remote control keys are now handled just like the keyboard and RCU keys. This means that you can use the lircd.conf file as is for your remote control, without the need of editing it to make the key names the same as used in VDR. When first starting VDR it will go into the "Learning keys" mode and ask you to press the various keys. The resulting key assignment will be stored in the file 'remote.conf'. Since I have no way of testing the LIRC support, I hope I didn't break it in the process... - While learning the remote control keys it is now possible to press the 'Menu' key to skip the definition of keys that are not available on your particular RC unit. - Fixed handling DVD subtitles in the SPU decoder (thanks to Andreas Schultz). - Avoiding restarts due to 'panic level' when switching channels on the primary device during EPG scan. --- PLUGINS/SRC/hello/HISTORY | 4 ++++ PLUGINS/SRC/hello/Makefile | 9 +++++++-- PLUGINS/SRC/hello/hello.c | 4 ++-- PLUGINS/SRC/status/HISTORY | 4 ++++ PLUGINS/SRC/status/Makefile | 11 ++++++++--- PLUGINS/SRC/status/status.c | 4 ++-- 6 files changed, 27 insertions(+), 9 deletions(-) (limited to 'PLUGINS') diff --git a/PLUGINS/SRC/hello/HISTORY b/PLUGINS/SRC/hello/HISTORY index 9778a81..3507baf 100644 --- a/PLUGINS/SRC/hello/HISTORY +++ b/PLUGINS/SRC/hello/HISTORY @@ -22,3 +22,7 @@ VDR Plugin 'hello' Revision History 2002-08-04: Version 0.0.5 - Added a missing #include. + +2002-09-21: Version 0.0.6 + +- Fixed Makefile for NEWSTRUCT driver. diff --git a/PLUGINS/SRC/hello/Makefile b/PLUGINS/SRC/hello/Makefile index b9d911a..802889b 100644 --- a/PLUGINS/SRC/hello/Makefile +++ b/PLUGINS/SRC/hello/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.4 2002/06/10 16:24:06 kls Exp $ +# $Id: Makefile 1.5 2002/09/17 15:36:36 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -15,7 +15,12 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri ### The directory environment: +ifdef NEWSTRUCT +DVBDIR = ../../../../DVB/include +DEFINES += -DNEWSTRUCT +else DVBDIR = ../../../../DVB/ost/include +endif VDRDIR = ../../.. VDRINC = $(VDRDIR)/include LIBDIR = ../../lib @@ -34,7 +39,7 @@ PACKAGE = vdr-$(ARCHIVE) INCLUDES = -I$(VDRINC) -I$(DVBDIR) -DEFINES = -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' ### The object files (add further files here): diff --git a/PLUGINS/SRC/hello/hello.c b/PLUGINS/SRC/hello/hello.c index d14f369..3d1b22f 100644 --- a/PLUGINS/SRC/hello/hello.c +++ b/PLUGINS/SRC/hello/hello.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: hello.c 1.6 2002/08/04 15:13:35 kls Exp $ + * $Id: hello.c 1.7 2002/09/21 08:44:56 kls Exp $ */ #include @@ -12,7 +12,7 @@ #include #include "i18n.h" -static const char *VERSION = "0.0.5"; +static const char *VERSION = "0.0.6"; static const char *DESCRIPTION = "A friendly greeting"; static const char *MAINMENUENTRY = "Hello"; diff --git a/PLUGINS/SRC/status/HISTORY b/PLUGINS/SRC/status/HISTORY index f0c208f..f8e5297 100644 --- a/PLUGINS/SRC/status/HISTORY +++ b/PLUGINS/SRC/status/HISTORY @@ -8,3 +8,7 @@ VDR Plugin 'status' Revision History 2002-07-13: Version 0.0.2 - Changed the interface of cStatus::Replaying(). + +2002-09-21: Version 0.0.3 + +- Fixed Makefile for NEWSTRUCT driver. diff --git a/PLUGINS/SRC/status/Makefile b/PLUGINS/SRC/status/Makefile index 8cdb9fc..f08f22c 100644 --- a/PLUGINS/SRC/status/Makefile +++ b/PLUGINS/SRC/status/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.2 2002/08/28 19:30:35 kls Exp $ +# $Id: Makefile 1.3 2002/09/21 08:38:39 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -15,7 +15,12 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri ### The directory environment: +ifdef NEWSTRUCT +DVBDIR = ../../../../DVB/include +DEFINES += -DNEWSTRUCT +else DVBDIR = ../../../../DVB/ost/include +endif VDRDIR = ../../.. VDRINC = $(VDRDIR)/include LIBDIR = ../../lib @@ -34,7 +39,7 @@ PACKAGE = vdr-$(ARCHIVE) INCLUDES = -I$(VDRINC) -I$(DVBDIR) -DEFINES = -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' ### The object files (add further files here): @@ -43,7 +48,7 @@ OBJS = $(PLUGIN).o ### The C++ compiler and options: CXX = g++ -CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual +CXXFLAGS = -O2 -Wall -Woverloaded-virtual ### Implicit rules: diff --git a/PLUGINS/SRC/status/status.c b/PLUGINS/SRC/status/status.c index dc274e8..5624936 100644 --- a/PLUGINS/SRC/status/status.c +++ b/PLUGINS/SRC/status/status.c @@ -3,13 +3,13 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: status.c 1.2 2002/07/13 10:55:55 kls Exp $ + * $Id: status.c 1.3 2002/09/21 08:46:01 kls Exp $ */ #include #include -static const char *VERSION = "0.0.2"; +static const char *VERSION = "0.0.3"; static const char *DESCRIPTION = "Status monitor test"; static const char *MAINMENUENTRY = NULL; -- cgit v1.2.3