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