source: pst/sgml/opensp.xml@ ea92fe5

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

Added notes about running test suites to Typesetting and SGML package instructions

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

  • Property mode set to 100644
File size: 11.8 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://download.sourceforge.net/openjade/OpenSP-&opensp-version;.tar.gz">
8 <!ENTITY opensp-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/OpenSP-&opensp-version;.tar.gz">
9 <!ENTITY opensp-md5sum "f46fe0a04b76a4454ec27b7fcc84ec54">
10 <!ENTITY opensp-size "1.4 MB">
11 <!ENTITY opensp-buildsize "43 MB">
12 <!ENTITY opensp-time "0.97 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 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&opensp-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&opensp-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &opensp-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &opensp-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &opensp-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &opensp-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
60 <itemizedlist spacing='compact'>
61 <listitem>
62 <para>Required Patch (removes some annoying messages that can appear
63 while running <command>openjade</command>): <ulink
64 url="&patch-root;/OpenSP-&opensp-version;-LITLEN-1.patch"/></para>
65 </listitem>
66 <listitem>
67 <para>Required Patch: <ulink
68 url="&patch-root;/OpenSP-&opensp-version;-gcc34-1.patch"/></para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">OpenSP Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para><xref linkend="sgml-common"/></para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of OpenSP</title>
81
82 <para>Install <application>OpenSP</application> by running the following
83 commands:</para>
84
85<screen><userinput>patch -Np1 -i ../OpenSP-&opensp-version;-LITLEN-1.patch &amp;&amp;
86patch -Np1 -i ../OpenSP-&opensp-version;-gcc34-1.patch &amp;&amp;
87./configure --prefix=/usr --disable-static --enable-http \
88 --enable-default-catalog=/etc/sgml/catalog \
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<!--
108install-catalog -add /etc/sgml/OpenSP-&opensp-version;.cat \
109 /usr/share/sgml/OpenSP-&opensp-version;/catalog &amp;&amp;
110install-catalog -add /etc/sgml/sgml-docbook.cat \
111 /etc/sgml/OpenSP-&opensp-version;.cat</command></userinput></screen>
112
113<tip><title>Update hint</title>
114<para>Remove the above catalog items prior to upgrading with:
115<screen><command>install-catalog -remove /etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat \
116 /usr/share/sgml/OpenSP-<replaceable>[version]</replaceable>/catalog &amp;&amp;
117install-catalog -remove /etc/sgml/sgml-docbook.cat \
118 /etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat</command></screen></para></tip>
119 -->
120
121 </sect2>
122
123 <sect2 role="commands">
124 <title>Command Explanations</title>
125
126 <para><parameter>--disable-static</parameter>: This switch prevents
127 the building of the static library.</para>
128
129 <para><parameter>--enable-http</parameter>: This switch adds support
130 for HTTP.</para>
131
132 <para><parameter>--enable-default-catalog=/etc/sgml/catalog</parameter>:
133 This switch sets the path to the centralized catalog.</para>
134
135 <para><parameter>--enable-default-search-path</parameter>: This switch
136 sets the default value of <envar>SGML_SEARCH_PATH</envar>.</para>
137
138 <para><option>--enable-xml-messages</option>: This switch adds
139 support for XML Formatted Messages.</para>
140
141 <para><command>make
142 pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version;</command>: This sets the
143 pkgdatadir variable in the <filename>Makefile</filename> from
144 <filename class="directory">/usr/share/OpenSP</filename> to <filename
145 class="directory">/usr/share/sgml/OpenSP-&opensp-version;</filename>.</para>
146
147 <para><command>ln -v -sf ...</command>: These commands create the
148 <application>SP</application> equivalents of
149 <application>OpenSP</application> executables and libraries.</para>
150
151 </sect2>
152
153 <sect2 role="content">
154 <title>Contents</title>
155
156 <segmentedlist>
157 <segtitle>Installed Programs</segtitle>
158 <segtitle>Installed Library</segtitle>
159 <segtitle>Installed Directories</segtitle>
160
161 <seglistitem>
162 <seg>onsgmls, osgmlnorm, ospam, ospcat, ospent, osx, and the
163 <application>SP</application> equivalent symlinks: nsgmls, sgml2xml,
164 sgmlnorm, spam, spcat, spent, and sx</seg>
165 <seg>libosp.so and the <application>SP</application> equivalent symlink:
166 libsp.so</seg>
167 <seg>/usr/include/OpenSP, /usr/share/doc/OpenSP, and
168 /usr/share/sgml/OpenSP-&opensp-version;</seg>
169 </seglistitem>
170 </segmentedlist>
171
172 <variablelist>
173 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
174 <?dbfo list-presentation="list"?>
175 <?dbhtml list-presentation="table"?>
176
177 <varlistentry id="onsgmls">
178 <term><command>onsgmls</command></term>
179 <listitem>
180 <para>is used to process SGML files.</para>
181 <indexterm zone="opensp onsgmls">
182 <primary sortas="b-onsgmls">onsgmls</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="osgmlnorm">
188 <term><command>osgmlnorm</command></term>
189 <listitem>
190 <para>prints on the standard output a normalized document instance
191 for the SGML document contained in the concatenation of the entities
192 with system identifiers .nf and .fi.</para>
193 <indexterm zone="opensp osgmlnorm">
194 <primary sortas="b-osgmlnorm">osgmlnorm</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="ospam">
200 <term><command>ospam</command></term>
201 <listitem>
202 <para>is a markup stream editor.</para>
203 <indexterm zone="opensp ospam">
204 <primary sortas="b-ospam">ospam</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 <varlistentry id="ospcat">
210 <term><command>ospcat</command></term>
211 <listitem>
212 <para>prints effective system identifiers found in the catalogs.</para>
213 <indexterm zone="opensp ospcat">
214 <primary sortas="b-ospcat">ospcat</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="ospent">
220 <term><command>ospent</command></term>
221 <listitem>
222 <para>provides access to <application>OpenSP</application>'s
223 entity manager.</para>
224 <indexterm zone="opensp ospent">
225 <primary sortas="b-ospent">ospent</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="osx">
231 <term><command>osx</command></term>
232 <listitem>
233 <para>is an SGML normalizer or used to convert
234 SGML files to XML files.</para>
235 <indexterm zone="opensp osx">
236 <primary sortas="b-osx">osx</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="nsgmls">
242 <term><command>nsgmls</command></term>
243 <listitem>
244 <para>is a symlink to <command>onsgmls</command>.</para>
245 <indexterm zone="opensp nsgmls">
246 <primary sortas="g-nsgmls">nsgmls</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="sgml2xml">
252 <term><command>sgml2xml</command></term>
253 <listitem>
254 <para>is a symlink to <command>osx</command>.</para>
255 <indexterm zone="opensp sgml2xml">
256 <primary sortas="g-sgml2xml">sgml2xml</primary>
257 </indexterm>
258 </listitem>
259 </varlistentry>
260
261 <varlistentry id="sgmlnorm">
262 <term><command>sgmlnorm</command></term>
263 <listitem>
264 <para>is a symlink to <command>osgmlnorm</command>.</para>
265 <indexterm zone="opensp sgmlnorm">
266 <primary sortas="g-sgmlnorm">sgmlnorm</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 <varlistentry id="spam">
272 <term><command>spam</command></term>
273 <listitem>
274 <para>is a symlink to <command>ospam</command>.</para>
275 <indexterm zone="opensp spam">
276 <primary sortas="g-spam">spam</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry id="spcat">
282 <term><command>spcat</command></term>
283 <listitem>
284 <para>is a symlink to <command>ospcat</command>.</para>
285 <indexterm zone="opensp spcat">
286 <primary sortas="g-spcat">spcat</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 <varlistentry id="spent">
292 <term><command>spent</command></term>
293 <listitem>
294 <para>is a symlink to <command>ospent</command>.</para>
295 <indexterm zone="opensp spent">
296 <primary sortas="g-spent">spent</primary>
297 </indexterm>
298 </listitem>
299 </varlistentry>
300
301 <varlistentry id="sx">
302 <term><command>sx</command></term>
303 <listitem>
304 <para>is a symlink to <command>osx</command>.</para>
305 <indexterm zone="opensp sx">
306 <primary sortas="g-sx">sx</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="libosp">
312 <term><filename class='libraryfile'>libosp.so</filename></term>
313 <listitem>
314 <para>contains functions required by the
315 <application>OpenSP</application> programs to parse, validate and
316 manipulate SGML and XML files.</para>
317 <indexterm zone="opensp libosp">
318 <primary sortas="c-libosp">libosp.so</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
323 <varlistentry id="libsp">
324 <term><filename class='libraryfile'>libsp.so</filename></term>
325 <listitem>
326 <para>is a symlink to
327 <filename class='libraryfile'>libosp.so</filename>.</para>
328 <indexterm zone="opensp libsp">
329 <primary sortas="g-libsp">libsp.so</primary>
330 </indexterm>
331 </listitem>
332 </varlistentry>
333
334 </variablelist>
335
336 </sect2>
337
338</sect1>
Note: See TracBrowser for help on using the repository browser.