Debian Patches

Status for libxg/0.1.0+git20251103.8dd476d-1

Patch Description Author Forwarded Bugs Origin Last update
use-system-deps.patch Build against Debian-packaged dependencies The upstream build downloads and builds every dependency from its bundled
git submodules (libhandlegraph, sdsl-lite, mmmulti, ips4o, atomic_queue,
args, gfakluge, BBHash) via ExternalProject and hardcodes -O3. All of them
are packaged in Debian, so build against the system libraries instead, build
a shared library with a SONAME, install the command line tool and the
headers, and let dpkg-buildflags control the compiler flags.
.
The build uses C++17 because mmmulti's atomic_queue-backed map is
over-aligned and heap-allocated, which C++14 does not handle.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2ebae9c..be43e6b 100644
Andreas Tille <tille@debian.org> no 2026-10-30
use-static-lib.patch Also build and install a static library d-shlibmove expects a static library next to the shared one, otherwise it
aborts with "static library is missing". Build both from the same object
files so nothing is compiled twice.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index be43e6b..2742a97 100644
Andreas Tille <tille@debian.org> no 2026-10-30

All known versions for source package 'libxg'

Links