source: pst/printing/cups-filters.xml@ 23d2dc5

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 23d2dc5 was 23d2dc5, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Update to cups-filters-1.13.3

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

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