The libsoup3 is a HTTP client/server library for GNOME. It uses GObject and the GLib main loop to integrate with GNOME applications and it also has an asynchronous API for use in threaded applications.
This package is known to build and work properly using an LFS-11.2 platform.
Download (HTTP): https://download.gnome.org/sources/libsoup/3.0/libsoup-3.0.7.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/libsoup/3.0/libsoup-3.0.7.tar.xz
Download MD5 sum: 289bc07a960e32953ad1d66030803ab1
Download size: 1.5 MB
Estimated disk space required: 22 MB (with tests)
Estimated build time: 0.3 SBU (Using parallelism=4; with tests)
glib-networking-2.72.2, libpsl-0.21.1, libxml2-2.10.0, nghttp2-1.48.0, and SQLite-3.39.2
gobject-introspection-1.72.0 and Vala-0.56.2
Apache-2.4.54 (required to run the test suite), Brotli-1.0.9, cURL-7.84.0 (required to run the test suite), sysprof-3.44.0 (for profiling), MIT Kerberos V5-1.20 (required to run the test suite), GTK-Doc-1.33.2, PHP-8.1.9 compiled with XMLRPC-EPI support (only used for the XMLRPC regression tests), and Samba-4.16.4 (ntlm_auth is required to run the test suite)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libsoup3
Install libsoup3 by running the following commands:
mkdir build && cd build && meson --prefix=/usr \ --buildtype=release \ -Dvapi=enabled \ -Dgssapi=disabled \ -Dsysprof=disabled \ .. && ninja
To test the results, issue: ninja test.
Now, as the root
user:
ninja install
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-Dvapi=disabled
: Use this if you have
not installed Vala, e.g. because
you are not building GNOME.
-Ddoc=enabled
: Use this option if you
want to build the documentation. Note that you must have GTK-Doc-1.33.2 installed.
-Dgssapi=disabled
: libsoup3
defaults to building with GSSAPI support, which requires Kerberos
(as does the test suite).
-Dsysprof=disabled
:
libsoup3 will automatically download a git version of sysprof-3.44.0 if git is available or use the
installed version if available. If you need profiling, remove this
option.