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-10.1 platform.
Download (HTTP): https://download.gnome.org/sources/libsoup/2.72/libsoup-2.72.0.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/libsoup/2.72/libsoup-2.72.0.tar.xz
Download MD5 sum: 859380b76b51fb55d720daea3c76c945
Download size: 1.4 MB
Estimated disk space required: 24 MB (with tests)
Estimated build time: 0.3 SBU (Using parallelism=4; with tests)
glib-networking-2.68.0, libpsl-0.21.1, libxml2-2.9.10, and SQLite-3.35.4
gobject-introspection-1.68.0, sysprof-3.40.1, and Vala-0.52.0
Apache-2.4.46 (required to run the test suite), Brotli-1.0.9, cURL-7.76.0 (required to run the test suite), MIT Kerberos V5-1.19.1 (required to run the test suite), GTK-Doc-1.33.2, PHP-8.0.3 compiled with XMLRPC-EPI support (only used for the XMLRPC regression tests), and Samba-4.14.2 (ntlm_auth is required to run the test suite)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libsoup
First, fix a problem in the testsuite caused by glib-networking-2.68.0:
patch -Np1 -i ../libsoup-2.72.0-testsuite_fix-1.patch
Install libsoup by running the following commands:
mkdir build && cd build && meson --prefix=/usr -Dvapi=enabled -Dgssapi=disabled .. && ninja
To test the results, issue: ninja test.
Now, as the root
user:
ninja install
-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
: 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 switch.
Last updated on 2021-02-21 13:05:24 -0600