[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
|
---|
| 8 | "http://www.openprinting.org/download/cups-filters/cups-filters-&cups-filters-version;.tar.xz">
|
---|
[dcbd2c6] | 9 | <!ENTITY cups-filters-download-ftp " ">
|
---|
[8e1a075] | 10 | <!ENTITY cups-filters-md5sum "210e5cb70e9474b91dd2ab4291a5e48e">
|
---|
[b0ed6bdf] | 11 | <!ENTITY cups-filters-size "1.0 MB">
|
---|
[8e1a075] | 12 | <!ENTITY cups-filters-buildsize "37 MB">
|
---|
| 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 |
|
---|
[3d8be25] | 40 | &lfs74_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 \
|
---|
[dcbd2c6] | 123 | --docdir=/usr/share/doc/cups-filters-&cups-filters-version; \
|
---|
[9e6c909] | 124 | --without-rcdir \
|
---|
| 125 | --with-gs-path=/usr/bin/gs \
|
---|
[4a29e2b] | 126 | --with-pdftops-path=/usr/bin/gs \
|
---|
[9e6c909] | 127 | --disable-avahi \
|
---|
| 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 |
|
---|
[9e6c909] | 164 | <para>
|
---|
[d6da5da] | 165 | <parameter>--disable-avahi</parameter>: This switch is required if you have
|
---|
| 166 | not installed <xref linkend="avahi"/>.
|
---|
[9e6c909] | 167 | </para>
|
---|
| 168 |
|
---|
[8e1a075] | 169 | <para>
|
---|
| 170 | <parameter>make check 2>&1 >testlog</parameter>: the testsuite
|
---|
| 171 | dumps a stream of bytes into the input buffer after it finishes. Sending
|
---|
| 172 | the output to a file keeps the history usable, but some debug information
|
---|
| 173 | will still appear on the screen.
|
---|
| 174 | </para>
|
---|
| 175 |
|
---|
| 176 | <para>
|
---|
| 177 | <option>--with-test-path=VALUE</option> : if you wish to run the tests, but
|
---|
| 178 | you do not have the default
|
---|
| 179 | <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this switch
|
---|
| 180 | to specify where <filename>DejaVuSans.ttf</filename> (or perhaps some other
|
---|
| 181 | text TTF font - untested) is located.
|
---|
| 182 | </para>
|
---|
| 183 |
|
---|
[dcbd2c6] | 184 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 185 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 186 |
|
---|
| 187 | </sect2>
|
---|
| 188 |
|
---|
[cbda2a25] | 189 | <!-- TODO: Write a bootscript for cups-browsed -->
|
---|
| 190 |
|
---|
[dcbd2c6] | 191 | <sect2 role="content">
|
---|
| 192 | <title>Contents</title>
|
---|
| 193 |
|
---|
| 194 | <segmentedlist>
|
---|
[cbda2a25] | 195 | <segtitle>Installed Programs</segtitle>
|
---|
[dcbd2c6] | 196 | <segtitle>Installed Libraries</segtitle>
|
---|
| 197 | <segtitle>Installed Directories</segtitle>
|
---|
| 198 |
|
---|
| 199 | <seglistitem>
|
---|
| 200 | <seg>
|
---|
[cbda2a25] | 201 | ttfread and cups-browsed
|
---|
[dcbd2c6] | 202 | </seg>
|
---|
| 203 | <seg>
|
---|
| 204 | libcupsfilters.so and libfontembed.so
|
---|
| 205 | </seg>
|
---|
| 206 | <seg>
|
---|
| 207 | /usr/include/cupsfilters,
|
---|
| 208 | /usr/include/fontembed,
|
---|
| 209 | /usr/share/cups/banners,
|
---|
| 210 | /usr/share/cups/charsets,
|
---|
| 211 | /usr/share/doc/cups-filters-&cups-filters-version; and
|
---|
| 212 | /usr/share/ppd/cups-filters
|
---|
| 213 | </seg>
|
---|
| 214 | </seglistitem>
|
---|
| 215 | </segmentedlist>
|
---|
| 216 |
|
---|
| 217 | <variablelist>
|
---|
| 218 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 219 | <?dbfo list-presentation="list"?>
|
---|
| 220 | <?dbhtml list-presentation="table"?>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="libcupsfilters">
|
---|
| 223 | <term><filename class="libraryfile">libcupsfilters.so</filename></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>
|
---|
| 226 | contains <application>CUPS Filters</application> API functions.
|
---|
| 227 | </para>
|
---|
| 228 | <indexterm zone="cups-filters libcupsfilters">
|
---|
| 229 | <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
| 233 |
|
---|
| 234 | </variablelist>
|
---|
| 235 |
|
---|
| 236 | </sect2>
|
---|
| 237 |
|
---|
| 238 | </sect1>
|
---|