source: pst/printing/cups-filters.xml@ e519fef

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.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 e519fef was e519fef, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Update to cups-filters-1.13.1
Update to curl-7.52.0
Remove obsolete libtool sed from poppler
Typo fix (Thanks to Paul Menzel for reporting)

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

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