From nobody Tue Jun 27 11:49:34 2023 X-Original-To: gnome@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qr30v66c0z4gGfn for ; Tue, 27 Jun 2023 11:49:51 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qr30t1882z4HZd; Tue, 27 Jun 2023 11:49:50 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of fernando.apesteguia@gmail.com designates 209.85.167.49 as permitted sender) smtp.mailfrom=fernando.apesteguia@gmail.com; dmarc=none Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-4fb7acaa7a5so2484290e87.1; Tue, 27 Jun 2023 04:49:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687866587; x=1690458587; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lQDaGMv6UlHFlnCKZTmTAUohHU3tLH2GgirN1kGYniI=; b=l/U/jUM51qTke/ez2WIDJic9quq3R7cxvk4l1EXt/t6730UQDdR4+Pp+0On0aKCe4F Y/jYnGXYtNpIns5lYdcd8p0JUu9h84G9g3o0MEzeiprp1sFYop2IOWbpyiy8u7qeyAfn ixbaqYtf3t2/Rjb5ghQtZAfxo1WgQ2nUu6DP82gtX+sARYD6t8SqqxoRgodCo0iift3w awut+DZYIaRsD6KDs5GfkbmOUfSLprQ84QXDw3SOZZAug0trKXJZOcUub3YTKfnkTnhd 8LM8YnyYbEhyZSbpCZK5Vh0Y1eHs0kbBxaHSS61+GFY/ju81zTBW99NpKuKbqn5HDAZE VI0A== X-Gm-Message-State: AC+VfDyEGXjQzY9bVvxEEaYXb3z6wDFXlMEZZCNp48LF7eXChL3D9mSt fkBiGyGgY4lKxaFlFH+7FdJfWUACFVeC2w== X-Google-Smtp-Source: ACHHUZ5QUF4QzCsVIpSOUboq7wHSmPoWKJ/GIb8RmXuxZ71TTnQ7fpVJWLLhvcHBF/DRvUXcJBukfA== X-Received: by 2002:a05:6512:33c8:b0:4fb:889a:b410 with SMTP id d8-20020a05651233c800b004fb889ab410mr790110lfg.65.1687866587050; Tue, 27 Jun 2023 04:49:47 -0700 (PDT) Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com. [209.85.208.178]) by smtp.gmail.com with ESMTPSA id r22-20020ac24d16000000b004fb757bd429sm814843lfi.96.2023.06.27.04.49.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Jun 2023 04:49:46 -0700 (PDT) Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2b6afc1ceffso9524891fa.0; Tue, 27 Jun 2023 04:49:46 -0700 (PDT) X-Received: by 2002:a2e:81c6:0:b0:2b6:b779:c68 with SMTP id s6-20020a2e81c6000000b002b6b7790c68mr309707ljg.15.1687866586776; Tue, 27 Jun 2023 04:49:46 -0700 (PDT) List-Id: GNOME for FreeBSD -- porting and maintaining List-Archive: https://lists.freebsd.org/archives/freebsd-gnome List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gnome@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Tue, 27 Jun 2023 13:49:34 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: www/webkit2-gtk3 and libsoup2 and libsoup3 To: Charlie Li Cc: gnome@freebsd.org Content-Type: multipart/alternative; boundary="000000000000554c8a05ff1b1004" X-Spamd-Result: default: False [-2.00 / 15.00]; NEURAL_HAM_SHORT(-0.99)[-0.994]; NEURAL_HAM_MEDIUM(-0.83)[-0.832]; FORGED_SENDER(0.30)[fernape@freebsd.org,fernandoapesteguia@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-0.18)[-0.176]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.167.49:from]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.49:from,209.85.208.178:received]; MLMMJ_DEST(0.00)[gnome@freebsd.org]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[fernape@freebsd.org,fernandoapesteguia@gmail.com]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[freebsd.org]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; TAGGED_FROM(0.00)[] X-Rspamd-Queue-Id: 4Qr30t1882z4HZd X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N --000000000000554c8a05ff1b1004 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Jun 25, 2023 at 9:45=E2=80=AFPM Charlie Li wr= ote: > Fernando Apestegu=C3=ADa wrote: > > Apparently there is this mismatch between libsoup2 and libsoup3 being i= n > > 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 =3D webkit2gtk-4.0 > - GTK 3 + libsoup3 =3D webkit2gtk-4.1 > - GTK 4 + libsoup3 =3D 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 > =E2=80=A6nope, still don't have an exit line. > > --000000000000554c8a05ff1b1004 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sun, Jun 25, 2023 at 9:45=E2=80=AF= PM Charlie Li <vishwin@freebsd.or= g> wrote:
Fernando Apestegu=C3=ADa 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 =3D webkit2gtk-4.0
- GTK 3 + libsoup3 =3D webkit2gtk-4.1
- GTK 4 + libsoup3 =3D webkit2gtk-5.0
If remmina itself needs libsoup3 but is linked against webkit2gtk-4.0,
the clash is correct.

Thanks for the he= lp!
=C2=A0

I'm in the process of figuring out how to modularise www/webkit2gtk, bu= t
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
=E2=80=A6nope, still don't have an exit line.

--000000000000554c8a05ff1b1004--