source: pst/printing/cups-filters-systemd.xml@ 237d47f

krejzi/svn
Last change on this file since 237d47f was fde7a06, checked in by Krejzi <krejzi@…>, 10 years ago

Printing section.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/krejzi@14794 af4574ff-66df-0310-9fd7-8a98e5e911e0

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