source: pst/sgml/opensp.xml@ 63a0217

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 63a0217 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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