source: general/genlib/libxslt.xml@ 14891a90

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 14891a90 was 14891a90, checked in by Xi Ruoyao <xry111@…>, 12 months ago

treewide: More "User Notes" clean up

Remove links to pages w/o real contents.

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