source: pst/printing/cups-filters.xml@ 2f1053c

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 2f1053c 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
RevLine 
[dcbd2c6]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
[b26bc4c]7 <!ENTITY cups-filters-download-http
[4634c7a]8 "https://www.openprinting.org/download/cups-filters/cups-filters-&cups-filters-version;.tar.xz">
[dcbd2c6]9 <!ENTITY cups-filters-download-ftp " ">
[2f1053c]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)">
[dcbd2c6]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
[ee85ab4]40 &lfs82_checked;
[dcbd2c6]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>
[2f1053c]75
[a92a3a9]76 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
77 <itemizedlist spacing="compact">
78 <listitem>
79 <para>
80 Required patch:
[2f1053c]81 <ulink url="&patch-root;/cups-filters-&cups-filters-version;-poppler67-1.patch"/>
[a92a3a9]82 </para>
83 </listitem>
[2f1053c]84 </itemizedlist>
[7b88d5a]85
[dcbd2c6]86 <bridgehead renderas="sect3">CUPS Filters Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
90 <xref linkend="cups"/>,
[f473955]91 <xref linkend="glib2"/>,
[4118724f]92 <xref linkend="gs"/>,
[9d8cb37]93 <xref linkend="lcms2"/>,
[e519fef]94 <xref linkend="mupdf"/> (mutool),
[4118724f]95 <xref linkend="poppler"/>, and
[9d8cb37]96 <xref linkend="qpdf"/>
[dcbd2c6]97 </para>
98
99 <bridgehead renderas="sect4">Recommended</bridgehead>
100 <para role="recommended">
101 <xref linkend="libjpeg"/>,
[4b38959]102 <xref linkend="libpng"/> and
[dcbd2c6]103 <xref linkend="libtiff"/>
104 </para>
105
106 <bridgehead renderas="sect4">Optional</bridgehead>
107 <para role="optional">
[6a71920c]108 <xref linkend="avahi"/>,
[f5cdf41]109 <xref linkend="dejavu-fonts"/> (required for the tests),
[2f1053c]110 <xref linkend="ijs"/>,
[cad913e0]111 <xref linkend="openldap"/>,
[d42f02c6]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>
[dcbd2c6]115 </para>
116
[4118724f]117 <bridgehead renderas="sect4">Optional printer drivers (runtime)</bridgehead>
118 <para role="optional">
[f5cdf41]119 <xref role="runtime" linkend="gutenprint"/> (for supported printers),
120 or other printer drivers, such as <ulink role="runtime"
[23d2dc5]121 url="http://sourceforge.net/projects/hplip/files/hplip/">hplip</ulink>
[dcbd2c6]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
[c480c33]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
[dcbd2c6]139 <para>
140 Install <application>CUPS Filters</application> by running the following
141 commands:
142 </para>
[7b88d5a]143
[2f1053c]144<screen><userinput>patch -Np1 -i ../cups-filters-&cups-filters-version;-poppler67-1.patch &amp;&amp;
145
146./configure \
[83d02fc6]147 --prefix=/usr \
148 --sysconfdir=/etc \
149 --localstatedir=/var \
150 --without-rcdir \
151 --disable-static \
152 --disable-avahi \
[6a71920c]153 --docdir=/usr/share/doc/cups-filters-&cups-filters-version; &amp;&amp;
[dcbd2c6]154make</userinput></screen>
155
[c480c33]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
[3bb415b]158 ones installed by X.
159 Version 1.16.0: test worked for me with "make check >testlog 2>&1",
[747fcf5]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 -->
[c480c33]162
[dcbd2c6]163 <para>
[4118724f]164 To test the results, issue:
[6213b66]165 <!--<command>make check &gt;testlog 2&gt;&amp;1</command>.-->
[747fcf5]166 <command>make check</command>. DejaVu fonts
[4118724f]167 are needed for the tests.
[dcbd2c6]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
[c480c33]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
[dcbd2c6]183 </sect2>
184
185 <sect2 role="commands">
186 <title>Command Explanations</title>
[a92a3a9]187
[2f1053c]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
[03a0a638]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
[cbda2a25]200 <para>
[d6da5da]201 <parameter>--without-rcdir</parameter>: This switch disables
202 installation of the bundled bootscript which is not compatible
203 with BLFS.
[cbda2a25]204 </para>
205
[4118724f]206<!-- Those are hard dependencies now
[dcbd2c6]207 <para>
[4118724f]208 <parameter>- -with-gs-path=/usr/bin/gs</parameter>: This switch
[dcbd2c6]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>
[4118724f]214 <parameter>- -with-pdftops-path=/usr/bin/gs</parameter>: This switch
[dcbd2c6]215 defines the path to the <application>GhostScript</application>
216 binary in case <xref linkend="gs"/> is not installed at build time.
217 </para>
[4118724f]218-->
[dcbd2c6]219
[bfa09457]220 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
221 href="../../xincludes/static-libraries.xml"/>
[9e6c909]222
[2f1053c]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
[747fcf5]228<!--<para>
[c480c33]229 <command>make check 2&gt;&amp;1 &gt;testlog</command>: The testsuite
[8e1a075]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.
[747fcf5]233 </para>-->
[8e1a075]234
[e519fef]235<!-- option seems to be obsolete - configure doesn't pick it up
[8e1a075]236 <para>
[e519fef]237 <option>- -with-test-path=<replaceable>VALUE</replaceable></option>: If you wish to run the tests, but
[8e1a075]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>
[e519fef]243-->
[8e1a075]244
[dcbd2c6]245 </sect2>
246
[cbda2a25]247<!-- TODO: Write a bootscript for cups-browsed -->
248
[c480c33]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
[dcbd2c6]271 <sect2 role="content">
272 <title>Contents</title>
273
274 <segmentedlist>
[cbda2a25]275 <segtitle>Installed Programs</segtitle>
[dcbd2c6]276 <segtitle>Installed Libraries</segtitle>
277 <segtitle>Installed Directories</segtitle>
278
279 <seglistitem>
280 <seg>
[3bb415b]281 cups-browsed, driverless (link), foomatic-rip (link) and ttfread
[dcbd2c6]282 </seg>
283 <seg>
284 libcupsfilters.so and libfontembed.so
285 </seg>
286 <seg>
[7374e16]287 /usr/include/{cupsfilters,fontembed},
[82e07e67]288 /usr/lib/cups/driver,
[d42f02c6]289 /usr/share/cups/{braille,charsets},
[dcbd2c6]290 /usr/share/doc/cups-filters-&cups-filters-version; and
[7273ffc]291 /usr/share/ppd/cupsfilters
[dcbd2c6]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
[298fee30]301 <varlistentry id="cups-browsed">
302 <term><command>cups-browsed</command></term>
[7374e16]303 <listitem>
304 <para>
[298fee30]305 is a daemon for browsing the Bonjour and CUPS broadcasts of shared,
306 remote CUPS printers.
[7374e16]307 </para>
[298fee30]308 <indexterm zone="cups-filters cups-browsed">
309 <primary sortas="b-cups-browsed">cups-browsed</primary>
[7374e16]310 </indexterm>
311 </listitem>
312 </varlistentry>
313
[298fee30]314 <varlistentry id="foomatic-rip">
315 <term><command>foomatic-rip</command></term>
[7374e16]316 <listitem>
317 <para>
[298fee30]318 is a universal print filter/RIP wrapper which can be used as CUPS
319 filter or stand-alone for spooler-less, direct printing.
[7374e16]320 </para>
[298fee30]321 <indexterm zone="cups-filters foomatic-rip">
322 <primary sortas="b-foomatic-rip">foomatic-rip</primary>
[7374e16]323 </indexterm>
324 </listitem>
325 </varlistentry>
326
[dcbd2c6]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.