cups-filters-1.28.16

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.

This package is known to build and work properly using an LFS 12.0 platform.

Package Information

Additional Downloads

CUPS Filters Dependencies

Required

Cups-2.4.6, GLib-2.76.4, ghostscript-10.01.2, Little CMS-2.14, Poppler-23.08.0, and Qpdf-11.5.0

Recommended

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.6, PHP-8.2.9 (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

Installation of CUPS Filters

First, fix a security vulnerability that can allow for remote code execution with the 'beh' printer backend:

patch -Np1 -i ../cups-filters-1.28.16-security_fix-1.patch

Install CUPS Filters by running the following commands:

CXXFLAGS="$CXXFLAGS -std=c++17"  \
./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

CXXFLAGS="$CXXFLAGS -std=c++17": This environment variable is necessary to fix a problem introduced by qpdf-11.3.0.

--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.

Contents

Installed Programs: cups-browsed, driverless, driverless-fax, and foomatic-rip
Installed Libraries: libcupsfilters.so and libfontembed.so
Installed Directories: /usr/include/{cupsfilters,fontembed}, /usr/lib/cups/{backend,driver,filter}, /usr/share/cups/{braille,charsets}, /usr/share/doc/cups-filters-1.28.16, and /usr/share/ppd/cupsfilters

Short Descriptions

cups-browsed

is a daemon for browsing the Bonjour and CUPS broadcasts of shared, remote CUPS printers

driverless

is a PPD generator utility for driverless printing

driverless-fax

is a wrapper to driverless for FAX type devices

foomatic-rip

is a universal print filter/RIP wrapper which can be used as CUPS filter or stand-alone for spooler-less, direct printing

libcupsfilters.so

contains CUPS Filters API functions