source: pst/printing/cups-filters.xml@ 4f5369a

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

Modify dependencies for babl and mutter
Minor fixes to several pages (mostly URL changes)
Update to gnome-user-docs-3.24.0
Update to Appstream-Glib-0.6.12
Update to Cheese-3.24.0
Update to gdm-3.24.1
Update to gnome-backgrounds-3.24.0
Update to gnome-settings-daemon-3.24.1
Update to gnome-color-manager-3.24.0
Update to gnome-control-center-3.24.1
Update to gnome-shell-3.24.1
Update to gnome-shell-extensions-3.24.1
Update to gnome-session-3.24.1
Update to gvfs-1.32.1
Update to mutter-3.24.1
Update to nautilus-3.24.1
Update to zenity-3.24.0

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

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