[Slackbuilds-users] Lua 5.4 upgrade
B. Watson
urchlay at slackware.uk
Sun Oct 27 09:14:18 UTC 2024
On Sun, 27 Oct 2024, Diego Borghetti via SlackBuilds-users wrote:
> Hi,
>
> I think we need to keep lua-lpeg using lua51.
I have it using both. lua 5.4 is required, and lua 5.1 support is
included in the package if lua51's already installed.
> Neovim uses luajit and last time I checked, that was still using 5.1.
Looks like it builds its own, plus a "lua-compat-5.3" tarball.
> lua-lpeg build fine using 5.4, but you get runtime errors because of the mismatch with neovim.
It might be possible to build neovim with lua 5.4. Worth looking into
at least. Ideally, it shouldn't be tied to an old version of lua.
The "vis" editor also uses lua-lpeg. It builds with lua 5.4 and seems
to work OK.
> I will pull the branch tonight and do some testing.
Yes, please do. Let me know what you find out.
Worst case scenario: if neovim really needs a lua-lpeg built with
lua51 support, list them both in REQUIRES, with lua51 appearing before
lua-lpeg, and mention it in the README. Also maybe add a bit of code
in the script that actually checks for the lua51 lpeg.so module, and
stops the build if it's missing.
More information about the SlackBuilds-users
mailing list