ralphy wrote: 
> Yes just copy them to the jivelite applets folder.
> 
> Don't forget to enable logging so you can see any errors.

I've started to try and get one or two of Roobarb's Joggler-specific
applets working.  His replacement 'Quit' applet, which allows the
Joggler to reboot, shutdown, or quit Jivelite, works out of the box. 
None of the others that I've tried do though, so I enabled logging and
saw warnings about an 'invalid escape sequence'.


Code:
--------------------
    20190130 18:29:50.443 ERROR  jivelite.applets - AppletManager.lua:242 Error 
while loading meta for 
JogglerBacklight:/root/jivelite/share/jive/jive/AppletManager.lua:210: error 
loading meta `JogglerBacklight' 
(...e/jive/applets/JogglerBacklight/JogglerBacklightMeta.lua:45: invalid escape 
sequence near '"[ ! -f $HOME/.jivelite/userpath/settings/JogglerBacklight.lua ] 
|| sqp_JogglerBacklight.sh `cat 
$HOME/.jivelite/userpath/settings/JogglerBacklight.lua | awk -F')
  stack traceback:
        /root/jivelite/share/jive/jive/AppletManager.lua:242: in function 
'_ploadMe
  
--------------------



Is that because of this issue?
ralphy wrote: 
> 
> One another note. If you plan to try to reuse some of the additional
> squeezeplay applets from the birdsonawire version, you'll need to build
> jivelite using lua 5.1.5 instead of jitlua 2.0.5.  That's what I've done
> for the jivelite used in picoreplayer, as the language differences
> between the two are just enough to render the two incompatible.  I can
> help you with that if needed.


Is this the way to fix that?
ralphy wrote: 
> 
> For ubuntu on the joggler, you would only need to build the squeezeplay
> lua-5.1.5 source folder and uninstall all luajit packages before
> compiling jivelite to remove any compile issues where both versions are
> attempted to be used during build. 
> 
> You need to change several jivelite make and config files removing
> /luajit-2.0 from the includes paths, change the luajit-2.0 library names
> to just lua and point the makefile to use the lib and headers from the
> squeezeplay lua 5.1.5 build.  See the use-lnx-sp-libs.patch in the
> scripts folder for direction.  Note that it's for using the full
> squeezeplay library tree, so will need a bit of tweaking.
> 
> The patch remove-ffi.patch in the jivelite scripts folder you need to
> apply to revert another luajit modification. Jivelite won't start
> without this change.

I'd like to be reasonably sure that the library version issue is the
cause of this error before attempting the alternative lua integration,
because frankly that all seems like it could easily go badly in the
wrong hands (mine)!


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110040

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to