source: pst/printing/cups-filters.xml@ 4873baa

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4873baa was 7a8976d, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to cups-filters-1.28.4.
Update to libreoffice-7.0.2.2.
Update to nmap-7.91.

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

  • Property mode set to 100644
File size: 11.7 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 "86a76d8a042c7dedbf0ed5fb9606c4e0">
11 <!ENTITY cups-filters-size "1.4 MB">
12 <!ENTITY cups-filters-buildsize "60 MB (with tests), 16MB installed">
13 <!ENTITY cups-filters-time "0.2 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, driverless-fax, foomatic-rip, 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="driverless">
305 <term><command>driverless</command></term>
306 <listitem>
307 <para>
308 is a PPD generator utility for driverless printing.
309 </para>
310 <indexterm zone="cups-filters driverless">
311 <primary sortas="b-driverless">driverless</primary>
312 </indexterm>
313 </listitem>
314 </varlistentry>
315
316 <varlistentry id="driverless-fax">
317 <term><command>driverless-fax</command></term>
318 <listitem>
319 <para>
320 is a wrapper to <command>driverless</command> for FAX type devices.
321 </para>
322 <indexterm zone="cups-filters driverless-fax">
323 <primary sortas="b-driverless-fax">driverless-fax</primary>
324 </indexterm>
325 </listitem>
326 </varlistentry>
327
328 <varlistentry id="foomatic-rip">
329 <term><command>foomatic-rip</command></term>
330 <listitem>
331 <para>
332 is a universal print filter/RIP wrapper which can be used as CUPS
333 filter or stand-alone for spooler-less, direct printing.
334 </para>
335 <indexterm zone="cups-filters foomatic-rip">
336 <primary sortas="b-foomatic-rip">foomatic-rip</primary>
337 </indexterm>
338 </listitem>
339 </varlistentry>
340
341 <varlistentry id="libcupsfilters">
342 <term><filename class="libraryfile">libcupsfilters.so</filename></term>
343 <listitem>
344 <para>
345 contains <application>CUPS Filters</application> API functions.
346 </para>
347 <indexterm zone="cups-filters libcupsfilters">
348 <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
349 </indexterm>
350 </listitem>
351 </varlistentry>
352
353 </variablelist>
354
355 </sect2>
356
357</sect1>
Note: See TracBrowser for help on using the repository browser.