source: pst/printing/cups-filters.xml@ 99e4509

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 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 nosym 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 99e4509 was 99e4509, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Tags

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

  • Property mode set to 100644
File size: 7.8 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 "20dea125408bfebd25a58a884a78a13c">
11 <!ENTITY cups-filters-size "1.3 MB">
12 <!ENTITY cups-filters-buildsize "36 MB (additional 2 MB for the tests)">
13 <!ENTITY cups-filters-time "0.4 SBU">
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 &lfs77_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;-poppler_fix-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="ijs"/>,
93 <xref linkend="lcms2"/>,
94 <xref linkend="poppler"/> and
95 <xref linkend="qpdf"/>
96 </para>
97
98 <bridgehead renderas="sect4">Recommended</bridgehead>
99 <para role="recommended">
100 <xref linkend="libjpeg"/>,
101 <xref linkend="libpng"/> and
102 <xref linkend="libtiff"/>
103 </para>
104
105 <bridgehead renderas="sect4">Optional</bridgehead>
106 <para role="optional">
107 <xref linkend="avahi"/>,
108 <xref linkend="php"/> (use of this might be broken) and
109 <ulink url="http://www.adobe.com/products/reader">acroread</ulink>
110 </para>
111
112 <bridgehead renderas="sect4">Required (Runtime)</bridgehead>
113 <para role="required runtime">
114 <xref linkend="gs"/> (Needed for PostScript printers), or
115 <xref linkend="gutenprint"/> (for supported printers),
116 or other printer drivers
117 </para>
118
119 <para condition="html" role="usernotes">
120 User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
121 </para>
122 </sect2>
123
124 <sect2 role="installation">
125 <title>Installation of CUPS Filters</title>
126
127 <para>
128 Install <application>CUPS Filters</application> by running the following
129 commands:
130 </para>
131
132<screen><userinput>patch -Np1 -i ../cups-filters-&cups-filters-version;-poppler_fix-1.patch &amp;&amp;
133
134./configure --prefix=/usr \
135 --sysconfdir=/etc \
136 --localstatedir=/var \
137 --without-rcdir \
138 --disable-static \
139 --with-gs-path=/usr/bin/gs \
140 --with-pdftops-path=/usr/bin/gs \
141 --docdir=/usr/share/doc/cups-filters-&cups-filters-version; &amp;&amp;
142make</userinput></screen>
143
144 <para>
145 To test the results, issue: <command>make check 2&gt;&amp;1 &gt;testlog</command>.
146 </para>
147
148 <para>
149 Now, as the <systemitem class="username">root</systemitem> user:
150 </para>
151
152<screen role="root"><userinput>make install</userinput></screen>
153
154 </sect2>
155
156 <sect2 role="commands">
157 <title>Command Explanations</title>
158
159 <para>
160 <command>patch ...</command>: Allow the package to build with
161 poppler-0.31.0 and later.
162 </para>
163
164 <para>
165 <parameter>--without-rcdir</parameter>: This switch disables
166 installation of the bundled bootscript which is not compatible
167 with BLFS.
168 </para>
169
170 <para>
171 <parameter>--with-gs-path=/usr/bin/gs</parameter>: This switch
172 defines the path to the <application>GhostScript</application>
173 binary in case <xref linkend="gs"/> is not installed at build time.
174 </para>
175
176 <para>
177 <parameter>--with-pdftops-path=/usr/bin/gs</parameter>: This switch
178 defines the path to the <application>GhostScript</application>
179 binary in case <xref linkend="gs"/> is not installed at build time.
180 </para>
181
182 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
183 href="../../xincludes/static-libraries.xml"/>
184
185 <para>
186 <command>make check 2&gt;&amp;1 &gt;testlog</command>: the testsuite
187 dumps a stream of bytes into the input buffer after it finishes. Sending
188 the output to a file keeps the history usable, but some debug information
189 will still appear on the screen.
190 </para>
191
192 <para>
193 <option>--with-test-path=<replaceable>VALUE</replaceable></option> : if you wish to run the tests, but
194 you do not have the default
195 <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this switch
196 to specify where <filename>DejaVuSans.ttf</filename> (or perhaps some other
197 text TTF font - untested) is located.
198 </para>
199
200 </sect2>
201
202<!-- TODO: Write a bootscript for cups-browsed -->
203
204 <sect2 role="content">
205 <title>Contents</title>
206
207 <segmentedlist>
208 <segtitle>Installed Programs</segtitle>
209 <segtitle>Installed Libraries</segtitle>
210 <segtitle>Installed Directories</segtitle>
211
212 <seglistitem>
213 <seg>
214 ttfread and cups-browsed
215 </seg>
216 <seg>
217 libcupsfilters.so and libfontembed.so
218 </seg>
219 <seg>
220 /usr/include/cupsfilters,
221 /usr/include/fontembed,
222 /usr/lib/cups/backend,
223 /usr/lib/cups/filter,
224 /usr/share/cups/banners,
225 /usr/share/cups/charsets,
226 /usr/share/cups/data,
227 /usr/share/doc/cups-filters-&cups-filters-version; and
228 /usr/share/ppd/cupsfilters
229 </seg>
230 </seglistitem>
231 </segmentedlist>
232
233 <variablelist>
234 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
235 <?dbfo list-presentation="list"?>
236 <?dbhtml list-presentation="table"?>
237
238 <varlistentry id="libcupsfilters">
239 <term><filename class="libraryfile">libcupsfilters.so</filename></term>
240 <listitem>
241 <para>
242 contains <application>CUPS Filters</application> API functions.
243 </para>
244 <indexterm zone="cups-filters libcupsfilters">
245 <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 </variablelist>
251
252 </sect2>
253
254</sect1>
Note: See TracBrowser for help on using the repository browser.