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.2 platform.
Download (HTTP): https://github.com/qpdf/qpdf/releases/download/release-qpdf-10.6.3/qpdf-10.6.3.tar.gz
Download MD5 sum: 440c70e3a5177087e5ac51b58371c043
Download size: 18 MB
Estimated disk space required: 263 MB (add 46 MB for tests)
Estimated build time: 0.5 SBU (using parallelism=4; add 0.8 SBU for tests)
fop-2.7, GnuTLS-3.7.7, and libxslt-1.1.36
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/qpdf
Install Qpdf by running the following commands:
./configure --prefix=/usr \ --disable-static \ --docdir=/usr/share/doc/qpdf-10.6.3 && make
To test the results, issue: make check.
Now, as the root
user:
make install
--disable-static
: This
switch prevents installation of static versions of the libraries.