Difference between revisions of "OpenJade"

From CBLFS
Jump to navigationJump to search
Line 42: Line 42:
 
     /etc/sgml/openjade-{{OpenJade-Version}}.cat
 
     /etc/sgml/openjade-{{OpenJade-Version}}.cat
  
  echo "SYSTEM \"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd\" \
+
  echo "SYSTEM \"http://www.oasis-open.org/docbook/xml/{{Docbook_XML-Version}}/docbookx.dtd\" \
     \"/usr/share/xml/docbook/xml-dtd-4.4/docbookx.dtd\"" >> \
+
     \"/usr/share/xml/docbook/xml-dtd-{{Docbook_XML-Version}}/docbookx.dtd\"" >> \
 
     /usr/share/sgml/openjade-{{OpenJade-Version}}/catalog
 
     /usr/share/sgml/openjade-{{OpenJade-Version}}/catalog
  
Line 117: Line 117:
 
     \"/usr/share/xml/docbook/xml-dtd-{{Docbook_XML-Version}}/docbookx.dtd\"" >> \
 
     \"/usr/share/xml/docbook/xml-dtd-{{Docbook_XML-Version}}/docbookx.dtd\"" >> \
 
     /usr/share/sgml/openjade-{{OpenJade-Version}}/catalog
 
     /usr/share/sgml/openjade-{{OpenJade-Version}}/catalog
 +
 +
==Contents==
 +
 +
{| style="text-align: left;"
 +
|-
 +
! Installed Programs:
 +
| openjade
 +
|-
 +
! Installed Libraries:
 +
| libogrove.{la,so}, libospgrove.{la,so}, libostyle.{la,so}
 +
|-
 +
! Installed Directories:
 +
| None
 +
|}

Revision as of 05:04, 1 March 2007

Download Source: http://downloads.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.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:

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.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
Retrieved from "?title=OpenJade&oldid=8018"