source: pst/sgml/opensp.xml@ e24abcd

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since e24abcd was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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