Removing libsoup 2 for GNOME 45

Hi, I’d like to remove libsoup 2 for GNOME 45 (September 2023 release). We would do this by removing libsoup-2.4.bst from gnome-build-meta, and all elements that depend on it. Currently that is:

$ git grep libsoup-2.4.bst
elements/core-deps/flatpak.bst:- sdk/libsoup-2.4.bst
elements/core-deps/geocode-glib-1.bst:- sdk/libsoup-2.4.bst
elements/core-deps/gfbgraph.bst:- sdk/libsoup-2.4.bst
elements/core-deps/grilo-plugins.bst:- sdk/libsoup-2.4.bst
elements/core-deps/grilo.bst:- sdk/libsoup-2.4.bst
elements/core-deps/libgdata.bst:- sdk/libsoup-2.4.bst
elements/core-deps/libosinfo.bst:- sdk/libsoup-2.4.bst
elements/core-deps/libostree.bst:- sdk/libsoup-2.4.bst
elements/core-deps/librest-0.7.bst:- sdk/libsoup-2.4.bst
elements/core-deps/libshumate.bst:- sdk/libsoup-2.4.bst
elements/core-deps/mogwai.bst:- sdk/libsoup-2.4.bst
elements/core-deps/osinfo-db-tools.bst:- sdk/libsoup-2.4.bst
elements/core-deps/uhttpmock.bst:- sdk/libsoup-2.4.bst
elements/core/gnome-calculator.bst:- sdk/libsoup-2.4.bst
elements/core/gnome-shell.bst:- sdk/libsoup-2.4.bst
elements/core/gnome-software.bst:- sdk/libsoup-2.4.bst
elements/sdk-platform.bst:- sdk/libsoup-2.4.bst
elements/sdk/geoclue.bst:- sdk/libsoup-2.4.bst
elements/sdk/gst-plugins-good.bst:- sdk/libsoup-2.4.bst
elements/sdk/tracker.bst:- sdk/libsoup-2.4.bst

I’ve truncated this list to exclude elements in world, which are not built by release team.

librest-0.7 and webkit2gtk-4.0 will both go away as part of this transition.

The ideal time to remove libsoup-2.4 would be immediately after the gnome-44 branch is created, which will probably coincide with the 44.beta release next March. Whether this will be possible or not depends on how well we do at porting things between now and then.

I’ve created a similar change proposal for Fedora 39, which will coincide with GNOME 45.

Note that switching from libsoup 2 to libsoup 3 is extremely disruptive, and it’s too late to do any more of this for GNOME 43. Now is the perfect time to land such changes for GNOME 44.

3 Likes

elements/core/gnome-shell.bst:- sdk/libsoup-2.4.bst

gnome-shell has supported soup3 since GNOME 41 and uses it by default since 43.alpha.

3 Likes

gnome-calculator has been ported to soup3 about one month ago, and the ported version was first released with 43.rc, but in calculator the port to libsoup3 was not really disruptive, was a fairly simple change (https://gitlab.gnome.org/GNOME/gnome-calculator/-/merge_requests/120)

(I just noticed that this was posted two weeks ago, I got the email notification a few hours ago)

It seems you are using an older checkout. Here is the list I get

elements/sdk-platform.bst:- sdk/libsoup-2.4.bst
elements/sdk/tracker.bst:- sdk/libsoup-2.4.bst
elements/core/gnome-software.bst:- sdk/libsoup-2.4.bst
elements/sdk/geoclue.bst:- sdk/libsoup-2.4.bst
elements/core/gnome-calculator.bst:- sdk/libsoup-2.4.bst
elements/sdk/gst-plugins-good.bst:- sdk/libsoup-2.4.bst
elements/core-deps/geocode-glib-1.bst:- sdk/libsoup-2.4.bst
elements/core-deps/uhttpmock.bst:- sdk/libsoup-2.4.bst
elements/core-deps/osinfo-db-tools.bst:- sdk/libsoup-2.4.bst
elements/core-deps/librest-0.7.bst:- sdk/libsoup-2.4.bst
elements/core-deps/mogwai.bst:- sdk/libsoup-2.4.bst
elements/core-deps/libosinfo.bst:- sdk/libsoup-2.4.bst
elements/core-deps/libgdata.bst:- sdk/libsoup-2.4.bst
elements/core-deps/grilo.bst:- sdk/libsoup-2.4.bst

webkit2gtk-4.0 is already dropped, librest-0.7 can be dropped too.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.