Difference between revisions of "OpenJade"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/openjade/openjade-1.3.2.tar.gz
+
| http://prdownloads.sourceforge.net/openjade/openjade-{{OpenJade-Version}}.tar.gz
 
|}
 
|}
  
Line 23: Line 23:
 
     --enable-default-catalog=/etc/sgml/catalog \
 
     --enable-default-catalog=/etc/sgml/catalog \
 
     --enable-default-search-path=/usr/share/sgml \
 
     --enable-default-search-path=/usr/share/sgml \
     --datadir=/usr/share/sgml/openjade-1.3.2 &&
+
     --datadir=/usr/share/sgml/openjade-{{OpenJade-Version}} &&
 
  make
 
  make
  
Line 34: Line 34:
 
  ln -v -sf libospgrove.so /usr/lib/libspgrove.so &&
 
  ln -v -sf libospgrove.so /usr/lib/libspgrove.so &&
 
  ln -v -sf libostyle.so /usr/lib/libstyle.so &&
 
  ln -v -sf libostyle.so /usr/lib/libstyle.so &&
  install -v -m644 dsssl/catalog /usr/share/sgml/openjade-1.3.2/ &&
+
  install -v -m644 dsssl/catalog /usr/share/sgml/openjade-{{OpenJade-Version}}/ &&
 
  install -v -m644 dsssl/*.{dtd,dsl,sgm} \
 
  install -v -m644 dsssl/*.{dtd,dsl,sgm} \
     /usr/share/sgml/openjade-1.3.2 &&
+
     /usr/share/sgml/openjade-{{OpenJade-Version}} &&
  install-catalog --add /etc/sgml/openjade-1.3.2.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-1.3.2.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/4.4/docbookx.dtd\" \
 
     \"/usr/share/xml/docbook/xml-dtd-4.4/docbookx.dtd\"" >> \
 
     \"/usr/share/xml/docbook/xml-dtd-4.4/docbookx.dtd\"" >> \
     /usr/share/sgml/openjade-1.3.2/catalog
+
     /usr/share/sgml/openjade-{{OpenJade-Version}}/catalog
  
 
== Multilib ==
 
== Multilib ==
Line 56: Line 56:
 
     --enable-default-catalog=/etc/sgml/catalog \
 
     --enable-default-catalog=/etc/sgml/catalog \
 
     --enable-default-search-path=/usr/share/sgml \
 
     --enable-default-search-path=/usr/share/sgml \
     --datadir=/usr/share/sgml/openjade-1.3.2 \
+
     --datadir=/usr/share/sgml/openjade-{{OpenJade-Version}} \
 
     --enable-splibdir=/usr/lib &&
 
     --enable-splibdir=/usr/lib &&
 
  make
 
  make
Line 75: Line 75:
 
     --enable-default-catalog=/etc/sgml/catalog \
 
     --enable-default-catalog=/etc/sgml/catalog \
 
     --enable-default-search-path=/usr/share/sgml \
 
     --enable-default-search-path=/usr/share/sgml \
     --datadir=/usr/share/sgml/openjade-1.3.2 \
+
     --datadir=/usr/share/sgml/openjade-{{OpenJade-Version}} \
 
     --enable-splibdir=/usr/lib32 &&
 
     --enable-splibdir=/usr/lib32 &&
 
  make
 
  make
Line 94: Line 94:
 
     --enable-default-catalog=/etc/sgml/catalog \
 
     --enable-default-catalog=/etc/sgml/catalog \
 
     --enable-default-search-path=/usr/share/sgml \
 
     --enable-default-search-path=/usr/share/sgml \
     --datadir=/usr/share/sgml/openjade-1.3.2 \
+
     --datadir=/usr/share/sgml/openjade-{{OpenJade-Version}} \
 
     --enable-splibdir=/usr/lib64 &&
 
     --enable-splibdir=/usr/lib64 &&
 
  make
 
  make
Line 106: Line 106:
 
  ln -v -sf libospgrove.so /usr/lib64/libspgrove.so &&
 
  ln -v -sf libospgrove.so /usr/lib64/libspgrove.so &&
 
  ln -v -sf libostyle.so /usr/lib64/libstyle.so &&
 
  ln -v -sf libostyle.so /usr/lib64/libstyle.so &&
  install -v -m644 dsssl/catalog /usr/share/sgml/openjade-1.3.2/ &&
+
  install -v -m644 dsssl/catalog /usr/share/sgml/openjade-{{OpenJade-Version}}/ &&
 
  install -v -m644 dsssl/*.{dtd,dsl,sgm} \
 
  install -v -m644 dsssl/*.{dtd,dsl,sgm} \
     /usr/share/sgml/openjade-1.3.2 &&
+
     /usr/share/sgml/openjade-{{OpenJade-Version}} &&
  install-catalog --add /etc/sgml/openjade-1.3.2.cat \
+
  install-catalog --add /etc/sgml/openjade-{{OpenJade-Version}}cat \
 
     /usr/share/sgml/openjade-1.3.2/catalog &&
 
     /usr/share/sgml/openjade-1.3.2/catalog &&
 
  install-catalog --add /etc/sgml/sgml-docbook.cat \
 
  install-catalog --add /etc/sgml/sgml-docbook.cat \
     /etc/sgml/openjade-1.3.2.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/4.4/docbookx.dtd\" \
 
     \"/usr/share/xml/docbook/xml-dtd-4.4/docbookx.dtd\"" >> \
 
     \"/usr/share/xml/docbook/xml-dtd-4.4/docbookx.dtd\"" >> \
     /usr/share/sgml/openjade-1.3.2/catalog
+
     /usr/share/sgml/openjade-{{OpenJade-Version}}/catalog

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.2/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=5213"