Open wmww opened 10 months ago
Haven't used Lua in a while but I think the problem is, that there hasn't been a release of lgi in years. If I see it correctly then the AUR uses version 0.9.2 from 2017 (latest release) but the Gtk4 support was introduced in 2021. The only working way to use lua-lgi with Gtk4 is to ether build it from git or use some package from luarocks (but also not the default one if I remember correctly). No idea why Ubuntu CI passes, maybe a newer version is used there?
Sorry not a full solution for the issue but maybe this hint can help.
I've installed
luajit
andluajit-lgi
on Arch (the latter from the AUR). When I run the following:I get this:
This is also causing the tests to fail on Arch because they include running the lua example. this claims "LGI does not work with Gtk 4", but that doesn't add up because CI (which runs on Ubuntu) passes.
Either way I don't know much about lua or particularly care, so I'm likely to disable the test and mark the example deprecated unless someone from the community can help me solve it.