OK, so I had a detailed look at what the problems with building this plugin might be and did run into these two issues:
- lua is only built as a static library by the provided makefile and GeanyLua checks for the dynamic library of lua provided by distributions. I think this isn't a big problem to overcome and the plugin should be easy to patch to link against the static library.
- For some reason, the plugin tests key presses using X11 instead of Gdk here:
https://github.com/geany/geany-plugins/blob/2665511f731e613944815ab62885ecf52e3037e6/geanylua/glspi_app.c#L452
Not sure if it's necessary and if something in Gdk is missing but this could be a problem for X11-less linuxes too. Maybe the whole "keygrab" code could be just dropped and this functionality removed from the plugin on macOS.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany-osx/issues/41/1454152266@github.com>