Open hirunatan opened 2 years ago
It looks like the fix for gtk4 is in the main branch of the lgi repository, but there is no new release for it. I can confirm that gifine also no longer starts on my machine due to the registerlock
error. I'm not familiar if there is a way to force to to run with GTK3
Yes, it seems this is the cause. Do you know any way of compiling gifine and force it to use the main branch of lgi? I'm not familiairzed with the lua toolchain.
The developer of lgi does not provide a rockspec to install the module from the master branch of the source repository, but you could take an existing rockspec and modify it to do that by removing the "branch" field in the "source" section of the rockspec file.
That said, I just tested building lgi from source real quick and it appears that there are still errors when starting gifine, most likely due to the fact that it was built for GTK3 and not 4. I don't have the time to investigate further right now.
Just leaving an update here, there is now a dev rockspec of lgi available here: https://github.com/lgi-devs/lgi/blob/master/lgi-scm-1.rockspec
Use the following command to satisfy the dependency for gifine:
luarocks install https://raw.githubusercontent.com/lgi-devs/lgi/master/lgi-scm-1.rockspec
Keep in mind it has not been uploaded to luarocks yet. Hopefully the maintainers of lgi can get that sorted out shortly.
I'm trying to install gifine in my archlinux, but i got this trace message:
The error occurs when compiling
lgi
library, that seems incompatible with the current lua version 5.4.I've tried to use other lua versions using
luaver
. For example, by using lua 5.3.6 and luarocks 3.5.0 I'm able to install lgi and gifine, but when I start it I get this other error:Is there any combination of versions that work? Could it be related to this issue? https://github.com/lgi-devs/lgi/issues/226
If the cause is incompatibility with Gtk4, is there any way to force using Gtk3?
Thanks.