aaand I'm done for the night, after a 7 hour stream!
We now have a branch where #LuaRocks can build from a plain Makefile into a stand-alone executable with all its #Lua dependencies vendored in: https://github.com/luarocks/luarocks/tree/luarocks4
Next steps will be to deal with its non-Lua dependencies, and Windows cross-compilation. With that in place, further code cleanups can start!
Today, I extracted my #Lua port of the Rough.js library into a standalone module and published it on #luarocks
It is a small graphics library that lets you draw lines, polygons and curves in a sketchy, hand-drawn-like, style.
I formerly used it in some of my 3rd-party packages for the #SILE typesetting system, but now having it as its own independent module might be interesting for other Lua developers, outside the SILE ecosystem.
#LuaRocks question - how can I use it with #LuaJIT?
$ luarocks --lua-version=5.1 install --local opencl
Installing https://luarocks.org/opencl-1.2.0-1.src.rock
Warning: variable CFLAGS was not passed in build_variables
make[1]: Entering directory '/tmp/luarocks_opencl-1.2.0-1/lua-opencl/test'
/usr/bin/lua5.1 platform.lua
/usr/bin/lua5.1: ...opencl-1.2.0-1/lua-opencl/test/../opencl/C.lua:7: module 'ffi' not found
Do I need to reconfigure/reinstall luarocks, or can I make it work with both LuaJIT and Lua 5.1/5.4?
Peter Billam passed away last week.
Composer, musician, linguist, hacker, community contributor.
He had been fighting ill health at Royal Hobart Hospital for the last 2 months when on Wednesday his condition deteriorated suddenly. He died peacefully in the company of a friend on Thursday.
His website:
http://peterbillam.fastmail.com.user.fm/
Peter's code:
https://gitlab.com/users/peterbillam/projects
Rest In Power Peter
#ausMusic #linux #australia #tasLUG #lua #luaRocks #muscript #tasmania #midi #floss #creativeCommons #music
I continue my Lua series with part 3 — testing, mocks, and continuous integration.