View Single Post
  #6 (permalink)  
Old 02-08-2005
PLiŽ's Avatar
PLiŽ PLiŽ is offline
PLi Forum Admin
 
Join Date: Nov 2003
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
PLiŽ is on a distinguished road
Quote:
Originally Posted by xphile
Yep take a look at Makefile.am. Look at any of the enigma based plugins and you find this comment:

Code:
flash-plugin_ngrabstartstop: $(flashprefix)/.part_plugin_ngrabstartstop
$(flashprefix)/.part_plugin_ngrabstartstop: $(flashprefix)/.flash .plugins flash-enigma
	$(INSTALL) -d $(flashprefix)/root/lib/tuxbox/plugins
# copy enigma plugins after mklibs.. (mklibs.py do not detect enigma as a shared lib)
	@touch $@
Then if you search a bit further you see:

Code:
@if [ -f $(flashprefix)/.part_plugin_ngrabstartstop ] ; then \
		cp $(targetprefix)/lib/tuxbox/plugins/ngrab*.so $(flashprefix)/root/lib/tuxbox/plugins/ ; \
		cp $(targetprefix)/lib/tuxbox/plugins/ngrab*.cfg $(flashprefix)/root/lib/tuxbox/plugins/ ; \
	fi
Basically the copy of enigma based plugins must happen after the mklibs step. Use ngrab as an example to follow.
I founded that also but then not all libs necessary for the plugin are available in the image because mklibs.py did not see my plugin abd then the plugin will not start but gives an unresolved external popup when started.

Peter
Reply With Quote
 
Page generated in 0.13677 seconds with 9 queries