flatpak-builder icon indicating copy to clipboard operation
flatpak-builder copied to clipboard

[Feature request]: Ability to build without libsoup2

Open nanonyme opened this issue 3 years ago • 5 comments

Checklist

  • [X] I agree to follow the Code of Conduct that this project adheres to.
  • [X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Suggestion

Please either allow building with libsoup2 replaced with libsoup3 or just libcurl. libsoup2 is going away.

nanonyme avatar Jun 20 '22 17:06 nanonyme

In fact looks a lot like this project was already ported to curl but proxy usage was left to libsoup instead of using glib tooling. So this is largely a cleanup request.

nanonyme avatar Jun 23 '22 11:06 nanonyme

Flatpak itself gained ability not to use libsoup2 through https://github.com/flatpak/flatpak/pull/4943

nanonyme avatar Jun 23 '22 11:06 nanonyme

If the only reason is proxy, something like https://github.com/hughsie/appstream-glib/pull/443 would probably be enough.

nanonyme avatar Jun 23 '22 13:06 nanonyme

Looks like also SoupURI is used.

nanonyme avatar Jun 23 '22 13:06 nanonyme

builder_source_file_extract codepath is clearly directly using libsoup2.

nanonyme avatar Jun 23 '22 13:06 nanonyme