source: pst/sgml/opensp.xml@ 9327a61

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 9327a61 was 9327a61, checked in by Robert Connolly <robert@…>, 14 years ago

Added missing colons to the 'test the results' line on several pages, and added a missing period.

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

  • Property mode set to 100644
File size: 11.4 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 &lfs65_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./configure --prefix=/usr --disable-static --disable-doc-build \
87 --enable-default-catalog=/etc/sgml/catalog --enable-http \
88 --enable-default-search-path=/usr/share/sgml &amp;&amp;
89make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version;</userinput></screen>
90
91 <para>To test the results, issue: <command>make check</command>. As many as
92 eight of the 22 tests may fail. Do not be alarmed.</para>
93
94 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
95
96<screen role="root"><userinput>make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; install &amp;&amp;
97ln -v -sf onsgmls /usr/bin/nsgmls &amp;&amp;
98ln -v -sf osgmlnorm /usr/bin/sgmlnorm &amp;&amp;
99ln -v -sf ospam /usr/bin/spam &amp;&amp;
100ln -v -sf ospcat /usr/bin/spcat &amp;&amp;
101ln -v -sf ospent /usr/bin/spent &amp;&amp;
102ln -v -sf osx /usr/bin/sx &amp;&amp;
103ln -v -sf osx /usr/bin/sgml2xml &amp;&amp;
104ln -v -sf libosp.so /usr/lib/libsp.so</userinput></screen>
105
106 </sect2>
107
108 <sect2 role="commands">
109 <title>Command Explanations</title>
110
111 <para><parameter>sed -i 's:32,:253,:...unicode.syn}</parameter>:
112 These seds prevent some annoying messages that may otherwise appear
113 while running <command>openjade</command>.</para>
114
115 <para><parameter>--disable-static</parameter>: This switch prevents
116 the building of the static library.</para>
117 <!-- Why don't we want the static library? -->
118
119 <para><parameter>--enable-http</parameter>: This switch adds support
120 for HTTP.</para>
121
122 <para><parameter>--enable-default-catalog=/etc/sgml/catalog</parameter>:
123 This switch sets the path to the centralized catalog.</para>
124
125 <para><parameter>--enable-default-search-path</parameter>: This switch
126 sets the default value of <envar>SGML_SEARCH_PATH</envar>.</para>
127
128 <para><option>--enable-xml-messages</option>: This switch adds
129 support for XML Formatted Messages.</para>
130
131 <para><option>--disable-doc-build</option>: This switch prevents the
132 <command>configure</command> script checking if you have
133 <application>xmlto</application> installed. If you have
134 <application>xmlto</application>, you can remove this option.</para>
135
136 <para><command>make
137 pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version;</command>: This sets the
138 pkgdatadir variable in the <filename>Makefile</filename> from
139 <filename class="directory">/usr/share/OpenSP</filename> to <filename
140 class="directory">/usr/share/sgml/OpenSP-&opensp-version;</filename>.</para>
141
142 <para><command>ln -v -sf ...</command>: These commands create the
143 <application>SP</application> equivalents of
144 <application>OpenSP</application> executables and libraries.</para>
145
146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Library</segtitle>
154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>onsgmls, osgmlnorm, ospam, ospcat, ospent, osx, and the
158 <application>SP</application> equivalent symlinks: nsgmls, sgml2xml,
159 sgmlnorm, spam, spcat, spent, and sx</seg>
160 <seg>libosp.so and the <application>SP</application> equivalent symlink:
161 libsp.so</seg>
162 <seg>/usr/include/OpenSP, /usr/share/doc/OpenSP, and
163 /usr/share/sgml/OpenSP-&opensp-version;</seg>
164 </seglistitem>
165 </segmentedlist>
166
167 <variablelist>
168 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
169 <?dbfo list-presentation="list"?>
170 <?dbhtml list-presentation="table"?>
171
172 <varlistentry id="onsgmls">
173 <term><command>onsgmls</command></term>
174 <listitem>
175 <para>is used to process SGML files.</para>
176 <indexterm zone="opensp onsgmls">
177 <primary sortas="b-onsgmls">onsgmls</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="osgmlnorm">
183 <term><command>osgmlnorm</command></term>
184 <listitem>
185 <para>prints on the standard output a normalized document instance
186 for the SGML document contained in the concatenation of the entities
187 with system identifiers .nf and .fi.</para>
188 <indexterm zone="opensp osgmlnorm">
189 <primary sortas="b-osgmlnorm">osgmlnorm</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="ospam">
195 <term><command>ospam</command></term>
196 <listitem>
197 <para>is a markup stream editor.</para>
198 <indexterm zone="opensp ospam">
199 <primary sortas="b-ospam">ospam</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="ospcat">
205 <term><command>ospcat</command></term>
206 <listitem>
207 <para>prints effective system identifiers found in the catalogs.</para>
208 <indexterm zone="opensp ospcat">
209 <primary sortas="b-ospcat">ospcat</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="ospent">
215 <term><command>ospent</command></term>
216 <listitem>
217 <para>provides access to <application>OpenSP</application>'s
218 entity manager.</para>
219 <indexterm zone="opensp ospent">
220 <primary sortas="b-ospent">ospent</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 <varlistentry id="osx">
226 <term><command>osx</command></term>
227 <listitem>
228 <para>is an SGML normalizer or used to convert
229 SGML files to XML files.</para>
230 <indexterm zone="opensp osx">
231 <primary sortas="b-osx">osx</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="nsgmls">
237 <term><command>nsgmls</command></term>
238 <listitem>
239 <para>is a symlink to <command>onsgmls</command>.</para>
240 <indexterm zone="opensp nsgmls">
241 <primary sortas="g-nsgmls">nsgmls</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="sgml2xml">
247 <term><command>sgml2xml</command></term>
248 <listitem>
249 <para>is a symlink to <command>osx</command>.</para>
250 <indexterm zone="opensp sgml2xml">
251 <primary sortas="g-sgml2xml">sgml2xml</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="sgmlnorm">
257 <term><command>sgmlnorm</command></term>
258 <listitem>
259 <para>is a symlink to <command>osgmlnorm</command>.</para>
260 <indexterm zone="opensp sgmlnorm">
261 <primary sortas="g-sgmlnorm">sgmlnorm</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="spam">
267 <term><command>spam</command></term>
268 <listitem>
269 <para>is a symlink to <command>ospam</command>.</para>
270 <indexterm zone="opensp spam">
271 <primary sortas="g-spam">spam</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 <varlistentry id="spcat">
277 <term><command>spcat</command></term>
278 <listitem>
279 <para>is a symlink to <command>ospcat</command>.</para>
280 <indexterm zone="opensp spcat">
281 <primary sortas="g-spcat">spcat</primary>
282 </indexterm>
283 </listitem>
284 </varlistentry>
285
286 <varlistentry id="spent">
287 <term><command>spent</command></term>
288 <listitem>
289 <para>is a symlink to <command>ospent</command>.</para>
290 <indexterm zone="opensp spent">
291 <primary sortas="g-spent">spent</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
296 <varlistentry id="sx">
297 <term><command>sx</command></term>
298 <listitem>
299 <para>is a symlink to <command>osx</command>.</para>
300 <indexterm zone="opensp sx">
301 <primary sortas="g-sx">sx</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 <varlistentry id="libosp">
307 <term><filename class='libraryfile'>libosp.so</filename></term>
308 <listitem>
309 <para>contains functions required by the
310 <application>OpenSP</application> programs to parse, validate and
311 manipulate SGML and XML files.</para>
312 <indexterm zone="opensp libosp">
313 <primary sortas="c-libosp">libosp.so</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="libsp">
319 <term><filename class='libraryfile'>libsp.so</filename></term>
320 <listitem>
321 <para>is a symlink to
322 <filename class='libraryfile'>libosp.so</filename>.</para>
323 <indexterm zone="opensp libsp">
324 <primary sortas="g-libsp">libsp.so</primary>
325 </indexterm>
326 </listitem>
327 </varlistentry>
328
329 </variablelist>
330
331 </sect2>
332
333</sect1>
Note: See TracBrowser for help on using the repository browser.