source: pst/sgml/openjade.xml@ f89fc45

10.0 10.1 11.0 11.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus nosym perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since f89fc45 was f89fc45, checked in by Ken Moffat <ken@…>, 7 years ago

more tags

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

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