The libsoup 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 12.2 platform.
Download (HTTP): https://download.gnome.org/sources/libsoup/2.74/libsoup-2.74.3.tar.xz
Download MD5 sum: 8f657fd301a213629204b3320c35d75a
Download size: 1.4 MB
Estimated disk space required: 17 MB (with tests)
Estimated build time: 0.3 SBU (Using parallelism=4; with tests)
glib-networking-2.80.0, libpsl-0.21.5, libxml2-2.13.3, and SQLite-3.46.1
GLib-2.80.4 (with GObject Introspection) and Vala-0.56.17
Apache-2.4.62 (required to run the test suite), Brotli-1.1.0, cURL-8.9.1 (required to run the test suite), MIT Kerberos V5-1.21.3 (required to run the test suite), GTK-Doc-1.34.0, PHP-8.3.10 compiled with XMLRPC-EPI support (only used for the XMLRPC regression tests), Samba-4.20.4 (ntlm_auth is required to run the test suite), and sysprof
Install libsoup by running the following commands:
mkdir build &&
cd    build &&
meson setup --prefix=/usr       \
            --buildtype=release \
            -D vapi=enabled     \
            -D gssapi=disabled  \
            -D sysprof=disabled \
            ..                  &&
ninja
        
          To test the results, issue: ninja
          test. One test named ssl-test is known to fail.
        
          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.
        
          -D vapi=disabled: Use this if you have
          not installed Vala, e.g. because
          you are not building GNOME.
        
          -D doc=enabled: Use this option if you
          want to build the documentation. Note that you must have GTK-Doc-1.34.0 installed.
        
          -D gssapi=disabled: libsoup
          defaults to building with GSSAPI support, which requires Kerberos
          (as does the test suite). If you are building GNOME or have
          kerberos installed, remove this option.
        
          -D sysprof=disabled:
          libsoup will automatically download a git version of sysprof if
          git is available or use the installed version if it is present on
          the system. If you need profiling, remove this option.