Difference between revisions of "OpenJade"

From CBLFS
Jump to navigationJump to search
m (64Bit)
Line 110: Line 110:
 
     /usr/share/sgml/openjade-{{OpenJade-Version}} &&
 
     /usr/share/sgml/openjade-{{OpenJade-Version}} &&
 
  install-catalog --add /etc/sgml/openjade-{{OpenJade-Version}}cat \
 
  install-catalog --add /etc/sgml/openjade-{{OpenJade-Version}}cat \
     /usr/share/sgml/openjade-1.3.2/catalog &&
+
     /usr/share/sgml/openjade-{{OpenJade-Version}}/catalog &&
 
  install-catalog --add /etc/sgml/sgml-docbook.cat \
 
  install-catalog --add /etc/sgml/sgml-docbook.cat \
 
     /etc/sgml/openjade-{{OpenJade-Version}}.cat
 
     /etc/sgml/openjade-{{OpenJade-Version}}.cat

Revision as of 12:35, 17 December 2006

Download Source: http://prdownloads.sourceforge.net/openjade/openjade-1.3.3-pre1.tar.gz

Introduction to OpenJade

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

Dependencies

Required

Non-Multilib

Compile the package:

./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 &&
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.4/docbookx.dtd\" \
    \"/usr/share/xml/docbook/xml-dtd-4.4/docbookx.dtd\"" >> \
    /usr/share/sgml/openjade-1.3.3-pre1/catalog

Multilib

32Bit

Compile the package:

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:

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:

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-pre1cat \
    /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.4/docbookx.dtd\" \
    \"/usr/share/xml/docbook/xml-dtd-4.4/docbookx.dtd\"" >> \
    /usr/share/sgml/openjade-1.3.3-pre1/catalog
Retrieved from "?title=OpenJade&oldid=5214"