[webkit-gtk] Silently failing to load web extensions

Michael Gratton mike at vee.net
Thu Jan 17 14:44:45 PST 2019


Hey Michael,

On Fri, 18 Jan, 2019 at 2:25 AM, Michael Catanzaro 
<mcatanzaro at igalia.com> wrote:
> Um... what are "reasons"? If Geary calls 
> webkit_web_context_set_web_extensions_directory() with the correct 
> directory then web extensions under /usr/local should work just fine.
> 

Yeah that's starting to look like the problem, the meson port was 
previously using $PREFIX/lib/... rather than $LIBDIR/...

> No, Epiphany installs its web extension into libdir/epiphany. That's 
> /usr/lib64/epiphany on Fedora. Where did you find it under libexec? 
> Of course it doesn't belong there.

 From Ephy's meson.build:

> libexecdir = join_paths(prefix, get_option('libexecdir'))
[snip]
> pkglibexecdir = join_paths(libexecdir, 'epiphany')
> webextensionsdir = join_paths(pkglibdir, 'web-extensions')


-- 
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>




More information about the webkit-gtk mailing list