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 "9b6d607b4041e5ee9a8787e7585a8e9e">
|
---|
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.3 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 | &lfs75_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 | <para>
|
---|
143 | Install the systemd unit by running the following command as the
|
---|
144 | <systemitem class="username">root</systemitem> user:
|
---|
145 | </para>
|
---|
146 |
|
---|
147 | <screen role="root"><userinput>install -v -m644 utils/cups-browsed.service /lib/systemd/system/cups-browsed.service</userinput></screen>
|
---|
148 |
|
---|
149 | </sect2>
|
---|
150 |
|
---|
151 | <sect2 role="commands">
|
---|
152 | <title>Command Explanations</title>
|
---|
153 |
|
---|
154 | <para>
|
---|
155 | <parameter>--without-rcdir</parameter>: This switch disables
|
---|
156 | installation of the bundled bootscript which is not compatible
|
---|
157 | with BLFS.
|
---|
158 | </para>
|
---|
159 |
|
---|
160 | <para>
|
---|
161 | <parameter>--with-gs-path=/usr/bin/gs</parameter>: This switch
|
---|
162 | defines the path to the <application>GhostScript</application>
|
---|
163 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
164 | </para>
|
---|
165 |
|
---|
166 | <para>
|
---|
167 | <parameter>--with-pdftops-path=/usr/bin/gs</parameter>: This switch
|
---|
168 | defines the path to the <application>GhostScript</application>
|
---|
169 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
170 | </para>
|
---|
171 |
|
---|
172 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
173 | href="../../xincludes/static-libraries.xml"/>
|
---|
174 |
|
---|
175 | <para>
|
---|
176 | <command>make check 2>&1 >testlog</command>: the testsuite
|
---|
177 | dumps a stream of bytes into the input buffer after it finishes. Sending
|
---|
178 | the output to a file keeps the history usable, but some debug information
|
---|
179 | will still appear on the screen.
|
---|
180 | </para>
|
---|
181 |
|
---|
182 | <para>
|
---|
183 | <option>--with-test-path=<replaceable>VALUE</replaceable></option> : if you wish to run the tests, but
|
---|
184 | you do not have the default
|
---|
185 | <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this switch
|
---|
186 | to specify where <filename>DejaVuSans.ttf</filename> (or perhaps some other
|
---|
187 | text TTF font - untested) is located.
|
---|
188 | </para>
|
---|
189 |
|
---|
190 | </sect2>
|
---|
191 |
|
---|
192 | <sect2 role="configuration">
|
---|
193 | <title>Configuring Cups Filters</title>
|
---|
194 |
|
---|
195 | <sect3 id="cups-filters-init">
|
---|
196 | <title>Systemd Units</title>
|
---|
197 |
|
---|
198 | <para>
|
---|
199 | To start the <command>cups-browsed</command> daemon at boot, enable
|
---|
200 | the previously installed systemd unit by running the following command
|
---|
201 | as the <systemitem class="username">root</systemitem> user:
|
---|
202 | </para>
|
---|
203 |
|
---|
204 | <indexterm zone="cups-filters cups-filters-init">
|
---|
205 | <primary sortas="f-cups-browsed">cups-browsed</primary>
|
---|
206 | </indexterm>
|
---|
207 |
|
---|
208 | <screen role="root"><userinput>systemctl enable cups-browsed</userinput></screen>
|
---|
209 |
|
---|
210 | </sect3>
|
---|
211 |
|
---|
212 | </sect2>
|
---|
213 |
|
---|
214 | <sect2 role="content">
|
---|
215 | <title>Contents</title>
|
---|
216 |
|
---|
217 | <segmentedlist>
|
---|
218 | <segtitle>Installed Programs</segtitle>
|
---|
219 | <segtitle>Installed Libraries</segtitle>
|
---|
220 | <segtitle>Installed Directories</segtitle>
|
---|
221 |
|
---|
222 | <seglistitem>
|
---|
223 | <seg>
|
---|
224 | ttfread and cups-browsed
|
---|
225 | </seg>
|
---|
226 | <seg>
|
---|
227 | libcupsfilters.so and libfontembed.so
|
---|
228 | </seg>
|
---|
229 | <seg>
|
---|
230 | /usr/include/cupsfilters,
|
---|
231 | /usr/include/fontembed,
|
---|
232 | /usr/lib/cups/backend,
|
---|
233 | /usr/lib/cups/filter,
|
---|
234 | /usr/share/cups/banners,
|
---|
235 | /usr/share/cups/charsets,
|
---|
236 | /usr/share/cups/data,
|
---|
237 | /usr/share/doc/cups-filters-&cups-filters-version; and
|
---|
238 | /usr/share/ppd/cupsfilters
|
---|
239 | </seg>
|
---|
240 | </seglistitem>
|
---|
241 | </segmentedlist>
|
---|
242 |
|
---|
243 | <variablelist>
|
---|
244 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
245 | <?dbfo list-presentation="list"?>
|
---|
246 | <?dbhtml list-presentation="table"?>
|
---|
247 |
|
---|
248 | <varlistentry id="libcupsfilters">
|
---|
249 | <term><filename class="libraryfile">libcupsfilters.so</filename></term>
|
---|
250 | <listitem>
|
---|
251 | <para>
|
---|
252 | contains <application>CUPS Filters</application> API functions.
|
---|
253 | </para>
|
---|
254 | <indexterm zone="cups-filters libcupsfilters">
|
---|
255 | <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
|
---|
256 | </indexterm>
|
---|
257 | </listitem>
|
---|
258 | </varlistentry>
|
---|
259 |
|
---|
260 | </variablelist>
|
---|
261 |
|
---|
262 | </sect2>
|
---|
263 |
|
---|
264 | </sect1>
|
---|