[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 " ">
|
---|
[d2cf979] | 10 | <!ENTITY cups-filters-md5sum "f16a422bf3135e90b83f969c13a259cf">
|
---|
[67e58a5] | 11 | <!ENTITY cups-filters-size "1.3 MB">
|
---|
[af21cbe2] | 12 | <!ENTITY cups-filters-buildsize "33 MB (additional 2 MB for the tests)">
|
---|
[e1617c94] | 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 |
|
---|
[8c1b9f7] | 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 |
|
---|
[dc5b6c2] | 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 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | <sect2 role="commands">
|
---|
| 145 | <title>Command Explanations</title>
|
---|
| 146 |
|
---|
[cbda2a25] | 147 | <para>
|
---|
[d6da5da] | 148 | <parameter>--without-rcdir</parameter>: This switch disables
|
---|
| 149 | installation of the bundled bootscript which is not compatible
|
---|
| 150 | with BLFS.
|
---|
[cbda2a25] | 151 | </para>
|
---|
| 152 |
|
---|
[dcbd2c6] | 153 | <para>
|
---|
| 154 | <parameter>--with-gs-path=/usr/bin/gs</parameter>: This switch
|
---|
| 155 | defines the path to the <application>GhostScript</application>
|
---|
| 156 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 157 | </para>
|
---|
| 158 |
|
---|
| 159 | <para>
|
---|
| 160 | <parameter>--with-pdftops-path=/usr/bin/gs</parameter>: This switch
|
---|
| 161 | defines the path to the <application>GhostScript</application>
|
---|
| 162 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 163 | </para>
|
---|
| 164 |
|
---|
[bfa09457] | 165 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 166 | href="../../xincludes/static-libraries.xml"/>
|
---|
[9e6c909] | 167 |
|
---|
[8e1a075] | 168 | <para>
|
---|
[bfa09457] | 169 | <command>make check 2>&1 >testlog</command>: the testsuite
|
---|
[8e1a075] | 170 | dumps a stream of bytes into the input buffer after it finishes. Sending
|
---|
| 171 | the output to a file keeps the history usable, but some debug information
|
---|
| 172 | will still appear on the screen.
|
---|
| 173 | </para>
|
---|
| 174 |
|
---|
| 175 | <para>
|
---|
[8f7e0e7] | 176 | <option>--with-test-path=<replaceable>VALUE</replaceable></option> : if you wish to run the tests, but
|
---|
[8e1a075] | 177 | you do not have the default
|
---|
| 178 | <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this switch
|
---|
| 179 | to specify where <filename>DejaVuSans.ttf</filename> (or perhaps some other
|
---|
| 180 | text TTF font - untested) is located.
|
---|
| 181 | </para>
|
---|
| 182 |
|
---|
[dcbd2c6] | 183 | </sect2>
|
---|
| 184 |
|
---|
[cbda2a25] | 185 | <!-- TODO: Write a bootscript for cups-browsed -->
|
---|
| 186 |
|
---|
[dcbd2c6] | 187 | <sect2 role="content">
|
---|
| 188 | <title>Contents</title>
|
---|
| 189 |
|
---|
| 190 | <segmentedlist>
|
---|
[cbda2a25] | 191 | <segtitle>Installed Programs</segtitle>
|
---|
[dcbd2c6] | 192 | <segtitle>Installed Libraries</segtitle>
|
---|
| 193 | <segtitle>Installed Directories</segtitle>
|
---|
| 194 |
|
---|
| 195 | <seglistitem>
|
---|
| 196 | <seg>
|
---|
[cbda2a25] | 197 | ttfread and cups-browsed
|
---|
[dcbd2c6] | 198 | </seg>
|
---|
| 199 | <seg>
|
---|
| 200 | libcupsfilters.so and libfontembed.so
|
---|
| 201 | </seg>
|
---|
| 202 | <seg>
|
---|
| 203 | /usr/include/cupsfilters,
|
---|
| 204 | /usr/include/fontembed,
|
---|
[5ba13157] | 205 | /usr/lib/cups/backend,
|
---|
[7273ffc] | 206 | /usr/lib/cups/filter,
|
---|
[dcbd2c6] | 207 | /usr/share/cups/banners,
|
---|
| 208 | /usr/share/cups/charsets,
|
---|
[7273ffc] | 209 | /usr/share/cups/data,
|
---|
[dcbd2c6] | 210 | /usr/share/doc/cups-filters-&cups-filters-version; and
|
---|
[7273ffc] | 211 | /usr/share/ppd/cupsfilters
|
---|
[dcbd2c6] | 212 | </seg>
|
---|
| 213 | </seglistitem>
|
---|
| 214 | </segmentedlist>
|
---|
| 215 |
|
---|
| 216 | <variablelist>
|
---|
| 217 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 218 | <?dbfo list-presentation="list"?>
|
---|
| 219 | <?dbhtml list-presentation="table"?>
|
---|
| 220 |
|
---|
| 221 | <varlistentry id="libcupsfilters">
|
---|
| 222 | <term><filename class="libraryfile">libcupsfilters.so</filename></term>
|
---|
| 223 | <listitem>
|
---|
| 224 | <para>
|
---|
| 225 | contains <application>CUPS Filters</application> API functions.
|
---|
| 226 | </para>
|
---|
| 227 | <indexterm zone="cups-filters libcupsfilters">
|
---|
| 228 | <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
|
---|
| 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
| 233 | </variablelist>
|
---|
| 234 |
|
---|
| 235 | </sect2>
|
---|
| 236 |
|
---|
| 237 | </sect1>
|
---|