[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
|
---|
[bfa09457] | 8 | "http://www.openprinting.org/download/cups-filters/cups-filters-&cups-filters-version;.tar.xz">
|
---|
[dcbd2c6] | 9 | <!ENTITY cups-filters-download-ftp " ">
|
---|
[088576d6] | 10 | <!ENTITY cups-filters-md5sum "181ee0e6c27cfbb05e241f0267363678">
|
---|
[67e58a5] | 11 | <!ENTITY cups-filters-size "1.3 MB">
|
---|
[088576d6] | 12 | <!ENTITY cups-filters-buildsize "32 MB (additional 2 MB for the tests)">
|
---|
[76c63b6] | 13 | <!ENTITY cups-filters-time "0.4 SBU">
|
---|
[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 |
|
---|
[6392ac9] | 40 | &lfs75_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>
|
---|
| 75 |
|
---|
[088576d6] | 76 | <bridgehead renderas="sect3">Additional Download</bridgehead>
|
---|
| 77 | <itemizedlist spacing="compact">
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>
|
---|
| 80 | Required patch:
|
---|
| 81 | <ulink url="&patch-root;/cups-filters-&cups-filters-version;-pdftoraster-1.patch"/>
|
---|
| 82 | </para>
|
---|
| 83 | </listitem>
|
---|
| 84 | </itemizedlist>
|
---|
| 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"/>,
|
---|
[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">
|
---|
[8e1a075] | 107 | <xref linkend="avahi"/>,
|
---|
| 108 | <xref linkend="php"/> (use of this might be broken) and
|
---|
| 109 | <ulink url="http://www.adobe.com/products/reader">acroread</ulink>
|
---|
[dcbd2c6] | 110 | </para>
|
---|
| 111 |
|
---|
| 112 | <bridgehead renderas="sect4">Required (Runtime)</bridgehead>
|
---|
[f28636c] | 113 | <para role="required runtime">
|
---|
[8e1a075] | 114 | <xref linkend="gs"/> (Needed for PostScript printers), or
|
---|
| 115 | <xref linkend="gutenprint"/> (for supported printers),
|
---|
| 116 | or other printer drivers
|
---|
[dcbd2c6] | 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <para condition="html" role="usernotes">
|
---|
| 120 | User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
|
---|
| 121 | </para>
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="installation">
|
---|
| 125 | <title>Installation of CUPS Filters</title>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
| 128 | Install <application>CUPS Filters</application> by running the following
|
---|
| 129 | commands:
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
[088576d6] | 132 | <screen><userinput>patch -Np1 -i ../cups-filters-&cups-filters-version;-pdftoraster-1.patch &&
|
---|
| 133 | ./configure --prefix=/usr \
|
---|
[4a29e2b] | 134 | --sysconfdir=/etc \
|
---|
[ca48809] | 135 | --localstatedir=/var \
|
---|
[dcbd2c6] | 136 | --docdir=/usr/share/doc/cups-filters-&cups-filters-version; \
|
---|
[9e6c909] | 137 | --without-rcdir \
|
---|
| 138 | --with-gs-path=/usr/bin/gs \
|
---|
[4a29e2b] | 139 | --with-pdftops-path=/usr/bin/gs \
|
---|
[9e6c909] | 140 | --disable-static &&
|
---|
[dcbd2c6] | 141 | make</userinput></screen>
|
---|
| 142 |
|
---|
| 143 | <para>
|
---|
[8e1a075] | 144 | To test the results, issue: <command>make check 2>&1 >testlog</command>.
|
---|
[dcbd2c6] | 145 | </para>
|
---|
| 146 |
|
---|
| 147 | <para>
|
---|
| 148 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 149 | </para>
|
---|
| 150 |
|
---|
| 151 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 152 |
|
---|
[5992481e] | 153 | <para>
|
---|
| 154 | Install the systemd unit by running the following command as the
|
---|
| 155 | <systemitem class="username">root</systemitem> user:
|
---|
| 156 | </para>
|
---|
| 157 |
|
---|
| 158 | <screen role="root"><userinput>install -v -m644 utils/cups-browsed.service /lib/systemd/system/cups-browsed.service</userinput></screen>
|
---|
| 159 |
|
---|
[dcbd2c6] | 160 | </sect2>
|
---|
| 161 |
|
---|
| 162 | <sect2 role="commands">
|
---|
| 163 | <title>Command Explanations</title>
|
---|
| 164 |
|
---|
[cbda2a25] | 165 | <para>
|
---|
[d6da5da] | 166 | <parameter>--without-rcdir</parameter>: This switch disables
|
---|
| 167 | installation of the bundled bootscript which is not compatible
|
---|
| 168 | with BLFS.
|
---|
[cbda2a25] | 169 | </para>
|
---|
| 170 |
|
---|
[dcbd2c6] | 171 | <para>
|
---|
| 172 | <parameter>--with-gs-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 |
|
---|
| 177 | <para>
|
---|
| 178 | <parameter>--with-pdftops-path=/usr/bin/gs</parameter>: This switch
|
---|
| 179 | defines the path to the <application>GhostScript</application>
|
---|
| 180 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 181 | </para>
|
---|
| 182 |
|
---|
[bfa09457] | 183 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 184 | href="../../xincludes/static-libraries.xml"/>
|
---|
[9e6c909] | 185 |
|
---|
[8e1a075] | 186 | <para>
|
---|
[bfa09457] | 187 | <command>make check 2>&1 >testlog</command>: the testsuite
|
---|
[8e1a075] | 188 | dumps a stream of bytes into the input buffer after it finishes. Sending
|
---|
| 189 | the output to a file keeps the history usable, but some debug information
|
---|
| 190 | will still appear on the screen.
|
---|
| 191 | </para>
|
---|
| 192 |
|
---|
| 193 | <para>
|
---|
[8f7e0e7] | 194 | <option>--with-test-path=<replaceable>VALUE</replaceable></option> : if you wish to run the tests, but
|
---|
[8e1a075] | 195 | you do not have the default
|
---|
| 196 | <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this switch
|
---|
| 197 | to specify where <filename>DejaVuSans.ttf</filename> (or perhaps some other
|
---|
| 198 | text TTF font - untested) is located.
|
---|
| 199 | </para>
|
---|
| 200 |
|
---|
[dcbd2c6] | 201 | </sect2>
|
---|
| 202 |
|
---|
[5992481e] | 203 | <sect2 role="configuration">
|
---|
| 204 | <title>Configuring Cups Filters</title>
|
---|
| 205 |
|
---|
| 206 | <sect3 id="cups-filters-init">
|
---|
| 207 | <title>Systemd Units</title>
|
---|
| 208 |
|
---|
| 209 | <para>
|
---|
| 210 | To start the <command>cups-browsed</command> daemon at boot, enable
|
---|
| 211 | the previously installed systemd unit by running the following command
|
---|
| 212 | as the <systemitem class="username">root</systemitem> user:
|
---|
| 213 | </para>
|
---|
| 214 |
|
---|
| 215 | <indexterm zone="cups-filters cups-filters-init">
|
---|
| 216 | <primary sortas="f-cups-browsed">cups-browsed</primary>
|
---|
| 217 | </indexterm>
|
---|
| 218 |
|
---|
| 219 | <screen role="root"><userinput>systemctl enable cups-browsed</userinput></screen>
|
---|
| 220 |
|
---|
| 221 | </sect3>
|
---|
| 222 |
|
---|
| 223 | </sect2>
|
---|
[cbda2a25] | 224 |
|
---|
[dcbd2c6] | 225 | <sect2 role="content">
|
---|
| 226 | <title>Contents</title>
|
---|
| 227 |
|
---|
| 228 | <segmentedlist>
|
---|
[cbda2a25] | 229 | <segtitle>Installed Programs</segtitle>
|
---|
[dcbd2c6] | 230 | <segtitle>Installed Libraries</segtitle>
|
---|
| 231 | <segtitle>Installed Directories</segtitle>
|
---|
| 232 |
|
---|
| 233 | <seglistitem>
|
---|
| 234 | <seg>
|
---|
[cbda2a25] | 235 | ttfread and cups-browsed
|
---|
[dcbd2c6] | 236 | </seg>
|
---|
| 237 | <seg>
|
---|
| 238 | libcupsfilters.so and libfontembed.so
|
---|
| 239 | </seg>
|
---|
| 240 | <seg>
|
---|
| 241 | /usr/include/cupsfilters,
|
---|
| 242 | /usr/include/fontembed,
|
---|
[5ba13157] | 243 | /usr/lib/cups/backend,
|
---|
[7273ffc] | 244 | /usr/lib/cups/filter,
|
---|
[dcbd2c6] | 245 | /usr/share/cups/banners,
|
---|
| 246 | /usr/share/cups/charsets,
|
---|
[7273ffc] | 247 | /usr/share/cups/data,
|
---|
[dcbd2c6] | 248 | /usr/share/doc/cups-filters-&cups-filters-version; and
|
---|
[7273ffc] | 249 | /usr/share/ppd/cupsfilters
|
---|
[dcbd2c6] | 250 | </seg>
|
---|
| 251 | </seglistitem>
|
---|
| 252 | </segmentedlist>
|
---|
| 253 |
|
---|
| 254 | <variablelist>
|
---|
| 255 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 256 | <?dbfo list-presentation="list"?>
|
---|
| 257 | <?dbhtml list-presentation="table"?>
|
---|
| 258 |
|
---|
| 259 | <varlistentry id="libcupsfilters">
|
---|
| 260 | <term><filename class="libraryfile">libcupsfilters.so</filename></term>
|
---|
| 261 | <listitem>
|
---|
| 262 | <para>
|
---|
| 263 | contains <application>CUPS Filters</application> API functions.
|
---|
| 264 | </para>
|
---|
| 265 | <indexterm zone="cups-filters libcupsfilters">
|
---|
| 266 | <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
|
---|
| 267 | </indexterm>
|
---|
| 268 | </listitem>
|
---|
| 269 | </varlistentry>
|
---|
| 270 |
|
---|
| 271 | </variablelist>
|
---|
| 272 |
|
---|
| 273 | </sect2>
|
---|
| 274 |
|
---|
| 275 | </sect1>
|
---|