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