OpenJade

From CBLFS
Jump to: navigation, search
Download Source: http://downloads.sourceforge.net/openjade/openjade-1.3.3-pre1.tar.gz

Contents

Introduction to OpenJade

The OpenJade package contains a DSSSL engine. This is useful for SGML and XML transformations into RTF, TeX, SGML and XML.

Project Homepage: http://openjade.sourceforge.net

Dependencies

Required

Non-Multilib

Compile the package:

sed -i "s/iostream.h/iostream/g" style/MultiLineInlineNote.cxx &&
./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.3-pre1 \
    --enable-splibdir=/usr/lib &&
make

Install the package

make install &&
make install-man &&
ln -v -sf openjade /usr/bin/jade &&
ln -v -sf libogrove.so /usr/lib/libgrove.so &&
ln -v -sf libospgrove.so /usr/lib/libspgrove.so &&
ln -v -sf libostyle.so /usr/lib/libstyle.so &&
install -v -m644 dsssl/catalog /usr/share/sgml/openjade-1.3.3-pre1/ &&
install -v -m644 dsssl/*.{dtd,dsl,sgm} \
    /usr/share/sgml/openjade-1.3.3-pre1 &&
install-catalog --add /etc/sgml/openjade-1.3.3-pre1.cat \
    /usr/share/sgml/openjade-1.3.3-pre1/catalog &&
install-catalog --add /etc/sgml/sgml-docbook.cat \
    /etc/sgml/openjade-1.3.3-pre1.cat
echo "SYSTEM \"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\" \
    \"/usr/share/xml/docbook/xml-dtd-4.5/docbookx.dtd\"" >> \
    /usr/share/sgml/openjade-1.3.3-pre1/catalog

Multilib

32Bit

Compile the package:

sed -i "s/iostream.h/iostream/g" style/MultiLineInlineNote.cxx &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./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.3-pre1 \
    --enable-splibdir=/usr/lib &&
make

Install the package

make install &&
ln -v -sf libogrove.so /usr/lib/libgrove.so &&
ln -v -sf libospgrove.so /usr/lib/libspgrove.so &&
ln -v -sf libostyle.so /usr/lib/libstyle.so

N32

Compile the package:

sed -i "s/iostream.h/iostream/g" style/MultiLineInlineNote.cxx &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
    --enable-http --disable-static --libdir=/usr/lib32 \
    --enable-default-catalog=/etc/sgml/catalog \
    --enable-default-search-path=/usr/share/sgml \
    --datadir=/usr/share/sgml/openjade-1.3.3-pre1 \
    --enable-splibdir=/usr/lib32 &&
make

Install the package

make install &&
ln -v -sf libogrove.so /usr/lib32/libgrove.so &&
ln -v -sf libospgrove.so /usr/lib32/libspgrove.so &&
ln -v -sf libostyle.so /usr/lib32/libstyle.so

64Bit

Compile the package:

sed -i "s/iostream.h/iostream/g" style/MultiLineInlineNote.cxx &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
    --enable-http --disable-static --libdir=/usr/lib64 \
    --enable-default-catalog=/etc/sgml/catalog \
    --enable-default-search-path=/usr/share/sgml \
    --datadir=/usr/share/sgml/openjade-1.3.3-pre1 \
    --enable-splibdir=/usr/lib64 &&
make

Install the package

make install &&
make install-man &&
ln -v -sf openjade /usr/bin/jade &&
ln -v -sf libogrove.so /usr/lib64/libgrove.so &&
ln -v -sf libospgrove.so /usr/lib64/libspgrove.so &&
ln -v -sf libostyle.so /usr/lib64/libstyle.so &&
install -v -m644 dsssl/catalog /usr/share/sgml/openjade-1.3.3-pre1/ &&
install -v -m644 dsssl/*.{dtd,dsl,sgm} \
    /usr/share/sgml/openjade-1.3.3-pre1 &&
install-catalog --add /etc/sgml/openjade-1.3.3-pre1.cat \
    /usr/share/sgml/openjade-1.3.3-pre1/catalog &&
install-catalog --add /etc/sgml/sgml-docbook.cat \
    /etc/sgml/openjade-1.3.3-pre1.cat
echo "SYSTEM \"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\" \
    \"/usr/share/xml/docbook/xml-dtd-4.5/docbookx.dtd\"" >> \
    /usr/share/sgml/openjade-1.3.3-pre1/catalog

Contents

Installed Programs: openjade
Installed Libraries: libogrove.{la,so}, libospgrove.{la,so}, libostyle.{la,so}
Installed Directories: None
Personal tools