Difference between revisions of "LibXSLT"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
m
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://ftp.gnome.org/pub/gnome/sources/libxslt/1.1/libxslt-1.1.17.tar.gz
+
| ftp://xmlsoft.org/libxml2/libxslt-{{LibXSLT-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
  
== Introduction to LibXSLT ==
+
{{Package-Introduction|LibXSLT is the XSLT C library developed for the [[Gnome]] project (but usable outside of the [[Gnome]] platform). XSLT itself is a an XML language to define transformation for XML. LibXSLT is based on [[LibXML2]] - the XML C library developed for the GNOME project. It also implements most of the EXSLT set of processor-portable extensions functions and some of Saxon's evaluate and expressions extensions.|http://xmlsoft.org/XSLT/}}
 
 
The LibXSLT package contains XSLT libraries. These are useful for extending LibXML2 libraries to support XSLT files.
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 18: Line 16:
 
* [[Python]]
 
* [[Python]]
 
* [[libGCrypt]] and [[libGPG-Error]]
 
* [[libGCrypt]] and [[libGPG-Error]]
 +
 +
== Test Suite Notes ==
 +
 +
If you wish to run the 32-bit test suites in a 64-bit environment (i.e. the 32Bit and N32 sections), you need to use '''make USE_ARCH=32 check'''. If you do not include ''USE_ARCH=32'', then the Python tests will fail.
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 70: Line 72:
 
  mv -v /usr/bin/xslt-config{,-64} &&
 
  mv -v /usr/bin/xslt-config{,-64} &&
 
  ln -sfv multiarch_wrapper /usr/bin/xslt-config
 
  ln -sfv multiarch_wrapper /usr/bin/xslt-config
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| xslt-config and xsltproc
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libexslt.{so,a}, libxslt.{so,a} and optionally, libxsltmod.{so,a} Python modules
 +
|-valign="top"
 +
! Installed Directories:
 +
| /usr/include/lib{e}xslt, /usr/lib/libxslt-plugins, /usr/share/doc/libxslt-{{LibXSLT-Version}}, and /usr/share/doc/libxslt-python-{{LibXSLT-Version}}
 +
|}
 +
 +
=== Short Descriptions ===
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! xslt-config
 +
| is used to find out the pre-processor, linking and compiling flags necessary to use the libxslt libraries in 3rd-party programs.
 +
|-valign="top"
 +
! xsltproc
 +
| is used to apply XSLT stylesheets to XML documents.
 +
|-valign="top"
 +
! libxslt.{so,a}
 +
| provides extensions to the libxml2 libraries to parse files that use the XSLT format.
 +
|-valign="top"
 +
! libexslt.{so,a}
 +
| is used to provide extensions to XSLT functions.
 +
|}
 +
 +
[[Category:General Libs]]

Latest revision as of 13:44, 8 February 2009

Download Source: ftp://xmlsoft.org/libxml2/libxslt-1.1.28.tar.gz

Introduction to LibXSLT

LibXSLT is the XSLT C library developed for the Gnome project (but usable outside of the Gnome platform). XSLT itself is a an XML language to define transformation for XML. LibXSLT is based on LibXML2 - the XML C library developed for the GNOME project. It also implements most of the EXSLT set of processor-portable extensions functions and some of Saxon's evaluate and expressions extensions.

Project Homepage: http://xmlsoft.org/XSLT/

Dependencies

Required

Optional

Test Suite Notes

If you wish to run the 32-bit test suites in a 64-bit environment (i.e. the 32Bit and N32 sections), you need to use make USE_ARCH=32 check. If you do not include USE_ARCH=32, then the Python tests will fail.

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr &&
make

Install the package

make install &&
mv -v /usr/bin/xslt-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package

make install &&
mv -v /usr/bin/xslt-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install &&
mv -v /usr/bin/xslt-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/xslt-config

Contents

Installed Programs: xslt-config and xsltproc
Installed Libraries: libexslt.{so,a}, libxslt.{so,a} and optionally, libxsltmod.{so,a} Python modules
Installed Directories: /usr/include/lib{e}xslt, /usr/lib/libxslt-plugins, /usr/share/doc/libxslt-1.1.28, and /usr/share/doc/libxslt-python-1.1.28

Short Descriptions

xslt-config is used to find out the pre-processor, linking and compiling flags necessary to use the libxslt libraries in 3rd-party programs.
xsltproc is used to apply XSLT stylesheets to XML documents.
libxslt.{so,a} provides extensions to the libxml2 libraries to parse files that use the XSLT format.
libexslt.{so,a} is used to provide extensions to XSLT functions.