I’m attempting to package two Gnome extensions and running into small issues. Any help would be appreciated.
Derivations can be found in this Gist.
The first, desktop-icons@csoriano, builds fine, but Gnome Tweaks reports “error loading extension” and I can’t find any relevant logs to explain why.
The second, firstname.lastname@example.org@posteo.de, installs and runs perfectly, except when I attempt to launch the Syncthing web Interface from the extension’s menu. When I do that, it fails with:
gjs: JS ERROR: Error: Requiring WebKit2, version none: Typelib file for namespace ‘WebKit2’ (any version) not found
I suspect I need to modify the environment when
gjs is spawned so that
imports.gi.WebKit2 can be found, but I’m not sure how to do that with Glib spawning functions , or what variables control the
gobject-introspection search path. Help?