The libcupsfilters library contains filter functions for the data format conversion tasks needed in Printer Applications. It also contains several API functions for developing printer drivers/Printer Applications.
![[Note]](../images/note.png)
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://github.com/OpenPrinting/libcupsfilters/releases/download/2.0.0/libcupsfilters-2.0.0.tar.xz
Download MD5 sum: 267e569145bd20615fa18ae65ea6f870
Download size: 1.2 MB
Estimated disk space required: 38 MB (with tests)
Estimated build time: 0.1 SBU (Using parallelism=4; with tests)
Cups-2.4.7, GLib-2.78.1, ghostscript-10.02.1 or mupdf-1.23.6, Little CMS-2.14, Poppler-23.11.0, and Qpdf-11.6.3
Dejavu fonts (the build fails if they are not installed, although they are only required for the tests), libexif-0.6.24, libjpeg-turbo-3.0.1, libpng-1.6.40, and libtiff-4.6.0
Install libcupsfilters by running the following commands:
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/libcupsfilters-2.0.0 &&
makeTo test the results, issue make check. DejaVu fonts are needed for the tests.
Now, as the root user:
make install
--disable-static: This switch prevents
installation of static versions of the libraries.
--with-test-font-path=:
If you wish to run the tests, but
you do not have the default
VALUE/usr/share/fonts/dejavu/DejaVuSans.ttf use this
switch to specify where DejaVuSans.ttf (or perhaps
some other text TTF font - untested) is located.