source: pst/sgml/opensp.xml@ 9f06afd

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 9f06afd was 9f06afd, checked in by Andrew Benton <andy@…>, 18 years ago

Updated to OpenSP-1.5.2

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

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