cups-filters-1.11.1
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.10
platform.
Package Information
CUPS Filters Dependencies
Required
Cups-2.1.4,
GLib-2.48.2, IJS-0.35, Little
CMS-2.8, Poppler-0.47.0 and Qpdf-6.0.0
Recommended
libjpeg-turbo-1.5.0, libpng-1.6.24 and LibTIFF-4.0.6
Optional
Avahi-0.6.32, OpenLDAP-2.4.44, PHP-7.0.10 (use of
this might be broken), Liblouis (Braille), and Liblouisutdml (Braille)
Required (Runtime)
ghostscript-9.19 (Needed for PostScript
printers), or Gutenprint-5.2.11 (for supported printers),
or other printer drivers
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/cups-filters
Installation of CUPS Filters
First, fix the systemd unit file to work with CUPS 2.0 and later:
sed -i "s:cups.service:org.cups.cupsd.service:g" utils/cups-browsed.service
Install CUPS Filters by running
the following commands:
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--without-rcdir \
--disable-static \
--disable-avahi \
--with-gs-path=/usr/bin/gs \
--with-pdftops-path=/usr/bin/gs \
--docdir=/usr/share/doc/cups-filters-1.11.1 &&
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
--disable-avahi
: This
switch is needed if the optional Avahi-0.6.32 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.
--with-gs-path=/usr/bin/gs
:
This switch defines the path to the GhostScript binary in case ghostscript-9.19 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.19 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:
cups-browsed, foomatic-rip (link) and
ttfread
Installed Libraries:
libcupsfilters.so and
libfontembed.so
Installed Directories:
/usr/include/{cupsfilters,fontembed},
/usr/share/cups/{braille,charsets},
/usr/share/doc/cups-filters-1.11.1 and
/usr/share/ppd/cupsfilters
Short Descriptions
cups-browsed
|
is a daemon for browsing the Bonjour and CUPS broadcasts
of shared, remote CUPS printers.
|
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.
|
Last updated on 2016-08-28 16:56:06 -0700