source: pst/sgml/opensp.xml@ fec8a19

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 fec8a19 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 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
RevLine 
[e7323adb]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[50d3491a]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[f6f7820]6
[8dfc5c3]7 <!ENTITY opensp-download-http "&sourceforge-dl;/openjade/OpenSP-&opensp-version;.tar.gz">
[9f06afd]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">
[50d3491a]13]>
14
[8223b66]15<sect1 id="opensp" xreflabel="OpenSP-&opensp-version;">
[e7323adb]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
[47274444]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>
[e7323adb]34
[48cb482]35 &lfs112_checked;
[00555b0f]36
[e7323adb]37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
[47274444]40 <para>
41 Download (HTTP): <ulink url="&opensp-download-http;"/>
42 </para>
[e7323adb]43 </listitem>
44 <listitem>
[47274444]45 <para>
46 Download (FTP): <ulink url="&opensp-download-ftp;"/>
47 </para>
[e7323adb]48 </listitem>
49 <listitem>
[47274444]50 <para>
51 Download MD5 sum: &opensp-md5sum;
52 </para>
[e7323adb]53 </listitem>
54 <listitem>
[47274444]55 <para>
56 Download size: &opensp-size;
57 </para>
[e7323adb]58 </listitem>
59 <listitem>
[47274444]60 <para>
61 Estimated disk space required: &opensp-buildsize;
62 </para>
[e7323adb]63 </listitem>
64 <listitem>
[47274444]65 <para>
66 Estimated build time: &opensp-time;
67 </para>
[e7323adb]68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">OpenSP Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
[47274444]74 <para role="required">
75 <xref linkend="sgml-common"/>
76 </para>
[e7323adb]77
[9f06afd]78 <bridgehead renderas="sect4">Optional</bridgehead>
[47274444]79 <para role="optional">
[673c070]80 <xref linkend="libnsl"/> and
[47274444]81 <xref linkend="xmlto"/>
82 </para>
[9f06afd]83
[977061b0]84 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/opensp"/></para>
86
[e7323adb]87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of OpenSP</title>
91
[47274444]92 <para>
93 Install <application>OpenSP</application> by running the following
94 commands:
95 </para>
[e7323adb]96
[4045bae8]97<screen><userinput>sed -i 's/32,/253,/' lib/Syntax.cxx &amp;&amp;
98sed -i 's/LITLEN 240 /LITLEN 8092/' \
[9f06afd]99 unicode/{gensyntax.pl,unicode.syn} &amp;&amp;
[512f843]100
[4045bae8]101./configure --prefix=/usr \
[07078cc]102 --disable-static \
[4045bae8]103 --disable-doc-build \
104 --enable-default-catalog=/etc/sgml/catalog \
105 --enable-http \
106 --enable-default-search-path=/usr/share/sgml &amp;&amp;
[512f843]107
[e7323adb]108make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version;</userinput></screen>
[dbfc8e65]109
[47274444]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>
[ea92fe5]114
[47274444]115 <para>
116 Now, as the <systemitem class="username">root</systemitem> user:
117 </para>
[dbfc8e65]118
[92c1c66]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;
[e7323adb]124ln -v -sf osgmlnorm /usr/bin/sgmlnorm &amp;&amp;
[92c1c66]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;
[e7323adb]130ln -v -sf libosp.so /usr/lib/libsp.so</userinput></screen>
[402131a2]131
[e7323adb]132 </sect2>
133
134 <sect2 role="commands">
135 <title>Command Explanations</title>
136
[47274444]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>
[9f06afd]142
[1a518e97]143 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
144 href="../../xincludes/static-libraries.xml"/>
[e7323adb]145
[47274444]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>
[e7323adb]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>
[47274444]217 <para>
[4c24eb0a]218 is used to process SGML files
[47274444]219 </para>
[e7323adb]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>
[47274444]229 <para>
230 prints on the standard output a normalized document instance for
231 the SGML document contained in the concatenation of the entities
[4c24eb0a]232 with system identifiers .nf and .fi
[47274444]233 </para>
[e7323adb]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>
[47274444]243 <para>
[4c24eb0a]244 is a markup stream editor
[47274444]245 </para>
[e7323adb]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>
[47274444]255 <para>
[4c24eb0a]256 prints effective system identifiers found in the catalogs
[47274444]257 </para>
[e7323adb]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>
[47274444]267 <para>
268 provides access to <application>OpenSP</application>'s
[4c24eb0a]269 entity manager
[47274444]270 </para>
[e7323adb]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>
[47274444]280 <para>
281 is an SGML normalizer or used to convert
[4c24eb0a]282 SGML files to XML files
[47274444]283 </para>
[e7323adb]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>
[47274444]293 <para>
[4c24eb0a]294 is a symlink to <command>onsgmls</command>
[47274444]295 </para>
[e7323adb]296 <indexterm zone="opensp nsgmls">
[b960e3ec]297 <primary sortas="b-nsgmls">nsgmls</primary>
[e7323adb]298 </indexterm>
299 </listitem>
300 </varlistentry>
301
302 <varlistentry id="sgml2xml">
303 <term><command>sgml2xml</command></term>
304 <listitem>
[47274444]305 <para>
[4c24eb0a]306 is a symlink to <command>osx</command>
[47274444]307 </para>
[e7323adb]308 <indexterm zone="opensp sgml2xml">
[b960e3ec]309 <primary sortas="b-sgml2xml">sgml2xml</primary>
[e7323adb]310 </indexterm>
311 </listitem>
312 </varlistentry>
313
314 <varlistentry id="sgmlnorm">
315 <term><command>sgmlnorm</command></term>
316 <listitem>
[47274444]317 <para>
[4c24eb0a]318 is a symlink to <command>osgmlnorm</command>
[47274444]319 </para>
[e7323adb]320 <indexterm zone="opensp sgmlnorm">
[b960e3ec]321 <primary sortas="b-sgmlnorm">sgmlnorm</primary>
[e7323adb]322 </indexterm>
323 </listitem>
324 </varlistentry>
325
326 <varlistentry id="spam">
327 <term><command>spam</command></term>
328 <listitem>
[47274444]329 <para>
[4c24eb0a]330 is a symlink to <command>ospam</command>
[47274444]331 </para>
[e7323adb]332 <indexterm zone="opensp spam">
[b960e3ec]333 <primary sortas="b-spam">spam</primary>
[e7323adb]334 </indexterm>
335 </listitem>
336 </varlistentry>
337
338 <varlistentry id="spcat">
339 <term><command>spcat</command></term>
340 <listitem>
[47274444]341 <para>
[4c24eb0a]342 is a symlink to <command>ospcat</command>
[47274444]343 </para>
[e7323adb]344 <indexterm zone="opensp spcat">
[b960e3ec]345 <primary sortas="b-spcat">spcat</primary>
[e7323adb]346 </indexterm>
347 </listitem>
348 </varlistentry>
349
350 <varlistentry id="spent">
351 <term><command>spent</command></term>
352 <listitem>
[47274444]353 <para>
[4c24eb0a]354 is a symlink to <command>ospent</command>
[47274444]355 </para>
[e7323adb]356 <indexterm zone="opensp spent">
[b960e3ec]357 <primary sortas="b-spent">spent</primary>
[e7323adb]358 </indexterm>
359 </listitem>
360 </varlistentry>
361
362 <varlistentry id="sx">
363 <term><command>sx</command></term>
364 <listitem>
[47274444]365 <para>
[4c24eb0a]366 is a symlink to <command>osx</command>
[47274444]367 </para>
[e7323adb]368 <indexterm zone="opensp sx">
[b960e3ec]369 <primary sortas="b-sx">sx</primary>
[e7323adb]370 </indexterm>
371 </listitem>
372 </varlistentry>
373
374 <varlistentry id="libosp">
[4c24eb0a]375 <term><filename class="libraryfile">libosp.so</filename></term>
[e7323adb]376 <listitem>
[47274444]377 <para>
378 contains functions required by the
379 <application>OpenSP</application> programs to parse, validate and
[4c24eb0a]380 manipulate SGML and XML files
[47274444]381 </para>
[e7323adb]382 <indexterm zone="opensp libosp">
383 <primary sortas="c-libosp">libosp.so</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry id="libsp">
[4c24eb0a]389 <term><filename class="libraryfile">libsp.so</filename></term>
[e7323adb]390 <listitem>
[47274444]391 <para>
392 is a symlink to
[4c24eb0a]393 <filename class="libraryfile">libosp.so</filename>
[47274444]394 </para>
[e7323adb]395 <indexterm zone="opensp libsp">
[b960e3ec]396 <primary sortas="c-libsp">libsp.so</primary>
[e7323adb]397 </indexterm>
398 </listitem>
399 </varlistentry>
400
401 </variablelist>
402
403 </sect2>
[7ff89fa4]404
405</sect1>
Note: See TracBrowser for help on using the repository browser.