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