Beyond Linux From Scratch: Version 5.0 | ||
---|---|---|
Prev | Chapter 47. Standard Generalized Markup Language (SGML) | Next |
The OpenJade package contains a DSSSL engine. This is useful for SGML and XML transformations into RTF, TeX, SGML and XML.
Download (HTTP): http://telia.dl.sourceforge.net/openjade/openjade-1.3.2.tar.gz
Download (FTP): ftp://ftp.freestandards.org/pub/lsb/app-battery/packages/openjade-1.3.2.tar.gz
Download size: 880 KB
Estimated Disk space required: 14.5 MB
Estimated build time: 1.51 SBU
Install OpenJade by running the following commands:
./configure --prefix=/usr --enable-http --disable-static \ --enable-default-catalog=/etc/sgml/catalog \ --enable-default-search-path=/usr/share/sgml \ --datadir=/usr/share/sgml/openjade-1.3.2 && make && make install && ln -sf openjade /usr/bin/jade && ln -sf libogrove.so /usr/lib/libgrove.so && ln -sf libospgrove.so /usr/lib/libspgrove.so && ln -sf libostyle.so /usr/lib/libstyle.so && install -m644 dsssl/catalog /usr/share/sgml/openjade-1.3.2/ && install -m644 dsssl/*.dtd dsssl/*.dsl dsssl/*.sgm \ /usr/share/sgml/openjade-1.3.2 && install-catalog --add /etc/sgml/openjade-1.3.2.cat \ /usr/share/sgml/openjade-1.3.2/catalog && install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/openjade-1.3.2.cat |
--disable-static: This switch prevents the building of the static library.
--enable-http: This switch adds support for HTTP.
--enable-default-catalog=/etc/sgml/catalog: This switch sets the path to our centralized catalog.
--enable-default-search-path: This switch sets the default value of SGML_SEARCH_PATH.
--datadir=/usr/share/sgml/openjade-1.3.2: This switch puts data files in /usr/share/sgml/openjade-1.3.2 instead of /usr/share.
ln -sf openjade /usr/bin/jade ln -sf libogrove.so /usr/lib/libgrove.so ln -sf libospgrove.so /usr/lib/libspgrove.so ln -sf libostyle.so /usr/lib/libstyle.so |
echo "SYSTEM \"/usr/share/docbook/docbookx.dtd\" \ \"/usr/share/xml/docbook/xml-dtd-4.2/docbookx.dtd\"" >> \ /usr/share/sgml/openjade-1.3.2/catalog |
This configuration is only necessary if you intend to use OpenJade to process the BLFS XML files through DSSSL Stylesheets.
The OpenJade package contains openjade.
openjade is a DSSSL engine used for transformations.