GNOME Bugzilla – Bug 742553
Add LGI for libpeas, required for Lua plugin support
Last modified: 2021-05-17 16:01:33 UTC
GJS plugin support was removed, https://git.gnome.org/browse/libpeas/commit/?id=730edb65d6da0ebd0bd7065aeb9435b31d304b08 Seed plugin support was removed, https://git.gnome.org/browse/libpeas/commit/?id=41331aa6c52dbc29af727a6d0db9a43fcdc03c57 Lua plugin support was added, https://git.gnome.org/browse/libpeas/commit/?id=84a159374c7032f0bc536321df66d4ffac97d9fe For Lua plugins LGI from git master is required, https://github.com/pavouk/lgi
We already track libpeas master branch in jhbuild modulesets: https://git.gnome.org/browse/jhbuild/tree/modulesets/gnome-suites-core-deps-3.16.modules#n1099
This is about fixing all of the deps and possibly adding LGI as the summary says. Reopening.
Created attachment 295558 [details] [review] 3.16: Remove old libpeas deps
I'm not familiar enough with JHBuild's internals to add LGI. My methodology to build it on Travis CI: make PREFIX="${PREFIX}" CFLAGS="${CFLAGS} -I/usr/include/lua5.1" make install PREFIX="${PREFIX}" Then JHBuild needs to be taught to fixup LUA_PATH and LUA_CPATH: LUA_PATH="`lua5.1 -e 'print(package.path)'`" LUA_PATH="${PREFIX}/share/lua/5.1/?/init.lua;${LUA_PATH}" LUA_PATH="${PREFIX}/share/lua/5.1/?.lua;${LUA_PATH}" LUA_CPATH="`lua5.1 -e 'print(package.cpath)'`" LUA_CPATH="${PREFIX}/lib/lua/5.1/?.so;${LUA_CPATH}" Libpeas requires Lua 5.1 or LuaJIT (which is Lua 5.1 compliant).
Comment on attachment 295558 [details] [review] 3.16: Remove old libpeas deps sure
Any reason to enable the lua bindings? Does any GNOME modules depends on them?
(In reply to comment #6) > Any reason to enable the lua bindings? Does any GNOME modules depends on them? Nope, but then again according to the modulesets, it looks like the same can be said for Seed and java-gnome.
I was about to remove Seed from libpeas dependency (and move seed itself to the gnome-world moduleset); I have now done so.
Comment on attachment 295558 [details] [review] 3.16: Remove old libpeas deps Also removed it from 3.18
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/jhbuild/-/issues/212.