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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 c1add1f5 was c1add1f5, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to cups-filters-1.16.1.
Update to mpg123-1.25.6.
Update to feh-2.19.2.
Update to gtk-doc-1.26.

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

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