Patch 1.729 per plugin radio e channellists

Tutto quello che ha a che fare con i plugins.

Moderatori: ragno, tapino, alez, zulu, davidea

Rispondi
fiveten_59
Messaggi: 3
Iscritto il: 26 set 2009, 12:28

Patch 1.729 per plugin radio e channellists

Messaggio da fiveten_59 »

Diff per compilarli in vdr 1.7.29

Per radio-0.9.0

Codice: Seleziona tutto

--- radio.old/Makefile	2012-04-07 08:54:02.000000000 +0200
+++ radio/Makefile	2012-08-31 21:37:45.000000000 +0200
@@ -78,7 +78,7 @@
 i18n: $(I18Nmsgs)
 
 ### Targets:
-all: libvdr-$(PLUGIN).so i18n
+all: libvdr-$(PLUGIN).so 
 
 libvdr-$(PLUGIN).so: $(OBJS)
 	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
Per channellists 0.0.4

Codice: Seleziona tutto

--- channellists.old/Makefile	2008-01-21 18:12:35.000000000 +0100
+++ channellists/Makefile	2012-08-31 19:01:58.000000000 +0200
@@ -18,7 +18,7 @@
 ### The C++ compiler and options:
 
 CXX      ?= g++
-CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual
+CXXFLAGS ?= -fPIC -g -O2 -Wall -Werror=overloaded-virtual
 
 ### The directory environment:
 
@@ -47,11 +47,11 @@
 
 ### The object files (add further files here):
 
-OBJS = $(PLUGIN).o i18n.o
+OBJS = $(PLUGIN).o 
 
 ### The main target:
 
-all: libvdr-$(PLUGIN).so i18n
+all: libvdr-$(PLUGIN).so 
 
 ### Implicit rules:
 
--- channellists.old/i18n.h	2008-01-15 23:35:08.000000000 +0100
+++ channellists/i18n.h	2012-08-31 19:00:37.000000000 +0200
@@ -9,7 +9,7 @@
 #ifndef __CHANNELLISTS_I18N_H
 #define __CHANNELLISTS_I18N_H
 
-#include <vdr/i18n.h>
+
 
 #if VDRVERSNUM < 10507
 
--- channellists.old/channellists.c	2008-01-21 22:08:22.000000000 +0100
+++ channellists/channellists.c	2012-08-31 18:52:39.000000000 +0200
@@ -10,7 +10,7 @@
 #include <vdr/timers.h>
 #include <vdr/interface.h>
 
-#include "i18n.h"
+
 
 static const char *VERSION        = "0.0.4";
 static const char *DESCRIPTION    = trNOOP("Manage your channellists");
;)
papernik
Messaggi: 123
Iscritto il: 13 giu 2007, 19:41

Re: Patch 1.729 per plugin radio e channellists

Messaggio da papernik »

Grazie five :)
Rispondi