source: pst/sgml/opensp.xml@ c2a37a6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.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 c2a37a6 was c2a37a6, checked in by Randy McMurchy <randy@…>, 19 years ago

Added md5sums to Chapter 42-44 package instructions

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

  • Property mode set to 100644
File size: 6.0 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5
6 <!ENTITY opensp-download-http "http://download.sourceforge.net/openjade/OpenSP-&opensp-version;.tar.gz">
7 <!ENTITY opensp-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/OpenSP-&opensp-version;.tar.gz">
8 <!ENTITY opensp-md5sum "f46fe0a04b76a4454ec27b7fcc84ec54">
9 <!ENTITY opensp-size "1.4 MB">
10 <!ENTITY opensp-buildsize "43 MB">
11 <!ENTITY opensp-time "1.03 SBU">
12]>
13
14<sect1 id="opensp" xreflabel="OpenSP-&opensp-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="opensp.html"?>
20<title>OpenSP-&opensp-version;</title>
21
22<sect2>
23<title>Introduction to <application>OpenSP</application></title>
24
25<para>The <application>OpenSP</application> package contains a
26<application>C++</application> library for using
27<acronym>SGML</acronym>/<acronym>XML</acronym> files.
28This is useful for validating, parsing and manipulating
29<acronym>SGML</acronym> and <acronym>XML</acronym>
30documents.</para>
31
32<sect3><title>Package information</title>
33<itemizedlist spacing='compact'>
34<listitem><para>Download (HTTP): <ulink
35url="&opensp-download-http;"/></para></listitem>
36<listitem><para>Download (FTP): <ulink
37url="&opensp-download-ftp;"/></para></listitem>
38<listitem><para>Download MD5 sum: &opensp-md5sum;</para></listitem>
39<listitem><para>Download size: &opensp-size;</para></listitem>
40<listitem><para>Estimated disk space required:
41&opensp-buildsize;</para></listitem>
42<listitem><para>Estimated build time:
43&opensp-time;</para></listitem></itemizedlist>
44</sect3>
45
46<sect3><title>Additional downloads</title>
47<itemizedlist spacing='compact'>
48<listitem><para>Required Patch (removes some annoying messages that can appear
49while running <command>openjade</command>): <ulink
50url="&patch-root;/OpenSP-&opensp-version;-LITLEN-1.patch"/></para></listitem>
51<listitem><para>Required Patch: <ulink
52url="&patch-root;/OpenSP-&opensp-version;-gcc34-1.patch"/></para></listitem>
53</itemizedlist></sect3>
54
55<sect3><title><application>OpenSP</application> dependencies</title>
56<sect4><title>Required</title>
57<para><xref linkend="sgml-common"/></para>
58</sect4>
59</sect3>
60
61</sect2>
62
63<sect2>
64<title>Installation of <application>OpenSP</application></title>
65
66<para>Install <application>OpenSP</application> by running the following
67commands:</para>
68
69<screen><userinput><command>patch -Np1 -i ../OpenSP-&opensp-version;-LITLEN-1.patch &amp;&amp;
70patch -Np1 -i ../OpenSP-&opensp-version;-gcc34-1.patch &amp;&amp;
71./configure --prefix=/usr --disable-static --enable-http \
72 --enable-default-catalog=/etc/sgml/catalog \
73 --enable-default-search-path=/usr/share/sgml &amp;&amp;
74make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; &amp;&amp;
75make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; install &amp;&amp;
76ln -sf onsgmls /usr/bin/nsgmls &amp;&amp;
77ln -sf osgmlnorm /usr/bin/sgmlnorm &amp;&amp;
78ln -sf ospam /usr/bin/spam &amp;&amp;
79ln -sf ospcat /usr/bin/spcat &amp;&amp;
80ln -sf ospent /usr/bin/spent &amp;&amp;
81ln -sf osx /usr/bin/sx &amp;&amp;
82ln -sf osx /usr/bin/sgml2xml &amp;&amp;
83ln -sf libosp.so /usr/lib/libsp.so</command></userinput></screen>
84
85<!-- install-catalog -add /etc/sgml/OpenSP-&opensp-version;.cat \
86 /usr/share/sgml/OpenSP-&opensp-version;/catalog &amp;&amp;
87install-catalog -add /etc/sgml/sgml-docbook.cat \
88 /etc/sgml/OpenSP-&opensp-version;.cat</command></userinput></screen>
89
90<tip><title>Update hint</title>
91<para>Remove the above catalog items prior to upgrading with:
92<screen><command>install-catalog -remove /etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat \
93 /usr/share/sgml/OpenSP-<replaceable>[version]</replaceable>/catalog &amp;&amp;
94install-catalog -remove /etc/sgml/sgml-docbook.cat \
95 /etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat</command></screen></para></tip> -->
96
97</sect2>
98
99<sect2>
100<title>Command explanations</title>
101
102<para><option>--disable-static</option>: This switch prevents
103the building of the static library.</para>
104
105<para><option>--enable-http</option>: This switch adds support
106for <acronym>HTTP</acronym>.</para>
107
108<para><parameter>--enable-default-catalog=/etc/sgml/catalog</parameter>: This
109switch sets the path to the centralized catalog.</para>
110
111<para><parameter>--enable-default-search-path</parameter>: This switch
112sets the default value of <envar>SGML_SEARCH_PATH</envar>.</para>
113
114<para><option>--enable-xml-messages</option>: This switch adds
115support for <acronym>XML</acronym> Formatted Messages.</para>
116
117<para><command>make
118pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version;</command>: This sets the
119pkgdatadir variable in the <filename>Makefile</filename> from
120<filename class="directory">/usr/share/OpenSP</filename> to
121<filename class="directory">/usr/share/sgml/OpenSP-&opensp-version;</filename>.
122</para>
123
124<para><command>ln -sf ...</command>: These commands create the
125<application>SP</application> equivalents of
126<application>OpenSP</application> executables and libraries.</para>
127
128</sect2>
129
130<sect2>
131<title>Contents</title>
132
133<para>The <application>OpenSP</application> package contains
134<command>onsgmls</command>,
135<command>ospam</command>,
136<command>osx</command>,
137<command>ospcat</command> and
138<command>ospent</command>.</para>
139
140</sect2>
141
142<sect2><title>Description</title>
143
144<sect3><title>onsgmls</title>
145<para><command>onsgmls</command> processes <acronym>SGML</acronym>
146files.</para></sect3>
147
148<sect3><title>ospam</title>
149<para><command>ospam</command> is a markup stream editor.</para></sect3>
150
151<sect3><title>osx</title>
152<para><command>osx</command> is a <acronym>SGML</acronym> normalizer or a
153converter of <acronym>SGML</acronym> to <acronym>XML</acronym>.</para></sect3>
154
155<sect3><title>ospcat</title>
156<para><command>ospcat</command> prints effective system identifiers found in
157the catalogs.</para></sect3>
158
159<sect3><title>ospent</title>
160<para><command>ospent</command> provides access to
161<application>OpenSP</application>'s entity manager.</para></sect3>
162
163</sect2>
164
165</sect1>
166
Note: See TracBrowser for help on using the repository browser.