1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 "56bc5d89aa39d62002961c150fec08a0">
|
---|
10 | <!ENTITY libxslt-size "1.6 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 | &lfs122_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 | make</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 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
139 | href="../../xincludes/static-libraries.xml"/>
|
---|
140 |
|
---|
141 | </sect2>
|
---|
142 |
|
---|
143 | <sect2 role="content">
|
---|
144 | <title>Contents</title>
|
---|
145 |
|
---|
146 | <segmentedlist>
|
---|
147 | <segtitle>Installed Programs</segtitle>
|
---|
148 | <segtitle>Installed Libraries</segtitle>
|
---|
149 | <segtitle>Installed Directories</segtitle>
|
---|
150 |
|
---|
151 | <seglistitem>
|
---|
152 | <seg>
|
---|
153 | xslt-config and xsltproc
|
---|
154 | </seg>
|
---|
155 | <seg>
|
---|
156 | libexslt.so, libxslt.so and optionally, libxsltmod.so
|
---|
157 | <application>Python</application> module
|
---|
158 | </seg>
|
---|
159 | <seg>
|
---|
160 | /usr/include/libexslt,
|
---|
161 | /usr/include/libxslt,
|
---|
162 | /usr/lib/cmake/libxslt,
|
---|
163 | /usr/lib/libxslt-plugins,
|
---|
164 | /usr/share/gtk-doc/lib{xslt,exslt},
|
---|
165 | /usr/share/doc/libxslt-&libxslt-version;, and
|
---|
166 | /usr/share/doc/libxslt-python-&libxslt-version;</seg>
|
---|
167 | </seglistitem>
|
---|
168 | </segmentedlist>
|
---|
169 |
|
---|
170 | <variablelist>
|
---|
171 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
172 | <?dbfo list-presentation="list"?>
|
---|
173 | <?dbhtml list-presentation="table"?>
|
---|
174 |
|
---|
175 | <varlistentry id="xslt-config">
|
---|
176 | <term><command>xslt-config</command></term>
|
---|
177 | <listitem>
|
---|
178 | <para>
|
---|
179 | is used to find out the pre-processor, linking and
|
---|
180 | compiling flags necessary to use the <application>libxslt</application>
|
---|
181 | libraries in 3rd-party programs
|
---|
182 | </para>
|
---|
183 | <indexterm zone="libxslt xslt-config">
|
---|
184 | <primary sortas="b-xslt-config">xslt-config</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | <varlistentry id="xsltproc">
|
---|
190 | <term><command>xsltproc</command></term>
|
---|
191 | <listitem>
|
---|
192 | <para>
|
---|
193 | is used to apply XSLT stylesheets to XML documents
|
---|
194 | </para>
|
---|
195 | <indexterm zone="libxslt xsltproc">
|
---|
196 | <primary sortas="b-xsltproc">xsltproc</primary>
|
---|
197 | </indexterm>
|
---|
198 | </listitem>
|
---|
199 | </varlistentry>
|
---|
200 |
|
---|
201 | <varlistentry id="libexslt">
|
---|
202 | <term><filename class="libraryfile">libexslt.so</filename></term>
|
---|
203 | <listitem>
|
---|
204 | <para>
|
---|
205 | is used to provide extensions to XSLT functions
|
---|
206 | </para>
|
---|
207 | <indexterm zone="libxslt libexslt">
|
---|
208 | <primary sortas="c-libexslt">libexslt.so</primary>
|
---|
209 | </indexterm>
|
---|
210 | </listitem>
|
---|
211 | </varlistentry>
|
---|
212 |
|
---|
213 | <varlistentry id="libxslt-lib">
|
---|
214 | <term><filename class="libraryfile">libxslt.so</filename></term>
|
---|
215 | <listitem>
|
---|
216 | <para>
|
---|
217 | provides extensions to the
|
---|
218 | <filename class="libraryfile">libxml2</filename>
|
---|
219 | libraries to parse files that use the XSLT format
|
---|
220 | </para>
|
---|
221 | <indexterm zone="libxslt libxslt-lib">
|
---|
222 | <primary sortas="c-libxslt">libxslt.so</primary>
|
---|
223 | </indexterm>
|
---|
224 | </listitem>
|
---|
225 | </varlistentry>
|
---|
226 |
|
---|
227 | </variablelist>
|
---|
228 |
|
---|
229 | </sect2>
|
---|
230 |
|
---|
231 | </sect1>
|
---|