Re: www/webkit2-gtk3 and libsoup2 and libsoup3

From: Fernando_Apesteguía <fernape_at_freebsd.org>
Date: Tue, 27 Jun 2023 11:49:34 UTC
On Sun, Jun 25, 2023 at 9:45 PM Charlie Li <vishwin@freebsd.org> wrote:

> Fernando Apesteguía wrote:
> > Apparently there is this mismatch between libsoup2 and libsoup3 being in
> > the same process. I digged a bit in this and this problem only happens
> > when the WWW plugin of remmina is activated. This plugin depends on
> > www/webkit2-gtk3.
> >
> > In my tests, it seems that if libsoup3 is present in the system, then
> > webkit2-gtk3 uses it despite its dependency on libsoup2. I tried to
> > force libsoup3 in remmina and use webkit2-gtk4 (which depends on
> > libsoup3) to no avail.
> >
> WebKitGTK's SONAMEs/library names (yes, the names, not versions) differ
> based on GTK and libsoup combination:
> - GTK 3 + libsoup = webkit2gtk-4.0
> - GTK 3 + libsoup3 = webkit2gtk-4.1
> - GTK 4 + libsoup3 = webkit2gtk-5.0
> If remmina itself needs libsoup3 but is linked against webkit2gtk-4.0,
> the clash is correct.
>

Thanks for the help!


>
> I'm in the process of figuring out how to modularise www/webkit2gtk, but
> I can see this as messy no matter what method (flavours, parent/child
> ports, etc) not least from the amount of duplicate files installed into
> STAGEDIR per *build*.
>
> --
> Charlie Li
> …nope, still don't have an exit line.
>
>