cups-filters-1.0.58

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-7.6 systemd platform.

Package Information

CUPS Filters Dependencies

Required

Cups-1.7.5, GLib-2.40.0, IJS-0.35, Little CMS-2.6, Poppler-0.26.4 and Qpdf-5.1.2

Recommended

Optional

Avahi-0.6.31, PHP-5.6.0 (use of this might be broken) and acroread

Required (Runtime)

ghostscript-9.14 (Needed for PostScript printers), or Gutenprint-5.2.10 (for supported printers), or other printer drivers

User Notes: http://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                        \
            --docdir=/usr/share/doc/cups-filters-1.0.58 \
            --without-rcdir                             \
            --with-gs-path=/usr/bin/gs                  \
            --with-pdftops-path=/usr/bin/gs             \
            --disable-static                            &&
make

To test the results, issue: make check 2>&1 >testlog.

Now, as the root user:

make install

Install the systemd unit by running the following command as the root user:

install -v -m644 utils/cups-browsed.service /lib/systemd/system/cups-browsed.service

Command Explanations

--without-rcdir: This switch disables installation of the bundled bootscript which is not compatible with BLFS.

--with-gs-path=/usr/bin/gs: This switch defines the path to the GhostScript binary in case ghostscript-9.14 is not installed at build time.

--with-pdftops-path=/usr/bin/gs: This switch defines the path to the GhostScript binary in case ghostscript-9.14 is not installed at build time.

--disable-static: This switch prevents installation of static versions of the libraries.

make check 2>&1 >testlog: the testsuite dumps a stream of bytes into the input buffer after it finishes. Sending the output to a file keeps the history usable, but some debug information will still appear on the screen.

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

Configuring Cups Filters

Systemd Units

To start the cups-browsed daemon at boot, enable the previously installed systemd unit by running the following command as the root user:

systemctl enable cups-browsed

Contents

Installed Programs: ttfread and cups-browsed
Installed Libraries: libcupsfilters.so and libfontembed.so
Installed Directories: /usr/include/cupsfilters, /usr/include/fontembed, /usr/lib/cups/backend, /usr/lib/cups/filter, /usr/share/cups/banners, /usr/share/cups/charsets, /usr/share/cups/data, /usr/share/doc/cups-filters-1.0.58 and /usr/share/ppd/cupsfilters

Short Descriptions

libcupsfilters.so

contains CUPS Filters API functions.

Last updated on 2014-09-21 21:40:36 -0700