source: pst/sgml/openjade.xml@ f429481

11.1 lazarus qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since f429481 was c93c620c, checked in by Bruce Dubbs <bdubbs@…>, 9 months ago

Tags

  • Property mode set to 100644
File size: 8.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 openjade-download-http "&sourceforge-dl;/openjade/openjade-&openjade-version;.tar.gz">
8 <!ENTITY openjade-download-ftp " ">
9 <!ENTITY openjade-md5sum "7df692e3186109cc00db6825b777201e">
10 <!ENTITY openjade-size "880 KB">
11 <!ENTITY openjade-buildsize "19.2 MB">
12 <!ENTITY openjade-time "0.7 SBU">
13]>
14
15<sect1 id="openjade" xreflabel="OpenJade-&openjade-version;">
16 <?dbhtml filename="openjade.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>OpenJade-&openjade-version;</title>
23
24 <indexterm zone="openjade">
25 <primary sortas="a-OpenJade">OpenJade</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to OpenJade</title>
30
31 <para>
32 The <application>OpenJade</application> package contains a
33 DSSSL engine. This is useful for SGML and XML transformations into
34 RTF, TeX, SGML and XML.
35 </para>
36
37 &lfs110a_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&openjade-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&openjade-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &openjade-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &openjade-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &openjade-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &openjade-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Additional Download</bridgehead>
74 <itemizedlist spacing='compact'>
75 <listitem>
76 <para>
77 Required patch: <ulink
78 url="&patch-root;/openjade-&openjade-version;-upstream-1.patch"/>
79 </para>
80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect3">OpenJade Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Required</bridgehead>
86 <para role="required">
87 <xref linkend="opensp"/>
88 </para>
89
90 <para condition="html" role="usernotes">User Notes:
91 <ulink url="&blfs-wiki;/openjade"/></para>
92
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of OpenJade</title>
97
98 <para>
99 First fix problems when building with newer compilers:
100 </para>
101
102<screen><userinput>patch -Np1 -i ../openjade-&openjade-version;-upstream-1.patch</userinput></screen>
103
104 <para>
105 Now fix a compilation problem with perl-5.16 and later:
106 </para>
107
108<screen><userinput>sed -i -e '/getopts/{N;s#&amp;G#g#;s#do .getopts.pl.;##;}' \
109 -e '/use POSIX/ause Getopt::Std;' msggen.pl</userinput></screen>
110
111 <para>
112 Install <application>OpenJade</application> by running the following
113 commands:
114 </para>
115
116<screen><userinput>export CXXFLAGS="${CXXFLAGS:--O2 -g} -fno-lifetime-dse" &amp;&amp;
117./configure --prefix=/usr \
118 --mandir=/usr/share/man \
119 --enable-http \
120 --disable-static \
121 --enable-default-catalog=/etc/sgml/catalog \
122 --enable-default-search-path=/usr/share/sgml \
123 --datadir=/usr/share/sgml/openjade-&openjade-version; &amp;&amp;
124make</userinput></screen>
125
126 <para>
127 This package does not come with a test suite.
128 </para>
129
130 <para>
131 Now, as the <systemitem class="username">root</systemitem> user:
132 </para>
133
134<!-- Be careful of spacing here -->
135<screen role="root"><userinput>make install &amp;&amp;
136make install-man &amp;&amp;
137ln -v -sf openjade /usr/bin/jade &amp;&amp;
138ln -v -sf libogrove.so /usr/lib/libgrove.so &amp;&amp;
139ln -v -sf libospgrove.so /usr/lib/libspgrove.so &amp;&amp;
140ln -v -sf libostyle.so /usr/lib/libstyle.so &amp;&amp;
141
142install -v -m644 dsssl/catalog /usr/share/sgml/openjade-&openjade-version;/ &amp;&amp;
143
144install -v -m644 dsssl/*.{dtd,dsl,sgm} \
145 /usr/share/sgml/openjade-&openjade-version; &amp;&amp;
146
147install-catalog --add /etc/sgml/openjade-&openjade-version;.cat \
148 /usr/share/sgml/openjade-&openjade-version;/catalog &amp;&amp;
149
150install-catalog --add /etc/sgml/sgml-docbook.cat \
151 /etc/sgml/openjade-&openjade-version;.cat</userinput></screen>
152
153 </sect2>
154
155 <sect2 role="commands">
156 <title>Command Explanations</title>
157
158 <para>
159 <command>export CXXFLAGS=...</command>: This command prevents
160 segmentation faults when the package is compiled with
161 <application>gcc-6.1</application>.
162 </para>
163
164 <para>
165 <command>make install-man</command>: This command installs the
166 <command>openjade</command> man page.
167 </para>
168
169 <para>
170 <parameter>--disable-static</parameter>: This switch prevents
171 the building of the static library.
172 </para>
173
174 <para>
175 <parameter>--enable-http</parameter>: This switch adds support
176 for HTTP.
177 </para>
178
179 <para>
180 <parameter>--enable-default-catalog=/etc/sgml/catalog</parameter>: This
181 switch sets the path to the centralized catalog.
182 </para>
183
184 <para>
185 <parameter>--enable-default-search-path</parameter>: This switch
186 sets the default value of <envar>SGML_SEARCH_PATH</envar>.
187 </para>
188
189 <para>
190 <parameter>
191 --datadir=/usr/share/sgml/openjade-&openjade-version;</parameter>:
192 This switch puts data files in
193 <filename>/usr/share/sgml/openjade-&openjade-version;</filename> instead
194 of <filename class="directory">/usr/share</filename>.
195 </para>
196
197 <para>
198 <command>ln -v -sf ...</command>: These commands create the
199 <application>Jade</application> equivalents of
200 <application>OpenJade</application> executables and libraries.
201 </para>
202
203 </sect2>
204
205 <sect2 role="configuration">
206 <title>Configuring OpenJade</title>
207
208 <sect3>
209 <title>Configuration Information</title>
210
211 <para>
212 As the <systemitem class="username">root</systemitem> user:
213 </para>
214
215<screen role="root"><userinput>echo "SYSTEM \"http://www.oasis-open.org/docbook/xml/&docbook-4.5-dtd-version;/docbookx.dtd\" \
216 \"/usr/share/xml/docbook/xml-dtd-&docbook-4.5-dtd-version;/docbookx.dtd\"" &gt;&gt; \
217 /usr/share/sgml/openjade-&openjade-version;/catalog</userinput></screen>
218
219 <para>
220 This configuration is only necessary if you intend to use
221 <application>OpenJade</application> to process the BLFS XML files
222 through DSSSL Stylesheets.
223 </para>
224
225 </sect3>
226
227 </sect2>
228
229 <sect2 role="content">
230 <title>Contents</title>
231
232 <segmentedlist>
233 <segtitle>Installed Programs</segtitle>
234 <segtitle>Installed Libraries</segtitle>
235 <segtitle>Installed Directory</segtitle>
236
237 <seglistitem>
238 <seg>openjade and the <application>Jade</application> equivalent symlink,
239 jade</seg>
240 <seg>libogrove.so, libospgrove.so, libostyle.so, and the
241 <application>Jade</application> equivalent symlinks: libgrove.so,
242 libspgrove.so, and libstyle.so</seg>
243 <seg>/usr/share/sgml/openjade-&openjade-version;</seg>
244 </seglistitem>
245 </segmentedlist>
246
247 <variablelist>
248 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
249 <?dbfo list-presentation="list"?>
250 <?dbhtml list-presentation="table"?>
251
252 <varlistentry id="openjade-prog">
253 <term><command>openjade</command></term>
254 <listitem>
255 <para>
256 is a DSSSL engine used for transformations
257 </para>
258 <indexterm zone="openjade openjade-prog">
259 <primary sortas="b-openjade">openjade</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 <varlistentry id="jade">
265 <term><command>jade</command></term>
266 <listitem>
267 <para>
268 is a symlink to <command>openjade</command>
269 </para>
270 <indexterm zone="openjade jade">
271 <primary sortas="b-jade">jade</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 </variablelist>
277
278 </sect2>
279
280</sect1>
Note: See TracBrowser for help on using the repository browser.