105.11. libsoup3-3.8.0
GNOME HTTP client/server library, the 3.x API (GStreamer's souphttpsrc and adaptivedemux2, GeoClue)
3.8.0-1 · LGPL-2.0-or-later · 1.7 SBU · 1.9 MiB, 51 files · 41_system, 585 of 1047 · ports/core/net-libs/libsoup3
Homepage: https://gitlab.gnome.org/GNOME/libsoup
Why it is in KDOS. The comment above glib-networking and libsoup3 in script/phases/41_system/packages.d/net-libs.txt:
The HTTP library souphttpsrc and the HLS/DASH demuxers load at run time, and the GIO TLS module its https connections need.
libsoup is GNOME’s HTTP client and server library, built on GIO; this port is its libsoup-3.0 API. On KDOS it serves GStreamer’s souphttpsrc and adaptive streaming demuxers, which load it at run time, and links into geoclue, gvfs, webkitgtk and other GNOME-stack applications. Its https:// connections go through the GIO TLS module glib-networking installs.
Depends on: meson, glib, glib-networking, libpsl, nghttp2, sqlite, brotli, zstd, krb5, samba, zlib, gobject-introspection, glib-introspection.
Required by (14): deja-dup, dino, geoclue, gst-plugins-good, gvfs, homebank, libosinfo, osinfo-db-tools, osm-gps-map, phodav, rhythmbox, webkitgtk, webkitgtk6, wxwidgets.
Sources: libsoup3-3.8.0.tar.xz (1.5 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libsoup3'
build.sh:
meson setup build \
--prefix=/usr --sysconfdir=/etc --libdir=lib \
--buildtype=release \
-Dgssapi=enabled \
-Dntlm=enabled \
-Dntlm_auth=/usr/bin/ntlm_auth \
-Dbrotli=enabled \
-Dzstd=enabled \
-Dtls_check=false \
-Dintrospection=enabled \
-Dvapi=disabled \
-Ddocs=disabled \
-Dtests=false \
-Dautobahn=disabled \
-Dinstalled_tests=false \
-Dsysprof=disabled \
-Dfuzzing=disabled \
-Dpkcs11_tests=disabled
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build
-Dgssapi=enabled— Negotiate (Kerberos/SPNEGO) HTTP authentication through krb5. Eachenabledfeature below stopsmeson setupwhen what it needs is missing, where the defaultautowould build without it.-Dntlm=enabled— NTLM HTTP authentication.meson setupstops if it cannot find thentlm_authprogram below.-Dntlm_auth=/usr/bin/ntlm_auth— Samba’sntlm_authhelper, which libsoup runs to answer an NTLM challenge with the user’s own credentials. Meson looks the program up when the build is configured and compiles its full path into the library; upstream’s default is the bare name, found throughPATH. samba is independsso that the helper is there.-Dbrotli=enabled— DecodeContent-Encoding: brresponses with brotli.-Dzstd=enabled— DecodeContent-Encoding: zstdresponses with zstd.-Dtls_check=false— Skip the configure test that compiles and runs a program asking GIO whether its default TLS backend supports TLS. Upstream offers the switch to packagers, because glib-networking is needed only at run time; it is independshere, so the installed library has its TLS module.-Dintrospection=enabled— GenerateSoup-3.0.typeliband its GIR, for language bindings.-Dvapi=disabled— Generate no Vala bindings.-Dautobahn=disabled— Build none of the Autobahn WebSocket conformance tests, and with-Dpkcs11_tests=disablednone of the PKCS #11 tests;-Dtests=falsealready builds no tests.-Dsysprof=disabled— Do not link the sysprof profiler’s capture library.
Libraries: libsoup-3.0.so.
Directories: /usr/include/libsoup-3.0, /usr/share/licenses/libsoup3.