[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[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 " ">
|
---|
[91e1a0dc] | 9 | <!ENTITY libxslt-md5sum "56bc5d89aa39d62002961c150fec08a0">
|
---|
| 10 | <!ENTITY libxslt-size "1.6 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 |
|
---|
[e375445] | 35 | &lfs122_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"/>
|
---|
[d378cf05] | 106 | </para>
|
---|
| 107 |
|
---|
[6f0f00c] | 108 | </sect2>
|
---|
[8e75f8b9] | 109 |
|
---|
[6f0f00c] | 110 | <sect2 role="installation">
|
---|
[02a9980] | 111 | <title>Installation of libxslt</title>
|
---|
[0ea2a4a] | 112 |
|
---|
[8180b89] | 113 | <para>
|
---|
| 114 | Install <application>libxslt</application> by running the following
|
---|
| 115 | commands:
|
---|
| 116 | </para>
|
---|
[6f0f00c] | 117 |
|
---|
[da108fb] | 118 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 119 | --disable-static \
|
---|
[cec7e56] | 120 | --docdir=/usr/share/doc/libxslt-&libxslt-version; &&
|
---|
[6f0f00c] | 121 | make</userinput></screen>
|
---|
[8e75f8b9] | 122 |
|
---|
[8180b89] | 123 | <para>
|
---|
| 124 | To test the results, issue: <command>make check</command>.
|
---|
| 125 | </para>
|
---|
[8e75f8b9] | 126 |
|
---|
[8180b89] | 127 | <para>
|
---|
| 128 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 129 | </para>
|
---|
[8e75f8b9] | 130 |
|
---|
[6f0f00c] | 131 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 132 |
|
---|
[6f0f00c] | 133 | </sect2>
|
---|
[8e75f8b9] | 134 |
|
---|
[8180b89] | 135 | <sect2 role="commands">
|
---|
| 136 | <title>Command Explanations</title>
|
---|
[44b3f440] | 137 |
|
---|
[8180b89] | 138 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 139 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
[6f0f00c] | 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Programs</segtitle>
|
---|
| 148 | <segtitle>Installed Libraries</segtitle>
|
---|
| 149 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 150 |
|
---|
[6f0f00c] | 151 | <seglistitem>
|
---|
[8180b89] | 152 | <seg>
|
---|
| 153 | xslt-config and xsltproc
|
---|
| 154 | </seg>
|
---|
| 155 | <seg>
|
---|
| 156 | libexslt.so, libxslt.so and optionally, libxsltmod.so
|
---|
[6c6f393] | 157 | <application>Python</application> module
|
---|
[8180b89] | 158 | </seg>
|
---|
| 159 | <seg>
|
---|
[f18f873] | 160 | /usr/include/libexslt,
|
---|
| 161 | /usr/include/libxslt,
|
---|
[15dfef2d] | 162 | /usr/lib/cmake/libxslt,
|
---|
[f18f873] | 163 | /usr/lib/libxslt-plugins,
|
---|
[15dfef2d] | 164 | /usr/share/gtk-doc/lib{xslt,exslt},
|
---|
[f18f873] | 165 | /usr/share/doc/libxslt-&libxslt-version;, and
|
---|
| 166 | /usr/share/doc/libxslt-python-&libxslt-version;</seg>
|
---|
[6f0f00c] | 167 | </seglistitem>
|
---|
| 168 | </segmentedlist>
|
---|
[8e75f8b9] | 169 |
|
---|
[6f0f00c] | 170 | <variablelist>
|
---|
| 171 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 172 | <?dbfo list-presentation="list"?>
|
---|
| 173 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 174 |
|
---|
[6f0f00c] | 175 | <varlistentry id="xslt-config">
|
---|
| 176 | <term><command>xslt-config</command></term>
|
---|
| 177 | <listitem>
|
---|
[8180b89] | 178 | <para>
|
---|
| 179 | is used to find out the pre-processor, linking and
|
---|
| 180 | compiling flags necessary to use the <application>libxslt</application>
|
---|
[4c24eb0a] | 181 | libraries in 3rd-party programs
|
---|
[8180b89] | 182 | </para>
|
---|
[6f0f00c] | 183 | <indexterm zone="libxslt xslt-config">
|
---|
| 184 | <primary sortas="b-xslt-config">xslt-config</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
[8e75f8b9] | 188 |
|
---|
[6f0f00c] | 189 | <varlistentry id="xsltproc">
|
---|
| 190 | <term><command>xsltproc</command></term>
|
---|
| 191 | <listitem>
|
---|
[8180b89] | 192 | <para>
|
---|
[4c24eb0a] | 193 | is used to apply XSLT stylesheets to XML documents
|
---|
[8180b89] | 194 | </para>
|
---|
[6f0f00c] | 195 | <indexterm zone="libxslt xsltproc">
|
---|
| 196 | <primary sortas="b-xsltproc">xsltproc</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
[8e75f8b9] | 200 |
|
---|
[8180b89] | 201 | <varlistentry id="libexslt">
|
---|
| 202 | <term><filename class="libraryfile">libexslt.so</filename></term>
|
---|
[6f0f00c] | 203 | <listitem>
|
---|
[8180b89] | 204 | <para>
|
---|
[4c24eb0a] | 205 | is used to provide extensions to XSLT functions
|
---|
[8180b89] | 206 | </para>
|
---|
| 207 | <indexterm zone="libxslt libexslt">
|
---|
| 208 | <primary sortas="c-libexslt">libexslt.so</primary>
|
---|
[6f0f00c] | 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
[8e75f8b9] | 212 |
|
---|
[8180b89] | 213 | <varlistentry id="libxslt-lib">
|
---|
| 214 | <term><filename class="libraryfile">libxslt.so</filename></term>
|
---|
[6f0f00c] | 215 | <listitem>
|
---|
[8180b89] | 216 | <para>
|
---|
| 217 | provides extensions to the
|
---|
| 218 | <filename class="libraryfile">libxml2</filename>
|
---|
[4c24eb0a] | 219 | libraries to parse files that use the XSLT format
|
---|
[8180b89] | 220 | </para>
|
---|
| 221 | <indexterm zone="libxslt libxslt-lib">
|
---|
| 222 | <primary sortas="c-libxslt">libxslt.so</primary>
|
---|
[6f0f00c] | 223 | </indexterm>
|
---|
| 224 | </listitem>
|
---|
| 225 | </varlistentry>
|
---|
[8e75f8b9] | 226 |
|
---|
[6f0f00c] | 227 | </variablelist>
|
---|
| 228 |
|
---|
| 229 | </sect2>
|
---|
[f45b1953] | 230 |
|
---|
| 231 | </sect1>
|
---|