source: general/genlib/libxslt.xml@ ba3bd456

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 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 ba3bd456 was ba3bd456, checked in by Pierre Labastie <pieere@…>, 7 years ago

Increase the recursion limit in libxslt, which allows man pages for samba and systemd to be generated

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

  • Property mode set to 100644
File size: 7.3 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 "70becbbcb1dad55f14de0b84171b91d5">
10 <!ENTITY libxslt-size "3.3 MB">
11 <!ENTITY libxslt-buildsize "39 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 &lfs81_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">libxslt Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="libxml2"/>
80 </para>
81
82 <bridgehead renderas="sect4">Recommended</bridgehead>
83 <para role="recommended">
84 <xref linkend="DocBook"/> and
85 <xref linkend="docbook-xsl"/>
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="libgcrypt"/> and
91 <xref linkend="python2"/>
92 </para>
93
94 <note>
95 <para>
96 Although it is not a direct dependency, many applications
97 using <application>libxslt</application> will expect
98 <xref linkend="DocBook"/> and <xref linkend="docbook-xsl"/>
99 to be present.
100 </para>
101 </note>
102
103 <para condition="html" role="usernotes">User Notes:
104 <ulink url="&blfs-wiki;/libxslt"/>
105 </para>
106 </sect2>
107
108 <sect2 role="installation">
109 <title>Installation of libxslt</title>
110
111 <para>
112 Install <application>libxslt</application> by running the following
113 commands:
114 </para>
115
116<screen><userinput>sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.{1,xml} &amp;&amp;
117sed -i '/WITH_MODULES=.*--variable/ a \\t\tXML_CONFIG="$PKG_CONFIG libxml-2.0"' \
118 configure.in &amp;&amp;
119autoreconf -fiv &amp;&amp;
120./configure --prefix=/usr --disable-static &amp;&amp;
121make</userinput></screen>
122
123 <para>
124 To test the results, issue: <command>make check</command>.
125 </para>
126
127 <para>
128 Now, as the <systemitem class="username">root</systemitem> user:
129 </para>
130
131<screen role="root"><userinput>make install</userinput></screen>
132
133 </sect2>
134
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <para>
139 <command>sed -i s/3000/5000/ ...</command>: this increases the recursion
140 limit in libxslt. This is needed by some packages for their documentation.
141 </para>
142
143 <para>
144 <command>sed -i '/WITH_MODULES=.*--variable/ ...</command>:
145 this, and the following <command>autoreconf</command>, ensure that
146 any package using <command>xslt-config --cflags</command> to discover
147 how to compile against libxslt will get the correct result.
148 </para>
149
150 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
151 href="../../xincludes/static-libraries.xml"/>
152
153 </sect2>
154
155 <sect2 role="content">
156 <title>Contents</title>
157
158 <segmentedlist>
159 <segtitle>Installed Programs</segtitle>
160 <segtitle>Installed Libraries</segtitle>
161 <segtitle>Installed Directories</segtitle>
162
163 <seglistitem>
164 <seg>
165 xslt-config and xsltproc
166 </seg>
167 <seg>
168 libexslt.so, libxslt.so and optionally, libxsltmod.so
169 <application>Python</application> modules
170 </seg>
171 <seg>
172 /usr/include/libexslt,
173 /usr/include/libxslt,
174 /usr/lib/libxslt-plugins,
175 /usr/share/doc/libxslt-&libxslt-version;, and
176 /usr/share/doc/libxslt-python-&libxslt-version;</seg>
177 </seglistitem>
178 </segmentedlist>
179
180 <variablelist>
181 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
182 <?dbfo list-presentation="list"?>
183 <?dbhtml list-presentation="table"?>
184
185 <varlistentry id="xslt-config">
186 <term><command>xslt-config</command></term>
187 <listitem>
188 <para>
189 is used to find out the pre-processor, linking and
190 compiling flags necessary to use the <application>libxslt</application>
191 libraries in 3rd-party programs.
192 </para>
193 <indexterm zone="libxslt xslt-config">
194 <primary sortas="b-xslt-config">xslt-config</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="xsltproc">
200 <term><command>xsltproc</command></term>
201 <listitem>
202 <para>
203 is used to apply XSLT stylesheets to XML documents.
204 </para>
205 <indexterm zone="libxslt xsltproc">
206 <primary sortas="b-xsltproc">xsltproc</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="libexslt">
212 <term><filename class="libraryfile">libexslt.so</filename></term>
213 <listitem>
214 <para>
215 is used to provide extensions to XSLT functions.
216 </para>
217 <indexterm zone="libxslt libexslt">
218 <primary sortas="c-libexslt">libexslt.so</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="libxslt-lib">
224 <term><filename class="libraryfile">libxslt.so</filename></term>
225 <listitem>
226 <para>
227 provides extensions to the
228 <filename class="libraryfile">libxml2</filename>
229 libraries to parse files that use the XSLT format.
230 </para>
231 <indexterm zone="libxslt libxslt-lib">
232 <primary sortas="c-libxslt">libxslt.so</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 </variablelist>
238
239 </sect2>
240
241</sect1>
Note: See TracBrowser for help on using the repository browser.