source: pst/sgml/opensp.xml@ 048b9a46

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 048b9a46 was 048b9a46, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Tags for packages used to manage the book

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

  • Property mode set to 100644
File size: 11.6 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-dl;/openjade/OpenSP-&opensp-version;.tar.gz">
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">
13]>
14
15<sect1 id="opensp" xreflabel="OpenSP-&opensp-version;">
16 <?dbhtml filename="opensp.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>OpenSP-&opensp-version;</title>
24
25 <indexterm zone="opensp">
26 <primary sortas="a-OpenSP">OpenSP</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to OpenSP</title>
31
32 <para>The <application>OpenSP</application> package contains a
33 <application>C++</application> library for using SGML/XML files.
34 This is useful for validating, parsing and manipulating SGML and XML
35 documents.</para>
36
37 &lfs83_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&opensp-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&opensp-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &opensp-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &opensp-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &opensp-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &opensp-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">OpenSP Dependencies</bridgehead>
62
63 <bridgehead renderas="sect4">Required</bridgehead>
64 <para role="required"><xref linkend="sgml-common"/></para>
65
66 <bridgehead renderas="sect4">Optional</bridgehead>
67 <para role="optional"><xref linkend="xmlto"/></para>
68
69 <para condition="html" role="usernotes">User Notes:
70 <ulink url="&blfs-wiki;/opensp"/></para>
71
72 </sect2>
73
74 <sect2 role="installation">
75 <title>Installation of OpenSP</title>
76
77 <para>Install <application>OpenSP</application> by running the following
78 commands:</para>
79
80<screen><userinput>sed -i 's/32,/253,/' lib/Syntax.cxx &amp;&amp;
81sed -i 's/LITLEN 240 /LITLEN 8092/' \
82 unicode/{gensyntax.pl,unicode.syn} &amp;&amp;
83
84./configure --prefix=/usr \
85 --disable-static \
86 --disable-doc-build \
87 --enable-default-catalog=/etc/sgml/catalog \
88 --enable-http \
89 --enable-default-search-path=/usr/share/sgml &amp;&amp;
90
91make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version;</userinput></screen>
92
93 <para>To test the results, issue: <command>make check</command>. As many as
94 nine of the 23 tests may fail. Do not be alarmed.</para>
95
96 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
97
98<screen role="root"><userinput>make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; \
99 docdir=/usr/share/doc/OpenSP-&opensp-version; \
100 install &amp;&amp;
101
102ln -v -sf onsgmls /usr/bin/nsgmls &amp;&amp;
103ln -v -sf osgmlnorm /usr/bin/sgmlnorm &amp;&amp;
104ln -v -sf ospam /usr/bin/spam &amp;&amp;
105ln -v -sf ospcat /usr/bin/spcat &amp;&amp;
106ln -v -sf ospent /usr/bin/spent &amp;&amp;
107ln -v -sf osx /usr/bin/sx &amp;&amp;
108ln -v -sf osx /usr/bin/sgml2xml &amp;&amp;
109ln -v -sf libosp.so /usr/lib/libsp.so</userinput></screen>
110
111 </sect2>
112
113 <sect2 role="commands">
114 <title>Command Explanations</title>
115
116 <para><command>sed -i 's/32,/253,/...unicode.syn}</command>:
117 These seds prevent some annoying messages that may otherwise appear
118 while running <command>openjade</command>.</para>
119
120 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
121 href="../../xincludes/static-libraries.xml"/>
122
123 <para><parameter>--enable-http</parameter>: This switch adds support
124 for HTTP.</para>
125
126 <para><parameter>--disable-doc-build</parameter>: This switch prevents the
127 <command>configure</command> script checking if you have
128 <application>xmlto</application> installed. If you have
129 <application>xmlto</application>, you can remove this option.</para>
130
131 <para><parameter>--enable-default-catalog=/etc/sgml/catalog</parameter>:
132 This switch sets the path to the centralized catalog.</para>
133
134 <para><parameter>--enable-default-search-path</parameter>: This switch
135 sets the default value of <envar>SGML_SEARCH_PATH</envar>.</para>
136
137 <para><option>--enable-xml-messages</option>: This switch adds
138 support for XML Formatted Messages.</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="b-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="b-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="b-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="b-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="b-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="b-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="b-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="c-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.