[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 " ">
|
---|
[cad913e0] | 10 | <!ENTITY cups-filters-md5sum "9dc532a710c21ac2c063d07465b93d0b">
|
---|
[1c150ee8] | 11 | <!ENTITY cups-filters-size "1.4 MB">
|
---|
| 12 | <!ENTITY cups-filters-buildsize "50 MB (with tests)">
|
---|
[53dd18f1] | 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 |
|
---|
[60d53ec3] | 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>
|
---|
[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"/>,
|
---|
[dcbd2c6] | 92 | <xref linkend="ijs"/>,
|
---|
[9d8cb37] | 93 | <xref linkend="lcms2"/>,
|
---|
[4b38959] | 94 | <xref linkend="poppler"/> and
|
---|
[9d8cb37] | 95 | <xref linkend="qpdf"/>
|
---|
[dcbd2c6] | 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 99 | <para role="recommended">
|
---|
| 100 | <xref linkend="libjpeg"/>,
|
---|
[4b38959] | 101 | <xref linkend="libpng"/> and
|
---|
[dcbd2c6] | 102 | <xref linkend="libtiff"/>
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
| 105 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 106 | <para role="optional">
|
---|
[6a71920c] | 107 | <xref linkend="avahi"/>,
|
---|
[cad913e0] | 108 | <xref linkend="openldap"/>,
|
---|
| 109 | <xref linkend="php"/> (use of this might be broken), and
|
---|
| 110 | <ulink url="http://liblouis.org/">Liblouis (Braille)</ulink>
|
---|
[dcbd2c6] | 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <bridgehead renderas="sect4">Required (Runtime)</bridgehead>
|
---|
[f28636c] | 114 | <para role="required runtime">
|
---|
[8e1a075] | 115 | <xref linkend="gs"/> (Needed for PostScript printers), or
|
---|
| 116 | <xref linkend="gutenprint"/> (for supported printers),
|
---|
| 117 | or other printer drivers
|
---|
[dcbd2c6] | 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <para condition="html" role="usernotes">
|
---|
| 121 | User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
|
---|
| 122 | </para>
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="installation">
|
---|
| 126 | <title>Installation of CUPS Filters</title>
|
---|
| 127 |
|
---|
| 128 | <para>
|
---|
| 129 | Install <application>CUPS Filters</application> by running the following
|
---|
| 130 | commands:
|
---|
| 131 | </para>
|
---|
[7b88d5a] | 132 |
|
---|
[6a71920c] | 133 | <screen><userinput>./configure \
|
---|
[7b88d5a] | 134 | --prefix=/usr \
|
---|
| 135 | --sysconfdir=/etc \
|
---|
| 136 | --localstatedir=/var \
|
---|
| 137 | --without-rcdir \
|
---|
| 138 | --disable-static \
|
---|
| 139 | --with-gs-path=/usr/bin/gs \
|
---|
| 140 | --with-pdftops-path=/usr/bin/gs \
|
---|
[6a71920c] | 141 | --docdir=/usr/share/doc/cups-filters-&cups-filters-version; &&
|
---|
[dcbd2c6] | 142 | make</userinput></screen>
|
---|
| 143 |
|
---|
| 144 | <para>
|
---|
[8e1a075] | 145 | To test the results, issue: <command>make check 2>&1 >testlog</command>.
|
---|
[dcbd2c6] | 146 | </para>
|
---|
| 147 |
|
---|
| 148 | <para>
|
---|
| 149 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 150 | </para>
|
---|
| 151 |
|
---|
| 152 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 153 |
|
---|
| 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | <sect2 role="commands">
|
---|
| 157 | <title>Command Explanations</title>
|
---|
[a92a3a9] | 158 |
|
---|
[cbda2a25] | 159 | <para>
|
---|
[d6da5da] | 160 | <parameter>--without-rcdir</parameter>: This switch disables
|
---|
| 161 | installation of the bundled bootscript which is not compatible
|
---|
| 162 | with BLFS.
|
---|
[cbda2a25] | 163 | </para>
|
---|
| 164 |
|
---|
[dcbd2c6] | 165 | <para>
|
---|
| 166 | <parameter>--with-gs-path=/usr/bin/gs</parameter>: This switch
|
---|
| 167 | defines the path to the <application>GhostScript</application>
|
---|
| 168 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 169 | </para>
|
---|
| 170 |
|
---|
| 171 | <para>
|
---|
| 172 | <parameter>--with-pdftops-path=/usr/bin/gs</parameter>: This switch
|
---|
| 173 | defines the path to the <application>GhostScript</application>
|
---|
| 174 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 175 | </para>
|
---|
| 176 |
|
---|
[bfa09457] | 177 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 178 | href="../../xincludes/static-libraries.xml"/>
|
---|
[9e6c909] | 179 |
|
---|
[8e1a075] | 180 | <para>
|
---|
[bfa09457] | 181 | <command>make check 2>&1 >testlog</command>: the testsuite
|
---|
[8e1a075] | 182 | dumps a stream of bytes into the input buffer after it finishes. Sending
|
---|
| 183 | the output to a file keeps the history usable, but some debug information
|
---|
| 184 | will still appear on the screen.
|
---|
| 185 | </para>
|
---|
| 186 |
|
---|
| 187 | <para>
|
---|
[8f7e0e7] | 188 | <option>--with-test-path=<replaceable>VALUE</replaceable></option> : if you wish to run the tests, but
|
---|
[8e1a075] | 189 | you do not have the default
|
---|
| 190 | <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this switch
|
---|
| 191 | to specify where <filename>DejaVuSans.ttf</filename> (or perhaps some other
|
---|
| 192 | text TTF font - untested) is located.
|
---|
| 193 | </para>
|
---|
| 194 |
|
---|
[dcbd2c6] | 195 | </sect2>
|
---|
| 196 |
|
---|
[cbda2a25] | 197 | <!-- TODO: Write a bootscript for cups-browsed -->
|
---|
| 198 |
|
---|
[dcbd2c6] | 199 | <sect2 role="content">
|
---|
| 200 | <title>Contents</title>
|
---|
| 201 |
|
---|
| 202 | <segmentedlist>
|
---|
[cbda2a25] | 203 | <segtitle>Installed Programs</segtitle>
|
---|
[dcbd2c6] | 204 | <segtitle>Installed Libraries</segtitle>
|
---|
| 205 | <segtitle>Installed Directories</segtitle>
|
---|
| 206 |
|
---|
| 207 | <seglistitem>
|
---|
| 208 | <seg>
|
---|
[298fee30] | 209 | cups-browsed, foomatic-rip (link) and ttfread
|
---|
[dcbd2c6] | 210 | </seg>
|
---|
| 211 | <seg>
|
---|
| 212 | libcupsfilters.so and libfontembed.so
|
---|
| 213 | </seg>
|
---|
| 214 | <seg>
|
---|
[7374e16] | 215 | /usr/include/{cupsfilters,fontembed},
|
---|
| 216 | /usr/lib/cups/{backend,filter},
|
---|
| 217 | /usr/share/cups/{banners,charsets,data},
|
---|
[dcbd2c6] | 218 | /usr/share/doc/cups-filters-&cups-filters-version; and
|
---|
[7273ffc] | 219 | /usr/share/ppd/cupsfilters
|
---|
[dcbd2c6] | 220 | </seg>
|
---|
| 221 | </seglistitem>
|
---|
| 222 | </segmentedlist>
|
---|
| 223 |
|
---|
| 224 | <variablelist>
|
---|
| 225 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 226 | <?dbfo list-presentation="list"?>
|
---|
| 227 | <?dbhtml list-presentation="table"?>
|
---|
| 228 |
|
---|
[298fee30] | 229 | <varlistentry id="cups-browsed">
|
---|
| 230 | <term><command>cups-browsed</command></term>
|
---|
[7374e16] | 231 | <listitem>
|
---|
| 232 | <para>
|
---|
[298fee30] | 233 | is a daemon for browsing the Bonjour and CUPS broadcasts of shared,
|
---|
| 234 | remote CUPS printers.
|
---|
[7374e16] | 235 | </para>
|
---|
[298fee30] | 236 | <indexterm zone="cups-filters cups-browsed">
|
---|
| 237 | <primary sortas="b-cups-browsed">cups-browsed</primary>
|
---|
[7374e16] | 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
[298fee30] | 242 | <varlistentry id="foomatic-rip">
|
---|
| 243 | <term><command>foomatic-rip</command></term>
|
---|
[7374e16] | 244 | <listitem>
|
---|
| 245 | <para>
|
---|
[298fee30] | 246 | is a universal print filter/RIP wrapper which can be used as CUPS
|
---|
| 247 | filter or stand-alone for spooler-less, direct printing.
|
---|
[7374e16] | 248 | </para>
|
---|
[298fee30] | 249 | <indexterm zone="cups-filters foomatic-rip">
|
---|
| 250 | <primary sortas="b-foomatic-rip">foomatic-rip</primary>
|
---|
[7374e16] | 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 |
|
---|
[dcbd2c6] | 255 | <varlistentry id="libcupsfilters">
|
---|
| 256 | <term><filename class="libraryfile">libcupsfilters.so</filename></term>
|
---|
| 257 | <listitem>
|
---|
| 258 | <para>
|
---|
| 259 | contains <application>CUPS Filters</application> API functions.
|
---|
| 260 | </para>
|
---|
| 261 | <indexterm zone="cups-filters libcupsfilters">
|
---|
| 262 | <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
|
---|
| 263 | </indexterm>
|
---|
| 264 | </listitem>
|
---|
| 265 | </varlistentry>
|
---|
| 266 |
|
---|
| 267 | </variablelist>
|
---|
| 268 |
|
---|
| 269 | </sect2>
|
---|
| 270 |
|
---|
| 271 | </sect1>
|
---|