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 |
|
---|
7 | <!ENTITY cups-filters-download-http
|
---|
8 | "http://www.openprinting.org/download/cups-filters/cups-filters-&cups-filters-version;.tar.xz">
|
---|
9 | <!ENTITY cups-filters-download-ftp " ">
|
---|
10 | <!ENTITY cups-filters-md5sum "f16a422bf3135e90b83f969c13a259cf">
|
---|
11 | <!ENTITY cups-filters-size "1.3 MB">
|
---|
12 | <!ENTITY cups-filters-buildsize "33 MB (additional 2 MB for the tests)">
|
---|
13 | <!ENTITY cups-filters-time "0.4 SBU">
|
---|
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 |
|
---|
40 | &lfs76_checked;
|
---|
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="glib2"/>,
|
---|
82 | <xref linkend="ijs"/>,
|
---|
83 | <xref linkend="lcms2"/>,
|
---|
84 | <xref linkend="poppler"/> and
|
---|
85 | <xref linkend="qpdf"/>
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
89 | <para role="recommended">
|
---|
90 | <xref linkend="libjpeg"/>,
|
---|
91 | <xref linkend="libpng"/> and
|
---|
92 | <xref linkend="libtiff"/>
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
96 | <para role="optional">
|
---|
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>
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <bridgehead renderas="sect4">Required (Runtime)</bridgehead>
|
---|
103 | <para role="required runtime">
|
---|
104 | <xref linkend="gs"/> (Needed for PostScript printers), or
|
---|
105 | <xref linkend="gutenprint"/> (for supported printers),
|
---|
106 | or other printer drivers
|
---|
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 |
|
---|
122 | <screen><userinput>./configure --prefix=/usr \
|
---|
123 | --sysconfdir=/etc \
|
---|
124 | --localstatedir=/var \
|
---|
125 | --docdir=/usr/share/doc/cups-filters-&cups-filters-version; \
|
---|
126 | --without-rcdir \
|
---|
127 | --with-gs-path=/usr/bin/gs \
|
---|
128 | --with-pdftops-path=/usr/bin/gs \
|
---|
129 | --disable-static &&
|
---|
130 | make</userinput></screen>
|
---|
131 |
|
---|
132 | <para>
|
---|
133 | To test the results, issue: <command>make check 2>&1 >testlog</command>.
|
---|
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 |
|
---|
147 | <para>
|
---|
148 | <parameter>--without-rcdir</parameter>: This switch disables
|
---|
149 | installation of the bundled bootscript which is not compatible
|
---|
150 | with BLFS.
|
---|
151 | </para>
|
---|
152 |
|
---|
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 |
|
---|
165 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
166 | href="../../xincludes/static-libraries.xml"/>
|
---|
167 |
|
---|
168 | <para>
|
---|
169 | <command>make check 2>&1 >testlog</command>: the testsuite
|
---|
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>
|
---|
176 | <option>--with-test-path=<replaceable>VALUE</replaceable></option> : if you wish to run the tests, but
|
---|
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 |
|
---|
183 | </sect2>
|
---|
184 |
|
---|
185 | <!-- TODO: Write a bootscript for cups-browsed -->
|
---|
186 |
|
---|
187 | <sect2 role="content">
|
---|
188 | <title>Contents</title>
|
---|
189 |
|
---|
190 | <segmentedlist>
|
---|
191 | <segtitle>Installed Programs</segtitle>
|
---|
192 | <segtitle>Installed Libraries</segtitle>
|
---|
193 | <segtitle>Installed Directories</segtitle>
|
---|
194 |
|
---|
195 | <seglistitem>
|
---|
196 | <seg>
|
---|
197 | ttfread and cups-browsed
|
---|
198 | </seg>
|
---|
199 | <seg>
|
---|
200 | libcupsfilters.so and libfontembed.so
|
---|
201 | </seg>
|
---|
202 | <seg>
|
---|
203 | /usr/include/cupsfilters,
|
---|
204 | /usr/include/fontembed,
|
---|
205 | /usr/lib/cups/backend,
|
---|
206 | /usr/lib/cups/filter,
|
---|
207 | /usr/share/cups/banners,
|
---|
208 | /usr/share/cups/charsets,
|
---|
209 | /usr/share/cups/data,
|
---|
210 | /usr/share/doc/cups-filters-&cups-filters-version; and
|
---|
211 | /usr/share/ppd/cupsfilters
|
---|
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>
|
---|