source: pst/sgml/opensp.xml@ 00555b0f

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 00555b0f was 00555b0f, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Updated to NcFTP-3.2.3.

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