[vdr] vdr-1.4 and osdpip anyone?
Harald Milz
hm at seneca.muc.de
Sat Oct 14 16:00:38 CEST 2006
Udo Richter <udo_richter at gmx.de> wrote:
> osdpip requires a patch since 1.3.31. See wiki:
> http://www.vdr-wiki.de/wiki/index.php/Osdpip-plugin#Patches
> http://deela.cc.fh-lippe.de/files/vdr-osdpip/
Ooops I saw it bit missed to get it.
But it still cries for help:
receiver.h:32: error: extra qualification ‘cOsdPipReceiver::’ on member ‘cOsdPipReceiver’
make[1]: *** [osd.o] Fehler 1
?
Plus the usual patch for APIVERSION ...
diff -ur osdpip-0.0.8.ORIG/Makefile osdpip-0.0.8/Makefile
--- osdpip-0.0.8.ORIG/Makefile 2005-05-14 18:41:53.000000000 +0200
+++ osdpip-0.0.8/Makefile 2006-10-14 15:56:55.826701500 +0200
@@ -33,6 +33,11 @@
### The version number of VDR (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)
+
+ifeq ($(APIVERSION),)
+ APIVERSION = $(VDRVERSION)
+endif
### The name of the distribution archive:
@@ -74,7 +79,7 @@
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared -o $@ $^ $(LIBS)
- @cp $@ $(LIBDIR)/$@.$(VDRVERSION)
+ @cp $@ $(LIBDIR)/$@.$(APIVERSION)
dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)
--
"Do you think what we're doing is wrong?"
"Of course it's wrong! It's illegal!"
"I've never done anything illegal before."
"I thought you said you were an accountant!"
More information about the vdr
mailing list