From 07cce828d4db48ba6c32c6d925974c9642f9ee54 Mon Sep 17 00:00:00 2001 From: anbr Date: Tue, 21 Dec 2010 20:50:24 +0100 Subject: release 0.1.2 from http://www.schmidtie.de/download/vdr-dvdswitch-0.1.2.tar.bz2 --- HISTORY | 12 +++++++++++- Makefile | 9 ++++----- dvdswitch.c | 4 ++-- i18n.c | 26 +++++++++++++++++++++++++- 4 files changed, 42 insertions(+), 9 deletions(-) diff --git a/HISTORY b/HISTORY index 926129d..e7caad7 100644 --- a/HISTORY +++ b/HISTORY @@ -1,7 +1,17 @@ VDR Plugin 'dvdswitch' Revision History --------------------------------------- -2006-03-03: Version 0.1.0 +2006-05-01: Version 0.1.2 +- Anpassung an VDR Version 1.4.0 +- FIX: Kurzparameter "i" wird nun nicht mehr ignoriert (Danke zulu) +- FIX: i18n.c (Danke hd.brummy) + + +2006-03-04: Version 0.1.1 +- FIX: Fehlerhafte Stelle in command.c behoben (Danke pat und hanker) + + +2006-03-03: Version 0.1.0 - FIX: Kompilierprobleme mit der 'dvdplugin.c' behoben (Danke an Frank99) - FIX: DVD-Plugin Thread-Objekt wird nun sauber beendet. - FIX: Beim Erstellen von Images wurde in bestimmten Situationen der diff --git a/Makefile b/Makefile index b476a11..6513acb 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,6 @@ CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual ### The directory environment: -DVBDIR = ../../../../DVB VDRDIR = ../../.. LIBDIR = ../../lib TMPDIR = /tmp @@ -29,9 +28,9 @@ TMPDIR = /tmp -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 sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h) ### The name of the distribution archive: @@ -40,7 +39,7 @@ PACKAGE = vdr-$(ARCHIVE) ### Includes and Defines (add further entries here): -INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include +INCLUDES += -I$(VDRDIR)/include DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' @@ -69,7 +68,7 @@ all: libvdr-$(PLUGIN).so libvdr-$(PLUGIN).so: $(OBJS) $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ - @cp $@ $(LIBDIR)/$@.$(VDRVERSION) + @cp $@ $(LIBDIR)/$@.$(APIVERSION) dist: clean @-rm -rf $(TMPDIR)/$(ARCHIVE) diff --git a/dvdswitch.c b/dvdswitch.c index 1ed2285..9eb0c35 100644 --- a/dvdswitch.c +++ b/dvdswitch.c @@ -17,7 +17,7 @@ #include "imagelist.h" //#include "dvdlist.h" -static const char *VERSION = "0.1.1"; +static const char *VERSION = "0.1.2"; static const char *DESCRIPTION = "allowed to play DVD-Images"; //static const char *MAINMENUENTRY = "DVDSwitch"; @@ -86,7 +86,7 @@ bool cPluginDvdswitch::ProcessArgs(int argc, char *argv[]) int c = 0; optind = 1; //default for getopt - while((c = getopt_long(argc, argv, "D:r:w:", long_options, NULL)) != -1) + while((c = getopt_long(argc, argv, "D:r:w:i:", long_options, NULL)) != -1) { switch(c) { diff --git a/i18n.c b/i18n.c index 517a5ca..246371a 100644 --- a/i18n.c +++ b/i18n.c @@ -34,7 +34,7 @@ const tI18nPhrase Phrases[] = { "",// cze,ces #endif }, - { "allows to DVD-Images",// eng,dos + { "allowed to play DVD-Images",// eng,dos "ermöglicht DVD-Images abzuspielen",//deu,ger "",// slv,slo "",// ita @@ -56,6 +56,30 @@ const tI18nPhrase Phrases[] = { "",// dan #if VDRVERSNUM >= 10342 "",// cze,ces +#endif + }, + { " abcdefghijklmnopqrstuvwxyz0123456789-.#~",// eng,dos + " abcdefghijklmnopqrstuvwxyz0123456789-.#~",//deu,ger + "",// slv,slo + "",// ita + "",// dut,nla,nld + "",// por + "",// fra,fre + "",// nor + "",// fin,smi + "",// pol + "",// esl,spa + "",// ell,gre + "",// sve,swe + "",// rom,rum + "",// hun + "",// cat,cln + "",// rus + "",// hrv + "",// est + "",// dan +#if VDRVERSNUM >= 10342 + "",// cze,ces #endif }, { "Generic Settings",// eng,dos -- cgit v1.2.3