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 "http://www.openprinting.org/download/cups-filters/cups-filters-&cups-filters-version;.tar.xz">
|
---|
8 | <!ENTITY cups-filters-download-ftp " ">
|
---|
9 | <!ENTITY cups-filters-md5sum "f722074dfa8efd3fcb8502cede13a608">
|
---|
10 | <!ENTITY cups-filters-size "1.0 MB">
|
---|
11 | <!ENTITY cups-filters-buildsize "27 MB">
|
---|
12 | <!ENTITY cups-filters-time "0.4 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="cups-filters" xreflabel="cups-filters-&cups-filters-version;">
|
---|
16 | <?dbhtml filename="cups-filters.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
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 |
|
---|
39 | &lfs73_checked;
|
---|
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>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
76 | <itemizedlist spacing="compact">
|
---|
77 | <listitem>
|
---|
78 | <para>
|
---|
79 | Required patch:
|
---|
80 | <ulink url="&patch-root;/cups-filters-&cups-filters-version;-poppler_fix-1.patch"/>
|
---|
81 | </para>
|
---|
82 | </listitem>
|
---|
83 | </itemizedlist>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect3">CUPS Filters Dependencies</bridgehead>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
88 | <para role="required">
|
---|
89 | <xref linkend="cups"/>,
|
---|
90 | <xref linkend="ijs"/>,
|
---|
91 | <xref linkend="lcms2"/>,
|
---|
92 | <xref linkend="poppler"/> and
|
---|
93 | <xref linkend="qpdf"/>
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
97 | <para role="recommended">
|
---|
98 | <xref linkend="libjpeg"/>,
|
---|
99 | <xref linkend="libpng"/> and
|
---|
100 | <xref linkend="libtiff"/>
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
104 | <para role="optional">
|
---|
105 | <xref linkend="avahi"/>
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <bridgehead renderas="sect4">Required (Runtime)</bridgehead>
|
---|
109 | <para role="optional">
|
---|
110 | <xref linkend="gs"/> (Needed for PostScript printers)
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <para condition="html" role="usernotes">
|
---|
114 | User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
|
---|
115 | </para>
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="installation">
|
---|
119 | <title>Installation of CUPS Filters</title>
|
---|
120 |
|
---|
121 | <para>
|
---|
122 | Install <application>CUPS Filters</application> by running the following
|
---|
123 | commands:
|
---|
124 | </para>
|
---|
125 |
|
---|
126 | <screen><userinput>patch -Np1 -i ../cups-filters-&cups-filters-version;-poppler_fix-1.patch &&
|
---|
127 | ./configure --prefix=/usr \
|
---|
128 | --sysconfdir=/etc \
|
---|
129 | --docdir=/usr/share/doc/cups-filters-&cups-filters-version; \
|
---|
130 | --without-rcdir \
|
---|
131 | --with-gs-path=/usr/bin/gs \
|
---|
132 | --with-pdftops-path=/usr/bin/gs \
|
---|
133 | --disable-avahi \
|
---|
134 | --disable-static &&
|
---|
135 | make</userinput></screen>
|
---|
136 |
|
---|
137 | <para>
|
---|
138 | This package does not have working test suite.
|
---|
139 | </para>
|
---|
140 |
|
---|
141 | <para>
|
---|
142 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
143 | </para>
|
---|
144 |
|
---|
145 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
146 |
|
---|
147 | </sect2>
|
---|
148 |
|
---|
149 | <sect2 role="commands">
|
---|
150 | <title>Command Explanations</title>
|
---|
151 |
|
---|
152 | <para>
|
---|
153 | <parameter>--without-rcdir</parameter>: This switch disables
|
---|
154 | installation of the bundled bootscript which is not compatible
|
---|
155 | with BLFS.
|
---|
156 | </para>
|
---|
157 |
|
---|
158 | <para>
|
---|
159 | <parameter>--with-gs-path=/usr/bin/gs</parameter>: This switch
|
---|
160 | defines the path to the <application>GhostScript</application>
|
---|
161 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
162 | </para>
|
---|
163 |
|
---|
164 | <para>
|
---|
165 | <parameter>--with-pdftops-path=/usr/bin/gs</parameter>: This switch
|
---|
166 | defines the path to the <application>GhostScript</application>
|
---|
167 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
168 | </para>
|
---|
169 |
|
---|
170 | <para>
|
---|
171 | <parameter>--disable-avahi</parameter>: This switch is required if you have
|
---|
172 | not installed <xref linkend="avahi"/>.
|
---|
173 | </para>
|
---|
174 |
|
---|
175 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
176 | href="../../xincludes/static-libraries.xml"/>
|
---|
177 |
|
---|
178 | </sect2>
|
---|
179 |
|
---|
180 | <!-- TODO: Write a bootscript for cups-browsed -->
|
---|
181 |
|
---|
182 | <sect2 role="content">
|
---|
183 | <title>Contents</title>
|
---|
184 |
|
---|
185 | <segmentedlist>
|
---|
186 | <segtitle>Installed Programs</segtitle>
|
---|
187 | <segtitle>Installed Libraries</segtitle>
|
---|
188 | <segtitle>Installed Directories</segtitle>
|
---|
189 |
|
---|
190 | <seglistitem>
|
---|
191 | <seg>
|
---|
192 | ttfread and cups-browsed
|
---|
193 | </seg>
|
---|
194 | <seg>
|
---|
195 | libcupsfilters.so and libfontembed.so
|
---|
196 | </seg>
|
---|
197 | <seg>
|
---|
198 | /usr/include/cupsfilters,
|
---|
199 | /usr/include/fontembed,
|
---|
200 | /usr/share/cups/banners,
|
---|
201 | /usr/share/cups/charsets,
|
---|
202 | /usr/share/doc/cups-filters-&cups-filters-version; and
|
---|
203 | /usr/share/ppd/cups-filters
|
---|
204 | </seg>
|
---|
205 | </seglistitem>
|
---|
206 | </segmentedlist>
|
---|
207 |
|
---|
208 | <variablelist>
|
---|
209 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
210 | <?dbfo list-presentation="list"?>
|
---|
211 | <?dbhtml list-presentation="table"?>
|
---|
212 |
|
---|
213 | <varlistentry id="libcupsfilters">
|
---|
214 | <term><filename class="libraryfile">libcupsfilters.so</filename></term>
|
---|
215 | <listitem>
|
---|
216 | <para>
|
---|
217 | contains <application>CUPS Filters</application> API functions.
|
---|
218 | </para>
|
---|
219 | <indexterm zone="cups-filters libcupsfilters">
|
---|
220 | <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
|
---|
221 | </indexterm>
|
---|
222 | </listitem>
|
---|
223 | </varlistentry>
|
---|
224 |
|
---|
225 | </variablelist>
|
---|
226 |
|
---|
227 | </sect2>
|
---|
228 |
|
---|
229 | </sect1>
|
---|