[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 " ">
|
---|
[2cc15a2b] | 10 | <!ENTITY cups-filters-md5sum "24bed15110499fd652d65d6baab85ca6">
|
---|
[db6385b] | 11 | <!ENTITY cups-filters-size "1.4 MB">
|
---|
[2cc15a2b] | 12 | <!ENTITY cups-filters-buildsize "56 MB (with tests), 16 MB installed">
|
---|
[59eea9d] | 13 | <!ENTITY cups-filters-time "0.2 SBU (Using parallelism=4; with tests)">
|
---|
[dcbd2c6] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="cups-filters" xreflabel="cups-filters-&cups-filters-version;">
|
---|
| 17 | <?dbhtml filename="cups-filters.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | <title>cups-filters-&cups-filters-version;</title>
|
---|
| 21 |
|
---|
| 22 | <indexterm zone="cups-filters">
|
---|
| 23 | <primary sortas="a-cups-filters">cups-filters</primary>
|
---|
| 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to CUPS Filters</title>
|
---|
| 28 |
|
---|
| 29 | <para>
|
---|
| 30 | The <application>CUPS Filters</application> package contains backends,
|
---|
| 31 | filters and other software that was once part of the core
|
---|
| 32 | <application>CUPS</application> distribution but is no longer
|
---|
| 33 | maintained by Apple Inc.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[2cc15a2b] | 36 | &lfs112_checked;
|
---|
[dcbd2c6] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&cups-filters-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&cups-filters-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &cups-filters-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &cups-filters-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &cups-filters-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &cups-filters-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
[2f1053c] | 71 |
|
---|
[dcbd2c6] | 72 | <bridgehead renderas="sect3">CUPS Filters Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para role="required">
|
---|
| 76 | <xref linkend="cups"/>,
|
---|
[f473955b] | 77 | <xref linkend="glib2"/>,
|
---|
[4118724f] | 78 | <xref linkend="gs"/>,
|
---|
[9d8cb37] | 79 | <xref linkend="lcms2"/>,
|
---|
[4118724f] | 80 | <xref linkend="poppler"/>, and
|
---|
[9d8cb37] | 81 | <xref linkend="qpdf"/>
|
---|
[dcbd2c6] | 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 85 | <para role="recommended">
|
---|
[681cda1] | 86 | <xref linkend="dejavu-fonts"/> (the build fails if they are not
|
---|
| 87 | installed, although they are only required for the tests),
|
---|
[2cc15a2b] | 88 | <xref linkend="libexif"/>,
|
---|
[dcbd2c6] | 89 | <xref linkend="libjpeg"/>,
|
---|
[10cbf37] | 90 | <xref linkend="libpng"/>,
|
---|
[681cda1] | 91 | <xref linkend="libtiff"/>, and
|
---|
[2f727d8f] | 92 | <xref linkend="mupdf"/> (mutool)
|
---|
[dcbd2c6] | 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 96 | <para role="optional">
|
---|
[681cda1] | 97 | <xref linkend="avahi"/> (required to build the DNSSD backend of the
|
---|
| 98 | <command>cups-browsed</command> daemon, which is needed for operating
|
---|
| 99 | some network printers),
|
---|
[cad913e0] | 100 | <xref linkend="openldap"/>,
|
---|
[d42f02c6] | 101 | <xref linkend="php"/> (use of this might be broken),
|
---|
[75b1a338] | 102 | <ulink url="https://liblouis.github.io/downloads/">Liblouis (Braille)</ulink>, and
|
---|
| 103 | <ulink url="https://liblouis.github.io/downloads/">Liblouisutdml (Braille)</ulink>
|
---|
[dcbd2c6] | 104 | </para>
|
---|
| 105 |
|
---|
[4118724f] | 106 | <bridgehead renderas="sect4">Optional printer drivers (runtime)</bridgehead>
|
---|
| 107 | <para role="optional">
|
---|
[f5cdf41] | 108 | <xref role="runtime" linkend="gutenprint"/> (for supported printers),
|
---|
| 109 | or other printer drivers, such as <ulink role="runtime"
|
---|
[c6b192c] | 110 | url="https://sourceforge.net/projects/hplip/files/hplip/">hplip</ulink>
|
---|
[dcbd2c6] | 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <para condition="html" role="usernotes">
|
---|
| 114 | User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
|
---|
| 115 | </para>
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="installation">
|
---|
| 119 | <title>Installation of CUPS Filters</title>
|
---|
| 120 |
|
---|
[53e1509] | 121 | <!--
|
---|
[c480c33] | 122 | <para revision="systemd">
|
---|
| 123 | First, fix the systemd unit file to work with
|
---|
| 124 | <application>CUPS</application> 2.0 and later:
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <screen revision="systemd"><userinput>sed -i "s:cups.service:org.cups.cupsd.service:g" utils/cups-browsed.service</userinput></screen>
|
---|
[53e1509] | 128 | -->
|
---|
[c480c33] | 129 |
|
---|
[dcbd2c6] | 130 | <para>
|
---|
| 131 | Install <application>CUPS Filters</application> by running the following
|
---|
| 132 | commands:
|
---|
| 133 | </para>
|
---|
[7b88d5a] | 134 |
|
---|
[0791109e] | 135 | <screen><userinput>./configure --prefix=/usr \
|
---|
[83dc192] | 136 | --sysconfdir=/etc \
|
---|
| 137 | --localstatedir=/var \
|
---|
| 138 | --without-rcdir \
|
---|
| 139 | --disable-static \
|
---|
| 140 | --disable-avahi \
|
---|
| 141 | --docdir=/usr/share/doc/cups-filters-&cups-filters-version; &&
|
---|
[dcbd2c6] | 142 | make</userinput></screen>
|
---|
| 143 |
|
---|
[c480c33] | 144 | <!-- The test suite still bombs out for me. I'll leave the instructions for it
|
---|
| 145 | here though. I didn't have the Dejavu font installed, but used one of the
|
---|
[3bb415b] | 146 | ones installed by X.
|
---|
| 147 | Version 1.16.0: test worked for me with "make check >testlog 2>&1",
|
---|
[747fcf5] | 148 | that is, the other way around. I have DejaVu fonts. Pierre L
|
---|
[8558044] | 149 | With 1.17.2 (and DejaVu) the test output is clean, no need for a log. Ken
|
---|
| 150 |
|
---|
[db6385b] | 151 | Tests are clean for version 1.21.0 (and version 1.21.5): - Bruce
|
---|
[8558044] | 152 | # TOTAL: 6
|
---|
| 153 | # PASS: 6
|
---|
| 154 | real 0m2.504s -->
|
---|
[c480c33] | 155 |
|
---|
[dcbd2c6] | 156 | <para>
|
---|
[4118724f] | 157 | To test the results, issue:
|
---|
[6213b66] | 158 | <!--<command>make check >testlog 2>&1</command>.-->
|
---|
[747fcf5] | 159 | <command>make check</command>. DejaVu fonts
|
---|
[4118724f] | 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>
|
---|
[cfc1f98] | 180 |
|
---|
[10cbf37] | 181 | <!-- please comment this if no patches are currently needed -->
|
---|
[1c459bf2] | 182 | <!--<para>
|
---|
[10cbf37] | 183 | <parameter>patch -Np1 -i ../cups-filters-&cups-filters-version;-poppler71-1.patch</parameter>:
|
---|
[2f1053c] | 184 | Conditionally apply changes for recent versions of poppler.
|
---|
[8558044] | 185 | </para>
|
---|
[1c459bf2] | 186 | Poppler-0.72.0, cups-filters-1.21.5 - no longer needed.-->
|
---|
[cfc1f98] | 187 |
|
---|
[03a0a638] | 188 | <para>
|
---|
| 189 | <parameter>--disable-avahi</parameter>: This switch is needed
|
---|
| 190 | if the optional <xref linkend="avahi"/> is not installed. Remove
|
---|
| 191 | it if avahi is installed and you need network printer discovery
|
---|
| 192 | capabilities.
|
---|
| 193 | </para>
|
---|
| 194 |
|
---|
[cbda2a25] | 195 | <para>
|
---|
[d6da5da] | 196 | <parameter>--without-rcdir</parameter>: This switch disables
|
---|
| 197 | installation of the bundled bootscript which is not compatible
|
---|
| 198 | with BLFS.
|
---|
[cbda2a25] | 199 | </para>
|
---|
| 200 |
|
---|
[4118724f] | 201 | <!-- Those are hard dependencies now
|
---|
[dcbd2c6] | 202 | <para>
|
---|
[4118724f] | 203 | <parameter>- -with-gs-path=/usr/bin/gs</parameter>: This switch
|
---|
[dcbd2c6] | 204 | defines the path to the <application>GhostScript</application>
|
---|
| 205 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 206 | </para>
|
---|
| 207 |
|
---|
| 208 | <para>
|
---|
[4118724f] | 209 | <parameter>- -with-pdftops-path=/usr/bin/gs</parameter>: This switch
|
---|
[dcbd2c6] | 210 | defines the path to the <application>GhostScript</application>
|
---|
| 211 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 212 | </para>
|
---|
[4118724f] | 213 | -->
|
---|
[dcbd2c6] | 214 |
|
---|
[bfa09457] | 215 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 216 | href="../../xincludes/static-libraries.xml"/>
|
---|
[39555dd] | 217 | <!--
|
---|
[2f1053c] | 218 | <para>
|
---|
[39555dd] | 219 | <option>- -enable-ijs</option>: This switch will allow the pdftoijs
|
---|
[2f1053c] | 220 | filter, for sending PDFs to an HP InkJet Server, to be built.
|
---|
| 221 | </para>
|
---|
[39555dd] | 222 | -->
|
---|
[2f1053c] | 223 |
|
---|
[8e1a075] | 224 | <para>
|
---|
[681cda1] | 225 | <option>--with-test-font-path=<replaceable>VALUE</replaceable></option>:
|
---|
| 226 | If you wish to run the tests, but
|
---|
[8e1a075] | 227 | you do not have the default
|
---|
[681cda1] | 228 | <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this
|
---|
| 229 | switch to specify where <filename>DejaVuSans.ttf</filename> (or perhaps
|
---|
| 230 | some other text TTF font - untested) is located.
|
---|
[8e1a075] | 231 | </para>
|
---|
[681cda1] | 232 |
|
---|
[8e1a075] | 233 |
|
---|
[dcbd2c6] | 234 | </sect2>
|
---|
| 235 |
|
---|
[cbda2a25] | 236 | <!-- TODO: Write a bootscript for cups-browsed -->
|
---|
| 237 |
|
---|
[c480c33] | 238 | <sect2 role="configuration" revision="systemd">
|
---|
| 239 | <title>Configuring CUPS Filters</title>
|
---|
| 240 |
|
---|
| 241 | <sect3 id="cups-filters-init">
|
---|
| 242 | <title>Systemd Units</title>
|
---|
| 243 |
|
---|
| 244 | <para>
|
---|
| 245 | To start the <command>cups-browsed</command> daemon at boot, enable
|
---|
| 246 | the previously installed systemd unit by running the following command
|
---|
| 247 | as the <systemitem class="username">root</systemitem> user:
|
---|
| 248 | </para>
|
---|
| 249 |
|
---|
| 250 | <indexterm zone="cups-filters cups-filters-init">
|
---|
| 251 | <primary sortas="f-cups-browsed">cups-browsed</primary>
|
---|
| 252 | </indexterm>
|
---|
| 253 |
|
---|
| 254 | <screen role="root"><userinput>systemctl enable cups-browsed</userinput></screen>
|
---|
| 255 |
|
---|
| 256 | </sect3>
|
---|
[8558044] | 257 |
|
---|
[c480c33] | 258 | </sect2>
|
---|
| 259 |
|
---|
[dcbd2c6] | 260 | <sect2 role="content">
|
---|
| 261 | <title>Contents</title>
|
---|
| 262 |
|
---|
| 263 | <segmentedlist>
|
---|
[cbda2a25] | 264 | <segtitle>Installed Programs</segtitle>
|
---|
[dcbd2c6] | 265 | <segtitle>Installed Libraries</segtitle>
|
---|
| 266 | <segtitle>Installed Directories</segtitle>
|
---|
| 267 |
|
---|
| 268 | <seglistitem>
|
---|
| 269 | <seg>
|
---|
[98fd8b9] | 270 | cups-browsed, driverless, driverless-fax, and foomatic-rip
|
---|
| 271 | <!-- and ttfread -->
|
---|
[dcbd2c6] | 272 | </seg>
|
---|
| 273 | <seg>
|
---|
| 274 | libcupsfilters.so and libfontembed.so
|
---|
| 275 | </seg>
|
---|
| 276 | <seg>
|
---|
[7374e16] | 277 | /usr/include/{cupsfilters,fontembed},
|
---|
[fc0e436] | 278 | /usr/lib/cups/{backend,driver,filter},
|
---|
[d42f02c6] | 279 | /usr/share/cups/{braille,charsets},
|
---|
[a82b5f44] | 280 | /usr/share/doc/cups-filters-&cups-filters-version;, and
|
---|
[7273ffc] | 281 | /usr/share/ppd/cupsfilters
|
---|
[dcbd2c6] | 282 | </seg>
|
---|
| 283 | </seglistitem>
|
---|
| 284 | </segmentedlist>
|
---|
| 285 |
|
---|
| 286 | <variablelist>
|
---|
| 287 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 288 | <?dbfo list-presentation="list"?>
|
---|
| 289 | <?dbhtml list-presentation="table"?>
|
---|
| 290 |
|
---|
[298fee30] | 291 | <varlistentry id="cups-browsed">
|
---|
| 292 | <term><command>cups-browsed</command></term>
|
---|
[7374e16] | 293 | <listitem>
|
---|
| 294 | <para>
|
---|
[298fee30] | 295 | is a daemon for browsing the Bonjour and CUPS broadcasts of shared,
|
---|
[4c24eb0a] | 296 | remote CUPS printers
|
---|
[7374e16] | 297 | </para>
|
---|
[298fee30] | 298 | <indexterm zone="cups-filters cups-browsed">
|
---|
| 299 | <primary sortas="b-cups-browsed">cups-browsed</primary>
|
---|
[7374e16] | 300 | </indexterm>
|
---|
[a82b5f44] | 301 | </listitem>
|
---|
| 302 | </varlistentry>
|
---|
| 303 |
|
---|
| 304 | <varlistentry id="driverless">
|
---|
| 305 | <term><command>driverless</command></term>
|
---|
| 306 | <listitem>
|
---|
| 307 | <para>
|
---|
[4c24eb0a] | 308 | is a PPD generator utility for driverless printing
|
---|
[a82b5f44] | 309 | </para>
|
---|
| 310 | <indexterm zone="cups-filters driverless">
|
---|
| 311 | <primary sortas="b-driverless">driverless</primary>
|
---|
| 312 | </indexterm>
|
---|
| 313 | </listitem>
|
---|
| 314 | </varlistentry>
|
---|
| 315 |
|
---|
| 316 | <varlistentry id="driverless-fax">
|
---|
| 317 | <term><command>driverless-fax</command></term>
|
---|
| 318 | <listitem>
|
---|
| 319 | <para>
|
---|
[4c24eb0a] | 320 | is a wrapper to <command>driverless</command> for FAX type devices
|
---|
[a82b5f44] | 321 | </para>
|
---|
| 322 | <indexterm zone="cups-filters driverless-fax">
|
---|
| 323 | <primary sortas="b-driverless-fax">driverless-fax</primary>
|
---|
| 324 | </indexterm>
|
---|
[7374e16] | 325 | </listitem>
|
---|
| 326 | </varlistentry>
|
---|
| 327 |
|
---|
[298fee30] | 328 | <varlistentry id="foomatic-rip">
|
---|
| 329 | <term><command>foomatic-rip</command></term>
|
---|
[7374e16] | 330 | <listitem>
|
---|
| 331 | <para>
|
---|
[298fee30] | 332 | is a universal print filter/RIP wrapper which can be used as CUPS
|
---|
[4c24eb0a] | 333 | filter or stand-alone for spooler-less, direct printing
|
---|
[7374e16] | 334 | </para>
|
---|
[298fee30] | 335 | <indexterm zone="cups-filters foomatic-rip">
|
---|
| 336 | <primary sortas="b-foomatic-rip">foomatic-rip</primary>
|
---|
[7374e16] | 337 | </indexterm>
|
---|
| 338 | </listitem>
|
---|
| 339 | </varlistentry>
|
---|
| 340 |
|
---|
[dcbd2c6] | 341 | <varlistentry id="libcupsfilters">
|
---|
| 342 | <term><filename class="libraryfile">libcupsfilters.so</filename></term>
|
---|
| 343 | <listitem>
|
---|
| 344 | <para>
|
---|
[4c24eb0a] | 345 | contains <application>CUPS Filters</application> API functions
|
---|
[dcbd2c6] | 346 | </para>
|
---|
| 347 | <indexterm zone="cups-filters libcupsfilters">
|
---|
| 348 | <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
|
---|
| 349 | </indexterm>
|
---|
| 350 | </listitem>
|
---|
| 351 | </varlistentry>
|
---|
| 352 |
|
---|
| 353 | </variablelist>
|
---|
| 354 |
|
---|
| 355 | </sect2>
|
---|
| 356 |
|
---|
| 357 | </sect1>
|
---|