summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-12-19 14:04:35 +0100
committerJay Berkenbilt <ejb@ql.org>2023-12-20 13:07:35 +0100
commita80e1a578f36206dc21be09ab93a93830f7a122b (patch)
tree10cb117db0616ac1aa42def7e4b48a3e2623e2d2
parentd108b859c19a82f741fc01e161b406e607556649 (diff)
downloadqpdf-a80e1a578f36206dc21be09ab93a93830f7a122b.tar.zst
Add notes about zlib-ng
-rw-r--r--TODO.md21
1 files changed, 21 insertions, 0 deletions
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
======