The Qpdf package contains command-line programs and a library that does structural, content-preserving transformations on PDF files.
This package is known to build and work properly using an LFS 13.1 platform.
Download (HTTP): https://github.com/qpdf/qpdf/releases/download/v12.4.0/qpdf-12.4.0.tar.gz
Download MD5 sum: d3156920305cafe5b554dcf36cf3cfe7
Download size: 19 MB
Estimated disk space required: 381 MB (with tests)
Estimated build time: 0.6 SBU (using parallelism=4; add 0.5 SBU for tests)
ghostscript-10.07.1, GnuTLS-3.8.13, tiff-4.7.2, sphinx-9.1.0 with sphinx_rtd_theme-3.1.0, and texlive-20250308 or install-tl-unx
Install Qpdf by running the following commands:
mkdir build &&
cd build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_STATIC_LIBS=OFF \
-D CMAKE_INSTALL_DOCDIR=/usr/share/doc/qpdf-12.4.0 \
.. &&
make
To test the results, issue: ctest.
Now, as the root user:
make install