source: pst/printing/cups-filters.xml@ 5fef9010

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 5fef9010 was c655da01, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to cups-filters-1.19.0.
Update to sudo-1.8.22.

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

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