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