[dcbd2c6] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[b26bc4c] | 7 | <!ENTITY cups-filters-download-http
|
---|
[4634c7a] | 8 | "https://www.openprinting.org/download/cups-filters/cups-filters-&cups-filters-version;.tar.xz">
|
---|
[dcbd2c6] | 9 | <!ENTITY cups-filters-download-ftp " ">
|
---|
[ff178b4] | 10 | <!ENTITY cups-filters-md5sum "f9e268451b496f0c851f2aa6b660c70d">
|
---|
[21540b2] | 11 | <!ENTITY cups-filters-size "1.3 MB">
|
---|
| 12 | <!ENTITY cups-filters-buildsize "40 MB (with tests)">
|
---|
[ff178b4] | 13 | <!ENTITY cups-filters-time "0.5 SBU (with tests)">
|
---|
[dcbd2c6] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="cups-filters" xreflabel="cups-filters-&cups-filters-version;">
|
---|
| 17 | <?dbhtml filename="cups-filters.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>cups-filters-&cups-filters-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="cups-filters">
|
---|
| 27 | <primary sortas="a-cups-filters">cups-filters</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to CUPS Filters</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | The <application>CUPS Filters</application> package contains backends,
|
---|
| 35 | filters and other software that was once part of the core
|
---|
| 36 | <application>CUPS</application> distribution but is no longer
|
---|
| 37 | maintained by Apple Inc.
|
---|
| 38 | </para>
|
---|
| 39 |
|
---|
[ff178b4] | 40 | &lfs79_checked;&gcc6_checked;
|
---|
[dcbd2c6] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&cups-filters-download-http;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&cups-filters-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download MD5 sum: &cups-filters-md5sum;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Download size: &cups-filters-size;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated disk space required: &cups-filters-buildsize;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Estimated build time: &cups-filters-time;
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
[6a71920c] | 75 | <!--
|
---|
[a92a3a9] | 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 77 | <itemizedlist spacing="compact">
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>
|
---|
| 80 | Required patch:
|
---|
[7b88d5a] | 81 | <ulink url="&patch-root;/cups-filters-&cups-filters-version;-poppler0340-1.patch"/>
|
---|
[a92a3a9] | 82 | </para>
|
---|
| 83 | </listitem>
|
---|
[6a71920c] | 84 | </itemizedlist>-->
|
---|
[7b88d5a] | 85 |
|
---|
[dcbd2c6] | 86 | <bridgehead renderas="sect3">CUPS Filters Dependencies</bridgehead>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 89 | <para role="required">
|
---|
| 90 | <xref linkend="cups"/>,
|
---|
[f473955] | 91 | <xref linkend="glib2"/>,
|
---|
[dcbd2c6] | 92 | <xref linkend="ijs"/>,
|
---|
[9d8cb37] | 93 | <xref linkend="lcms2"/>,
|
---|
[4b38959] | 94 | <xref linkend="poppler"/> and
|
---|
[9d8cb37] | 95 | <xref linkend="qpdf"/>
|
---|
[dcbd2c6] | 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 99 | <para role="recommended">
|
---|
| 100 | <xref linkend="libjpeg"/>,
|
---|
[4b38959] | 101 | <xref linkend="libpng"/> and
|
---|
[dcbd2c6] | 102 | <xref linkend="libtiff"/>
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
| 105 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 106 | <para role="optional">
|
---|
[6a71920c] | 107 | <xref linkend="avahi"/>,
|
---|
[cad913e0] | 108 | <xref linkend="openldap"/>,
|
---|
[d42f02c6] | 109 | <xref linkend="php"/> (use of this might be broken),
|
---|
| 110 | <ulink url="http://liblouis.org/">Liblouis (Braille)</ulink>, and
|
---|
| 111 | <ulink url="http://liblouis.org/">Liblouisutdml (Braille)</ulink>
|
---|
[dcbd2c6] | 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <bridgehead renderas="sect4">Required (Runtime)</bridgehead>
|
---|
[f28636c] | 115 | <para role="required runtime">
|
---|
[8e1a075] | 116 | <xref linkend="gs"/> (Needed for PostScript printers), or
|
---|
| 117 | <xref linkend="gutenprint"/> (for supported printers),
|
---|
| 118 | or other printer drivers
|
---|
[dcbd2c6] | 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <para condition="html" role="usernotes">
|
---|
| 122 | User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
|
---|
| 123 | </para>
|
---|
| 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="installation">
|
---|
| 127 | <title>Installation of CUPS Filters</title>
|
---|
| 128 |
|
---|
| 129 | <para>
|
---|
| 130 | Install <application>CUPS Filters</application> by running the following
|
---|
| 131 | commands:
|
---|
| 132 | </para>
|
---|
[7b88d5a] | 133 |
|
---|
[6a71920c] | 134 | <screen><userinput>./configure \
|
---|
[7b88d5a] | 135 | --prefix=/usr \
|
---|
| 136 | --sysconfdir=/etc \
|
---|
| 137 | --localstatedir=/var \
|
---|
| 138 | --without-rcdir \
|
---|
| 139 | --disable-static \
|
---|
[03a0a638] | 140 | --disable-avahi \
|
---|
[7b88d5a] | 141 | --with-gs-path=/usr/bin/gs \
|
---|
| 142 | --with-pdftops-path=/usr/bin/gs \
|
---|
[6a71920c] | 143 | --docdir=/usr/share/doc/cups-filters-&cups-filters-version; &&
|
---|
[dcbd2c6] | 144 | make</userinput></screen>
|
---|
| 145 |
|
---|
| 146 | <para>
|
---|
[8e1a075] | 147 | To test the results, issue: <command>make check 2>&1 >testlog</command>.
|
---|
[dcbd2c6] | 148 | </para>
|
---|
| 149 |
|
---|
| 150 | <para>
|
---|
| 151 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 152 | </para>
|
---|
| 153 |
|
---|
| 154 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 155 |
|
---|
| 156 | </sect2>
|
---|
| 157 |
|
---|
| 158 | <sect2 role="commands">
|
---|
| 159 | <title>Command Explanations</title>
|
---|
[a92a3a9] | 160 |
|
---|
[03a0a638] | 161 | <para>
|
---|
| 162 | <parameter>--disable-avahi</parameter>: This switch is needed
|
---|
| 163 | if the optional <xref linkend="avahi"/> is not installed. Remove
|
---|
| 164 | it if avahi is installed and you need network printer discovery
|
---|
| 165 | capabilities.
|
---|
| 166 | </para>
|
---|
| 167 |
|
---|
[cbda2a25] | 168 | <para>
|
---|
[d6da5da] | 169 | <parameter>--without-rcdir</parameter>: This switch disables
|
---|
| 170 | installation of the bundled bootscript which is not compatible
|
---|
| 171 | with BLFS.
|
---|
[cbda2a25] | 172 | </para>
|
---|
| 173 |
|
---|
[dcbd2c6] | 174 | <para>
|
---|
| 175 | <parameter>--with-gs-path=/usr/bin/gs</parameter>: This switch
|
---|
| 176 | defines the path to the <application>GhostScript</application>
|
---|
| 177 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 178 | </para>
|
---|
| 179 |
|
---|
| 180 | <para>
|
---|
| 181 | <parameter>--with-pdftops-path=/usr/bin/gs</parameter>: This switch
|
---|
| 182 | defines the path to the <application>GhostScript</application>
|
---|
| 183 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 184 | </para>
|
---|
| 185 |
|
---|
[bfa09457] | 186 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 187 | href="../../xincludes/static-libraries.xml"/>
|
---|
[9e6c909] | 188 |
|
---|
[8e1a075] | 189 | <para>
|
---|
[bfa09457] | 190 | <command>make check 2>&1 >testlog</command>: the testsuite
|
---|
[8e1a075] | 191 | dumps a stream of bytes into the input buffer after it finishes. Sending
|
---|
| 192 | the output to a file keeps the history usable, but some debug information
|
---|
| 193 | will still appear on the screen.
|
---|
| 194 | </para>
|
---|
| 195 |
|
---|
| 196 | <para>
|
---|
[8f7e0e7] | 197 | <option>--with-test-path=<replaceable>VALUE</replaceable></option> : if you wish to run the tests, but
|
---|
[8e1a075] | 198 | you do not have the default
|
---|
| 199 | <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this switch
|
---|
| 200 | to specify where <filename>DejaVuSans.ttf</filename> (or perhaps some other
|
---|
| 201 | text TTF font - untested) is located.
|
---|
| 202 | </para>
|
---|
| 203 |
|
---|
[dcbd2c6] | 204 | </sect2>
|
---|
| 205 |
|
---|
[cbda2a25] | 206 | <!-- TODO: Write a bootscript for cups-browsed -->
|
---|
| 207 |
|
---|
[dcbd2c6] | 208 | <sect2 role="content">
|
---|
| 209 | <title>Contents</title>
|
---|
| 210 |
|
---|
| 211 | <segmentedlist>
|
---|
[cbda2a25] | 212 | <segtitle>Installed Programs</segtitle>
|
---|
[dcbd2c6] | 213 | <segtitle>Installed Libraries</segtitle>
|
---|
| 214 | <segtitle>Installed Directories</segtitle>
|
---|
| 215 |
|
---|
| 216 | <seglistitem>
|
---|
| 217 | <seg>
|
---|
[298fee30] | 218 | cups-browsed, foomatic-rip (link) and ttfread
|
---|
[dcbd2c6] | 219 | </seg>
|
---|
| 220 | <seg>
|
---|
| 221 | libcupsfilters.so and libfontembed.so
|
---|
| 222 | </seg>
|
---|
| 223 | <seg>
|
---|
[7374e16] | 224 | /usr/include/{cupsfilters,fontembed},
|
---|
[d42f02c6] | 225 | /usr/share/cups/{braille,charsets},
|
---|
[dcbd2c6] | 226 | /usr/share/doc/cups-filters-&cups-filters-version; and
|
---|
[7273ffc] | 227 | /usr/share/ppd/cupsfilters
|
---|
[dcbd2c6] | 228 | </seg>
|
---|
| 229 | </seglistitem>
|
---|
| 230 | </segmentedlist>
|
---|
| 231 |
|
---|
| 232 | <variablelist>
|
---|
| 233 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 234 | <?dbfo list-presentation="list"?>
|
---|
| 235 | <?dbhtml list-presentation="table"?>
|
---|
| 236 |
|
---|
[298fee30] | 237 | <varlistentry id="cups-browsed">
|
---|
| 238 | <term><command>cups-browsed</command></term>
|
---|
[7374e16] | 239 | <listitem>
|
---|
| 240 | <para>
|
---|
[298fee30] | 241 | is a daemon for browsing the Bonjour and CUPS broadcasts of shared,
|
---|
| 242 | remote CUPS printers.
|
---|
[7374e16] | 243 | </para>
|
---|
[298fee30] | 244 | <indexterm zone="cups-filters cups-browsed">
|
---|
| 245 | <primary sortas="b-cups-browsed">cups-browsed</primary>
|
---|
[7374e16] | 246 | </indexterm>
|
---|
| 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
| 249 |
|
---|
[298fee30] | 250 | <varlistentry id="foomatic-rip">
|
---|
| 251 | <term><command>foomatic-rip</command></term>
|
---|
[7374e16] | 252 | <listitem>
|
---|
| 253 | <para>
|
---|
[298fee30] | 254 | is a universal print filter/RIP wrapper which can be used as CUPS
|
---|
| 255 | filter or stand-alone for spooler-less, direct printing.
|
---|
[7374e16] | 256 | </para>
|
---|
[298fee30] | 257 | <indexterm zone="cups-filters foomatic-rip">
|
---|
| 258 | <primary sortas="b-foomatic-rip">foomatic-rip</primary>
|
---|
[7374e16] | 259 | </indexterm>
|
---|
| 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
| 262 |
|
---|
[dcbd2c6] | 263 | <varlistentry id="libcupsfilters">
|
---|
| 264 | <term><filename class="libraryfile">libcupsfilters.so</filename></term>
|
---|
| 265 | <listitem>
|
---|
| 266 | <para>
|
---|
| 267 | contains <application>CUPS Filters</application> API functions.
|
---|
| 268 | </para>
|
---|
| 269 | <indexterm zone="cups-filters libcupsfilters">
|
---|
| 270 | <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
|
---|
| 271 | </indexterm>
|
---|
| 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 |
|
---|
| 275 | </variablelist>
|
---|
| 276 |
|
---|
| 277 | </sect2>
|
---|
| 278 |
|
---|
| 279 | </sect1>
|
---|