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 12.0 platform.
Download (HTTP): https://github.com/qpdf/qpdf/releases/download/v11.5.0/qpdf-11.5.0.tar.gz
Download MD5 sum: d916ac26b7f30a5cf3827c708c455ec9
Download size: 18 MB
Estimated disk space required: 253 MB (add 1 MB for tests)
Estimated build time: 0.4 SBU (using parallelism=4; add 0.5 SBU for tests)
ghostscript-10.01.2, GnuTLS-3.8.1, libtiff-4.5.1, sphinx-7.1.2 with sphinx_rtd_theme-1.2.2, and texlive-20230313 or install-tl-unx
Install Qpdf by running the following commands:
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_STATIC_LIBS=OFF \ -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/qpdf-11.5.0 \ .. && make
To test the results, issue: ctest.
Now, as the root
user:
make install