Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2023 21:19:33 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Neel Chauhan <nc@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 4e4d0fb69fcb - main - x11/gnome-shell: Use libsoup-3.0
Message-ID:  <ttzk-9h9m-wny@FreeBSD.org>
In-Reply-To: <202302171828.31HIS5MT069272@gitrepo.freebsd.org> (Neel Chauhan's message of "Fri, 17 Feb 2023 18:28:05 GMT")
References:  <202302171828.31HIS5MT069272@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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);
  }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ttzk-9h9m-wny>