[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">
|
---|
[6c6f393] | 9 | <!ENTITY libxslt-md5sum "1fc72f98e98bf4443f1651165f3aa146">
|
---|
[c998c559] | 10 | <!ENTITY libxslt-size "3.3 MB">
|
---|
[6c6f393] | 11 | <!ENTITY libxslt-buildsize "37 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 |
|
---|
[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 |
|
---|
[048b9a46] | 39 | &lfs83_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>
|
---|
[8e75f8b9] | 74 |
|
---|
[02a9980] | 75 | <bridgehead renderas="sect3">libxslt Dependencies</bridgehead>
|
---|
[8e75f8b9] | 76 |
|
---|
[6f0f00c] | 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[8180b89] | 78 | <para role="required">
|
---|
| 79 | <xref linkend="libxml2"/>
|
---|
| 80 | </para>
|
---|
[8e75f8b9] | 81 |
|
---|
[5cfcafe] | 82 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 83 | <para role="recommended">
|
---|
| 84 | <xref linkend="DocBook"/> and
|
---|
| 85 | <xref linkend="docbook-xsl"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <note>
|
---|
| 89 | <para>
|
---|
| 90 | Although it is not a direct dependency, many applications
|
---|
| 91 | using <application>libxslt</application> will expect
|
---|
| 92 | <xref linkend="DocBook"/> and <xref linkend="docbook-xsl"/>
|
---|
| 93 | to be present.
|
---|
| 94 | </para>
|
---|
| 95 | </note>
|
---|
| 96 |
|
---|
[d378cf05] | 97 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 98 | <para role="optional">
|
---|
[cd964c8] | 99 | <xref linkend="libgcrypt"/>,
|
---|
| 100 | <xref linkend="libxml2py2"/>
|
---|
| 101 | <note><simpara>The <xref role="nodep" linkend="libxml2py2"/>
|
---|
| 102 | dependency is only appropriate if the <application>Python2</application>
|
---|
| 103 | module for this package is needed. The
|
---|
| 104 | libxslt <application>Python2</application> module is not needed for
|
---|
| 105 | any package in BLFS but various packages may install
|
---|
| 106 | <application>Python2</application> modules which reference it.
|
---|
[d378cf05] | 107 | </simpara></note>
|
---|
| 108 | </para>
|
---|
| 109 |
|
---|
[1039de3] | 110 | <para condition="html" role="usernotes">User Notes:
|
---|
[8180b89] | 111 | <ulink url="&blfs-wiki;/libxslt"/>
|
---|
| 112 | </para>
|
---|
[6f0f00c] | 113 | </sect2>
|
---|
[8e75f8b9] | 114 |
|
---|
[6f0f00c] | 115 | <sect2 role="installation">
|
---|
[02a9980] | 116 | <title>Installation of libxslt</title>
|
---|
[6f0f00c] | 117 |
|
---|
[8180b89] | 118 | <para>
|
---|
| 119 | Install <application>libxslt</application> by running the following
|
---|
| 120 | commands:
|
---|
| 121 | </para>
|
---|
[6f0f00c] | 122 |
|
---|
[29e5e6e] | 123 | <screen><userinput>sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.{1,xml} &&
|
---|
| 124 | ./configure --prefix=/usr --disable-static &&
|
---|
[6f0f00c] | 125 | make</userinput></screen>
|
---|
[8e75f8b9] | 126 |
|
---|
[8180b89] | 127 | <para>
|
---|
| 128 | To test the results, issue: <command>make check</command>.
|
---|
| 129 | </para>
|
---|
[8e75f8b9] | 130 |
|
---|
[8180b89] | 131 | <para>
|
---|
| 132 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 133 | </para>
|
---|
[8e75f8b9] | 134 |
|
---|
[6f0f00c] | 135 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 136 |
|
---|
[6f0f00c] | 137 | </sect2>
|
---|
[8e75f8b9] | 138 |
|
---|
[8180b89] | 139 | <sect2 role="commands">
|
---|
| 140 | <title>Command Explanations</title>
|
---|
| 141 |
|
---|
[ba3bd456] | 142 | <para>
|
---|
| 143 | <command>sed -i s/3000/5000/ ...</command>: this increases the recursion
|
---|
| 144 | limit in libxslt. This is needed by some packages for their documentation.
|
---|
| 145 | </para>
|
---|
| 146 |
|
---|
[8180b89] | 147 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 148 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 149 |
|
---|
| 150 | </sect2>
|
---|
| 151 |
|
---|
[6f0f00c] | 152 | <sect2 role="content">
|
---|
| 153 | <title>Contents</title>
|
---|
| 154 |
|
---|
| 155 | <segmentedlist>
|
---|
| 156 | <segtitle>Installed Programs</segtitle>
|
---|
| 157 | <segtitle>Installed Libraries</segtitle>
|
---|
| 158 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 159 |
|
---|
[6f0f00c] | 160 | <seglistitem>
|
---|
[8180b89] | 161 | <seg>
|
---|
| 162 | xslt-config and xsltproc
|
---|
| 163 | </seg>
|
---|
| 164 | <seg>
|
---|
| 165 | libexslt.so, libxslt.so and optionally, libxsltmod.so
|
---|
[6c6f393] | 166 | <application>Python</application> module
|
---|
[8180b89] | 167 | </seg>
|
---|
| 168 | <seg>
|
---|
[f18f873] | 169 | /usr/include/libexslt,
|
---|
| 170 | /usr/include/libxslt,
|
---|
| 171 | /usr/lib/libxslt-plugins,
|
---|
| 172 | /usr/share/doc/libxslt-&libxslt-version;, and
|
---|
| 173 | /usr/share/doc/libxslt-python-&libxslt-version;</seg>
|
---|
[6f0f00c] | 174 | </seglistitem>
|
---|
| 175 | </segmentedlist>
|
---|
[8e75f8b9] | 176 |
|
---|
[6f0f00c] | 177 | <variablelist>
|
---|
| 178 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 179 | <?dbfo list-presentation="list"?>
|
---|
| 180 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 181 |
|
---|
[6f0f00c] | 182 | <varlistentry id="xslt-config">
|
---|
| 183 | <term><command>xslt-config</command></term>
|
---|
| 184 | <listitem>
|
---|
[8180b89] | 185 | <para>
|
---|
| 186 | is used to find out the pre-processor, linking and
|
---|
| 187 | compiling flags necessary to use the <application>libxslt</application>
|
---|
| 188 | libraries in 3rd-party programs.
|
---|
| 189 | </para>
|
---|
[6f0f00c] | 190 | <indexterm zone="libxslt xslt-config">
|
---|
| 191 | <primary sortas="b-xslt-config">xslt-config</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
[8e75f8b9] | 195 |
|
---|
[6f0f00c] | 196 | <varlistentry id="xsltproc">
|
---|
| 197 | <term><command>xsltproc</command></term>
|
---|
| 198 | <listitem>
|
---|
[8180b89] | 199 | <para>
|
---|
| 200 | is used to apply XSLT stylesheets to XML documents.
|
---|
| 201 | </para>
|
---|
[6f0f00c] | 202 | <indexterm zone="libxslt xsltproc">
|
---|
| 203 | <primary sortas="b-xsltproc">xsltproc</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
[8e75f8b9] | 207 |
|
---|
[8180b89] | 208 | <varlistentry id="libexslt">
|
---|
| 209 | <term><filename class="libraryfile">libexslt.so</filename></term>
|
---|
[6f0f00c] | 210 | <listitem>
|
---|
[8180b89] | 211 | <para>
|
---|
| 212 | is used to provide extensions to XSLT functions.
|
---|
| 213 | </para>
|
---|
| 214 | <indexterm zone="libxslt libexslt">
|
---|
| 215 | <primary sortas="c-libexslt">libexslt.so</primary>
|
---|
[6f0f00c] | 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
[8e75f8b9] | 219 |
|
---|
[8180b89] | 220 | <varlistentry id="libxslt-lib">
|
---|
| 221 | <term><filename class="libraryfile">libxslt.so</filename></term>
|
---|
[6f0f00c] | 222 | <listitem>
|
---|
[8180b89] | 223 | <para>
|
---|
| 224 | provides extensions to the
|
---|
| 225 | <filename class="libraryfile">libxml2</filename>
|
---|
| 226 | libraries to parse files that use the XSLT format.
|
---|
| 227 | </para>
|
---|
| 228 | <indexterm zone="libxslt libxslt-lib">
|
---|
| 229 | <primary sortas="c-libxslt">libxslt.so</primary>
|
---|
[6f0f00c] | 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
[8e75f8b9] | 233 |
|
---|
[6f0f00c] | 234 | </variablelist>
|
---|
| 235 |
|
---|
| 236 | </sect2>
|
---|
[f45b1953] | 237 |
|
---|
| 238 | </sect1>
|
---|