Commit a80e1a578f36206dc21be09ab93a93830f7a122b
1 parent
d108b859
Add notes about zlib-ng
Showing
1 changed file
with
21 additions
and
0 deletions
TODO.md
| ... | ... | @@ -18,6 +18,27 @@ Contents |
| 18 | 18 | |
| 19 | 19 | - [HISTORICAL NOTES](#historical-notes) |
| 20 | 20 | |
| 21 | +zlib-ng | |
| 22 | +======= | |
| 23 | + | |
| 24 | +* Write ZLIB COMPATIBILITY section of README-maintainer.md. | |
| 25 | +* Note: deterministic IDs are affected by choice of zlib | |
| 26 | + | |
| 27 | +``` | |
| 28 | +cd /tmp | |
| 29 | +git clone https://github.com/zlib-ng/zlib-ng | |
| 30 | +cd zlib-ng | |
| 31 | +cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/tmp/inst -DZLIB_COMPAT=ON | |
| 32 | +cmake --build build -j $(nproc) | |
| 33 | +(cd build; ctest --verbose) | |
| 34 | +cmake --install build | |
| 35 | +``` | |
| 36 | + | |
| 37 | +Then run qpdf's test suite with | |
| 38 | +``` | |
| 39 | +LD_PRELOAD=/tmp/inst/lib/libz.so.1 ctest --verbose | |
| 40 | +``` | |
| 41 | + | |
| 21 | 42 | Always |
| 22 | 43 | ====== |
| 23 | 44 | ... | ... |