source: pst/sgml/opensp.xml@ fce275e

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 fce275e was fce275e, checked in by Randy McMurchy <randy@…>, 16 years ago

Modified all the Sourceforge download URLs to use a newly created entity instead of a hard-coded URL

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

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