Re: git: 4e4d0fb69fcb - main - x11/gnome-shell: Use libsoup-3.0
- In reply to: Neel Chauhan : "git: 4e4d0fb69fcb - main - x11/gnome-shell: Use libsoup-3.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Feb 2023 20:19:33 UTC
Neel Chauhan <nc@FreeBSD.org> writes:
> - libsoup-2.4.so:devel/libsoup \
> + libsoup-3.0.so:devel/libsoup3 \
Does it work without MESON_ARGS += -Dsoup2=false in gnome-shell < 43 ?
https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/367ea0005845
meson_options.txt:
option('soup2',
type: 'boolean',
value: true,
description: 'Use Soup 2.4 instead of Soup 3. Must be in sync with libgweather'
)
js/misc/meson.build:
jsconf.set10('HAVE_SOUP2', have_soup2)
js/misc/config.js.in:
var HAVE_SOUP2 = @HAVE_SOUP2@;
js/ui/environment.js:
try {
if (Config.HAVE_SOUP2)
throw new Error('Soup3 support not enabled');
const Soup_ = imports.gi.Soup;
} catch (e) {
imports.gi.versions.Soup = '2.4';
const { Soup } = imports.gi;
_injectSoup3Compat(Soup);
}