[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY lesstif-download-http "http://prdownloads.sourceforge.net/lesstif/lesstif-&lesstif-version;.tar.bz2">
|
---|
| 8 | <!ENTITY lesstif-size "3.4 MB">
|
---|
| 9 | <!ENTITY lesstif-buildsize "40 MB">
|
---|
| 10 | <!ENTITY lesstif-time "2.73 SBU">
|
---|
| 11 | ]>
|
---|
| 12 |
|
---|
[46bca118] | 13 | <sect1 id="lesstif" xreflabel="LessTif-&lesstif-version;">
|
---|
[19aa75a] | 14 | <?dbhtml filename="lesstif.html" ?>
|
---|
[46bca118] | 15 | <title>LessTif-&lesstif-version;</title>
|
---|
[f45b1953] | 16 |
|
---|
[feeb99a] | 17 | <sect2>
|
---|
| 18 | <title>Introduction to <application>LessTif</application></title>
|
---|
| 19 |
|
---|
| 20 | <para>The <application>LessTif</application> package contains an Open
|
---|
| 21 | Source version of <application>OSF/Motif(R)</application>.</para>
|
---|
| 22 |
|
---|
| 23 | <sect3><title>Package information</title>
|
---|
| 24 | <itemizedlist spacing='compact'>
|
---|
| 25 | <listitem><para>Download (HTTP): <ulink url="&lesstif-download-http;"/></para></listitem>
|
---|
| 26 | <listitem><para>Download size: &lesstif-size;</para></listitem>
|
---|
| 27 | <listitem><para>Estimated Disk space required: &lesstif-buildsize;</para></listitem>
|
---|
| 28 | <listitem><para>Estimated build time: &lesstif-time;</para></listitem></itemizedlist>
|
---|
| 29 | </sect3>
|
---|
| 30 |
|
---|
| 31 | <sect3><title><application>LessTif</application> dependencies</title>
|
---|
| 32 | <sect4><title>Required</title>
|
---|
| 33 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para></sect4>
|
---|
| 34 | </sect3>
|
---|
| 35 |
|
---|
| 36 | </sect2>
|
---|
| 37 |
|
---|
| 38 | <sect2>
|
---|
| 39 | <title>Installation of <application>LessTif</application></title>
|
---|
| 40 |
|
---|
| 41 | <para>Install <application>LessTif</application> by running the following commands:</para>
|
---|
| 42 |
|
---|
| 43 | <screen><userinput><command>find -name Makefile.in | \
|
---|
| 44 | xargs sed -i 's@$(prefix)/LessTif@$(prefix)/share/LessTif@g' &&
|
---|
| 45 | ./configure --prefix=/usr \
|
---|
| 46 | --enable-build-20 \
|
---|
| 47 | --enable-build-21 \
|
---|
| 48 | --disable-debug \
|
---|
| 49 | --enable-production \
|
---|
| 50 | --disable-build-tests \
|
---|
| 51 | --with-xdnd &&
|
---|
| 52 | make &&
|
---|
| 53 | make install</command></userinput></screen>
|
---|
| 54 |
|
---|
| 55 | </sect2>
|
---|
| 56 |
|
---|
| 57 | <sect2>
|
---|
| 58 | <title>Command explanations</title>
|
---|
| 59 |
|
---|
| 60 | <para><option>sed -i 's@$(prefix)/LessTif@$(prefix)/share/LessTif@g'</option>:
|
---|
| 61 | This moves the location of the non-FHS compliant <filename class="directory">/usr/LessTif</filename>
|
---|
| 62 | directory to <filename class="directory">/usr/share/LessTif</filename>.</para>
|
---|
| 63 |
|
---|
| 64 | <para><option>--enable-build-20</option>: Build the
|
---|
| 65 | <application>Motif</application> 2.0 compatible version of the
|
---|
| 66 | <application>LessTif</application> libraries.</para>
|
---|
| 67 |
|
---|
| 68 | <para>
|
---|
| 69 | <option>--enable-build-21</option>: Also build the
|
---|
| 70 | <application>Motif</application> 2.1 compatible versions.</para>
|
---|
| 71 |
|
---|
| 72 | <para><option>--disable-debug</option>: Do not generate debugging information.</para>
|
---|
| 73 |
|
---|
| 74 | <para><option>--enable-production</option>: Build the release version
|
---|
| 75 | of the <application>LessTif</application> libraries.</para>
|
---|
| 76 |
|
---|
| 77 | <para><option>--disable-build-tests</option>: Do not build the
|
---|
| 78 | <filename class="directory">test/</filename> tree (see Testing
|
---|
| 79 | <application>LessTif</application>).</para>
|
---|
| 80 |
|
---|
| 81 | <para><option>--with-xdnd</option>: Enable <acronym>XDND</acronym>
|
---|
| 82 | GNOME compatibility support.</para>
|
---|
| 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2>
|
---|
| 87 | <title>Configuring <application>LessTif</application></title>
|
---|
| 88 |
|
---|
| 89 | <sect3><title>Configuration Information</title>
|
---|
| 90 |
|
---|
| 91 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
| 92 |
|
---|
| 93 | </sect3>
|
---|
| 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2><title>Testing <application>LessTif</application></title>
|
---|
| 98 | <para>It is advisable to test the installation of
|
---|
| 99 | <application>LessTif</application> with the
|
---|
| 100 | test suite located in
|
---|
| 101 | <filename class="directory">lesstif-&lesstif-version;/test</filename>. It is not
|
---|
| 102 | required to install any of the resulting binaries to validate the
|
---|
| 103 | installation. The following commands executed from the source
|
---|
| 104 | directory will suffice:</para>
|
---|
| 105 |
|
---|
| 106 | <screen><userinput><command>cd test &&
|
---|
| 107 | ./configure &&
|
---|
| 108 | make</command></userinput></screen>
|
---|
| 109 |
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2>
|
---|
| 113 | <title>Contents</title>
|
---|
| 114 |
|
---|
| 115 | <para>The <application>LessTif</application> package contains
|
---|
| 116 | <application>LessTif</application> libraries.</para>
|
---|
| 117 |
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2><title>Description</title>
|
---|
| 121 |
|
---|
| 122 | <sect3><title>lesstif libraries</title>
|
---|
| 123 | <para><application>LessTif</application> libraries are an
|
---|
| 124 | <application>OSF/Motif(R)</application> source code compatible
|
---|
| 125 | library for the <application>X</application> Window System.</para></sect3>
|
---|
| 126 |
|
---|
| 127 |
|
---|
| 128 | </sect2>
|
---|
[f45b1953] | 129 |
|
---|
| 130 | </sect1>
|
---|
| 131 |
|
---|