Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove libsoup2 support #253

Merged

Conversation

sergio-costas
Copy link
Contributor

Three libraries (librest, libgeocode and libgweather) still used libsoup-2, although they already support being compiled with libsoup-3. Since mixing both versions when linking binaries is not possible (and, in fact, an specific check is done at runtime to abort the execution if that case is detected), I think that is time to remove the old one.

This PR entirely removes libsoup-2 library and recompiles those three libraries using libsoup-3.

I will mark it as draft to ensure that a discussion is done before merging it.

Three libraries (librest, libgeocode and libgweather) still used
libsoup-2, although they already support being compiled with
libsoup-3. Since mixing both versions when linking binaries is
not possible (and, in fact, an specific check is done at runtime
to abort the execution if that case is detected), I think that is
time to remove the old one.

This PR entirely removes libsoup-2 library and recompiles those
three libraries using libsoup-3.
@seb128
Copy link
Contributor

seb128 commented Nov 7, 2024

I think it makes sense to go forward with the new version in 46.

@jbicha you followed the upstream work and handled most of the Debian/Ubuntu archive changes, does that seem reasonable to you that we default to libsoup3 now for the new sdk?

@sergio-costas sergio-costas marked this pull request as ready for review November 7, 2024 11:53
@jbicha
Copy link

jbicha commented Nov 13, 2024

Basically the only thing in the GNOME world that still uses libsoup2 is libgdata which is used by gvfs. If libgdata isn't used in this snap, then it's a good thing to stop using libsoup2. Even if libgdata is used, libsoup2 should not be used anywhere else in this snap.

@sergio-costas
Copy link
Contributor Author

It's even worse: it seems that libgdata is used only in gvfsd-google, nothing else...

@sergio-costas
Copy link
Contributor Author

There is a draft patch to port it to libsoup3, in fact, but has been frozen for a long time https://gitlab.gnome.org/GNOME/gvfs/-/merge_requests/147#note_1519119

@jbicha
Copy link

jbicha commented Nov 13, 2024

Is gvfsd-google part of this snap? If it isn't, I don't think there any blockers to landing this change.

@sergio-costas
Copy link
Contributor Author

No, it isn't.

@sergio-costas
Copy link
Contributor Author

Merging then.

@sergio-costas sergio-costas merged commit cf2b69a into ubuntu:gnome-46-2404-sdk Nov 14, 2024
2 checks passed
Copy link
Contributor

@seb128 seb128 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 from me for the change

@sergio-costas
Copy link
Contributor Author

Ops... sorry, I presumed that your vote was already positive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants