source: pst/printing/libcupsfilters.xml@ 4fa7705

lazarus trunk
Last change on this file since 4fa7705 was e8b3f50, checked in by Douglas R. Reno <renodr@…>, 4 months ago

Tags

  • Property mode set to 100644
File size: 7.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 libcupsfilters-download-http
8 "https://github.com/OpenPrinting/libcupsfilters/releases/download/&libcupsfilters-version;/libcupsfilters-&libcupsfilters-version;.tar.xz">
9 <!ENTITY libcupsfilters-download-ftp " ">
10 <!ENTITY libcupsfilters-md5sum "267e569145bd20615fa18ae65ea6f870">
11 <!ENTITY libcupsfilters-size "1.2 MB">
12 <!ENTITY libcupsfilters-buildsize "38 MB (with tests)">
13 <!ENTITY libcupsfilters-time "0.1 SBU (Using parallelism=4; with tests)">
14]>
15
16<sect1 id="libcupsfilters" xreflabel="libcupsfilters-&libcupsfilters-version;">
17 <?dbhtml filename="libcupsfilters.html"?>
18
19
20 <title>libcupsfilters-&libcupsfilters-version;</title>
21
22 <indexterm zone="libcupsfilters">
23 <primary sortas="a-libcupsfilters">libcupsfilters</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to libcupsfilters</title>
28
29 <para>
30 The <application>libcupsfilters</application> library contains
31 filter functions for the data format conversion tasks needed in
32 Printer Applications. It also contains several API functions for
33 developing printer drivers/Printer Applications.
34 </para>
35
36 &lfs121_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&libcupsfilters-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&libcupsfilters-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &libcupsfilters-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &libcupsfilters-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &libcupsfilters-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &libcupsfilters-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71 <!--
72 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
73 <itemizedlist spacing="compact">
74 <listitem>
75 <para>
76 Required patch:
77 <ulink url="&patch-root;/libcupsfilters-&libcupsfilters-version;-security_fix-1.patch"/>
78 </para>
79 </listitem>
80 </itemizedlist>
81 -->
82 <bridgehead renderas="sect3">libcupsfilters Dependencies</bridgehead>
83
84 <bridgehead renderas="sect4">Required</bridgehead>
85 <para role="required">
86 <xref linkend="cups"/>,
87 <xref linkend="glib2"/>,
88 <xref linkend="gs"/> or <xref linkend="mupdf"/>,
89 <xref linkend="lcms2"/>,
90 <xref linkend="poppler"/>, and
91 <xref linkend="qpdf"/>
92 </para>
93
94 <bridgehead renderas="sect4">Recommended</bridgehead>
95 <para role="recommended">
96 <xref linkend="dejavu-fonts"/> (the build fails if they are not
97 installed, although they are only required for the tests),
98 <xref linkend="libexif"/>,
99 <xref linkend="libjpeg"/>,
100 <xref linkend="libpng"/>, and
101 <xref linkend="libtiff"/>
102 </para>
103 <!--
104 <bridgehead renderas="sect4">Optional</bridgehead>
105 <para role="optional">
106 <xref linkend="avahi"/> (required to build the DNSSD backend of the
107 <command>cups-browsed</command> daemon, which is needed for operating
108 some network printers),
109 <xref linkend="openldap"/>,
110 <xref linkend="php"/> (use of this might be broken),
111 <ulink url="https://liblouis.github.io/downloads/">Liblouis (Braille)</ulink>, and
112 <ulink url="https://liblouis.github.io/downloads/">Liblouisutdml (Braille)</ulink>
113 </para>
114
115 <bridgehead renderas="sect4">Optional printer drivers (runtime)</bridgehead>
116 <para role="optional">
117 <xref role="runtime" linkend="gutenprint"/> (for supported printers),
118 or other printer drivers, such as <ulink role="runtime"
119 url="https://sourceforge.net/projects/hplip/files/hplip/">hplip</ulink>
120 </para>
121 -->
122 </sect2>
123
124 <sect2 role="installation">
125 <title>Installation of libcupsfilters</title>
126
127 <!--
128 <para>
129 First, fix a security vulnerability that can allow for remote code
130 execution with the 'beh' printer backend:
131 </para>
132
133<screen><userinput remap="pre">patch -Np1 -i ../libcupsfilters-&libcupsfilters-version;-security_fix-1.patch</userinput></screen>
134-->
135 <para>
136 Install <application>libcupsfilters</application> by running the
137 following commands:
138 </para>
139
140<screen><userinput>./configure --prefix=/usr \
141 --disable-static \
142 --docdir=/usr/share/doc/libcupsfilters-&libcupsfilters-version; &amp;&amp;
143make</userinput></screen>
144
145 <para>
146 To test the results, issue <command>make check</command>. DejaVu fonts
147 are needed for the tests.
148 </para>
149
150 <para>
151 Now, as the <systemitem class="username">root</systemitem> user:
152 </para>
153
154<screen role="root"><userinput>make install</userinput></screen>
155
156 </sect2>
157
158 <sect2 role="commands">
159 <title>Command Explanations</title>
160
161 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
162 href="../../xincludes/static-libraries.xml"/>
163
164 <para>
165 <option>--with-test-font-path=<replaceable>VALUE</replaceable></option>:
166 If you wish to run the tests, but
167 you do not have the default
168 <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this
169 switch to specify where <filename>DejaVuSans.ttf</filename> (or perhaps
170 some other text TTF font - untested) is located.
171 </para>
172
173
174 </sect2>
175
176 <sect2 role="content">
177 <title>Contents</title>
178
179 <segmentedlist>
180 <segtitle>Installed Programs</segtitle>
181 <segtitle>Installed Libraries</segtitle>
182 <segtitle>Installed Directories</segtitle>
183
184 <seglistitem>
185 <seg>
186 None
187 </seg>
188 <seg>
189 libcupsfilters.so
190 </seg>
191 <seg>
192 /usr/include/cupsfilters,
193 /usr/share/cups/{banners,charsets,data}, and
194 /usr/share/doc/libcupsfilters-&libcupsfilters-version;
195 </seg>
196 </seglistitem>
197 </segmentedlist>
198
199 <variablelist>
200 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
201 <?dbfo list-presentation="list"?>
202 <?dbhtml list-presentation="table"?>
203
204 <varlistentry id="libcupsfilters-lib">
205 <term><filename class="libraryfile">libcupsfilters.so</filename></term>
206 <listitem>
207 <para>
208 contains CUPS filters API functions
209 </para>
210 <indexterm zone="libcupsfilters libcupsfilters-lib">
211 <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 </variablelist>
217
218 </sect2>
219
220</sect1>
Note: See TracBrowser for help on using the repository browser.