Re: git: 943100128861 - main - www/webkit2-gtk: update to 2.46.5

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Wed, 22 Jan 2025 20:00:12 UTC
On Tue, 2025-01-21 at 03:13, Charlie Li <vishwin@FreeBSD.org> wrote:

> The branch main has been updated by vishwin:

> URL: https://cgit.FreeBSD.org/ports/commit/?id=94310012886105252763e218ec45dfccf778e55e

> commit 94310012886105252763e218ec45dfccf778e55e
> Author:     Charlie Li <vishwin@FreeBSD.org>
> AuthorDate: 2025-01-20 22:01:13 +0000
> Commit:     Charlie Li <vishwin@FreeBSD.org>
> CommitDate: 2025-01-21 03:12:19 +0000

>     www/webkit2-gtk: update to 2.46.5

>     Changelog: https://github.com/WebKit/WebKit/blob/webkitgtk-2.46.5/Source/WebKit/gtk/NEWS

>     Now consolidated into one port with flavours since the codebase is
>     the same, just linked with different libraries resulting in different
>     SONAMEs and APIs. SONAMEs/flavours:

>     * GTK3 + libsoup = libwebkit2gtk-4.0 (40)
>     * GTK3 + libsoup3 = libwebkit2gtk-4.1 (41)
>     * GTK4 + libsoup3 = libwebkitgtk-6.0 (60)

>     Despite upstream's recommendation to use clang for better skia
>     optimisation, this port now USE_GCC due to extensive std::pair copy
>     constructor use that is not trivial to continue patching to stay
>     working with our libc++ version 1 ABI. See review D35327 for some
>     details.

>     Reported by: eduardo
>     PR: 275914
>     Differential Revision: https://reviews.freebsd.org/D45878

Is there a problem with this change?  I'm seeing cases such below where
multiple conflicting versions of webkit want to be installed.

% sudo pkg install seahorse
Updating ser repository catalogue...
ser repository is up to date.
All repositories are up to date.
The following 15 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        cracklib: 2.9.7_2
        enchant2: 2.2.15_5
        gjs: 1.76.2
        glade: 3.40.0_5
        gtk4: 4.16.12
        libhandy: 1.6.2_2
        libpwquality: 1.4.5_2
        libsoup: 2.74.3
        libwpe: 1.12.0
        seahorse: 41.0_3
        spidermonkey102: 102.9.0_5
        webkit2-gtk3: 2.34.6_10
        webkit2-gtk_40: 2.46.5_1
        woff2: 1.0.2_5
        wpebackend-fdo: 1.12.0

Number of packages to be installed: 15

The process will require 386 MiB more space.
2 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching glade-3.40.0_5.pkg: 100%    2 MiB   2.5MB/s    00:01
Checking integrity... done (1 conflicting)
  - webkit2-gtk_40-2.46.5_1 conflicts with webkit2-gtk3-2.34.6_10 on /usr/local/include/webkitgtk-4.0/JavaScriptCore/JSBase.h
Cannot solve problem using SAT solver, trying another plan
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 4 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        cracklib: 2.9.7_2
        libpwquality: 1.4.5_2
        libsoup: 2.74.3

Installed packages to be REINSTALLED:
        pkg-2.0.0

Number of packages to be installed: 3
Number of packages to be reinstalled: 1

The process will require 15 MiB more space.

Proceed with this action? [y/N]: