source: general/genlib/libxslt.xml@ eed90c8

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since eed90c8 was eed90c8, checked in by Douglas R. Reno <renodr@…>, 14 months ago

Update to openldap-2.4.51
Update to wireshark-3.2.6
Update to udisks-2.9.1
Emacs: add optional dependency on jansson - adds JSON support
Minor nitpicks in gc and libxslt

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

  • Property mode set to 100644
File size: 8.0 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 libxslt-download-http "http://xmlsoft.org/sources/libxslt-&libxslt-version;.tar.gz">
8 <!ENTITY libxslt-download-ftp "ftp://xmlsoft.org/libxslt/libxslt-&libxslt-version;.tar.gz">
9 <!ENTITY libxslt-md5sum "db8765c8d076f1b6caafd9f2542a304a">
10 <!ENTITY libxslt-size "3.4 MB">
11 <!ENTITY libxslt-buildsize "36 MB (with tests)">
12 <!ENTITY libxslt-time "0.3 SBU (with tests)">
13]>
14
15<sect1 id="libxslt" xreflabel="libxslt-&libxslt-version;">
16 <?dbhtml filename="libxslt.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libxslt-&libxslt-version;</title>
24
25 <indexterm zone="libxslt">
26 <primary sortas="a-libxslt">libxslt</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libxslt</title>
31
32 <para>
33 The <application>libxslt</application> package contains
34 XSLT libraries used for extending <filename
35 class="libraryfile">libxml2</filename> libraries to
36 support XSLT files.
37 </para>
38
39 &lfs91_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&libxslt-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&libxslt-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &libxslt-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &libxslt-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &libxslt-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &libxslt-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;/libxslt-&libxslt-version;-security_fix-1.patch"/>
81 </para>
82 </listitem>
83 </itemizedlist>
84-->
85 <bridgehead renderas="sect3">libxslt Dependencies</bridgehead>
86
87 <bridgehead renderas="sect4">Required</bridgehead>
88 <para role="required">
89 <xref linkend="libxml2"/>
90 </para>
91
92 <bridgehead renderas="sect4">Recommended</bridgehead>
93 <para role="recommended">
94 <xref linkend="DocBook"/> and
95 <xref linkend="docbook-xsl"/>
96 </para>
97
98 <note>
99 <para>
100 Although it is not a direct dependency, many applications
101 using <application>libxslt</application> will expect
102 <xref linkend="DocBook"/> and <xref linkend="docbook-xsl"/>
103 to be present.
104 </para>
105 </note>
106
107 <bridgehead renderas="sect4">Optional</bridgehead>
108 <para role="optional">
109 <xref linkend="libgcrypt"/>,
110 <xref linkend="libxml2py2"/>
111 <note><simpara>The <xref role="nodep" linkend="libxml2py2"/>
112 dependency is only appropriate if the <application>Python2</application>
113 module for this package is needed. The
114 libxslt <application>Python2</application> module is not needed for
115 any package in BLFS but various packages may install
116 <application>Python2</application> modules which reference it.
117 </simpara></note>
118 </para>
119
120 <para condition="html" role="usernotes">User Notes:
121 <ulink url="&blfs-wiki;/libxslt"/>
122 </para>
123 </sect2>
124
125 <sect2 role="installation">
126 <title>Installation of libxslt</title>
127<!--
128 <para>
129 First, install a security patch to fix a security framework bypass:
130 </para>
131
132<screen><userinput remap="pre">patch -Np1 -i ../libxslt-&libxslt-version;-security_fix-1.patch</userinput></screen>
133-->
134 <para>
135 Install <application>libxslt</application> by running the following
136 commands:
137 </para>
138
139<screen><userinput>sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.{1,xml} &amp;&amp;
140./configure --prefix=/usr --disable-static &amp;&amp;
141make</userinput></screen>
142
143 <para>
144 A shipped man page is glitched. If the recommended dependencies are
145 installed, regenerate it by running the following commands:
146 </para>
147
148<screen><userinput>sed -e 's@http://cdn.docbook.org/release/xsl@https://cdn.docbook.org/release/xsl-nons@' \
149 -e 's@\$Date\$@31 October 2019@' -i doc/xsltproc.xml &amp;&amp;
150xsltproc/xsltproc --nonet doc/xsltproc.xml -o doc/xsltproc.1</userinput></screen>
151
152 <para>
153 To test the results, issue: <command>make check</command>.
154 </para>
155
156 <para>
157 Now, as the <systemitem class="username">root</systemitem> user:
158 </para>
159
160<screen role="root"><userinput>make install</userinput></screen>
161
162 </sect2>
163
164 <sect2 role="commands">
165 <title>Command Explanations</title>
166
167 <para>
168 <command>sed -i s/3000/5000/ ...</command>: this increases the recursion
169 limit in libxslt. This is needed by some packages for their documentation.
170 </para>
171
172 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
173 href="../../xincludes/static-libraries.xml"/>
174
175 </sect2>
176
177 <sect2 role="content">
178 <title>Contents</title>
179
180 <segmentedlist>
181 <segtitle>Installed Programs</segtitle>
182 <segtitle>Installed Libraries</segtitle>
183 <segtitle>Installed Directories</segtitle>
184
185 <seglistitem>
186 <seg>
187 xslt-config and xsltproc
188 </seg>
189 <seg>
190 libexslt.so, libxslt.so and optionally, libxsltmod.so
191 <application>Python</application> module
192 </seg>
193 <seg>
194 /usr/include/libexslt,
195 /usr/include/libxslt,
196 /usr/lib/libxslt-plugins,
197 /usr/share/doc/libxslt-&libxslt-version;, and
198 /usr/share/doc/libxslt-python-&libxslt-version;</seg>
199 </seglistitem>
200 </segmentedlist>
201
202 <variablelist>
203 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
204 <?dbfo list-presentation="list"?>
205 <?dbhtml list-presentation="table"?>
206
207 <varlistentry id="xslt-config">
208 <term><command>xslt-config</command></term>
209 <listitem>
210 <para>
211 is used to find out the pre-processor, linking and
212 compiling flags necessary to use the <application>libxslt</application>
213 libraries in 3rd-party programs.
214 </para>
215 <indexterm zone="libxslt xslt-config">
216 <primary sortas="b-xslt-config">xslt-config</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="xsltproc">
222 <term><command>xsltproc</command></term>
223 <listitem>
224 <para>
225 is used to apply XSLT stylesheets to XML documents.
226 </para>
227 <indexterm zone="libxslt xsltproc">
228 <primary sortas="b-xsltproc">xsltproc</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="libexslt">
234 <term><filename class="libraryfile">libexslt.so</filename></term>
235 <listitem>
236 <para>
237 is used to provide extensions to XSLT functions.
238 </para>
239 <indexterm zone="libxslt libexslt">
240 <primary sortas="c-libexslt">libexslt.so</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="libxslt-lib">
246 <term><filename class="libraryfile">libxslt.so</filename></term>
247 <listitem>
248 <para>
249 provides extensions to the
250 <filename class="libraryfile">libxml2</filename>
251 libraries to parse files that use the XSLT format.
252 </para>
253 <indexterm zone="libxslt libxslt-lib">
254 <primary sortas="c-libxslt">libxslt.so</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 </variablelist>
260
261 </sect2>
262
263</sect1>
Note: See TracBrowser for help on using the repository browser.