source: pst/sgml/opensp.xml@ 2441e46

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 2441e46 was 2441e46, checked in by Randy McMurchy <randy@…>, 18 years ago

Typo/grammar/tag fixes to the OpenSP instructions

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

  • Property mode set to 100644
File size: 11.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY opensp-download-http "http://prdownloads.sourceforge.net/openjade/OpenSP-&opensp-version;.tar.gz">
8 <!ENTITY opensp-download-ftp " ">
9<!--
10 <!ENTITY opensp-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/OpenSP-&opensp-version;.tar.gz">
11-->
12 <!ENTITY opensp-md5sum "670b223c5d12cee40c9137be86b6c39b">
13 <!ENTITY opensp-size "1.5 MB">
14 <!ENTITY opensp-buildsize "32 MB">
15 <!ENTITY opensp-time "1.0 SBU">
16]>
17
18<sect1 id="opensp" xreflabel="OpenSP-&opensp-version;">
19 <?dbhtml filename="opensp.html"?>
20
21 <sect1info>
22 <othername>$LastChangedBy$</othername>
23 <date>$Date$</date>
24 <keywordset>
25 <keyword role="package">OpenSP-&opensp-version;.tar</keyword>
26 <keyword role="ftpdir">OpenSP</keyword>
27 </keywordset>
28 </sect1info>
29
30 <title>OpenSP-&opensp-version;</title>
31
32 <indexterm zone="opensp">
33 <primary sortas="a-OpenSP">OpenSP</primary>
34 </indexterm>
35
36 <sect2 role="package">
37 <title>Introduction to OpenSP</title>
38
39 <para>The <application>OpenSP</application> package contains a
40 <application>C++</application> library for using SGML/XML files.
41 This is useful for validating, parsing and manipulating SGML and XML
42 documents.</para>
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>Download (HTTP): <ulink url="&opensp-download-http;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download (FTP): <ulink url="&opensp-download-ftp;"/></para>
51 </listitem>
52 <listitem>
53 <para>Download MD5 sum: &opensp-md5sum;</para>
54 </listitem>
55 <listitem>
56 <para>Download size: &opensp-size;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated disk space required: &opensp-buildsize;</para>
60 </listitem>
61 <listitem>
62 <para>Estimated build time: &opensp-time;</para>
63 </listitem>
64 </itemizedlist>
65
66 <bridgehead renderas="sect3">OpenSP Dependencies</bridgehead>
67
68 <bridgehead renderas="sect4">Required</bridgehead>
69 <para role="required"><xref linkend="sgml-common"/></para>
70
71 <bridgehead renderas="sect4">Optional</bridgehead>
72 <para role="optional"><ulink url="http://cyberelk.net/tim/xmlto/">
73 xmlto</ulink></para>
74
75 <para condition="html" role="usernotes">User Notes:
76 <ulink url="&blfs-wiki;/opensp"/></para>
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of OpenSP</title>
82
83 <para>Install <application>OpenSP</application> by running the following
84 commands:</para>
85
86<screen><userinput>sed -i 's:32,:253,:' lib/Syntax.cxx &amp;&amp;
87sed -i 's:LITLEN 240 :LITLEN 8092:' \
88 unicode/{gensyntax.pl,unicode.syn} &amp;&amp;
89./configure --prefix=/usr --disable-static --disable-doc-build \
90 --enable-default-catalog=/etc/sgml/catalog --enable-http \
91 --enable-default-search-path=/usr/share/sgml &amp;&amp;
92make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version;</userinput></screen>
93
94 <para>To test the results, issue <command>make check</command>. As many as
95 eight of the 22 tests may fail. Do not be alarmed.</para>
96
97 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
98
99<screen role="root"><userinput>make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; install &amp;&amp;
100ln -v -sf onsgmls /usr/bin/nsgmls &amp;&amp;
101ln -v -sf osgmlnorm /usr/bin/sgmlnorm &amp;&amp;
102ln -v -sf ospam /usr/bin/spam &amp;&amp;
103ln -v -sf ospcat /usr/bin/spcat &amp;&amp;
104ln -v -sf ospent /usr/bin/spent &amp;&amp;
105ln -v -sf osx /usr/bin/sx &amp;&amp;
106ln -v -sf osx /usr/bin/sgml2xml &amp;&amp;
107ln -v -sf libosp.so /usr/lib/libsp.so</userinput></screen>
108
109 </sect2>
110
111 <sect2 role="commands">
112 <title>Command Explanations</title>
113
114 <para><parameter>sed -i 's:32,:253,:...unicode.syn}</parameter>:
115 These seds prevent some annoying messages that may otherwise appear
116 while running <command>openjade</command>.</para>
117
118 <para><parameter>--disable-static</parameter>: This switch prevents
119 the building of the static library.</para>
120 <!-- Why don't we want the static library? -->
121
122 <para><parameter>--enable-http</parameter>: This switch adds support
123 for HTTP.</para>
124
125 <para><parameter>--enable-default-catalog=/etc/sgml/catalog</parameter>:
126 This switch sets the path to the centralized catalog.</para>
127
128 <para><parameter>--enable-default-search-path</parameter>: This switch
129 sets the default value of <envar>SGML_SEARCH_PATH</envar>.</para>
130
131 <para><option>--enable-xml-messages</option>: This switch adds
132 support for XML Formatted Messages.</para>
133
134 <para><option>--disable-doc-build</option>: This switch prevents the
135 <command>configure</command> script checking if you have
136 <application>xmlto</application> installed. If you have
137 <application>xmlto</application>, you can remove this option.</para>
138
139 <para><command>make
140 pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version;</command>: This sets the
141 pkgdatadir variable in the <filename>Makefile</filename> from
142 <filename class="directory">/usr/share/OpenSP</filename> to <filename
143 class="directory">/usr/share/sgml/OpenSP-&opensp-version;</filename>.</para>
144
145 <para><command>ln -v -sf ...</command>: These commands create the
146 <application>SP</application> equivalents of
147 <application>OpenSP</application> executables and libraries.</para>
148
149 </sect2>
150
151 <sect2 role="content">
152 <title>Contents</title>
153
154 <segmentedlist>
155 <segtitle>Installed Programs</segtitle>
156 <segtitle>Installed Library</segtitle>
157 <segtitle>Installed Directories</segtitle>
158
159 <seglistitem>
160 <seg>onsgmls, osgmlnorm, ospam, ospcat, ospent, osx, and the
161 <application>SP</application> equivalent symlinks: nsgmls, sgml2xml,
162 sgmlnorm, spam, spcat, spent, and sx</seg>
163 <seg>libosp.so and the <application>SP</application> equivalent symlink:
164 libsp.so</seg>
165 <seg>/usr/include/OpenSP, /usr/share/doc/OpenSP, and
166 /usr/share/sgml/OpenSP-&opensp-version;</seg>
167 </seglistitem>
168 </segmentedlist>
169
170 <variablelist>
171 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
172 <?dbfo list-presentation="list"?>
173 <?dbhtml list-presentation="table"?>
174
175 <varlistentry id="onsgmls">
176 <term><command>onsgmls</command></term>
177 <listitem>
178 <para>is used to process SGML files.</para>
179 <indexterm zone="opensp onsgmls">
180 <primary sortas="b-onsgmls">onsgmls</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="osgmlnorm">
186 <term><command>osgmlnorm</command></term>
187 <listitem>
188 <para>prints on the standard output a normalized document instance
189 for the SGML document contained in the concatenation of the entities
190 with system identifiers .nf and .fi.</para>
191 <indexterm zone="opensp osgmlnorm">
192 <primary sortas="b-osgmlnorm">osgmlnorm</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="ospam">
198 <term><command>ospam</command></term>
199 <listitem>
200 <para>is a markup stream editor.</para>
201 <indexterm zone="opensp ospam">
202 <primary sortas="b-ospam">ospam</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry id="ospcat">
208 <term><command>ospcat</command></term>
209 <listitem>
210 <para>prints effective system identifiers found in the catalogs.</para>
211 <indexterm zone="opensp ospcat">
212 <primary sortas="b-ospcat">ospcat</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="ospent">
218 <term><command>ospent</command></term>
219 <listitem>
220 <para>provides access to <application>OpenSP</application>'s
221 entity manager.</para>
222 <indexterm zone="opensp ospent">
223 <primary sortas="b-ospent">ospent</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="osx">
229 <term><command>osx</command></term>
230 <listitem>
231 <para>is an SGML normalizer or used to convert
232 SGML files to XML files.</para>
233 <indexterm zone="opensp osx">
234 <primary sortas="b-osx">osx</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="nsgmls">
240 <term><command>nsgmls</command></term>
241 <listitem>
242 <para>is a symlink to <command>onsgmls</command>.</para>
243 <indexterm zone="opensp nsgmls">
244 <primary sortas="g-nsgmls">nsgmls</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="sgml2xml">
250 <term><command>sgml2xml</command></term>
251 <listitem>
252 <para>is a symlink to <command>osx</command>.</para>
253 <indexterm zone="opensp sgml2xml">
254 <primary sortas="g-sgml2xml">sgml2xml</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 <varlistentry id="sgmlnorm">
260 <term><command>sgmlnorm</command></term>
261 <listitem>
262 <para>is a symlink to <command>osgmlnorm</command>.</para>
263 <indexterm zone="opensp sgmlnorm">
264 <primary sortas="g-sgmlnorm">sgmlnorm</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 <varlistentry id="spam">
270 <term><command>spam</command></term>
271 <listitem>
272 <para>is a symlink to <command>ospam</command>.</para>
273 <indexterm zone="opensp spam">
274 <primary sortas="g-spam">spam</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry id="spcat">
280 <term><command>spcat</command></term>
281 <listitem>
282 <para>is a symlink to <command>ospcat</command>.</para>
283 <indexterm zone="opensp spcat">
284 <primary sortas="g-spcat">spcat</primary>
285 </indexterm>
286 </listitem>
287 </varlistentry>
288
289 <varlistentry id="spent">
290 <term><command>spent</command></term>
291 <listitem>
292 <para>is a symlink to <command>ospent</command>.</para>
293 <indexterm zone="opensp spent">
294 <primary sortas="g-spent">spent</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 <varlistentry id="sx">
300 <term><command>sx</command></term>
301 <listitem>
302 <para>is a symlink to <command>osx</command>.</para>
303 <indexterm zone="opensp sx">
304 <primary sortas="g-sx">sx</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308
309 <varlistentry id="libosp">
310 <term><filename class='libraryfile'>libosp.so</filename></term>
311 <listitem>
312 <para>contains functions required by the
313 <application>OpenSP</application> programs to parse, validate and
314 manipulate SGML and XML files.</para>
315 <indexterm zone="opensp libosp">
316 <primary sortas="c-libosp">libosp.so</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 <varlistentry id="libsp">
322 <term><filename class='libraryfile'>libsp.so</filename></term>
323 <listitem>
324 <para>is a symlink to
325 <filename class='libraryfile'>libosp.so</filename>.</para>
326 <indexterm zone="opensp libsp">
327 <primary sortas="g-libsp">libsp.so</primary>
328 </indexterm>
329 </listitem>
330 </varlistentry>
331
332 </variablelist>
333
334 </sect2>
335
336</sect1>
Note: See TracBrowser for help on using the repository browser.