Jivelite is a visualization application.
Install the git and luajit development packages.
apt install git libluajit-5.1-dev
Install additional dependencies
apt install git libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libexpat1-dev
Clone the repository
git clone git@github.com:ralph-irving/jivelite.git
cd jivelite
Update the path to the luajit header files.
find . -type f -iname '*' -exec sed -i 's/include\/luajit-2.0/include\/luajit-2.1/' "{}" +;
Update some outdated definitions in the source.
find . -type f -iname '*' -exec sed -i 's/luaL_reg /luaL_Reg /' "{}" +;
In lib-src/lua-cjson-2.1.0/lua_cjson.c, change
static void luaL_setfuncs (lua_State *l, const luaL_Reg *reg, int nup)
to
void luaL_setfuncs (lua_State *l, const luaL_Reg *reg, int nup)
make PREFIX=/usr
You should have a binary in
bin/jivelite
Jivelite uses SDL which disables external screensavers by default. To bypass this behavior, create shell script wrapper jivelite.sh containing the following.
#!/bin/sh
export SDL_VIDEO_ALLOW_SCREENSAVER=1
/home/pi/jivelite/bin/jivelite
No comments:
Post a Comment