Introduction to CUPS Filters
The CUPS Filters package contains
backends, filters and other software that was once part of the core
CUPS distribution but is no longer
maintained by Apple Inc.
Note
Development versions of BLFS may not build or run some packages
properly if dependencies have been updated since the most recent
stable versions of the book.
Package Information
CUPS Filters Dependencies
Required
Cups-2.4.2,
GLib-2.74.5, ghostscript-10.00.0, Little
CMS-2.14, Poppler-23.02.0, and Qpdf-11.2.0
Recommended
Dejavu fonts (the build fails if they are
not installed, although they are only required for the tests),
libexif-0.6.24, libjpeg-turbo-2.1.5.1, libpng-1.6.39, libtiff-4.5.0,
and mupdf-1.21.1 (mutool)
Optional
Avahi-0.8 (required to build the DNSSD backend of
the cups-browsed
daemon, which is needed for operating some network printers),
OpenLDAP-2.6.3, PHP-8.2.2 (use of this
might be broken), Liblouis (Braille), and
Liblouisutdml (Braille)
Optional printer drivers (runtime)
Gutenprint-5.3.4 (for supported printers),
or other printer drivers, such as hplip
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/cups-filters
Installation of CUPS Filters
Install CUPS Filters by running
the following commands:
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--without-rcdir \
--disable-static \
--disable-avahi \
--docdir=/usr/share/doc/cups-filters-1.28.16 &&
make
To test the results, issue: make
check. DejaVu fonts are needed for the tests.
Now, as the root
user:
make install
Command Explanations
--disable-avahi
: This
switch is needed if the optional Avahi-0.8 is not
installed. Remove it if avahi is installed and you need network
printer discovery capabilities.
--without-rcdir
: This
switch disables installation of the bundled bootscript which is not
compatible with BLFS.
--disable-static
: This
switch prevents installation of static versions of the libraries.
--with-test-font-path=VALUE
: If you wish to run
the tests, but you do not have the default /usr/share/fonts/dejavu/DejaVuSans.ttf
use this
switch to specify where DejaVuSans.ttf
(or perhaps some other text TTF
font - untested) is located.