source: pst/sgml/opensp.xml@ 07bd9bb9

systemd-11177
Last change on this file since 07bd9bb9 was 07bd9bb9, checked in by Krejzi <krejzi@…>, 10 years ago

More checks.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14014 af4574ff-66df-0310-9fd7-8a98e5e911e0

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