From 827e011ac05084396aaf2c3098409bf5e02b5cf9 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Thu, 5 Feb 2026 22:28:02 -0300 Subject: [PATCH] Add libsoup-3.0 installation instructions to build documentation - Added libsoup-3.0-dev to Ubuntu/Debian desktop GUI dependencies - Added libsoup3-devel to Fedora/RHEL desktop GUI dependencies - Added new troubleshooting section for libsoup-3.0 dependency warning - Documented that this is only needed for desktop/Tauri builds - Noted that server-only builds can safely ignore the warning --- src/07-gbapp/building.md | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/src/07-gbapp/building.md b/src/07-gbapp/building.md index fc3f992f..3bd07f19 100644 --- a/src/07-gbapp/building.md +++ b/src/07-gbapp/building.md @@ -96,7 +96,8 @@ sudo apt install -y \ libwebkit2gtk-4.0-dev \ libjavascriptcoregtk-4.1-dev \ libayatana-appindicator3-dev \ - librsvg2-dev + librsvg2-dev \ + libsoup-3.0-dev ``` **Note:** Desktop GUI dependencies are only needed if building with `--features desktop`. For minimal builds without desktop GUI, these libraries are not required. @@ -140,7 +141,8 @@ sudo dnf install -y \ webkit2gtk3-devel \ javascriptcore-gtk-devel \ libappindicator-gtk3-devel \ - librsvg2-devel + librsvg2-devel \ + libsoup3-devel ``` **Note:** Desktop GUI dependencies are only needed if building with `--features desktop`. For minimal builds without desktop GUI, these libraries are not required. @@ -440,6 +442,33 @@ $env:OPENSSL_DIR="C:\vcpkg\installed\x64-windows" cargo build --release ``` +### libsoup-3.0 Dependency Warning + +**Warning:** `pkg-config exited with status code 1` when searching for `libsoup-3.0` + +This occurs when the libsoup-3.0 development library is missing but is required by a transitive dependency for desktop features. + +**Solution (Linux):** + +```bash +sudo apt install libsoup-3.0-dev +``` + +**Solution (Fedora/RHEL):** + +```bash +sudo dnf install libsoup3-devel +``` + +**Solution (macOS):** + +```bash +brew install libsoup +export PKG_CONFIG_PATH=$(brew --prefix libsoup)/lib/pkgconfig:$PKG_CONFIG_PATH +``` + +**Note:** This library is only needed for desktop/Tauri builds with GTK dependencies. If building with `--no-default-features` for server-only deployments, this library is not required and the warning can be safely ignored. + ### PostgreSQL Library Errors If libpq is not found: