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

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 a953e682 was 4fd61738, checked in by Tim Tassonis <stuff@…>, 3 years ago

Add a sed to cups-filters to allow building with openldap 2.5.4.

  • Property mode set to 100644
File size: 11.8 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 " ">
[8404399]10 <!ENTITY cups-filters-md5sum "914fb53d31ff8500dc25d2e2c68ca5c1">
[db6385b]11 <!ENTITY cups-filters-size "1.4 MB">
[8404399]12 <!ENTITY cups-filters-buildsize "62 MB (with tests), 17 MB installed">
[fc0e436]13 <!ENTITY cups-filters-time "0.4 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 <date>$Date$</date>
21 </sect1info>
22
23 <title>cups-filters-&cups-filters-version;</title>
24
25 <indexterm zone="cups-filters">
26 <primary sortas="a-cups-filters">cups-filters</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to CUPS Filters</title>
31
32 <para>
33 The <application>CUPS Filters</application> package contains backends,
34 filters and other software that was once part of the core
35 <application>CUPS</application> distribution but is no longer
36 maintained by Apple Inc.
37 </para>
38
[2b7420b]39 &lfs101_checked;
[dcbd2c6]40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&cups-filters-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&cups-filters-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &cups-filters-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &cups-filters-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &cups-filters-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &cups-filters-time;
71 </para>
72 </listitem>
73 </itemizedlist>
[2f1053c]74
[dcbd2c6]75 <bridgehead renderas="sect3">CUPS Filters Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="cups"/>,
[f473955]80 <xref linkend="glib2"/>,
[4118724f]81 <xref linkend="gs"/>,
[9d8cb37]82 <xref linkend="lcms2"/>,
[4118724f]83 <xref linkend="poppler"/>, and
[9d8cb37]84 <xref linkend="qpdf"/>
[dcbd2c6]85 </para>
86
87 <bridgehead renderas="sect4">Recommended</bridgehead>
88 <para role="recommended">
[681cda1]89 <xref linkend="dejavu-fonts"/> (the build fails if they are not
90 installed, although they are only required for the tests),
[dcbd2c6]91 <xref linkend="libjpeg"/>,
[10cbf37]92 <xref linkend="libpng"/>,
[681cda1]93 <xref linkend="libtiff"/>, and
[2f727d8f]94 <xref linkend="mupdf"/> (mutool)
[dcbd2c6]95 </para>
96
97 <bridgehead renderas="sect4">Optional</bridgehead>
98 <para role="optional">
[681cda1]99 <xref linkend="avahi"/> (required to build the DNSSD backend of the
100 <command>cups-browsed</command> daemon, which is needed for operating
101 some network printers),
[cad913e0]102 <xref linkend="openldap"/>,
[d42f02c6]103 <xref linkend="php"/> (use of this might be broken),
104 <ulink url="http://liblouis.org/">Liblouis (Braille)</ulink>, and
105 <ulink url="http://liblouis.org/">Liblouisutdml (Braille)</ulink>
[dcbd2c6]106 </para>
107
[4118724f]108 <bridgehead renderas="sect4">Optional printer drivers (runtime)</bridgehead>
109 <para role="optional">
[f5cdf41]110 <xref role="runtime" linkend="gutenprint"/> (for supported printers),
111 or other printer drivers, such as <ulink role="runtime"
[c6b192c]112 url="https://sourceforge.net/projects/hplip/files/hplip/">hplip</ulink>
[dcbd2c6]113 </para>
114
115 <para condition="html" role="usernotes">
116 User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
117 </para>
118 </sect2>
119
120 <sect2 role="installation">
121 <title>Installation of CUPS Filters</title>
122
[c480c33]123 <para revision="systemd">
124 First, fix the systemd unit file to work with
125 <application>CUPS</application> 2.0 and later:
126 </para>
127
128<screen revision="systemd"><userinput>sed -i "s:cups.service:org.cups.cupsd.service:g" utils/cups-browsed.service</userinput></screen>
129
[dcbd2c6]130 <para>
131 Install <application>CUPS Filters</application> by running the following
132 commands:
133 </para>
[7b88d5a]134
[4fd61738]135<screen><userinput>sed -i 's/ldap_connect/ldap_connect_loc/g' utils/cups-browsed.c &amp;&amp;
136./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
[4fd61738]189 <para>
190 <command>sed ... utils/cups-browsed.c</command>: This sed fixes building against openldap 2.5.4.
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"/>
[39555dd]222 <!--
[2f1053c]223 <para>
[39555dd]224 <option>- -enable-ijs</option>: This switch will allow the pdftoijs
[2f1053c]225 filter, for sending PDFs to an HP InkJet Server, to be built.
226 </para>
[39555dd]227 -->
[2f1053c]228
[8e1a075]229 <para>
[681cda1]230 <option>--with-test-font-path=<replaceable>VALUE</replaceable></option>:
231 If you wish to run the tests, but
[8e1a075]232 you do not have the default
[681cda1]233 <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this
234 switch to specify where <filename>DejaVuSans.ttf</filename> (or perhaps
235 some other text TTF font - untested) is located.
[8e1a075]236 </para>
[681cda1]237
[8e1a075]238
[dcbd2c6]239 </sect2>
240
[cbda2a25]241<!-- TODO: Write a bootscript for cups-browsed -->
242
[c480c33]243 <sect2 role="configuration" revision="systemd">
244 <title>Configuring CUPS Filters</title>
245
246 <sect3 id="cups-filters-init">
247 <title>Systemd Units</title>
248
249 <para>
250 To start the <command>cups-browsed</command> daemon at boot, enable
251 the previously installed systemd unit by running the following command
252 as the <systemitem class="username">root</systemitem> user:
253 </para>
254
255 <indexterm zone="cups-filters cups-filters-init">
256 <primary sortas="f-cups-browsed">cups-browsed</primary>
257 </indexterm>
258
259<screen role="root"><userinput>systemctl enable cups-browsed</userinput></screen>
260
261 </sect3>
262
263 </sect2>
264
[dcbd2c6]265 <sect2 role="content">
266 <title>Contents</title>
267
268 <segmentedlist>
[cbda2a25]269 <segtitle>Installed Programs</segtitle>
[dcbd2c6]270 <segtitle>Installed Libraries</segtitle>
271 <segtitle>Installed Directories</segtitle>
272
273 <seglistitem>
274 <seg>
[a82b5f44]275 cups-browsed, driverless, driverless-fax, foomatic-rip, and ttfread
[dcbd2c6]276 </seg>
277 <seg>
278 libcupsfilters.so and libfontembed.so
279 </seg>
280 <seg>
[7374e16]281 /usr/include/{cupsfilters,fontembed},
[fc0e436]282 /usr/lib/cups/{backend,driver,filter},
[d42f02c6]283 /usr/share/cups/{braille,charsets},
[a82b5f44]284 /usr/share/doc/cups-filters-&cups-filters-version;, and
[7273ffc]285 /usr/share/ppd/cupsfilters
[dcbd2c6]286 </seg>
287 </seglistitem>
288 </segmentedlist>
289
290 <variablelist>
291 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
292 <?dbfo list-presentation="list"?>
293 <?dbhtml list-presentation="table"?>
294
[298fee30]295 <varlistentry id="cups-browsed">
296 <term><command>cups-browsed</command></term>
[7374e16]297 <listitem>
298 <para>
[298fee30]299 is a daemon for browsing the Bonjour and CUPS broadcasts of shared,
[4c24eb0a]300 remote CUPS printers
[7374e16]301 </para>
[298fee30]302 <indexterm zone="cups-filters cups-browsed">
303 <primary sortas="b-cups-browsed">cups-browsed</primary>
[7374e16]304 </indexterm>
[a82b5f44]305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="driverless">
309 <term><command>driverless</command></term>
310 <listitem>
311 <para>
[4c24eb0a]312 is a PPD generator utility for driverless printing
[a82b5f44]313 </para>
314 <indexterm zone="cups-filters driverless">
315 <primary sortas="b-driverless">driverless</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 <varlistentry id="driverless-fax">
321 <term><command>driverless-fax</command></term>
322 <listitem>
323 <para>
[4c24eb0a]324 is a wrapper to <command>driverless</command> for FAX type devices
[a82b5f44]325 </para>
326 <indexterm zone="cups-filters driverless-fax">
327 <primary sortas="b-driverless-fax">driverless-fax</primary>
328 </indexterm>
[7374e16]329 </listitem>
330 </varlistentry>
331
[298fee30]332 <varlistentry id="foomatic-rip">
333 <term><command>foomatic-rip</command></term>
[7374e16]334 <listitem>
335 <para>
[298fee30]336 is a universal print filter/RIP wrapper which can be used as CUPS
[4c24eb0a]337 filter or stand-alone for spooler-less, direct printing
[7374e16]338 </para>
[298fee30]339 <indexterm zone="cups-filters foomatic-rip">
340 <primary sortas="b-foomatic-rip">foomatic-rip</primary>
[7374e16]341 </indexterm>
342 </listitem>
343 </varlistentry>
344
[dcbd2c6]345 <varlistentry id="libcupsfilters">
346 <term><filename class="libraryfile">libcupsfilters.so</filename></term>
347 <listitem>
348 <para>
[4c24eb0a]349 contains <application>CUPS Filters</application> API functions
[dcbd2c6]350 </para>
351 <indexterm zone="cups-filters libcupsfilters">
352 <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
353 </indexterm>
354 </listitem>
355 </varlistentry>
356
357 </variablelist>
358
359 </sect2>
360
361</sect1>
Note: See TracBrowser for help on using the repository browser.