[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
|
---|
[293e9cdc] | 8 | "https://www.openprinting.org/download/cups-filters/cups-filters-&cups-filters-version;.tar.xz">
|
---|
[dcbd2c6] | 9 | <!ENTITY cups-filters-download-ftp " ">
|
---|
[9a3e4ba] | 10 | <!ENTITY cups-filters-md5sum "a32a83aef1808e4ccabad96a593a9f89">
|
---|
[293e9cdc] | 11 | <!ENTITY cups-filters-size "1.4 MB">
|
---|
| 12 | <!ENTITY cups-filters-buildsize "50 MB (with tests)">
|
---|
| 13 | <!ENTITY cups-filters-time "0.4 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 |
|
---|
[293e9cdc] | 40 | &lfs78_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>
|
---|
[293e9cdc] | 75 | <!--
|
---|
| 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 77 | <itemizedlist spacing="compact">
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>
|
---|
| 80 | Required patch:
|
---|
| 81 | <ulink url="&patch-root;/cups-filters-&cups-filters-version;-poppler0340-1.patch"/>
|
---|
| 82 | </para>
|
---|
| 83 | </listitem>
|
---|
| 84 | </itemizedlist>-->
|
---|
[dcbd2c6] | 85 |
|
---|
| 86 | <bridgehead renderas="sect3">CUPS Filters Dependencies</bridgehead>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 89 | <para role="required">
|
---|
[f37e5cf4] | 90 | <xref linkend="avahi"/>,
|
---|
[dcbd2c6] | 91 | <xref linkend="cups"/>,
|
---|
[f473955b] | 92 | <xref linkend="glib2"/>,
|
---|
[dcbd2c6] | 93 | <xref linkend="ijs"/>,
|
---|
[9d8cb37] | 94 | <xref linkend="lcms2"/>,
|
---|
[4b38959] | 95 | <xref linkend="poppler"/> and
|
---|
[9d8cb37] | 96 | <xref linkend="qpdf"/>
|
---|
[dcbd2c6] | 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 100 | <para role="recommended">
|
---|
| 101 | <xref linkend="libjpeg"/>,
|
---|
[4b38959] | 102 | <xref linkend="libpng"/> and
|
---|
[dcbd2c6] | 103 | <xref linkend="libtiff"/>
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 107 | <para role="optional">
|
---|
[293e9cdc] | 108 | <xref linkend="openldap"/>,
|
---|
| 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 |
|
---|
[ac38e9dc] | 129 | <para>
|
---|
| 130 | First, fix the systemd unit file to work with
|
---|
| 131 | <application>CUPS</application> 2.0 and later:
|
---|
| 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <screen><userinput>sed -i "s:cups.service:org.cups.cupsd.service:g" utils/cups-browsed.service</userinput></screen>
|
---|
| 135 |
|
---|
[dcbd2c6] | 136 | <para>
|
---|
| 137 | Install <application>CUPS Filters</application> by running the following
|
---|
| 138 | commands:
|
---|
| 139 | </para>
|
---|
| 140 |
|
---|
[293e9cdc] | 141 | <screen><userinput>./configure \
|
---|
| 142 | --prefix=/usr \
|
---|
| 143 | --sysconfdir=/etc \
|
---|
| 144 | --localstatedir=/var \
|
---|
| 145 | --without-rcdir \
|
---|
| 146 | --disable-static \
|
---|
| 147 | --with-gs-path=/usr/bin/gs \
|
---|
| 148 | --with-pdftops-path=/usr/bin/gs \
|
---|
| 149 | --docdir=/usr/share/doc/cups-filters-&cups-filters-version; &&
|
---|
[dcbd2c6] | 150 | make</userinput></screen>
|
---|
| 151 |
|
---|
| 152 | <para>
|
---|
[293e9cdc] | 153 | To test the results, issue:
|
---|
| 154 | <command>make check 2>&1 >testlog</command>.
|
---|
[dcbd2c6] | 155 | </para>
|
---|
| 156 |
|
---|
| 157 | <para>
|
---|
| 158 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 159 | </para>
|
---|
| 160 |
|
---|
| 161 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 162 |
|
---|
[c2bcc50] | 163 | <para>
|
---|
| 164 | Install the systemd unit by running the following command as the
|
---|
| 165 | <systemitem class="username">root</systemitem> user:
|
---|
| 166 | </para>
|
---|
| 167 |
|
---|
| 168 | <screen role="root"><userinput>install -v -m644 utils/cups-browsed.service /lib/systemd/system/cups-browsed.service</userinput></screen>
|
---|
| 169 |
|
---|
[dcbd2c6] | 170 | </sect2>
|
---|
| 171 |
|
---|
| 172 | <sect2 role="commands">
|
---|
| 173 | <title>Command Explanations</title>
|
---|
| 174 |
|
---|
[cbda2a25] | 175 | <para>
|
---|
[d6da5da] | 176 | <parameter>--without-rcdir</parameter>: This switch disables
|
---|
| 177 | installation of the bundled bootscript which is not compatible
|
---|
| 178 | with BLFS.
|
---|
[cbda2a25] | 179 | </para>
|
---|
| 180 |
|
---|
[dcbd2c6] | 181 | <para>
|
---|
| 182 | <parameter>--with-gs-path=/usr/bin/gs</parameter>: This switch
|
---|
| 183 | defines the path to the <application>GhostScript</application>
|
---|
| 184 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 185 | </para>
|
---|
| 186 |
|
---|
| 187 | <para>
|
---|
| 188 | <parameter>--with-pdftops-path=/usr/bin/gs</parameter>: This switch
|
---|
| 189 | defines the path to the <application>GhostScript</application>
|
---|
| 190 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 191 | </para>
|
---|
| 192 |
|
---|
[bfa09457] | 193 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 194 | href="../../xincludes/static-libraries.xml"/>
|
---|
[293e9cdc] | 195 | <para>
|
---|
| 196 | <command>make check 2>&1 >testlog</command>: the testsuite
|
---|
| 197 | dumps a stream of bytes into the input buffer after it finishes. Sending
|
---|
| 198 | the output to a file keeps the history usable, but some debug information
|
---|
| 199 | will still appear on the screen.
|
---|
| 200 | </para>
|
---|
| 201 |
|
---|
| 202 | <para>
|
---|
| 203 | <option>--with-test-path=<replaceable>VALUE</replaceable></option> : if
|
---|
| 204 | you wish to run the tests, but you do not have the default
|
---|
| 205 | <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this
|
---|
| 206 | switch to specify where <filename>DejaVuSans.ttf</filename> (or perhaps
|
---|
| 207 | some other text TTF font - untested) is located.
|
---|
| 208 | </para>
|
---|
[9e6c909] | 209 |
|
---|
[dcbd2c6] | 210 | </sect2>
|
---|
| 211 |
|
---|
[c2bcc50] | 212 | <sect2 role="configuration">
|
---|
| 213 | <title>Configuring Cups Filters</title>
|
---|
| 214 |
|
---|
| 215 | <sect3 id="cups-filters-init">
|
---|
| 216 | <title>Systemd Units</title>
|
---|
| 217 |
|
---|
| 218 | <para>
|
---|
| 219 | To start the <command>cups-browsed</command> daemon at boot, enable
|
---|
| 220 | the previously installed systemd unit by running the following command
|
---|
| 221 | as the <systemitem class="username">root</systemitem> user:
|
---|
| 222 | </para>
|
---|
| 223 |
|
---|
| 224 | <indexterm zone="cups-filters cups-filters-init">
|
---|
| 225 | <primary sortas="f-cups-browsed">cups-browsed</primary>
|
---|
| 226 | </indexterm>
|
---|
| 227 |
|
---|
| 228 | <screen role="root"><userinput>systemctl enable cups-browsed</userinput></screen>
|
---|
| 229 |
|
---|
| 230 | </sect3>
|
---|
| 231 |
|
---|
| 232 | </sect2>
|
---|
[cbda2a25] | 233 |
|
---|
[dcbd2c6] | 234 | <sect2 role="content">
|
---|
| 235 | <title>Contents</title>
|
---|
| 236 |
|
---|
| 237 | <segmentedlist>
|
---|
[cbda2a25] | 238 | <segtitle>Installed Programs</segtitle>
|
---|
[dcbd2c6] | 239 | <segtitle>Installed Libraries</segtitle>
|
---|
| 240 | <segtitle>Installed Directories</segtitle>
|
---|
| 241 |
|
---|
| 242 | <seglistitem>
|
---|
| 243 | <seg>
|
---|
[293e9cdc] | 244 | cups-browsed, foomatic-rip (link) and ttfread
|
---|
[dcbd2c6] | 245 | </seg>
|
---|
| 246 | <seg>
|
---|
| 247 | libcupsfilters.so and libfontembed.so
|
---|
| 248 | </seg>
|
---|
| 249 | <seg>
|
---|
[ac38e9dc] | 250 | /usr/include/{cupsfilters,fontembed},
|
---|
[293e9cdc] | 251 | /usr/share/cups/{braille,charsets},
|
---|
[dcbd2c6] | 252 | /usr/share/doc/cups-filters-&cups-filters-version; and
|
---|
[7273ffc] | 253 | /usr/share/ppd/cupsfilters
|
---|
[dcbd2c6] | 254 | </seg>
|
---|
| 255 | </seglistitem>
|
---|
| 256 | </segmentedlist>
|
---|
| 257 |
|
---|
| 258 | <variablelist>
|
---|
| 259 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 260 | <?dbfo list-presentation="list"?>
|
---|
| 261 | <?dbhtml list-presentation="table"?>
|
---|
| 262 |
|
---|
[8770a48] | 263 | <varlistentry id="cups-browsed">
|
---|
| 264 | <term><command>cups-browsed</command></term>
|
---|
[ac38e9dc] | 265 | <listitem>
|
---|
| 266 | <para>
|
---|
[8770a48] | 267 | is a daemon for browsing the Bonjour and CUPS broadcasts of shared,
|
---|
| 268 | remote CUPS printers.
|
---|
[ac38e9dc] | 269 | </para>
|
---|
[8770a48] | 270 | <indexterm zone="cups-filters cups-browsed">
|
---|
| 271 | <primary sortas="b-cups-browsed">cups-browsed</primary>
|
---|
[ac38e9dc] | 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
[8770a48] | 276 | <varlistentry id="foomatic-rip">
|
---|
| 277 | <term><command>foomatic-rip</command></term>
|
---|
[ac38e9dc] | 278 | <listitem>
|
---|
| 279 | <para>
|
---|
[8770a48] | 280 | is a universal print filter/RIP wrapper which can be used as CUPS
|
---|
| 281 | filter or stand-alone for spooler-less, direct printing.
|
---|
[ac38e9dc] | 282 | </para>
|
---|
[8770a48] | 283 | <indexterm zone="cups-filters foomatic-rip">
|
---|
| 284 | <primary sortas="b-foomatic-rip">foomatic-rip</primary>
|
---|
[ac38e9dc] | 285 | </indexterm>
|
---|
| 286 | </listitem>
|
---|
| 287 | </varlistentry>
|
---|
| 288 |
|
---|
[dcbd2c6] | 289 | <varlistentry id="libcupsfilters">
|
---|
| 290 | <term><filename class="libraryfile">libcupsfilters.so</filename></term>
|
---|
| 291 | <listitem>
|
---|
| 292 | <para>
|
---|
| 293 | contains <application>CUPS Filters</application> API functions.
|
---|
| 294 | </para>
|
---|
| 295 | <indexterm zone="cups-filters libcupsfilters">
|
---|
| 296 | <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
|
---|
| 297 | </indexterm>
|
---|
| 298 | </listitem>
|
---|
| 299 | </varlistentry>
|
---|
| 300 |
|
---|
| 301 | </variablelist>
|
---|
| 302 |
|
---|
| 303 | </sect2>
|
---|
| 304 |
|
---|
| 305 | </sect1>
|
---|