[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 " ">
|
---|
[4118724f] | 10 | <!ENTITY cups-filters-md5sum "d2a25d86c5abf1de8a14b81102058f99">
|
---|
[e519fef] | 11 | <!ENTITY cups-filters-size "1.4 MB">
|
---|
[1d615c21] | 12 | <!ENTITY cups-filters-buildsize "45 MB (with tests)">
|
---|
[ba8f1a8] | 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 |
|
---|
[c480c33] | 40 | &lfs7a_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"/>,
|
---|
[4118724f] | 92 | <xref linkend="gs"/>,
|
---|
[dcbd2c6] | 93 | <xref linkend="ijs"/>,
|
---|
[9d8cb37] | 94 | <xref linkend="lcms2"/>,
|
---|
[e519fef] | 95 | <xref linkend="mupdf"/> (mutool),
|
---|
[4118724f] | 96 | <xref linkend="poppler"/>, and
|
---|
[9d8cb37] | 97 | <xref linkend="qpdf"/>
|
---|
[dcbd2c6] | 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 101 | <para role="recommended">
|
---|
| 102 | <xref linkend="libjpeg"/>,
|
---|
[4b38959] | 103 | <xref linkend="libpng"/> and
|
---|
[dcbd2c6] | 104 | <xref linkend="libtiff"/>
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 108 | <para role="optional">
|
---|
[6a71920c] | 109 | <xref linkend="avahi"/>,
|
---|
[cad913e0] | 110 | <xref linkend="openldap"/>,
|
---|
[d42f02c6] | 111 | <xref linkend="php"/> (use of this might be broken),
|
---|
| 112 | <ulink url="http://liblouis.org/">Liblouis (Braille)</ulink>, and
|
---|
| 113 | <ulink url="http://liblouis.org/">Liblouisutdml (Braille)</ulink>
|
---|
[dcbd2c6] | 114 | </para>
|
---|
| 115 |
|
---|
[4118724f] | 116 | <bridgehead renderas="sect4">Optional printer drivers (runtime)</bridgehead>
|
---|
| 117 | <para role="optional">
|
---|
[8e1a075] | 118 | <xref linkend="gutenprint"/> (for supported printers),
|
---|
[4118724f] | 119 | or other printer drivers, such as <ulink
|
---|
| 120 | url="http://sourceforge.net.projects/hplip/files/hplip/">hplip</ulink>
|
---|
[dcbd2c6] | 121 | </para>
|
---|
| 122 |
|
---|
| 123 | <para condition="html" role="usernotes">
|
---|
| 124 | User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
|
---|
| 125 | </para>
|
---|
| 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | <sect2 role="installation">
|
---|
| 129 | <title>Installation of CUPS Filters</title>
|
---|
| 130 |
|
---|
[c480c33] | 131 | <para revision="systemd">
|
---|
| 132 | First, fix the systemd unit file to work with
|
---|
| 133 | <application>CUPS</application> 2.0 and later:
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <screen revision="systemd"><userinput>sed -i "s:cups.service:org.cups.cupsd.service:g" utils/cups-browsed.service</userinput></screen>
|
---|
| 137 |
|
---|
[dcbd2c6] | 138 | <para>
|
---|
| 139 | Install <application>CUPS Filters</application> by running the following
|
---|
| 140 | commands:
|
---|
| 141 | </para>
|
---|
[7b88d5a] | 142 |
|
---|
[6a71920c] | 143 | <screen><userinput>./configure \
|
---|
[7b88d5a] | 144 | --prefix=/usr \
|
---|
| 145 | --sysconfdir=/etc \
|
---|
| 146 | --localstatedir=/var \
|
---|
| 147 | --without-rcdir \
|
---|
| 148 | --disable-static \
|
---|
[03a0a638] | 149 | --disable-avahi \
|
---|
[6a71920c] | 150 | --docdir=/usr/share/doc/cups-filters-&cups-filters-version; &&
|
---|
[dcbd2c6] | 151 | make</userinput></screen>
|
---|
| 152 |
|
---|
[c480c33] | 153 | <!-- The test suite still bombs out for me. I'll leave the instructions for it
|
---|
| 154 | here though. I didn't have the Dejavu font installed, but used one of the
|
---|
| 155 | ones installed by X. -->
|
---|
| 156 |
|
---|
[dcbd2c6] | 157 | <para>
|
---|
[4118724f] | 158 | To test the results, issue:
|
---|
| 159 | <command>make check 2>&1 >testlog</command>. DejaVu fonts
|
---|
| 160 | are needed for the tests.
|
---|
[dcbd2c6] | 161 | </para>
|
---|
| 162 |
|
---|
| 163 | <para>
|
---|
| 164 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 165 | </para>
|
---|
| 166 |
|
---|
| 167 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 168 |
|
---|
[c480c33] | 169 | <para revision="systemd">
|
---|
| 170 | Install the systemd unit by running the following command as the
|
---|
| 171 | <systemitem class="username">root</systemitem> user:
|
---|
| 172 | </para>
|
---|
| 173 |
|
---|
| 174 | <screen role="root" revision="systemd"><userinput>install -v -m644 utils/cups-browsed.service /lib/systemd/system/cups-browsed.service</userinput></screen>
|
---|
| 175 |
|
---|
[dcbd2c6] | 176 | </sect2>
|
---|
| 177 |
|
---|
| 178 | <sect2 role="commands">
|
---|
| 179 | <title>Command Explanations</title>
|
---|
[a92a3a9] | 180 |
|
---|
[03a0a638] | 181 | <para>
|
---|
| 182 | <parameter>--disable-avahi</parameter>: This switch is needed
|
---|
| 183 | if the optional <xref linkend="avahi"/> is not installed. Remove
|
---|
| 184 | it if avahi is installed and you need network printer discovery
|
---|
| 185 | capabilities.
|
---|
| 186 | </para>
|
---|
| 187 |
|
---|
[cbda2a25] | 188 | <para>
|
---|
[d6da5da] | 189 | <parameter>--without-rcdir</parameter>: This switch disables
|
---|
| 190 | installation of the bundled bootscript which is not compatible
|
---|
| 191 | with BLFS.
|
---|
[cbda2a25] | 192 | </para>
|
---|
| 193 |
|
---|
[4118724f] | 194 | <!-- Those are hard dependencies now
|
---|
[dcbd2c6] | 195 | <para>
|
---|
[4118724f] | 196 | <parameter>- -with-gs-path=/usr/bin/gs</parameter>: This switch
|
---|
[dcbd2c6] | 197 | defines the path to the <application>GhostScript</application>
|
---|
| 198 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 199 | </para>
|
---|
| 200 |
|
---|
| 201 | <para>
|
---|
[4118724f] | 202 | <parameter>- -with-pdftops-path=/usr/bin/gs</parameter>: This switch
|
---|
[dcbd2c6] | 203 | defines the path to the <application>GhostScript</application>
|
---|
| 204 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 205 | </para>
|
---|
[4118724f] | 206 | -->
|
---|
[dcbd2c6] | 207 |
|
---|
[bfa09457] | 208 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 209 | href="../../xincludes/static-libraries.xml"/>
|
---|
[9e6c909] | 210 |
|
---|
[8e1a075] | 211 | <para>
|
---|
[c480c33] | 212 | <command>make check 2>&1 >testlog</command>: The testsuite
|
---|
[8e1a075] | 213 | dumps a stream of bytes into the input buffer after it finishes. Sending
|
---|
| 214 | the output to a file keeps the history usable, but some debug information
|
---|
| 215 | will still appear on the screen.
|
---|
| 216 | </para>
|
---|
| 217 |
|
---|
[e519fef] | 218 | <!-- option seems to be obsolete - configure doesn't pick it up
|
---|
[8e1a075] | 219 | <para>
|
---|
[e519fef] | 220 | <option>- -with-test-path=<replaceable>VALUE</replaceable></option>: If you wish to run the tests, but
|
---|
[8e1a075] | 221 | you do not have the default
|
---|
| 222 | <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this switch
|
---|
| 223 | to specify where <filename>DejaVuSans.ttf</filename> (or perhaps some other
|
---|
| 224 | text TTF font - untested) is located.
|
---|
| 225 | </para>
|
---|
[e519fef] | 226 | -->
|
---|
[8e1a075] | 227 |
|
---|
[dcbd2c6] | 228 | </sect2>
|
---|
| 229 |
|
---|
[cbda2a25] | 230 | <!-- TODO: Write a bootscript for cups-browsed -->
|
---|
| 231 |
|
---|
[c480c33] | 232 | <sect2 role="configuration" revision="systemd">
|
---|
| 233 | <title>Configuring CUPS Filters</title>
|
---|
| 234 |
|
---|
| 235 | <sect3 id="cups-filters-init">
|
---|
| 236 | <title>Systemd Units</title>
|
---|
| 237 |
|
---|
| 238 | <para>
|
---|
| 239 | To start the <command>cups-browsed</command> daemon at boot, enable
|
---|
| 240 | the previously installed systemd unit by running the following command
|
---|
| 241 | as the <systemitem class="username">root</systemitem> user:
|
---|
| 242 | </para>
|
---|
| 243 |
|
---|
| 244 | <indexterm zone="cups-filters cups-filters-init">
|
---|
| 245 | <primary sortas="f-cups-browsed">cups-browsed</primary>
|
---|
| 246 | </indexterm>
|
---|
| 247 |
|
---|
| 248 | <screen role="root"><userinput>systemctl enable cups-browsed</userinput></screen>
|
---|
| 249 |
|
---|
| 250 | </sect3>
|
---|
| 251 |
|
---|
| 252 | </sect2>
|
---|
| 253 |
|
---|
[dcbd2c6] | 254 | <sect2 role="content">
|
---|
| 255 | <title>Contents</title>
|
---|
| 256 |
|
---|
| 257 | <segmentedlist>
|
---|
[cbda2a25] | 258 | <segtitle>Installed Programs</segtitle>
|
---|
[dcbd2c6] | 259 | <segtitle>Installed Libraries</segtitle>
|
---|
| 260 | <segtitle>Installed Directories</segtitle>
|
---|
| 261 |
|
---|
| 262 | <seglistitem>
|
---|
| 263 | <seg>
|
---|
[e519fef] | 264 | cups-browsed, driverless, foomatic-rip (link) and ttfread
|
---|
[dcbd2c6] | 265 | </seg>
|
---|
| 266 | <seg>
|
---|
| 267 | libcupsfilters.so and libfontembed.so
|
---|
| 268 | </seg>
|
---|
| 269 | <seg>
|
---|
[7374e16] | 270 | /usr/include/{cupsfilters,fontembed},
|
---|
[d42f02c6] | 271 | /usr/share/cups/{braille,charsets},
|
---|
[dcbd2c6] | 272 | /usr/share/doc/cups-filters-&cups-filters-version; and
|
---|
[7273ffc] | 273 | /usr/share/ppd/cupsfilters
|
---|
[dcbd2c6] | 274 | </seg>
|
---|
| 275 | </seglistitem>
|
---|
| 276 | </segmentedlist>
|
---|
| 277 |
|
---|
| 278 | <variablelist>
|
---|
| 279 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 280 | <?dbfo list-presentation="list"?>
|
---|
| 281 | <?dbhtml list-presentation="table"?>
|
---|
| 282 |
|
---|
[298fee30] | 283 | <varlistentry id="cups-browsed">
|
---|
| 284 | <term><command>cups-browsed</command></term>
|
---|
[7374e16] | 285 | <listitem>
|
---|
| 286 | <para>
|
---|
[298fee30] | 287 | is a daemon for browsing the Bonjour and CUPS broadcasts of shared,
|
---|
| 288 | remote CUPS printers.
|
---|
[7374e16] | 289 | </para>
|
---|
[298fee30] | 290 | <indexterm zone="cups-filters cups-browsed">
|
---|
| 291 | <primary sortas="b-cups-browsed">cups-browsed</primary>
|
---|
[7374e16] | 292 | </indexterm>
|
---|
| 293 | </listitem>
|
---|
| 294 | </varlistentry>
|
---|
| 295 |
|
---|
[298fee30] | 296 | <varlistentry id="foomatic-rip">
|
---|
| 297 | <term><command>foomatic-rip</command></term>
|
---|
[7374e16] | 298 | <listitem>
|
---|
| 299 | <para>
|
---|
[298fee30] | 300 | is a universal print filter/RIP wrapper which can be used as CUPS
|
---|
| 301 | filter or stand-alone for spooler-less, direct printing.
|
---|
[7374e16] | 302 | </para>
|
---|
[298fee30] | 303 | <indexterm zone="cups-filters foomatic-rip">
|
---|
| 304 | <primary sortas="b-foomatic-rip">foomatic-rip</primary>
|
---|
[7374e16] | 305 | </indexterm>
|
---|
| 306 | </listitem>
|
---|
| 307 | </varlistentry>
|
---|
| 308 |
|
---|
[dcbd2c6] | 309 | <varlistentry id="libcupsfilters">
|
---|
| 310 | <term><filename class="libraryfile">libcupsfilters.so</filename></term>
|
---|
| 311 | <listitem>
|
---|
| 312 | <para>
|
---|
| 313 | contains <application>CUPS Filters</application> API functions.
|
---|
| 314 | </para>
|
---|
| 315 | <indexterm zone="cups-filters libcupsfilters">
|
---|
| 316 | <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
|
---|
| 317 | </indexterm>
|
---|
| 318 | </listitem>
|
---|
| 319 | </varlistentry>
|
---|
| 320 |
|
---|
| 321 | </variablelist>
|
---|
| 322 |
|
---|
| 323 | </sect2>
|
---|
| 324 |
|
---|
| 325 | </sect1>
|
---|