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