%general-entities; ]> OpenSP-&opensp-version; Introduction to <application>OpenSP</application> The OpenSP package contains a C++ library for using SGML/XML files. This is useful for validating, parsing and manipulating SGML and XML documents. Package information Download (HTTP): Download (FTP): Download size: &opensp-size; Estimated Disk space required: &opensp-buildsize; Estimated build time: &opensp-time; Additional downloads Required Patch: <application>OpenSP</application> dependencies Required Installation of <application>OpenSP</application> This patch removes some annoying messages that can appear while running openjade: patch -Np1 -i ../OpenSP-&opensp-version;-LITLEN.patch Install OpenSP by running the following commands: ./configure --prefix=/usr --disable-static --enable-http \ --enable-default-catalog=/etc/sgml/catalog \ --enable-default-search-path=/usr/share/sgml && make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; && make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; install && ln -sf onsgmls /usr/bin/nsgmls && ln -sf osgmlnorm /usr/bin/sgmlnorm && ln -sf ospam /usr/bin/spam && ln -sf ospcat /usr/bin/spcat && ln -sf ospent /usr/bin/spent && ln -sf osx /usr/bin/sx && ln -sf osx /usr/bin/sgml2xml && ln -sf libosp.so /usr/lib/libsp.so && install-catalog --add /etc/sgml/OpenSP-&opensp-version;.cat \ /usr/share/sgml/OpenSP-&opensp-version;/catalog && install-catalog --add /etc/sgml/sgml-docbook.cat \ /etc/sgml/OpenSP-&opensp-version;.cat Update hint Remove the above catalog items prior to upgrading with: install-catalog --remove /etc/sgml/OpenSP-[version].cat \ /usr/share/sgml/OpenSP-[version]/catalog && install-catalog --remove /etc/sgml/sgml-docbook.cat \ /etc/sgml/OpenSP-[version].cat Command explanations : This switch prevents the building of the static library. : This switch adds support for HTTP. --enable-default-catalog=/etc/sgml/catalog: This switch sets the path to the centralized catalog. : This switch sets the default value of SGML_SEARCH_PATH. : This switch adds support for XML Formatted Messages. make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version;: This sets the pkgdatadir variable in the Makefile from /usr/share/OpenSP to /usr/share/sgml/OpenSP-1.5. ln -sf onsgmls /usr/bin/nsgmls ln -sf osgmlnorm /usr/bin/sgmlnorm ln -sf ospam /usr/bin/spam ln -sf ospcat /usr/bin/spcat ln -sf ospent /usr/bin/spent ln -sf osx /usr/bin/sx ln -sf osx /usr/bin/sgml2xml ln -sf libosp.so /usr/lib/libsp.so These commands create the SP equivalents of OpenSP executables and libraries. Contents The OpenSP package contains onsgmls, ospam, osx, ospcat and ospent. Description onsgmls onsgmls processes SGML files. ospam ospam is a markup stream editor. osx osx is a SGML normalizer or a converter of SGML to XML. ospcat ospcat prints effective system identifiers found in the catalogs. ospent ospent provides access to OpenSP's entity manager.