From 1d87d4d2ee9b2c75b1e448899e5c36f1cfc4f31e Mon Sep 17 00:00:00 2001 From: Priec Date: Wed, 2 Sep 2026 16:16:44 +0200 Subject: [PATCH] fixed flatpak embedded psql forgotten dependency --- packaging/flatpak/README.md | 3 ++- packaging/flatpak/com.kompac.client.yml | 25 +++++++++++++++++++++++++ tui-canvas | 2 +- 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/packaging/flatpak/README.md b/packaging/flatpak/README.md index 6d2315e8..f826ff31 100644 --- a/packaging/flatpak/README.md +++ b/packaging/flatpak/README.md @@ -8,7 +8,8 @@ unchanged. The build uses the official Flatpak Rust and Node SDK extensions. Cargo and Yarn resolve the committed lockfiles inside the build sandbox with network access. The PostgreSQL 17.10.0 archive, Typst 0.13.1 binary and protoc 21.12 -binary are downloaded by `flatpak-builder` as checksum-pinned sources. +binary are downloaded by `flatpak-builder` as checksum-pinned sources. A +compatible libxml2 ABI is included for the embedded PostgreSQL binaries. ## Build diff --git a/packaging/flatpak/com.kompac.client.yml b/packaging/flatpak/com.kompac.client.yml index 83e7e231..3f9bf047 100644 --- a/packaging/flatpak/com.kompac.client.yml +++ b/packaging/flatpak/com.kompac.client.yml @@ -115,3 +115,28 @@ modules: cleanup: - /bin/protoc - /include + + - name: libxml2-compat + buildsystem: autotools + config-opts: + - --without-icu + - --without-lzma + - --without-python + - --without-readline + sources: + - type: archive + url: https://download.gnome.org/sources/libxml2/2.13/libxml2-2.13.9.tar.xz + sha256: a2c9ae7b770da34860050c309f903221c67830c86e4a7e760692b803df95143a + post-install: + - install -Dm644 Copyright /app/share/licenses/libxml2/Copyright + cleanup: + - /bin + - /include + - /lib/cmake + - /lib/libxml2.a + - /lib/libxml2.la + - /lib/libxml2.so + - /lib/pkgconfig + - /share/aclocal + - /share/doc + - /share/man diff --git a/tui-canvas b/tui-canvas index 622be162..17478405 160000 --- a/tui-canvas +++ b/tui-canvas @@ -1 +1 @@ -Subproject commit 622be162ef631cf336d2cbed112bacd49029a345 +Subproject commit 17478405c8c30e37a8a3d6340de50a122a168126