source: general/genlib/libxslt.xml@ 48cb482

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 48cb482 was 48cb482, checked in by Bruce Dubbs <bdubbs@…>, 21 months ago

Just tags

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