source: pst/printing/cups-filters.xml@ 208d4a0c

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 208d4a0c was 208d4a0c, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to dhcpcd-9.3.1.
Update to libpwquality-1.4.3.
Update to cups-filters-1.28.5.

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

  • Property mode set to 100644
File size: 11.7 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 " ">
[208d4a0c]10 <!ENTITY cups-filters-md5sum "4a3f25b82e2b1400dbe10058262500f1">
[db6385b]11 <!ENTITY cups-filters-size "1.4 MB">
[a82b5f44]12 <!ENTITY cups-filters-buildsize "60 MB (with tests), 16MB installed">
[7a8976d]13 <!ENTITY cups-filters-time "0.2 SBU (with 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
[58387b50]40 &lfs10_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
[dcbd2c6]76 <bridgehead renderas="sect3">CUPS Filters Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="cups"/>,
[f473955]81 <xref linkend="glib2"/>,
[4118724f]82 <xref linkend="gs"/>,
[9d8cb37]83 <xref linkend="lcms2"/>,
[4118724f]84 <xref linkend="poppler"/>, and
[9d8cb37]85 <xref linkend="qpdf"/>
[dcbd2c6]86 </para>
87
88 <bridgehead renderas="sect4">Recommended</bridgehead>
89 <para role="recommended">
[681cda1]90 <xref linkend="dejavu-fonts"/> (the build fails if they are not
91 installed, although they are only required for the tests),
[dcbd2c6]92 <xref linkend="libjpeg"/>,
[10cbf37]93 <xref linkend="libpng"/>,
[681cda1]94 <xref linkend="libtiff"/>, and
[2f727d8f]95 <xref linkend="mupdf"/> (mutool)
[dcbd2c6]96 </para>
97
98 <bridgehead renderas="sect4">Optional</bridgehead>
99 <para role="optional">
[681cda1]100 <xref linkend="avahi"/> (required to build the DNSSD backend of the
101 <command>cups-browsed</command> daemon, which is needed for operating
102 some network printers),
[cad913e0]103 <xref linkend="openldap"/>,
[d42f02c6]104 <xref linkend="php"/> (use of this might be broken),
105 <ulink url="http://liblouis.org/">Liblouis (Braille)</ulink>, and
106 <ulink url="http://liblouis.org/">Liblouisutdml (Braille)</ulink>
[dcbd2c6]107 </para>
108
[4118724f]109 <bridgehead renderas="sect4">Optional printer drivers (runtime)</bridgehead>
110 <para role="optional">
[f5cdf41]111 <xref role="runtime" linkend="gutenprint"/> (for supported printers),
112 or other printer drivers, such as <ulink role="runtime"
[23d2dc5]113 url="http://sourceforge.net/projects/hplip/files/hplip/">hplip</ulink>
[dcbd2c6]114 </para>
115
116 <para condition="html" role="usernotes">
117 User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
118 </para>
119 </sect2>
120
121 <sect2 role="installation">
122 <title>Installation of CUPS Filters</title>
123
[c480c33]124 <para revision="systemd">
125 First, fix the systemd unit file to work with
126 <application>CUPS</application> 2.0 and later:
127 </para>
128
129<screen revision="systemd"><userinput>sed -i "s:cups.service:org.cups.cupsd.service:g" utils/cups-browsed.service</userinput></screen>
130
[dcbd2c6]131 <para>
132 Install <application>CUPS Filters</application> by running the following
133 commands:
134 </para>
[7b88d5a]135
[4a1a7711]136<screen><userinput>./configure --prefix=/usr \
[83dc192]137 --sysconfdir=/etc \
138 --localstatedir=/var \
139 --without-rcdir \
140 --disable-static \
141 --disable-avahi \
142 --docdir=/usr/share/doc/cups-filters-&cups-filters-version; &amp;&amp;
[dcbd2c6]143make</userinput></screen>
144
[c480c33]145<!-- The test suite still bombs out for me. I'll leave the instructions for it
146 here though. I didn't have the Dejavu font installed, but used one of the
[3bb415b]147 ones installed by X.
148 Version 1.16.0: test worked for me with "make check >testlog 2>&1",
[747fcf5]149 that is, the other way around. I have DejaVu fonts. Pierre L
[83dc192]150 With 1.17.2 (and DejaVu) the test output is clean, no need for a log. Ken
151
[db6385b]152 Tests are clean for version 1.21.0 (and version 1.21.5): - Bruce
[83dc192]153 # TOTAL: 6
154 # PASS: 6
155 real 0m2.504s -->
[c480c33]156
[dcbd2c6]157 <para>
[4118724f]158 To test the results, issue:
[6213b66]159 <!--<command>make check &gt;testlog 2&gt;&amp;1</command>.-->
[747fcf5]160 <command>make check</command>. DejaVu fonts
[4118724f]161 are needed for the tests.
[dcbd2c6]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
[c480c33]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
[dcbd2c6]177 </sect2>
178
179 <sect2 role="commands">
180 <title>Command Explanations</title>
[cfc1f98]181
[10cbf37]182<!-- please comment this if no patches are currently needed -->
[1c459bf2]183<!--<para>
[10cbf37]184 <parameter>patch -Np1 -i ../cups-filters-&cups-filters-version;-poppler71-1.patch</parameter>:
[2f1053c]185 Conditionally apply changes for recent versions of poppler.
[1c459bf2]186 </para>
187 Poppler-0.72.0, cups-filters-1.21.5 - no longer needed.-->
[cfc1f98]188
[03a0a638]189 <para>
190 <parameter>--disable-avahi</parameter>: This switch is needed
191 if the optional <xref linkend="avahi"/> is not installed. Remove
192 it if avahi is installed and you need network printer discovery
193 capabilities.
194 </para>
195
[cbda2a25]196 <para>
[d6da5da]197 <parameter>--without-rcdir</parameter>: This switch disables
198 installation of the bundled bootscript which is not compatible
199 with BLFS.
[cbda2a25]200 </para>
201
[4118724f]202<!-- Those are hard dependencies now
[dcbd2c6]203 <para>
[4118724f]204 <parameter>- -with-gs-path=/usr/bin/gs</parameter>: This switch
[dcbd2c6]205 defines the path to the <application>GhostScript</application>
206 binary in case <xref linkend="gs"/> is not installed at build time.
207 </para>
208
209 <para>
[4118724f]210 <parameter>- -with-pdftops-path=/usr/bin/gs</parameter>: This switch
[dcbd2c6]211 defines the path to the <application>GhostScript</application>
212 binary in case <xref linkend="gs"/> is not installed at build time.
213 </para>
[4118724f]214-->
[dcbd2c6]215
[bfa09457]216 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
217 href="../../xincludes/static-libraries.xml"/>
[39555dd]218 <!--
[2f1053c]219 <para>
[39555dd]220 <option>- -enable-ijs</option>: This switch will allow the pdftoijs
[2f1053c]221 filter, for sending PDFs to an HP InkJet Server, to be built.
222 </para>
[39555dd]223 -->
[2f1053c]224
[8e1a075]225 <para>
[681cda1]226 <option>--with-test-font-path=<replaceable>VALUE</replaceable></option>:
227 If you wish to run the tests, but
[8e1a075]228 you do not have the default
[681cda1]229 <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this
230 switch to specify where <filename>DejaVuSans.ttf</filename> (or perhaps
231 some other text TTF font - untested) is located.
[8e1a075]232 </para>
[681cda1]233
[8e1a075]234
[dcbd2c6]235 </sect2>
236
[cbda2a25]237<!-- TODO: Write a bootscript for cups-browsed -->
238
[c480c33]239 <sect2 role="configuration" revision="systemd">
240 <title>Configuring CUPS Filters</title>
241
242 <sect3 id="cups-filters-init">
243 <title>Systemd Units</title>
244
245 <para>
246 To start the <command>cups-browsed</command> daemon at boot, enable
247 the previously installed systemd unit by running the following command
248 as the <systemitem class="username">root</systemitem> user:
249 </para>
250
251 <indexterm zone="cups-filters cups-filters-init">
252 <primary sortas="f-cups-browsed">cups-browsed</primary>
253 </indexterm>
254
255<screen role="root"><userinput>systemctl enable cups-browsed</userinput></screen>
256
257 </sect3>
258
259 </sect2>
260
[dcbd2c6]261 <sect2 role="content">
262 <title>Contents</title>
263
264 <segmentedlist>
[cbda2a25]265 <segtitle>Installed Programs</segtitle>
[dcbd2c6]266 <segtitle>Installed Libraries</segtitle>
267 <segtitle>Installed Directories</segtitle>
268
269 <seglistitem>
270 <seg>
[a82b5f44]271 cups-browsed, driverless, driverless-fax, foomatic-rip, and ttfread
[dcbd2c6]272 </seg>
273 <seg>
274 libcupsfilters.so and libfontembed.so
275 </seg>
276 <seg>
[7374e16]277 /usr/include/{cupsfilters,fontembed},
[82e07e67]278 /usr/lib/cups/driver,
[d42f02c6]279 /usr/share/cups/{braille,charsets},
[a82b5f44]280 /usr/share/doc/cups-filters-&cups-filters-version;, and
[7273ffc]281 /usr/share/ppd/cupsfilters
[dcbd2c6]282 </seg>
283 </seglistitem>
284 </segmentedlist>
285
286 <variablelist>
287 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
288 <?dbfo list-presentation="list"?>
289 <?dbhtml list-presentation="table"?>
290
[298fee30]291 <varlistentry id="cups-browsed">
292 <term><command>cups-browsed</command></term>
[7374e16]293 <listitem>
294 <para>
[298fee30]295 is a daemon for browsing the Bonjour and CUPS broadcasts of shared,
296 remote CUPS printers.
[7374e16]297 </para>
[298fee30]298 <indexterm zone="cups-filters cups-browsed">
299 <primary sortas="b-cups-browsed">cups-browsed</primary>
[7374e16]300 </indexterm>
[a82b5f44]301 </listitem>
302 </varlistentry>
303
304 <varlistentry id="driverless">
305 <term><command>driverless</command></term>
306 <listitem>
307 <para>
308 is a PPD generator utility for driverless printing.
309 </para>
310 <indexterm zone="cups-filters driverless">
311 <primary sortas="b-driverless">driverless</primary>
312 </indexterm>
313 </listitem>
314 </varlistentry>
315
316 <varlistentry id="driverless-fax">
317 <term><command>driverless-fax</command></term>
318 <listitem>
319 <para>
320 is a wrapper to <command>driverless</command> for FAX type devices.
321 </para>
322 <indexterm zone="cups-filters driverless-fax">
323 <primary sortas="b-driverless-fax">driverless-fax</primary>
324 </indexterm>
[7374e16]325 </listitem>
326 </varlistentry>
327
[298fee30]328 <varlistentry id="foomatic-rip">
329 <term><command>foomatic-rip</command></term>
[7374e16]330 <listitem>
331 <para>
[298fee30]332 is a universal print filter/RIP wrapper which can be used as CUPS
333 filter or stand-alone for spooler-less, direct printing.
[7374e16]334 </para>
[298fee30]335 <indexterm zone="cups-filters foomatic-rip">
336 <primary sortas="b-foomatic-rip">foomatic-rip</primary>
[7374e16]337 </indexterm>
338 </listitem>
339 </varlistentry>
340
[dcbd2c6]341 <varlistentry id="libcupsfilters">
342 <term><filename class="libraryfile">libcupsfilters.so</filename></term>
343 <listitem>
344 <para>
345 contains <application>CUPS Filters</application> API functions.
346 </para>
347 <indexterm zone="cups-filters libcupsfilters">
348 <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
349 </indexterm>
350 </listitem>
351 </varlistentry>
352
353 </variablelist>
354
355 </sect2>
356
357</sect1>
Note: See TracBrowser for help on using the repository browser.