[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 |
|
---|
[21755bc] | 7 | <!ENTITY libxslt-download-http "http://xmlsoft.org/sources/libxslt-&libxslt-version;.tar.gz">
|
---|
[dd58fed6] | 8 | <!ENTITY libxslt-download-ftp "ftp://xmlsoft.org/libxslt/libxslt-&libxslt-version;.tar.gz">
|
---|
[df013c7f] | 9 | <!ENTITY libxslt-md5sum "db8765c8d076f1b6caafd9f2542a304a">
|
---|
| 10 | <!ENTITY libxslt-size "3.4 MB">
|
---|
[177d84bd] | 11 | <!ENTITY libxslt-buildsize "36 MB (with tests)">
|
---|
| 12 | <!ENTITY libxslt-time "0.3 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 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[8e75f8b9] | 22 |
|
---|
[02a9980] | 23 | <title>libxslt-&libxslt-version;</title>
|
---|
[8e75f8b9] | 24 |
|
---|
[6f0f00c] | 25 | <indexterm zone="libxslt">
|
---|
[8180b89] | 26 | <primary sortas="a-libxslt">libxslt</primary>
|
---|
[6f0f00c] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[02a9980] | 30 | <title>Introduction to libxslt</title>
|
---|
[8e75f8b9] | 31 |
|
---|
[8180b89] | 32 | <para>
|
---|
| 33 | The <application>libxslt</application> package contains
|
---|
| 34 | XSLT libraries used for extending <filename
|
---|
| 35 | class="libraryfile">libxml2</filename> libraries to
|
---|
| 36 | support XSLT files.
|
---|
| 37 | </para>
|
---|
[8e75f8b9] | 38 |
|
---|
[66c4901f] | 39 | &lfs91_checked;
|
---|
[fd91fea] | 40 |
|
---|
[6f0f00c] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[8180b89] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&libxslt-download-http;"/>
|
---|
| 46 | </para>
|
---|
[6f0f00c] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[8180b89] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&libxslt-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[6f0f00c] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[8180b89] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &libxslt-md5sum;
|
---|
| 56 | </para>
|
---|
[6f0f00c] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[8180b89] | 59 | <para>
|
---|
| 60 | Download size: &libxslt-size;
|
---|
| 61 | </para>
|
---|
[6f0f00c] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[8180b89] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &libxslt-buildsize;
|
---|
| 66 | </para>
|
---|
[6f0f00c] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[8180b89] | 69 | <para>
|
---|
| 70 | Estimated build time: &libxslt-time;
|
---|
| 71 | </para>
|
---|
[6f0f00c] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
[df013c7f] | 74 | <!--
|
---|
[0ea2a4a] | 75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 76 | <itemizedlist spacing="compact">
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>
|
---|
| 79 | Required patch:
|
---|
| 80 | <ulink url="&patch-root;/libxslt-&libxslt-version;-security_fix-1.patch"/>
|
---|
| 81 | </para>
|
---|
| 82 | </listitem>
|
---|
| 83 | </itemizedlist>
|
---|
[df013c7f] | 84 | -->
|
---|
[02a9980] | 85 | <bridgehead renderas="sect3">libxslt Dependencies</bridgehead>
|
---|
[8e75f8b9] | 86 |
|
---|
[6f0f00c] | 87 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[8180b89] | 88 | <para role="required">
|
---|
| 89 | <xref linkend="libxml2"/>
|
---|
| 90 | </para>
|
---|
[8e75f8b9] | 91 |
|
---|
[5cfcafe] | 92 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 93 | <para role="recommended">
|
---|
| 94 | <xref linkend="DocBook"/> and
|
---|
| 95 | <xref linkend="docbook-xsl"/>
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <note>
|
---|
| 99 | <para>
|
---|
| 100 | Although it is not a direct dependency, many applications
|
---|
| 101 | using <application>libxslt</application> will expect
|
---|
| 102 | <xref linkend="DocBook"/> and <xref linkend="docbook-xsl"/>
|
---|
| 103 | to be present.
|
---|
| 104 | </para>
|
---|
| 105 | </note>
|
---|
| 106 |
|
---|
[d378cf05] | 107 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 108 | <para role="optional">
|
---|
[cd964c8] | 109 | <xref linkend="libgcrypt"/>,
|
---|
| 110 | <xref linkend="libxml2py2"/>
|
---|
| 111 | <note><simpara>The <xref role="nodep" linkend="libxml2py2"/>
|
---|
| 112 | dependency is only appropriate if the <application>Python2</application>
|
---|
| 113 | module for this package is needed. The
|
---|
| 114 | libxslt <application>Python2</application> module is not needed for
|
---|
| 115 | any package in BLFS but various packages may install
|
---|
| 116 | <application>Python2</application> modules which reference it.
|
---|
[d378cf05] | 117 | </simpara></note>
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
[1039de3] | 120 | <para condition="html" role="usernotes">User Notes:
|
---|
[8180b89] | 121 | <ulink url="&blfs-wiki;/libxslt"/>
|
---|
| 122 | </para>
|
---|
[6f0f00c] | 123 | </sect2>
|
---|
[8e75f8b9] | 124 |
|
---|
[6f0f00c] | 125 | <sect2 role="installation">
|
---|
[02a9980] | 126 | <title>Installation of libxslt</title>
|
---|
[df013c7f] | 127 | <!--
|
---|
[0ea2a4a] | 128 | <para>
|
---|
| 129 | First, install a security patch to fix a security framework bypass:
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
| 132 | <screen><userinput remap="pre">patch -Np1 -i ../libxslt-&libxslt-version;-security_fix-1.patch</userinput></screen>
|
---|
[df013c7f] | 133 | -->
|
---|
[8180b89] | 134 | <para>
|
---|
| 135 | Install <application>libxslt</application> by running the following
|
---|
| 136 | commands:
|
---|
| 137 | </para>
|
---|
[6f0f00c] | 138 |
|
---|
[29e5e6e] | 139 | <screen><userinput>sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.{1,xml} &&
|
---|
| 140 | ./configure --prefix=/usr --disable-static &&
|
---|
[6f0f00c] | 141 | make</userinput></screen>
|
---|
[8e75f8b9] | 142 |
|
---|
[8180b89] | 143 | <para>
|
---|
| 144 | To test the results, issue: <command>make check</command>.
|
---|
| 145 | </para>
|
---|
[8e75f8b9] | 146 |
|
---|
[8180b89] | 147 | <para>
|
---|
| 148 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 149 | </para>
|
---|
[8e75f8b9] | 150 |
|
---|
[6f0f00c] | 151 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 152 |
|
---|
[6f0f00c] | 153 | </sect2>
|
---|
[8e75f8b9] | 154 |
|
---|
[8180b89] | 155 | <sect2 role="commands">
|
---|
| 156 | <title>Command Explanations</title>
|
---|
| 157 |
|
---|
[ba3bd456] | 158 | <para>
|
---|
| 159 | <command>sed -i s/3000/5000/ ...</command>: this increases the recursion
|
---|
| 160 | limit in libxslt. This is needed by some packages for their documentation.
|
---|
| 161 | </para>
|
---|
| 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>
|
---|
| 204 | libraries in 3rd-party programs.
|
---|
| 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>
|
---|
| 216 | is used to apply XSLT stylesheets to XML documents.
|
---|
| 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>
|
---|
| 228 | is used to provide extensions to XSLT functions.
|
---|
| 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>
|
---|
| 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>
|
---|
[6f0f00c] | 246 | </indexterm>
|
---|
| 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
[8e75f8b9] | 249 |
|
---|
[6f0f00c] | 250 | </variablelist>
|
---|
| 251 |
|
---|
| 252 | </sect2>
|
---|
[f45b1953] | 253 |
|
---|
| 254 | </sect1>
|
---|