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 | "https://www.openprinting.org/download/cups-filters/cups-filters-&cups-filters-version;.tar.xz">
|
---|
9 | <!ENTITY cups-filters-download-ftp " ">
|
---|
10 | <!ENTITY cups-filters-md5sum "51b7f8f068502b6afca9bc8462b53933">
|
---|
11 | <!ENTITY cups-filters-size "1.4 MB">
|
---|
12 | <!ENTITY cups-filters-buildsize "50 MB (with tests)">
|
---|
13 | <!ENTITY cups-filters-time "0.4 SBU (with tests)">
|
---|
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 | &lfs78_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">Additional Downloads</bridgehead>
|
---|
77 | <itemizedlist spacing="compact">
|
---|
78 | <listitem>
|
---|
79 | <para>
|
---|
80 | Required patch:
|
---|
81 | <ulink url="&patch-root;/cups-filters-&cups-filters-version;-poppler0340-1.patch"/>
|
---|
82 | </para>
|
---|
83 | </listitem>
|
---|
84 | </itemizedlist>-->
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect3">CUPS Filters Dependencies</bridgehead>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
89 | <para role="required">
|
---|
90 | <xref linkend="cups"/>,
|
---|
91 | <xref linkend="glib2"/>,
|
---|
92 | <xref linkend="ijs"/>,
|
---|
93 | <xref linkend="lcms2"/>,
|
---|
94 | <xref linkend="poppler"/> and
|
---|
95 | <xref linkend="qpdf"/>
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
99 | <para role="recommended">
|
---|
100 | <xref linkend="libjpeg"/>,
|
---|
101 | <xref linkend="libpng"/> and
|
---|
102 | <xref linkend="libtiff"/>
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
106 | <para role="optional">
|
---|
107 | <xref linkend="avahi"/>,
|
---|
108 | <xref linkend="openldap"/>,
|
---|
109 | <xref linkend="php"/> (use of this might be broken), and
|
---|
110 | <ulink url="http://liblouis.org/">Liblouis (Braille)</ulink>
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <bridgehead renderas="sect4">Required (Runtime)</bridgehead>
|
---|
114 | <para role="required runtime">
|
---|
115 | <xref linkend="gs"/> (Needed for PostScript printers), or
|
---|
116 | <xref linkend="gutenprint"/> (for supported printers),
|
---|
117 | or other printer drivers
|
---|
118 | </para>
|
---|
119 |
|
---|
120 | <para condition="html" role="usernotes">
|
---|
121 | User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
|
---|
122 | </para>
|
---|
123 | </sect2>
|
---|
124 |
|
---|
125 | <sect2 role="installation">
|
---|
126 | <title>Installation of CUPS Filters</title>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | Install <application>CUPS Filters</application> by running the following
|
---|
130 | commands:
|
---|
131 | </para>
|
---|
132 |
|
---|
133 | <screen><userinput>./configure \
|
---|
134 | --prefix=/usr \
|
---|
135 | --sysconfdir=/etc \
|
---|
136 | --localstatedir=/var \
|
---|
137 | --without-rcdir \
|
---|
138 | --disable-static \
|
---|
139 | --with-gs-path=/usr/bin/gs \
|
---|
140 | --with-pdftops-path=/usr/bin/gs \
|
---|
141 | --docdir=/usr/share/doc/cups-filters-&cups-filters-version; &&
|
---|
142 | make</userinput></screen>
|
---|
143 |
|
---|
144 | <para>
|
---|
145 | To test the results, issue: <command>make check 2>&1 >testlog</command>.
|
---|
146 | </para>
|
---|
147 |
|
---|
148 | <para>
|
---|
149 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
150 | </para>
|
---|
151 |
|
---|
152 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
153 |
|
---|
154 | </sect2>
|
---|
155 |
|
---|
156 | <sect2 role="commands">
|
---|
157 | <title>Command Explanations</title>
|
---|
158 |
|
---|
159 | <para>
|
---|
160 | <parameter>--without-rcdir</parameter>: This switch disables
|
---|
161 | installation of the bundled bootscript which is not compatible
|
---|
162 | with BLFS.
|
---|
163 | </para>
|
---|
164 |
|
---|
165 | <para>
|
---|
166 | <parameter>--with-gs-path=/usr/bin/gs</parameter>: This switch
|
---|
167 | defines the path to the <application>GhostScript</application>
|
---|
168 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
169 | </para>
|
---|
170 |
|
---|
171 | <para>
|
---|
172 | <parameter>--with-pdftops-path=/usr/bin/gs</parameter>: This switch
|
---|
173 | defines the path to the <application>GhostScript</application>
|
---|
174 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
175 | </para>
|
---|
176 |
|
---|
177 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
178 | href="../../xincludes/static-libraries.xml"/>
|
---|
179 |
|
---|
180 | <para>
|
---|
181 | <command>make check 2>&1 >testlog</command>: the testsuite
|
---|
182 | dumps a stream of bytes into the input buffer after it finishes. Sending
|
---|
183 | the output to a file keeps the history usable, but some debug information
|
---|
184 | will still appear on the screen.
|
---|
185 | </para>
|
---|
186 |
|
---|
187 | <para>
|
---|
188 | <option>--with-test-path=<replaceable>VALUE</replaceable></option> : if you wish to run the tests, but
|
---|
189 | you do not have the default
|
---|
190 | <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this switch
|
---|
191 | to specify where <filename>DejaVuSans.ttf</filename> (or perhaps some other
|
---|
192 | text TTF font - untested) is located.
|
---|
193 | </para>
|
---|
194 |
|
---|
195 | </sect2>
|
---|
196 |
|
---|
197 | <!-- TODO: Write a bootscript for cups-browsed -->
|
---|
198 |
|
---|
199 | <sect2 role="content">
|
---|
200 | <title>Contents</title>
|
---|
201 |
|
---|
202 | <segmentedlist>
|
---|
203 | <segtitle>Installed Programs</segtitle>
|
---|
204 | <segtitle>Installed Libraries</segtitle>
|
---|
205 | <segtitle>Installed Directories</segtitle>
|
---|
206 |
|
---|
207 | <seglistitem>
|
---|
208 | <seg>
|
---|
209 | cups-browsed, foomatic-rip (link) and ttfread
|
---|
210 | </seg>
|
---|
211 | <seg>
|
---|
212 | libcupsfilters.so and libfontembed.so
|
---|
213 | </seg>
|
---|
214 | <seg>
|
---|
215 | /usr/include/{cupsfilters,fontembed},
|
---|
216 | /usr/lib/cups/{backend,filter},
|
---|
217 | /usr/share/cups/{banners,charsets,data},
|
---|
218 | /usr/share/doc/cups-filters-&cups-filters-version; and
|
---|
219 | /usr/share/ppd/cupsfilters
|
---|
220 | </seg>
|
---|
221 | </seglistitem>
|
---|
222 | </segmentedlist>
|
---|
223 |
|
---|
224 | <variablelist>
|
---|
225 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
226 | <?dbfo list-presentation="list"?>
|
---|
227 | <?dbhtml list-presentation="table"?>
|
---|
228 |
|
---|
229 | <varlistentry id="cups-browsed">
|
---|
230 | <term><command>cups-browsed</command></term>
|
---|
231 | <listitem>
|
---|
232 | <para>
|
---|
233 | is a daemon for browsing the Bonjour and CUPS broadcasts of shared,
|
---|
234 | remote CUPS printers.
|
---|
235 | </para>
|
---|
236 | <indexterm zone="cups-filters cups-browsed">
|
---|
237 | <primary sortas="b-cups-browsed">cups-browsed</primary>
|
---|
238 | </indexterm>
|
---|
239 | </listitem>
|
---|
240 | </varlistentry>
|
---|
241 |
|
---|
242 | <varlistentry id="foomatic-rip">
|
---|
243 | <term><command>foomatic-rip</command></term>
|
---|
244 | <listitem>
|
---|
245 | <para>
|
---|
246 | is a universal print filter/RIP wrapper which can be used as CUPS
|
---|
247 | filter or stand-alone for spooler-less, direct printing.
|
---|
248 | </para>
|
---|
249 | <indexterm zone="cups-filters foomatic-rip">
|
---|
250 | <primary sortas="b-foomatic-rip">foomatic-rip</primary>
|
---|
251 | </indexterm>
|
---|
252 | </listitem>
|
---|
253 | </varlistentry>
|
---|
254 |
|
---|
255 | <varlistentry id="libcupsfilters">
|
---|
256 | <term><filename class="libraryfile">libcupsfilters.so</filename></term>
|
---|
257 | <listitem>
|
---|
258 | <para>
|
---|
259 | contains <application>CUPS Filters</application> API functions.
|
---|
260 | </para>
|
---|
261 | <indexterm zone="cups-filters libcupsfilters">
|
---|
262 | <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
|
---|
263 | </indexterm>
|
---|
264 | </listitem>
|
---|
265 | </varlistentry>
|
---|
266 |
|
---|
267 | </variablelist>
|
---|
268 |
|
---|
269 | </sect2>
|
---|
270 |
|
---|
271 | </sect1>
|
---|