[Slackbuilds-users] Lua 5.4 upgrade

Matteo Bernardini matteo.bernardini at gmail.com
Sun Oct 27 10:30:35 UTC 2024


another possibility could be to use the bundled lua-lpeg, that should be
compatible with lua 5.4

https://cgit.ponce.cc/slackbuilds/commit/?h=neovim

that should have been already tested by the author of that commit (but on
current)...

Matteo

Il giorno dom 27 ott 2024 alle ore 10:14 B. Watson <urchlay at slackware.uk>
ha scritto:

>
>
> 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.
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20241027/baf6bb1b/attachment.htm>


More information about the SlackBuilds-users mailing list