From a80e1a578f36206dc21be09ab93a93830f7a122b Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Tue, 19 Dec 2023 08:04:35 -0500 Subject: Add notes about zlib-ng --- TODO.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/TODO.md b/TODO.md index 5272a591..d8266f16 100644 --- a/TODO.md +++ b/TODO.md @@ -18,6 +18,27 @@ Contents - [HISTORICAL NOTES](#historical-notes) +zlib-ng +======= + +* Write ZLIB COMPATIBILITY section of README-maintainer.md. +* Note: deterministic IDs are affected by choice of zlib + +``` +cd /tmp +git clone https://github.com/zlib-ng/zlib-ng +cd zlib-ng +cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/tmp/inst -DZLIB_COMPAT=ON +cmake --build build -j $(nproc) +(cd build; ctest --verbose) +cmake --install build +``` + +Then run qpdf's test suite with +``` +LD_PRELOAD=/tmp/inst/lib/libz.so.1 ctest --verbose +``` + Always ====== -- cgit v1.2.3-70-g09d2