Difference between revisions of "OpenSP"

From CBLFS
Jump to navigationJump to search
Line 104: Line 104:
 
  ln -v -sf osx /usr/bin/sgml2xml &&
 
  ln -v -sf osx /usr/bin/sgml2xml &&
 
  ln -v -sf libosp.so /usr/lib64/libsp.so
 
  ln -v -sf libosp.so /usr/lib64/libsp.so
 +
 +
==Contents==
 +
 +
{| style="text-align: left;"
 +
|-
 +
! Installed Programs:
 +
| onsgmls, ospent, ospam, osgmlnorm, osx, ospcat
 +
|-
 +
! Installed Libraries:
 +
| libosp.{la,so}
 +
|-
 +
! Installed Directories:
 +
| /usr/share/sgml/OpenSP-{{OpenSP-Version}}, /usr/share/doc/OpenSP, /usr/include/OpenSP
 +
|}

Revision as of 03:39, 1 March 2007

Download Source: http://downloads.sourceforge.net/openjade/OpenSP-1.5.2.tar.gz

Introduction to OpenSP

The OpenSP package contains a C++ library for using SGML/XML files. This is useful for validating, parsing and manipulating SGML and XML documents.

Dependencies

Required

Optional

Non-Multilib

Compile the package:

sed -i 's:32,:253,:' lib/Syntax.cxx &&
sed -i 's:LITLEN          240 :LITLEN          8092:' \
    unicode/{gensyntax.pl,unicode.syn} &&
./configure --prefix=/usr --disable-static --disable-doc-build \
    --enable-default-catalog=/etc/sgml/catalog --enable-http \
    --enable-default-search-path=/usr/share/sgml &&
make pkgdatadir=/usr/share/sgml/OpenSP-1.5.2

Install the package

make pkgdatadir=/usr/share/sgml/OpenSP-1.5.2 install &&
ln -v -sf onsgmls /usr/bin/nsgmls &&
ln -v -sf osgmlnorm /usr/bin/sgmlnorm &&
ln -v -sf ospam /usr/bin/spam &&
ln -v -sf ospcat /usr/bin/spcat &&
ln -v -sf ospent /usr/bin/spent &&
ln -v -sf osx /usr/bin/sx &&
ln -v -sf osx /usr/bin/sgml2xml &&
ln -v -sf libosp.so /usr/lib/libsp.so

Multilib

32Bit

Compile the package:

sed -i 's:32,:253,:' lib/Syntax.cxx &&
sed -i 's:LITLEN          240 :LITLEN          8092:' \
    unicode/{gensyntax.pl,unicode.syn} &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \
    --disable-static --disable-doc-build \
    --enable-default-catalog=/etc/sgml/catalog --enable-http \
    --enable-default-search-path=/usr/share/sgml &&
make pkgdatadir=/usr/share/sgml/OpenSP-1.5.2

Install the package

make pkgdatadir=/usr/share/sgml/OpenSP-1.5.2 install &&
ln -v -sf libosp.so /usr/lib/libsp.so

N32

Compile the package:

sed -i 's:32,:253,:' lib/Syntax.cxx &&
sed -i 's:LITLEN          240 :LITLEN          8092:' \
    unicode/{gensyntax.pl,unicode.syn} &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
    --disable-static --disable-doc-build --libdir=/usr/lib32 \
    --enable-default-catalog=/etc/sgml/catalog --enable-http \
    --enable-default-search-path=/usr/share/sgml &&
make pkgdatadir=/usr/share/sgml/OpenSP-1.5.2

Install the package

make pkgdatadir=/usr/share/sgml/OpenSP-1.5.2 install &&
ln -v -sf libosp.so /usr/lib32/libsp.so

64Bit

Compile the package:

sed -i 's:32,:253,:' lib/Syntax.cxx &&
sed -i 's:LITLEN          240 :LITLEN          8092:' \
    unicode/{gensyntax.pl,unicode.syn} &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
    --disable-static --disable-doc-build --libdir=/usr/lib64 \
    --enable-default-catalog=/etc/sgml/catalog --enable-http \
    --enable-default-search-path=/usr/share/sgml &&
make pkgdatadir=/usr/share/sgml/OpenSP-1.5.2

Install the package

make pkgdatadir=/usr/share/sgml/OpenSP-1.5.2 install &&
ln -v -sf onsgmls /usr/bin/nsgmls &&
ln -v -sf osgmlnorm /usr/bin/sgmlnorm &&
ln -v -sf ospam /usr/bin/spam &&
ln -v -sf ospcat /usr/bin/spcat &&
ln -v -sf ospent /usr/bin/spent &&
ln -v -sf osx /usr/bin/sx &&
ln -v -sf osx /usr/bin/sgml2xml &&
ln -v -sf libosp.so /usr/lib64/libsp.so

Contents

Installed Programs: onsgmls, ospent, ospam, osgmlnorm, osx, ospcat
Installed Libraries: libosp.{la,so}
Installed Directories: /usr/share/sgml/OpenSP-1.5.2, /usr/share/doc/OpenSP, /usr/include/OpenSP
Retrieved from "?title=OpenSP&oldid=8017"