source: pst/printing/cups-filters.xml@ 9e629a4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 9e629a4 was 2f1053c, checked in by Ken Moffat <ken@…>, 6 years ago

cups-filters-1.20.4

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

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