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 11.3 platform.
Download (HTTP): https://github.com/qpdf/qpdf/releases/download/v11.2.0/qpdf-11.2.0.tar.gz
Download MD5 sum: 8fa1fc5d8b99e41c4f9d0760d6733756
Download size: 18 MB
Estimated disk space required: 249 MB (add 2 MB for tests)
Estimated build time: 0.5 SBU (using parallelism=4; add 0.5 SBU for tests)
fop-2.8, GnuTLS-3.8.0, and sphinx-6.1.3
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/qpdf
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.2.0 \ .. && make
To test the results, issue: ctest.
Now, as the root
user:
make install