source: pst/sgml/opensp.xml@ f429481

11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 f429481 was 673c070, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Package update:

Update to libnsl-2.0.0
Add dependencies on libnsl to several packages where they were missing

  • Property mode set to 100644
File size: 12.2 KB
RevLine 
[e7323adb]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[50d3491a]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[f6f7820]6
[8dfc5c3]7 <!ENTITY opensp-download-http "&sourceforge-dl;/openjade/OpenSP-&opensp-version;.tar.gz">
[9f06afd]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">
[50d3491a]13]>
14
[8223b66]15<sect1 id="opensp" xreflabel="OpenSP-&opensp-version;">
[e7323adb]16 <?dbhtml filename="opensp.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>OpenSP-&opensp-version;</title>
23
24 <indexterm zone="opensp">
25 <primary sortas="a-OpenSP">OpenSP</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to OpenSP</title>
30
[47274444]31 <para>
32 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.
36 </para>
[e7323adb]37
[c93c620c]38 &lfs110a_checked;
[00555b0f]39
[e7323adb]40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[47274444]43 <para>
44 Download (HTTP): <ulink url="&opensp-download-http;"/>
45 </para>
[e7323adb]46 </listitem>
47 <listitem>
[47274444]48 <para>
49 Download (FTP): <ulink url="&opensp-download-ftp;"/>
50 </para>
[e7323adb]51 </listitem>
52 <listitem>
[47274444]53 <para>
54 Download MD5 sum: &opensp-md5sum;
55 </para>
[e7323adb]56 </listitem>
57 <listitem>
[47274444]58 <para>
59 Download size: &opensp-size;
60 </para>
[e7323adb]61 </listitem>
62 <listitem>
[47274444]63 <para>
64 Estimated disk space required: &opensp-buildsize;
65 </para>
[e7323adb]66 </listitem>
67 <listitem>
[47274444]68 <para>
69 Estimated build time: &opensp-time;
70 </para>
[e7323adb]71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">OpenSP Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
[47274444]77 <para role="required">
78 <xref linkend="sgml-common"/>
79 </para>
[e7323adb]80
[9f06afd]81 <bridgehead renderas="sect4">Optional</bridgehead>
[47274444]82 <para role="optional">
[673c070]83 <xref linkend="libnsl"/> and
[47274444]84 <xref linkend="xmlto"/>
85 </para>
[9f06afd]86
[977061b0]87 <para condition="html" role="usernotes">User Notes:
88 <ulink url="&blfs-wiki;/opensp"/></para>
89
[e7323adb]90 </sect2>
91
92 <sect2 role="installation">
93 <title>Installation of OpenSP</title>
94
[47274444]95 <para>
96 Install <application>OpenSP</application> by running the following
97 commands:
98 </para>
[e7323adb]99
[4045bae8]100<screen><userinput>sed -i 's/32,/253,/' lib/Syntax.cxx &amp;&amp;
101sed -i 's/LITLEN 240 /LITLEN 8092/' \
[9f06afd]102 unicode/{gensyntax.pl,unicode.syn} &amp;&amp;
[512f843]103
[4045bae8]104./configure --prefix=/usr \
[07078cc]105 --disable-static \
[4045bae8]106 --disable-doc-build \
107 --enable-default-catalog=/etc/sgml/catalog \
108 --enable-http \
109 --enable-default-search-path=/usr/share/sgml &amp;&amp;
[512f843]110
[e7323adb]111make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version;</userinput></screen>
[dbfc8e65]112
[47274444]113 <para>
114 To test the results, issue: <command>make check</command>. As many as
115 nine of the 23 tests may fail. Do not be alarmed.
116 </para>
[ea92fe5]117
[47274444]118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
[dbfc8e65]121
[92c1c66]122<screen role="root"><userinput>make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; \
123 docdir=/usr/share/doc/OpenSP-&opensp-version; \
124 install &amp;&amp;
125
126ln -v -sf onsgmls /usr/bin/nsgmls &amp;&amp;
[e7323adb]127ln -v -sf osgmlnorm /usr/bin/sgmlnorm &amp;&amp;
[92c1c66]128ln -v -sf ospam /usr/bin/spam &amp;&amp;
129ln -v -sf ospcat /usr/bin/spcat &amp;&amp;
130ln -v -sf ospent /usr/bin/spent &amp;&amp;
131ln -v -sf osx /usr/bin/sx &amp;&amp;
132ln -v -sf osx /usr/bin/sgml2xml &amp;&amp;
[e7323adb]133ln -v -sf libosp.so /usr/lib/libsp.so</userinput></screen>
[402131a2]134
[e7323adb]135 </sect2>
136
137 <sect2 role="commands">
138 <title>Command Explanations</title>
139
[47274444]140 <para>
141 <command>sed -i 's/32,/253,/...unicode.syn}</command>:
142 These seds prevent some annoying messages that may otherwise appear
143 while running <command>openjade</command>.
144 </para>
[9f06afd]145
[1a518e97]146 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
147 href="../../xincludes/static-libraries.xml"/>
[e7323adb]148
[47274444]149 <para>
150 <parameter>--enable-http</parameter>: This switch adds support
151 for HTTP.
152 </para>
153
154 <para>
155 <parameter>--disable-doc-build</parameter>: This switch prevents the
156 <command>configure</command> script checking if you have
157 <application>xmlto</application> installed. If you have
158 <application>xmlto</application>, you can remove this option.
159 </para>
160
161 <para>
162 <parameter>--enable-default-catalog=/etc/sgml/catalog</parameter>:
163 This switch sets the path to the centralized catalog.
164 </para>
165
166 <para>
167 <parameter>--enable-default-search-path</parameter>: This switch
168 sets the default value of <envar>SGML_SEARCH_PATH</envar>.
169 </para>
170
171 <para>
172 <option>--enable-xml-messages</option>: This switch adds
173 support for XML Formatted Messages.
174 </para>
175
176 <para>
177 <command>
178 make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version;
179 </command>: This sets the
180 pkgdatadir variable in the <filename>Makefile</filename> from
181 <filename class="directory">/usr/share/OpenSP</filename> to <filename
182 class="directory">/usr/share/sgml/OpenSP-&opensp-version;</filename>.
183 </para>
184
185 <para>
186 <command>ln -v -sf ...</command>: These commands create the
187 <application>SP</application> equivalents of
188 <application>OpenSP</application> executables and libraries.
189 </para>
[e7323adb]190
191 </sect2>
192
193 <sect2 role="content">
194 <title>Contents</title>
195
196 <segmentedlist>
197 <segtitle>Installed Programs</segtitle>
198 <segtitle>Installed Library</segtitle>
199 <segtitle>Installed Directories</segtitle>
200
201 <seglistitem>
202 <seg>onsgmls, osgmlnorm, ospam, ospcat, ospent, osx, and the
203 <application>SP</application> equivalent symlinks: nsgmls, sgml2xml,
204 sgmlnorm, spam, spcat, spent, and sx</seg>
205 <seg>libosp.so and the <application>SP</application> equivalent symlink:
206 libsp.so</seg>
207 <seg>/usr/include/OpenSP, /usr/share/doc/OpenSP, and
208 /usr/share/sgml/OpenSP-&opensp-version;</seg>
209 </seglistitem>
210 </segmentedlist>
211
212 <variablelist>
213 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
214 <?dbfo list-presentation="list"?>
215 <?dbhtml list-presentation="table"?>
216
217 <varlistentry id="onsgmls">
218 <term><command>onsgmls</command></term>
219 <listitem>
[47274444]220 <para>
[4c24eb0a]221 is used to process SGML files
[47274444]222 </para>
[e7323adb]223 <indexterm zone="opensp onsgmls">
224 <primary sortas="b-onsgmls">onsgmls</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="osgmlnorm">
230 <term><command>osgmlnorm</command></term>
231 <listitem>
[47274444]232 <para>
233 prints on the standard output a normalized document instance for
234 the SGML document contained in the concatenation of the entities
[4c24eb0a]235 with system identifiers .nf and .fi
[47274444]236 </para>
[e7323adb]237 <indexterm zone="opensp osgmlnorm">
238 <primary sortas="b-osgmlnorm">osgmlnorm</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="ospam">
244 <term><command>ospam</command></term>
245 <listitem>
[47274444]246 <para>
[4c24eb0a]247 is a markup stream editor
[47274444]248 </para>
[e7323adb]249 <indexterm zone="opensp ospam">
250 <primary sortas="b-ospam">ospam</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 <varlistentry id="ospcat">
256 <term><command>ospcat</command></term>
257 <listitem>
[47274444]258 <para>
[4c24eb0a]259 prints effective system identifiers found in the catalogs
[47274444]260 </para>
[e7323adb]261 <indexterm zone="opensp ospcat">
262 <primary sortas="b-ospcat">ospcat</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="ospent">
268 <term><command>ospent</command></term>
269 <listitem>
[47274444]270 <para>
271 provides access to <application>OpenSP</application>'s
[4c24eb0a]272 entity manager
[47274444]273 </para>
[e7323adb]274 <indexterm zone="opensp ospent">
275 <primary sortas="b-ospent">ospent</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="osx">
281 <term><command>osx</command></term>
282 <listitem>
[47274444]283 <para>
284 is an SGML normalizer or used to convert
[4c24eb0a]285 SGML files to XML files
[47274444]286 </para>
[e7323adb]287 <indexterm zone="opensp osx">
288 <primary sortas="b-osx">osx</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="nsgmls">
294 <term><command>nsgmls</command></term>
295 <listitem>
[47274444]296 <para>
[4c24eb0a]297 is a symlink to <command>onsgmls</command>
[47274444]298 </para>
[e7323adb]299 <indexterm zone="opensp nsgmls">
[b960e3ec]300 <primary sortas="b-nsgmls">nsgmls</primary>
[e7323adb]301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry id="sgml2xml">
306 <term><command>sgml2xml</command></term>
307 <listitem>
[47274444]308 <para>
[4c24eb0a]309 is a symlink to <command>osx</command>
[47274444]310 </para>
[e7323adb]311 <indexterm zone="opensp sgml2xml">
[b960e3ec]312 <primary sortas="b-sgml2xml">sgml2xml</primary>
[e7323adb]313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 <varlistentry id="sgmlnorm">
318 <term><command>sgmlnorm</command></term>
319 <listitem>
[47274444]320 <para>
[4c24eb0a]321 is a symlink to <command>osgmlnorm</command>
[47274444]322 </para>
[e7323adb]323 <indexterm zone="opensp sgmlnorm">
[b960e3ec]324 <primary sortas="b-sgmlnorm">sgmlnorm</primary>
[e7323adb]325 </indexterm>
326 </listitem>
327 </varlistentry>
328
329 <varlistentry id="spam">
330 <term><command>spam</command></term>
331 <listitem>
[47274444]332 <para>
[4c24eb0a]333 is a symlink to <command>ospam</command>
[47274444]334 </para>
[e7323adb]335 <indexterm zone="opensp spam">
[b960e3ec]336 <primary sortas="b-spam">spam</primary>
[e7323adb]337 </indexterm>
338 </listitem>
339 </varlistentry>
340
341 <varlistentry id="spcat">
342 <term><command>spcat</command></term>
343 <listitem>
[47274444]344 <para>
[4c24eb0a]345 is a symlink to <command>ospcat</command>
[47274444]346 </para>
[e7323adb]347 <indexterm zone="opensp spcat">
[b960e3ec]348 <primary sortas="b-spcat">spcat</primary>
[e7323adb]349 </indexterm>
350 </listitem>
351 </varlistentry>
352
353 <varlistentry id="spent">
354 <term><command>spent</command></term>
355 <listitem>
[47274444]356 <para>
[4c24eb0a]357 is a symlink to <command>ospent</command>
[47274444]358 </para>
[e7323adb]359 <indexterm zone="opensp spent">
[b960e3ec]360 <primary sortas="b-spent">spent</primary>
[e7323adb]361 </indexterm>
362 </listitem>
363 </varlistentry>
364
365 <varlistentry id="sx">
366 <term><command>sx</command></term>
367 <listitem>
[47274444]368 <para>
[4c24eb0a]369 is a symlink to <command>osx</command>
[47274444]370 </para>
[e7323adb]371 <indexterm zone="opensp sx">
[b960e3ec]372 <primary sortas="b-sx">sx</primary>
[e7323adb]373 </indexterm>
374 </listitem>
375 </varlistentry>
376
377 <varlistentry id="libosp">
[4c24eb0a]378 <term><filename class="libraryfile">libosp.so</filename></term>
[e7323adb]379 <listitem>
[47274444]380 <para>
381 contains functions required by the
382 <application>OpenSP</application> programs to parse, validate and
[4c24eb0a]383 manipulate SGML and XML files
[47274444]384 </para>
[e7323adb]385 <indexterm zone="opensp libosp">
386 <primary sortas="c-libosp">libosp.so</primary>
387 </indexterm>
388 </listitem>
389 </varlistentry>
390
391 <varlistentry id="libsp">
[4c24eb0a]392 <term><filename class="libraryfile">libsp.so</filename></term>
[e7323adb]393 <listitem>
[47274444]394 <para>
395 is a symlink to
[4c24eb0a]396 <filename class="libraryfile">libosp.so</filename>
[47274444]397 </para>
[e7323adb]398 <indexterm zone="opensp libsp">
[b960e3ec]399 <primary sortas="c-libsp">libsp.so</primary>
[e7323adb]400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 </variablelist>
405
406 </sect2>
[7ff89fa4]407
408</sect1>
Note: See TracBrowser for help on using the repository browser.