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