Load plugins based on VDRVERSION and APIVERSION alternatively
Commit Message
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
@@ -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