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 "84e86fc8a1b7495674016e05e4c5da44">
|
---|
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"/>
|
---|
109 | <!--
|
---|
110 | <xref linkend="libxml2py2"/>
|
---|
111 | <!- - Seems to be used for tests - ->
|
---|
112 | <note><simpara>The <xref role="nodep" linkend="libxml2py2"/>
|
---|
113 | dependency is only appropriate if the <application>Python2</application>
|
---|
114 | module for this package is needed. The
|
---|
115 | libxslt <application>Python2</application> module is not needed for
|
---|
116 | any package in BLFS but various non-BLFS packages may install
|
---|
117 | <application>Python2</application> modules which reference it.
|
---|
118 | </simpara></note>
|
---|
119 | -->
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | <para condition="html" role="usernotes">User Notes:
|
---|
123 | <ulink url="&blfs-wiki;/libxslt"/>
|
---|
124 | </para>
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="installation">
|
---|
128 | <title>Installation of libxslt</title>
|
---|
129 |
|
---|
130 | <para>
|
---|
131 | Install <application>libxslt</application> by running the following
|
---|
132 | commands:
|
---|
133 | </para>
|
---|
134 |
|
---|
135 | <screen><userinput>./configure --prefix=/usr \
|
---|
136 | --disable-static \
|
---|
137 | --docdir=/usr/share/doc/libxslt-&libxslt-version; \
|
---|
138 | PYTHON=/usr/bin/python3 &&
|
---|
139 | make</userinput></screen>
|
---|
140 |
|
---|
141 | <para>
|
---|
142 | To test the results, issue: <command>make check</command>.
|
---|
143 | </para>
|
---|
144 |
|
---|
145 | <para>
|
---|
146 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
147 | </para>
|
---|
148 |
|
---|
149 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
150 |
|
---|
151 | </sect2>
|
---|
152 |
|
---|
153 | <sect2 role="commands">
|
---|
154 | <title>Command Explanations</title>
|
---|
155 | <!--
|
---|
156 | <para>
|
---|
157 | <parameter>- -without-python</parameter>: This parameter disables the libxslt
|
---|
158 | python module since it does not support Python3. If you wish to enable
|
---|
159 | this module, make sure that <xref role="nodep" linkend="libxml2py2"/> is
|
---|
160 | installed, and remove this parameter.
|
---|
161 | </para>
|
---|
162 | -->
|
---|
163 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
164 | href="../../xincludes/static-libraries.xml"/>
|
---|
165 |
|
---|
166 | </sect2>
|
---|
167 |
|
---|
168 | <sect2 role="content">
|
---|
169 | <title>Contents</title>
|
---|
170 |
|
---|
171 | <segmentedlist>
|
---|
172 | <segtitle>Installed Programs</segtitle>
|
---|
173 | <segtitle>Installed Libraries</segtitle>
|
---|
174 | <segtitle>Installed Directories</segtitle>
|
---|
175 |
|
---|
176 | <seglistitem>
|
---|
177 | <seg>
|
---|
178 | xslt-config and xsltproc
|
---|
179 | </seg>
|
---|
180 | <seg>
|
---|
181 | libexslt.so, libxslt.so and optionally, libxsltmod.so
|
---|
182 | <application>Python</application> module
|
---|
183 | </seg>
|
---|
184 | <seg>
|
---|
185 | /usr/include/libexslt,
|
---|
186 | /usr/include/libxslt,
|
---|
187 | /usr/lib/libxslt-plugins,
|
---|
188 | /usr/share/doc/libxslt-&libxslt-version;, and
|
---|
189 | /usr/share/doc/libxslt-python-&libxslt-version;</seg>
|
---|
190 | </seglistitem>
|
---|
191 | </segmentedlist>
|
---|
192 |
|
---|
193 | <variablelist>
|
---|
194 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
195 | <?dbfo list-presentation="list"?>
|
---|
196 | <?dbhtml list-presentation="table"?>
|
---|
197 |
|
---|
198 | <varlistentry id="xslt-config">
|
---|
199 | <term><command>xslt-config</command></term>
|
---|
200 | <listitem>
|
---|
201 | <para>
|
---|
202 | is used to find out the pre-processor, linking and
|
---|
203 | compiling flags necessary to use the <application>libxslt</application>
|
---|
204 | libraries in 3rd-party programs
|
---|
205 | </para>
|
---|
206 | <indexterm zone="libxslt xslt-config">
|
---|
207 | <primary sortas="b-xslt-config">xslt-config</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | <varlistentry id="xsltproc">
|
---|
213 | <term><command>xsltproc</command></term>
|
---|
214 | <listitem>
|
---|
215 | <para>
|
---|
216 | is used to apply XSLT stylesheets to XML documents
|
---|
217 | </para>
|
---|
218 | <indexterm zone="libxslt xsltproc">
|
---|
219 | <primary sortas="b-xsltproc">xsltproc</primary>
|
---|
220 | </indexterm>
|
---|
221 | </listitem>
|
---|
222 | </varlistentry>
|
---|
223 |
|
---|
224 | <varlistentry id="libexslt">
|
---|
225 | <term><filename class="libraryfile">libexslt.so</filename></term>
|
---|
226 | <listitem>
|
---|
227 | <para>
|
---|
228 | is used to provide extensions to XSLT functions
|
---|
229 | </para>
|
---|
230 | <indexterm zone="libxslt libexslt">
|
---|
231 | <primary sortas="c-libexslt">libexslt.so</primary>
|
---|
232 | </indexterm>
|
---|
233 | </listitem>
|
---|
234 | </varlistentry>
|
---|
235 |
|
---|
236 | <varlistentry id="libxslt-lib">
|
---|
237 | <term><filename class="libraryfile">libxslt.so</filename></term>
|
---|
238 | <listitem>
|
---|
239 | <para>
|
---|
240 | provides extensions to the
|
---|
241 | <filename class="libraryfile">libxml2</filename>
|
---|
242 | libraries to parse files that use the XSLT format
|
---|
243 | </para>
|
---|
244 | <indexterm zone="libxslt libxslt-lib">
|
---|
245 | <primary sortas="c-libxslt">libxslt.so</primary>
|
---|
246 | </indexterm>
|
---|
247 | </listitem>
|
---|
248 | </varlistentry>
|
---|
249 |
|
---|
250 | </variablelist>
|
---|
251 |
|
---|
252 | </sect2>
|
---|
253 |
|
---|
254 | </sect1>
|
---|