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.2 platform.
Download (HTTP): https://github.com/qpdf/qpdf/releases/download/v11.9.1/qpdf-11.9.1.tar.gz
Download MD5 sum: 22dcfec7700e4d8b08a116ecc1c529ac
Download size: 18 MB
Estimated disk space required: 272 MB (add 1 MB for tests)
Estimated build time: 0.6 SBU (using parallelism=4; add 0.5 SBU for tests)
ghostscript-10.03.1, GnuTLS-3.8.7.1, libtiff-4.6.0, sphinx-8.0.2 with sphinx_rtd_theme-2.0.0, and texlive-20240312 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-11.9.1 \ .. && make
To test the results, issue: ctest.
Now, as the root
user:
make install