source: pst/sgml/opensp.xml@ 402131a2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 402131a2 was 402131a2, checked in by Randy McMurchy <randy@…>, 20 years ago

Removed instructions to add system SGML catalog entries from OpenSP

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2821 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.2 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5
6 <!ENTITY opensp-download-http "http://download.sourceforge.net/openjade/OpenSP-&opensp-version;.tar.gz">
7 <!ENTITY opensp-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/OpenSP-&opensp-version;.tar.gz">
8 <!ENTITY opensp-size "1.4 MB">
9 <!ENTITY opensp-buildsize "37 MB">
10 <!ENTITY opensp-time "1.50 SBU">
11]>
12
13<sect1 id="opensp" xreflabel="OpenSP-&opensp-version;">
14<sect1info>
15<othername>$LastChangedBy$</othername>
16<date>$Date$</date>
17</sect1info>
18<?dbhtml filename="opensp.html"?>
19<title>OpenSP-&opensp-version;</title>
20
21<sect2>
22<title>Introduction to <application>OpenSP</application></title>
23
24<para>The <application>OpenSP</application> package contains a
25<application>C++</application> library for using
26<acronym>SGML</acronym>/<acronym>XML</acronym> files.
27This is useful for validating, parsing and manipulating
28<acronym>SGML</acronym> and <acronym>XML</acronym>
29documents.</para>
30
31<sect3><title>Package information</title>
32<itemizedlist spacing='compact'>
33<listitem><para>Download (HTTP): <ulink
34url="&opensp-download-http;"/></para></listitem>
35<listitem><para>Download (FTP): <ulink
36url="&opensp-download-ftp;"/></para></listitem>
37<listitem><para>Download size: &opensp-size;</para></listitem>
38<listitem><para>Estimated Disk space required:
39&opensp-buildsize;</para></listitem>
40<listitem><para>Estimated build time:
41&opensp-time;</para></listitem></itemizedlist>
42</sect3>
43
44<sect3><title>Additional downloads</title>
45<itemizedlist spacing='compact'>
46<listitem><para>Required Patch (removes some annoying messages that can appear
47while running <command>openjade</command>): <ulink
48url="&patch-root;/OpenSP-&opensp-version;-LITLEN-1.patch"/></para></listitem>
49<listitem><para>Required Patch (if using
50<application>GCC</application>-3.4.x): <ulink
51url="&patch-root;/OpenSP-&opensp-version;-gcc34-1.patch"/></para></listitem>
52</itemizedlist></sect3>
53
54<sect3><title><application>OpenSP</application> dependencies</title>
55<sect4><title>Required</title>
56<para><xref linkend="sgml-common"/></para></sect4>
57</sect3>
58
59</sect2>
60
61<sect2>
62<title>Installation of <application>OpenSP</application></title>
63
64<para>Install <application>OpenSP</application> by running the following
65commands:</para>
66
67<screen><userinput><command>patch -Np1 -i ../OpenSP-&opensp-version;-LITLEN-1.patch &amp;&amp;
68patch -Np1 -i ../OpenSP-&opensp-version;-gcc34-1.patch &amp;&amp;
69./configure --prefix=/usr --disable-static --enable-http \
70 --enable-default-catalog=/etc/sgml/catalog \
71 --enable-default-search-path=/usr/share/sgml &amp;&amp;
72make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; &amp;&amp;
73make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; install &amp;&amp;
74ln -sf onsgmls /usr/bin/nsgmls &amp;&amp;
75ln -sf osgmlnorm /usr/bin/sgmlnorm &amp;&amp;
76ln -sf ospam /usr/bin/spam &amp;&amp;
77ln -sf ospcat /usr/bin/spcat &amp;&amp;
78ln -sf ospent /usr/bin/spent &amp;&amp;
79ln -sf osx /usr/bin/sx &amp;&amp;
80ln -sf osx /usr/bin/sgml2xml &amp;&amp;
81ln -sf libosp.so /usr/lib/libsp.so</command></userinput></screen>
82
83<!-- install-catalog -add /etc/sgml/OpenSP-&opensp-version;.cat \
84 /usr/share/sgml/OpenSP-&opensp-version;/catalog &amp;&amp;
85install-catalog -add /etc/sgml/sgml-docbook.cat \
86 /etc/sgml/OpenSP-&opensp-version;.cat</command></userinput></screen>
87
88<tip><title>Update hint</title>
89<para>Remove the above catalog items prior to upgrading with:
90<screen><command>install-catalog -remove /etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat \
91 /usr/share/sgml/OpenSP-<replaceable>[version]</replaceable>/catalog &amp;&amp;
92install-catalog -remove /etc/sgml/sgml-docbook.cat \
93 /etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat</command></screen></para></tip> -->
94
95</sect2>
96
97<sect2>
98<title>Command explanations</title>
99
100<para><option>--disable-static</option>: This switch prevents
101the building of the static library.</para>
102
103<para><option>--enable-http</option>: This switch adds support
104for <acronym>HTTP</acronym>.</para>
105
106<para><parameter>--enable-default-catalog=/etc/sgml/catalog</parameter>: This
107switch sets the path to the centralized catalog.</para>
108
109<para><parameter>--enable-default-search-path</parameter>: This switch
110sets the default value of <envar>SGML_SEARCH_PATH</envar>.</para>
111
112<para><option>--enable-xml-messages</option>: This switch adds
113support for <acronym>XML</acronym> Formatted Messages.</para>
114
115<para><command>make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version;</command>:
116This sets the pkgdatadir variable in the <filename>Makefile</filename> from
117<filename class="directory">/usr/share/OpenSP</filename> to
118<filename class="directory">/usr/share/sgml/OpenSP-&opensp-version;</filename>.</para>
119
120<para><screen><command>ln -sf onsgmls /usr/bin/nsgmls
121ln -sf osgmlnorm /usr/bin/sgmlnorm
122ln -sf ospam /usr/bin/spam
123ln -sf ospcat /usr/bin/spcat
124ln -sf ospent /usr/bin/spent
125ln -sf osx /usr/bin/sx
126ln -sf osx /usr/bin/sgml2xml
127ln -sf libosp.so /usr/lib/libsp.so</command></screen>
128These commands create the <application>SP</application> equivalents of
129<application>OpenSP</application> executables and libraries.</para>
130
131</sect2>
132
133<sect2>
134<title>Contents</title>
135
136<para>The <application>OpenSP</application> package contains
137<command>onsgmls</command>,
138<command>ospam</command>,
139<command>osx</command>,
140<command>ospcat</command> and
141<command>ospent</command>.</para>
142
143</sect2>
144
145<sect2><title>Description</title>
146
147<sect3><title>onsgmls</title>
148<para><command>onsgmls</command> processes <acronym>SGML</acronym>
149files.</para></sect3>
150
151<sect3><title>ospam</title>
152<para><command>ospam</command> is a markup stream editor.</para></sect3>
153
154<sect3><title>osx</title>
155<para><command>osx</command> is a <acronym>SGML</acronym> normalizer or a
156converter of <acronym>SGML</acronym> to <acronym>XML</acronym>.</para></sect3>
157
158<sect3><title>ospcat</title>
159<para><command>ospcat</command> prints effective system identifiers found in
160the catalogs.</para></sect3>
161
162<sect3><title>ospent</title>
163<para><command>ospent</command> provides access to
164<application>OpenSP</application>'s entity manager.</para></sect3>
165
166</sect2>
167
168</sect1>
169
Note: See TracBrowser for help on using the repository browser.