source: pst/printing/cups-filters.xml@ 45ab6c7

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 45ab6c7 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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