Difference between revisions of "LibXSLT"

From CBLFS
Jump to navigationJump to search
m
 
(6 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| ftp://xmlsoft.org/libxml2/libxslt-{{LibXSLT-Version}}.tar.gz
 
| ftp://xmlsoft.org/libxml2/libxslt-{{LibXSLT-Version}}.tar.gz
|-
 
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/libxslt/libxslt-{{LibXSLT-Version}}-segfault-1.patch
 
|-
 
 
|}
 
|}
  
 
----
 
----
  
== 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 22: 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 105: Line 103:
 
| is used to provide extensions to XSLT functions.
 
| 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.