[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[7a5c814] | 7 | <!ENTITY libxslt-download-http "https://download.gnome.org/sources/libxslt/1.1/libxslt-&libxslt-version;.tar.xz">
|
---|
| 8 | <!ENTITY libxslt-download-ftp " ">
|
---|
[665cb6c9] | 9 | <!ENTITY libxslt-md5sum "7d6e43db810177ddf9818ef394027019">
|
---|
[f93706f] | 10 | <!ENTITY libxslt-size "1.5 MB">
|
---|
[665cb6c9] | 11 | <!ENTITY libxslt-buildsize "34 MB (with tests)">
|
---|
| 12 | <!ENTITY libxslt-time "0.1 SBU (with tests)">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[f45b1953] | 15 | <sect1 id="libxslt" xreflabel="libxslt-&libxslt-version;">
|
---|
[6f0f00c] | 16 | <?dbhtml filename="libxslt.html"?>
|
---|
[8e75f8b9] | 17 |
|
---|
| 18 |
|
---|
[02a9980] | 19 | <title>libxslt-&libxslt-version;</title>
|
---|
[8e75f8b9] | 20 |
|
---|
[6f0f00c] | 21 | <indexterm zone="libxslt">
|
---|
[8180b89] | 22 | <primary sortas="a-libxslt">libxslt</primary>
|
---|
[6f0f00c] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[02a9980] | 26 | <title>Introduction to libxslt</title>
|
---|
[8e75f8b9] | 27 |
|
---|
[8180b89] | 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>
|
---|
[8e75f8b9] | 34 |
|
---|
[a9779b9] | 35 | &lfs120_checked;
|
---|
[fd91fea] | 36 |
|
---|
[6f0f00c] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
[8180b89] | 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&libxslt-download-http;"/>
|
---|
| 42 | </para>
|
---|
[6f0f00c] | 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
[8180b89] | 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&libxslt-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
[6f0f00c] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[8180b89] | 50 | <para>
|
---|
| 51 | Download MD5 sum: &libxslt-md5sum;
|
---|
| 52 | </para>
|
---|
[6f0f00c] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[8180b89] | 55 | <para>
|
---|
| 56 | Download size: &libxslt-size;
|
---|
| 57 | </para>
|
---|
[6f0f00c] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[8180b89] | 60 | <para>
|
---|
| 61 | Estimated disk space required: &libxslt-buildsize;
|
---|
| 62 | </para>
|
---|
[6f0f00c] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[8180b89] | 65 | <para>
|
---|
| 66 | Estimated build time: &libxslt-time;
|
---|
| 67 | </para>
|
---|
[6f0f00c] | 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
[df013c7f] | 70 | <!--
|
---|
[0ea2a4a] | 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>
|
---|
[df013c7f] | 80 | -->
|
---|
[02a9980] | 81 | <bridgehead renderas="sect3">libxslt Dependencies</bridgehead>
|
---|
[8e75f8b9] | 82 |
|
---|
[6f0f00c] | 83 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[8180b89] | 84 | <para role="required">
|
---|
| 85 | <xref linkend="libxml2"/>
|
---|
| 86 | </para>
|
---|
[8e75f8b9] | 87 |
|
---|
[e7ec655f] | 88 | <bridgehead renderas="sect4">Recommended (at runtime)</bridgehead>
|
---|
[57f2a49] | 89 | <para role="recommended">
|
---|
| 90 | <xref role="runtime" linkend="DocBook"/> and
|
---|
| 91 | <xref role="runtime" linkend="docbook-xsl"/>
|
---|
[5cfcafe] | 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 |
|
---|
[d378cf05] | 103 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 104 | <para role="optional">
|
---|
[6aa4fda0] | 105 | <xref linkend="libgcrypt"/>
|
---|
| 106 | <!--
|
---|
[cd964c8] | 107 | <xref linkend="libxml2py2"/>
|
---|
[6aa4fda0] | 108 | <!- - Seems to be used for tests - ->
|
---|
[8558044] | 109 | <note><simpara>The <xref role="nodep" linkend="libxml2py2"/>
|
---|
[cd964c8] | 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
|
---|
[fb4fe20] | 113 | any package in BLFS but various non-BLFS packages may install
|
---|
[cd964c8] | 114 | <application>Python2</application> modules which reference it.
|
---|
[d378cf05] | 115 | </simpara></note>
|
---|
[6aa4fda0] | 116 | -->
|
---|
[d378cf05] | 117 | </para>
|
---|
| 118 |
|
---|
[6f0f00c] | 119 | </sect2>
|
---|
[8e75f8b9] | 120 |
|
---|
[6f0f00c] | 121 | <sect2 role="installation">
|
---|
[02a9980] | 122 | <title>Installation of libxslt</title>
|
---|
[0ea2a4a] | 123 |
|
---|
[8180b89] | 124 | <para>
|
---|
| 125 | Install <application>libxslt</application> by running the following
|
---|
| 126 | commands:
|
---|
| 127 | </para>
|
---|
[6f0f00c] | 128 |
|
---|
[da108fb] | 129 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 130 | --disable-static \
|
---|
| 131 | --docdir=/usr/share/doc/libxslt-&libxslt-version; \
|
---|
[323310f] | 132 | PYTHON=/usr/bin/python3 &&
|
---|
[6f0f00c] | 133 | make</userinput></screen>
|
---|
[8e75f8b9] | 134 |
|
---|
[8180b89] | 135 | <para>
|
---|
| 136 | To test the results, issue: <command>make check</command>.
|
---|
| 137 | </para>
|
---|
[8e75f8b9] | 138 |
|
---|
[8180b89] | 139 | <para>
|
---|
| 140 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 141 | </para>
|
---|
[8e75f8b9] | 142 |
|
---|
[6f0f00c] | 143 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 144 |
|
---|
[6f0f00c] | 145 | </sect2>
|
---|
[8e75f8b9] | 146 |
|
---|
[8180b89] | 147 | <sect2 role="commands">
|
---|
| 148 | <title>Command Explanations</title>
|
---|
[323310f] | 149 | <!--
|
---|
[3979b674] | 150 | <para>
|
---|
[323310f] | 151 | <parameter>- -without-python</parameter>: This parameter disables the libxslt
|
---|
[3979b674] | 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>
|
---|
[323310f] | 156 | -->
|
---|
[8180b89] | 157 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 158 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 159 |
|
---|
| 160 | </sect2>
|
---|
| 161 |
|
---|
[6f0f00c] | 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>
|
---|
[8e75f8b9] | 169 |
|
---|
[6f0f00c] | 170 | <seglistitem>
|
---|
[8180b89] | 171 | <seg>
|
---|
| 172 | xslt-config and xsltproc
|
---|
| 173 | </seg>
|
---|
| 174 | <seg>
|
---|
| 175 | libexslt.so, libxslt.so and optionally, libxsltmod.so
|
---|
[6c6f393] | 176 | <application>Python</application> module
|
---|
[8180b89] | 177 | </seg>
|
---|
| 178 | <seg>
|
---|
[f18f873] | 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>
|
---|
[6f0f00c] | 184 | </seglistitem>
|
---|
| 185 | </segmentedlist>
|
---|
[8e75f8b9] | 186 |
|
---|
[6f0f00c] | 187 | <variablelist>
|
---|
| 188 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 189 | <?dbfo list-presentation="list"?>
|
---|
| 190 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 191 |
|
---|
[6f0f00c] | 192 | <varlistentry id="xslt-config">
|
---|
| 193 | <term><command>xslt-config</command></term>
|
---|
| 194 | <listitem>
|
---|
[8180b89] | 195 | <para>
|
---|
| 196 | is used to find out the pre-processor, linking and
|
---|
| 197 | compiling flags necessary to use the <application>libxslt</application>
|
---|
[4c24eb0a] | 198 | libraries in 3rd-party programs
|
---|
[8180b89] | 199 | </para>
|
---|
[6f0f00c] | 200 | <indexterm zone="libxslt xslt-config">
|
---|
| 201 | <primary sortas="b-xslt-config">xslt-config</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
[8e75f8b9] | 205 |
|
---|
[6f0f00c] | 206 | <varlistentry id="xsltproc">
|
---|
| 207 | <term><command>xsltproc</command></term>
|
---|
| 208 | <listitem>
|
---|
[8180b89] | 209 | <para>
|
---|
[4c24eb0a] | 210 | is used to apply XSLT stylesheets to XML documents
|
---|
[8180b89] | 211 | </para>
|
---|
[6f0f00c] | 212 | <indexterm zone="libxslt xsltproc">
|
---|
| 213 | <primary sortas="b-xsltproc">xsltproc</primary>
|
---|
| 214 | </indexterm>
|
---|
| 215 | </listitem>
|
---|
| 216 | </varlistentry>
|
---|
[8e75f8b9] | 217 |
|
---|
[8180b89] | 218 | <varlistentry id="libexslt">
|
---|
| 219 | <term><filename class="libraryfile">libexslt.so</filename></term>
|
---|
[6f0f00c] | 220 | <listitem>
|
---|
[8180b89] | 221 | <para>
|
---|
[4c24eb0a] | 222 | is used to provide extensions to XSLT functions
|
---|
[8180b89] | 223 | </para>
|
---|
| 224 | <indexterm zone="libxslt libexslt">
|
---|
| 225 | <primary sortas="c-libexslt">libexslt.so</primary>
|
---|
[6f0f00c] | 226 | </indexterm>
|
---|
| 227 | </listitem>
|
---|
| 228 | </varlistentry>
|
---|
[8e75f8b9] | 229 |
|
---|
[8180b89] | 230 | <varlistentry id="libxslt-lib">
|
---|
| 231 | <term><filename class="libraryfile">libxslt.so</filename></term>
|
---|
[6f0f00c] | 232 | <listitem>
|
---|
[8180b89] | 233 | <para>
|
---|
| 234 | provides extensions to the
|
---|
| 235 | <filename class="libraryfile">libxml2</filename>
|
---|
[4c24eb0a] | 236 | libraries to parse files that use the XSLT format
|
---|
[8180b89] | 237 | </para>
|
---|
| 238 | <indexterm zone="libxslt libxslt-lib">
|
---|
| 239 | <primary sortas="c-libxslt">libxslt.so</primary>
|
---|
[6f0f00c] | 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
[8e75f8b9] | 243 |
|
---|
[6f0f00c] | 244 | </variablelist>
|
---|
| 245 |
|
---|
| 246 | </sect2>
|
---|
[f45b1953] | 247 |
|
---|
| 248 | </sect1>
|
---|