source: general/genlib/libxslt.xml@ fa559f1

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since fa559f1 was 44b3f440, checked in by Xi Ruoyao <xry111@…>, 9 months ago

treewide: Really remove commented out references to Python 2

It helps using grep for finding packages depending on Python 2.

  • Property mode set to 100644
File size: 6.6 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 &lfs120_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 </para>
107
108 </sect2>
109
110 <sect2 role="installation">
111 <title>Installation of libxslt</title>
112
113 <para>
114 Install <application>libxslt</application> by running the following
115 commands:
116 </para>
117
118<screen><userinput>./configure --prefix=/usr \
119 --disable-static \
120 --docdir=/usr/share/doc/libxslt-&libxslt-version; \
121 PYTHON=/usr/bin/python3 &amp;&amp;
122make</userinput></screen>
123
124 <para>
125 To test the results, issue: <command>make check</command>.
126 </para>
127
128 <para>
129 Now, as the <systemitem class="username">root</systemitem> user:
130 </para>
131
132<screen role="root"><userinput>make install</userinput></screen>
133
134 </sect2>
135
136 <sect2 role="commands">
137 <title>Command Explanations</title>
138
139 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
140 href="../../xincludes/static-libraries.xml"/>
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Programs</segtitle>
149 <segtitle>Installed Libraries</segtitle>
150 <segtitle>Installed Directories</segtitle>
151
152 <seglistitem>
153 <seg>
154 xslt-config and xsltproc
155 </seg>
156 <seg>
157 libexslt.so, libxslt.so and optionally, libxsltmod.so
158 <application>Python</application> module
159 </seg>
160 <seg>
161 /usr/include/libexslt,
162 /usr/include/libxslt,
163 /usr/lib/libxslt-plugins,
164 /usr/share/doc/libxslt-&libxslt-version;, and
165 /usr/share/doc/libxslt-python-&libxslt-version;</seg>
166 </seglistitem>
167 </segmentedlist>
168
169 <variablelist>
170 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
171 <?dbfo list-presentation="list"?>
172 <?dbhtml list-presentation="table"?>
173
174 <varlistentry id="xslt-config">
175 <term><command>xslt-config</command></term>
176 <listitem>
177 <para>
178 is used to find out the pre-processor, linking and
179 compiling flags necessary to use the <application>libxslt</application>
180 libraries in 3rd-party programs
181 </para>
182 <indexterm zone="libxslt xslt-config">
183 <primary sortas="b-xslt-config">xslt-config</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 <varlistentry id="xsltproc">
189 <term><command>xsltproc</command></term>
190 <listitem>
191 <para>
192 is used to apply XSLT stylesheets to XML documents
193 </para>
194 <indexterm zone="libxslt xsltproc">
195 <primary sortas="b-xsltproc">xsltproc</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="libexslt">
201 <term><filename class="libraryfile">libexslt.so</filename></term>
202 <listitem>
203 <para>
204 is used to provide extensions to XSLT functions
205 </para>
206 <indexterm zone="libxslt libexslt">
207 <primary sortas="c-libexslt">libexslt.so</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="libxslt-lib">
213 <term><filename class="libraryfile">libxslt.so</filename></term>
214 <listitem>
215 <para>
216 provides extensions to the
217 <filename class="libraryfile">libxml2</filename>
218 libraries to parse files that use the XSLT format
219 </para>
220 <indexterm zone="libxslt libxslt-lib">
221 <primary sortas="c-libxslt">libxslt.so</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 </variablelist>
227
228 </sect2>
229
230</sect1>
Note: See TracBrowser for help on using the repository browser.