[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 " ">
|
---|
[323310f] | 9 | <!ENTITY libxslt-md5sum "84e86fc8a1b7495674016e05e4c5da44">
|
---|
[f93706f] | 10 | <!ENTITY libxslt-size "1.5 MB">
|
---|
| 11 | <!ENTITY libxslt-buildsize "35 MB (with tests)">
|
---|
[7a5c814] | 12 | <!ENTITY libxslt-time "0.2 SBU (with tests)">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[f45b1953] | 15 | <sect1 id="libxslt" xreflabel="libxslt-&libxslt-version;">
|
---|
[6f0f00c] | 16 | <?dbhtml filename="libxslt.html"?>
|
---|
[8e75f8b9] | 17 |
|
---|
[6f0f00c] | 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
[8e75f8b9] | 21 |
|
---|
[02a9980] | 22 | <title>libxslt-&libxslt-version;</title>
|
---|
[8e75f8b9] | 23 |
|
---|
[6f0f00c] | 24 | <indexterm zone="libxslt">
|
---|
[8180b89] | 25 | <primary sortas="a-libxslt">libxslt</primary>
|
---|
[6f0f00c] | 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
[02a9980] | 29 | <title>Introduction to libxslt</title>
|
---|
[8e75f8b9] | 30 |
|
---|
[8180b89] | 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>
|
---|
[8e75f8b9] | 37 |
|
---|
[48cb482] | 38 | &lfs112_checked;
|
---|
[fd91fea] | 39 |
|
---|
[6f0f00c] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[8180b89] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&libxslt-download-http;"/>
|
---|
| 45 | </para>
|
---|
[6f0f00c] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[8180b89] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&libxslt-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[6f0f00c] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[8180b89] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &libxslt-md5sum;
|
---|
| 55 | </para>
|
---|
[6f0f00c] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[8180b89] | 58 | <para>
|
---|
| 59 | Download size: &libxslt-size;
|
---|
| 60 | </para>
|
---|
[6f0f00c] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[8180b89] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &libxslt-buildsize;
|
---|
| 65 | </para>
|
---|
[6f0f00c] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[8180b89] | 68 | <para>
|
---|
| 69 | Estimated build time: &libxslt-time;
|
---|
| 70 | </para>
|
---|
[6f0f00c] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
[df013c7f] | 73 | <!--
|
---|
[0ea2a4a] | 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>
|
---|
[df013c7f] | 83 | -->
|
---|
[02a9980] | 84 | <bridgehead renderas="sect3">libxslt Dependencies</bridgehead>
|
---|
[8e75f8b9] | 85 |
|
---|
[6f0f00c] | 86 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[8180b89] | 87 | <para role="required">
|
---|
| 88 | <xref linkend="libxml2"/>
|
---|
| 89 | </para>
|
---|
[8e75f8b9] | 90 |
|
---|
[e7ec655f] | 91 | <bridgehead renderas="sect4">Recommended (at runtime)</bridgehead>
|
---|
[57f2a49] | 92 | <para role="recommended">
|
---|
| 93 | <xref role="runtime" linkend="DocBook"/> and
|
---|
| 94 | <xref role="runtime" linkend="docbook-xsl"/>
|
---|
[5cfcafe] | 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 |
|
---|
[d378cf05] | 106 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 107 | <para role="optional">
|
---|
[6aa4fda0] | 108 | <xref linkend="libgcrypt"/>
|
---|
| 109 | <!--
|
---|
[cd964c8] | 110 | <xref linkend="libxml2py2"/>
|
---|
[6aa4fda0] | 111 | <!- - Seems to be used for tests - ->
|
---|
[8558044] | 112 | <note><simpara>The <xref role="nodep" linkend="libxml2py2"/>
|
---|
[cd964c8] | 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
|
---|
[fb4fe20] | 116 | any package in BLFS but various non-BLFS packages may install
|
---|
[cd964c8] | 117 | <application>Python2</application> modules which reference it.
|
---|
[d378cf05] | 118 | </simpara></note>
|
---|
[6aa4fda0] | 119 | -->
|
---|
[d378cf05] | 120 | </para>
|
---|
| 121 |
|
---|
[1039de3] | 122 | <para condition="html" role="usernotes">User Notes:
|
---|
[8180b89] | 123 | <ulink url="&blfs-wiki;/libxslt"/>
|
---|
| 124 | </para>
|
---|
[6f0f00c] | 125 | </sect2>
|
---|
[8e75f8b9] | 126 |
|
---|
[6f0f00c] | 127 | <sect2 role="installation">
|
---|
[02a9980] | 128 | <title>Installation of libxslt</title>
|
---|
[0ea2a4a] | 129 |
|
---|
[8180b89] | 130 | <para>
|
---|
| 131 | Install <application>libxslt</application> by running the following
|
---|
| 132 | commands:
|
---|
| 133 | </para>
|
---|
[6f0f00c] | 134 |
|
---|
[da108fb] | 135 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 136 | --disable-static \
|
---|
| 137 | --docdir=/usr/share/doc/libxslt-&libxslt-version; \
|
---|
[323310f] | 138 | PYTHON=/usr/bin/python3 &&
|
---|
[6f0f00c] | 139 | make</userinput></screen>
|
---|
[8e75f8b9] | 140 |
|
---|
[8180b89] | 141 | <para>
|
---|
| 142 | To test the results, issue: <command>make check</command>.
|
---|
| 143 | </para>
|
---|
[8e75f8b9] | 144 |
|
---|
[8180b89] | 145 | <para>
|
---|
| 146 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 147 | </para>
|
---|
[8e75f8b9] | 148 |
|
---|
[6f0f00c] | 149 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 150 |
|
---|
[6f0f00c] | 151 | </sect2>
|
---|
[8e75f8b9] | 152 |
|
---|
[8180b89] | 153 | <sect2 role="commands">
|
---|
| 154 | <title>Command Explanations</title>
|
---|
[323310f] | 155 | <!--
|
---|
[3979b674] | 156 | <para>
|
---|
[323310f] | 157 | <parameter>- -without-python</parameter>: This parameter disables the libxslt
|
---|
[3979b674] | 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>
|
---|
[323310f] | 162 | -->
|
---|
[8180b89] | 163 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 164 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 165 |
|
---|
| 166 | </sect2>
|
---|
| 167 |
|
---|
[6f0f00c] | 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>
|
---|
[8e75f8b9] | 175 |
|
---|
[6f0f00c] | 176 | <seglistitem>
|
---|
[8180b89] | 177 | <seg>
|
---|
| 178 | xslt-config and xsltproc
|
---|
| 179 | </seg>
|
---|
| 180 | <seg>
|
---|
| 181 | libexslt.so, libxslt.so and optionally, libxsltmod.so
|
---|
[6c6f393] | 182 | <application>Python</application> module
|
---|
[8180b89] | 183 | </seg>
|
---|
| 184 | <seg>
|
---|
[f18f873] | 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>
|
---|
[6f0f00c] | 190 | </seglistitem>
|
---|
| 191 | </segmentedlist>
|
---|
[8e75f8b9] | 192 |
|
---|
[6f0f00c] | 193 | <variablelist>
|
---|
| 194 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 195 | <?dbfo list-presentation="list"?>
|
---|
| 196 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 197 |
|
---|
[6f0f00c] | 198 | <varlistentry id="xslt-config">
|
---|
| 199 | <term><command>xslt-config</command></term>
|
---|
| 200 | <listitem>
|
---|
[8180b89] | 201 | <para>
|
---|
| 202 | is used to find out the pre-processor, linking and
|
---|
| 203 | compiling flags necessary to use the <application>libxslt</application>
|
---|
[4c24eb0a] | 204 | libraries in 3rd-party programs
|
---|
[8180b89] | 205 | </para>
|
---|
[6f0f00c] | 206 | <indexterm zone="libxslt xslt-config">
|
---|
| 207 | <primary sortas="b-xslt-config">xslt-config</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
[8e75f8b9] | 211 |
|
---|
[6f0f00c] | 212 | <varlistentry id="xsltproc">
|
---|
| 213 | <term><command>xsltproc</command></term>
|
---|
| 214 | <listitem>
|
---|
[8180b89] | 215 | <para>
|
---|
[4c24eb0a] | 216 | is used to apply XSLT stylesheets to XML documents
|
---|
[8180b89] | 217 | </para>
|
---|
[6f0f00c] | 218 | <indexterm zone="libxslt xsltproc">
|
---|
| 219 | <primary sortas="b-xsltproc">xsltproc</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
[8e75f8b9] | 223 |
|
---|
[8180b89] | 224 | <varlistentry id="libexslt">
|
---|
| 225 | <term><filename class="libraryfile">libexslt.so</filename></term>
|
---|
[6f0f00c] | 226 | <listitem>
|
---|
[8180b89] | 227 | <para>
|
---|
[4c24eb0a] | 228 | is used to provide extensions to XSLT functions
|
---|
[8180b89] | 229 | </para>
|
---|
| 230 | <indexterm zone="libxslt libexslt">
|
---|
| 231 | <primary sortas="c-libexslt">libexslt.so</primary>
|
---|
[6f0f00c] | 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
[8e75f8b9] | 235 |
|
---|
[8180b89] | 236 | <varlistentry id="libxslt-lib">
|
---|
| 237 | <term><filename class="libraryfile">libxslt.so</filename></term>
|
---|
[6f0f00c] | 238 | <listitem>
|
---|
[8180b89] | 239 | <para>
|
---|
| 240 | provides extensions to the
|
---|
| 241 | <filename class="libraryfile">libxml2</filename>
|
---|
[4c24eb0a] | 242 | libraries to parse files that use the XSLT format
|
---|
[8180b89] | 243 | </para>
|
---|
| 244 | <indexterm zone="libxslt libxslt-lib">
|
---|
| 245 | <primary sortas="c-libxslt">libxslt.so</primary>
|
---|
[6f0f00c] | 246 | </indexterm>
|
---|
| 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
[8e75f8b9] | 249 |
|
---|
[6f0f00c] | 250 | </variablelist>
|
---|
| 251 |
|
---|
| 252 | </sect2>
|
---|
[f45b1953] | 253 |
|
---|
| 254 | </sect1>
|
---|