source: pst/printing/cups-filters.xml@ 374ffc0

10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 374ffc0 was 374ffc0, checked in by Bruce Dubbs <bdubbs@…>, 13 months ago

Update to cups-filters-1.28.2.
Update to ghostscript-9.53.1.
Update to libxkbcommon-1.0.1.
Update to pygments-2.7.0 (Python Module).
Update to Net-DNS-1.27 (Perl module).

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23715 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 10.9 KB
Line 
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 "32d0209ca2f7168175038ce41f7fe2d1">
11 <!ENTITY cups-filters-size "1.4 MB">
12 <!ENTITY cups-filters-buildsize "44 MB (with tests), 15MB installed">
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 &lfs10_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="gs"/>,
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="dejavu-fonts"/> (the build fails if they are not
91 installed, although they are only required for the tests),
92 <xref linkend="libjpeg"/>,
93 <xref linkend="libpng"/>,
94 <xref linkend="libtiff"/>, and
95 <xref linkend="mupdf"/> (mutool)
96 </para>
97
98 <bridgehead renderas="sect4">Optional</bridgehead>
99 <para role="optional">
100 <xref linkend="avahi"/> (required to build the DNSSD backend of the
101 <command>cups-browsed</command> daemon, which is needed for operating
102 some network printers),
103 <xref linkend="openldap"/>,
104 <xref linkend="php"/> (use of this might be broken),
105 <ulink url="http://liblouis.org/">Liblouis (Braille)</ulink>, and
106 <ulink url="http://liblouis.org/">Liblouisutdml (Braille)</ulink>
107 </para>
108
109 <bridgehead renderas="sect4">Optional printer drivers (runtime)</bridgehead>
110 <para role="optional">
111 <xref role="runtime" linkend="gutenprint"/> (for supported printers),
112 or other printer drivers, such as <ulink role="runtime"
113 url="http://sourceforge.net/projects/hplip/files/hplip/">hplip</ulink>
114 </para>
115
116 <para condition="html" role="usernotes">
117 User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
118 </para>
119 </sect2>
120
121 <sect2 role="installation">
122 <title>Installation of CUPS Filters</title>
123
124 <para revision="systemd">
125 First, fix the systemd unit file to work with
126 <application>CUPS</application> 2.0 and later:
127 </para>
128
129<screen revision="systemd"><userinput>sed -i "s:cups.service:org.cups.cupsd.service:g" utils/cups-browsed.service</userinput></screen>
130
131 <para>
132 Install <application>CUPS Filters</application> by running the following
133 commands:
134 </para>
135
136<screen><userinput>./configure --prefix=/usr \
137 --sysconfdir=/etc \
138 --localstatedir=/var \
139 --without-rcdir \
140 --disable-static \
141 --disable-avahi \
142 --docdir=/usr/share/doc/cups-filters-&cups-filters-version; &amp;&amp;
143make</userinput></screen>
144
145<!-- The test suite still bombs out for me. I'll leave the instructions for it
146 here though. I didn't have the Dejavu font installed, but used one of the
147 ones installed by X.
148 Version 1.16.0: test worked for me with "make check >testlog 2>&1",
149 that is, the other way around. I have DejaVu fonts. Pierre L
150 With 1.17.2 (and DejaVu) the test output is clean, no need for a log. Ken
151
152 Tests are clean for version 1.21.0 (and version 1.21.5): - Bruce
153 # TOTAL: 6
154 # PASS: 6
155 real 0m2.504s -->
156
157 <para>
158 To test the results, issue:
159 <!--<command>make check &gt;testlog 2&gt;&amp;1</command>.-->
160 <command>make check</command>. DejaVu fonts
161 are needed for the tests.
162 </para>
163
164 <para>
165 Now, as the <systemitem class="username">root</systemitem> user:
166 </para>
167
168<screen role="root"><userinput>make install</userinput></screen>
169
170 <para revision="systemd">
171 Install the systemd unit by running the following command as the
172 <systemitem class="username">root</systemitem> user:
173 </para>
174
175<screen role="root" revision="systemd"><userinput>install -v -m644 utils/cups-browsed.service /lib/systemd/system/cups-browsed.service</userinput></screen>
176
177 </sect2>
178
179 <sect2 role="commands">
180 <title>Command Explanations</title>
181
182<!-- please comment this if no patches are currently needed -->
183<!--<para>
184 <parameter>patch -Np1 -i ../cups-filters-&cups-filters-version;-poppler71-1.patch</parameter>:
185 Conditionally apply changes for recent versions of poppler.
186 </para>
187 Poppler-0.72.0, cups-filters-1.21.5 - no longer needed.-->
188
189 <para>
190 <parameter>--disable-avahi</parameter>: This switch is needed
191 if the optional <xref linkend="avahi"/> is not installed. Remove
192 it if avahi is installed and you need network printer discovery
193 capabilities.
194 </para>
195
196 <para>
197 <parameter>--without-rcdir</parameter>: This switch disables
198 installation of the bundled bootscript which is not compatible
199 with BLFS.
200 </para>
201
202<!-- Those are hard dependencies now
203 <para>
204 <parameter>- -with-gs-path=/usr/bin/gs</parameter>: This switch
205 defines the path to the <application>GhostScript</application>
206 binary in case <xref linkend="gs"/> is not installed at build time.
207 </para>
208
209 <para>
210 <parameter>- -with-pdftops-path=/usr/bin/gs</parameter>: This switch
211 defines the path to the <application>GhostScript</application>
212 binary in case <xref linkend="gs"/> is not installed at build time.
213 </para>
214-->
215
216 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
217 href="../../xincludes/static-libraries.xml"/>
218 <!--
219 <para>
220 <option>- -enable-ijs</option>: This switch will allow the pdftoijs
221 filter, for sending PDFs to an HP InkJet Server, to be built.
222 </para>
223 -->
224
225 <para>
226 <option>--with-test-font-path=<replaceable>VALUE</replaceable></option>:
227 If you wish to run the tests, but
228 you do not have the default
229 <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this
230 switch to specify where <filename>DejaVuSans.ttf</filename> (or perhaps
231 some other text TTF font - untested) is located.
232 </para>
233
234
235 </sect2>
236
237<!-- TODO: Write a bootscript for cups-browsed -->
238
239 <sect2 role="configuration" revision="systemd">
240 <title>Configuring CUPS Filters</title>
241
242 <sect3 id="cups-filters-init">
243 <title>Systemd Units</title>
244
245 <para>
246 To start the <command>cups-browsed</command> daemon at boot, enable
247 the previously installed systemd unit by running the following command
248 as the <systemitem class="username">root</systemitem> user:
249 </para>
250
251 <indexterm zone="cups-filters cups-filters-init">
252 <primary sortas="f-cups-browsed">cups-browsed</primary>
253 </indexterm>
254
255<screen role="root"><userinput>systemctl enable cups-browsed</userinput></screen>
256
257 </sect3>
258
259 </sect2>
260
261 <sect2 role="content">
262 <title>Contents</title>
263
264 <segmentedlist>
265 <segtitle>Installed Programs</segtitle>
266 <segtitle>Installed Libraries</segtitle>
267 <segtitle>Installed Directories</segtitle>
268
269 <seglistitem>
270 <seg>
271 cups-browsed, driverless (link), foomatic-rip (link) and ttfread
272 </seg>
273 <seg>
274 libcupsfilters.so and libfontembed.so
275 </seg>
276 <seg>
277 /usr/include/{cupsfilters,fontembed},
278 /usr/lib/cups/driver,
279 /usr/share/cups/{braille,charsets},
280 /usr/share/doc/cups-filters-&cups-filters-version; and
281 /usr/share/ppd/cupsfilters
282 </seg>
283 </seglistitem>
284 </segmentedlist>
285
286 <variablelist>
287 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
288 <?dbfo list-presentation="list"?>
289 <?dbhtml list-presentation="table"?>
290
291 <varlistentry id="cups-browsed">
292 <term><command>cups-browsed</command></term>
293 <listitem>
294 <para>
295 is a daemon for browsing the Bonjour and CUPS broadcasts of shared,
296 remote CUPS printers.
297 </para>
298 <indexterm zone="cups-filters cups-browsed">
299 <primary sortas="b-cups-browsed">cups-browsed</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
304 <varlistentry id="foomatic-rip">
305 <term><command>foomatic-rip</command></term>
306 <listitem>
307 <para>
308 is a universal print filter/RIP wrapper which can be used as CUPS
309 filter or stand-alone for spooler-less, direct printing.
310 </para>
311 <indexterm zone="cups-filters foomatic-rip">
312 <primary sortas="b-foomatic-rip">foomatic-rip</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 <varlistentry id="libcupsfilters">
318 <term><filename class="libraryfile">libcupsfilters.so</filename></term>
319 <listitem>
320 <para>
321 contains <application>CUPS Filters</application> API functions.
322 </para>
323 <indexterm zone="cups-filters libcupsfilters">
324 <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
325 </indexterm>
326 </listitem>
327 </varlistentry>
328
329 </variablelist>
330
331 </sect2>
332
333</sect1>
Note: See TracBrowser for help on using the repository browser.