[patch] Load plugins based on VDRVERSION and APIVERSION alternatively

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Udo Richter wrote:
> We'll see how much chaos will arise when VDRVERSION and APIVERSION 
> differ the first time. Hopefully, most plugins will soon be updated.

The attached patch issues a warning on all plugins that seem to use the 
old libvdr-$(PLUGIN).so.$(VDRVERSION) naming scheme. This gives a hint 
about plugins that did compile, but will not be installed or loaded.

Cheers,

Udo
-------------- next part --------------
--- vdr-1.3.47-orig/Makefile	2006-04-17 19:06:55.000000000 +0200
+++ vdr-1.3.47/Makefile	2006-04-23 01:47:25.682090656 +0200
@@ -178,6 +178,9 @@
 	@failed="";\
 	for i in `ls $(PLUGINDIR)/src | grep -v '[^a-z0-9]'`; do\
 	    echo "Plugin $$i:";\
+	    if grep -q "\$$(LIBDIR)/.*\$$(VDRVERSION)" "$(PLUGINDIR)/src/$$i/Makefile" ; then \
+	        echo "Warning: Plugin $$i doesn't honor APIVERSION";\
+	    fi;\
 	    $(MAKE) -C "$(PLUGINDIR)/src/$$i" all || failed="$$failed $$i";\
 	    done;\
 	if [ -n "$$failed" ] ; then echo; echo "*** failed plugins:$$failed"; echo; fi

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux