2004-06-14 03:03:42 +08:00
|
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-14 03:03:42 +08:00
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
|
|
<!ENTITY lesstif-download-http "http://prdownloads.sourceforge.net/lesstif/lesstif-&lesstif-version;.tar.bz2">
|
2004-11-20 19:20:36 +08:00
|
|
|
|
<!ENTITY lesstif-download-ftp " ">
|
2005-04-18 05:02:50 +08:00
|
|
|
|
<!ENTITY lesstif-md5sum "3096ca456c0bc299d895974d307c82d8">
|
2004-12-19 03:56:41 +08:00
|
|
|
|
<!ENTITY lesstif-size "2.4 MB">
|
2005-04-18 05:02:50 +08:00
|
|
|
|
<!ENTITY lesstif-buildsize "160 MB (includes building and running the test suite)">
|
|
|
|
|
<!ENTITY lesstif-time "2.89 SBU (includes building the test suite)">
|
2004-06-14 03:03:42 +08:00
|
|
|
|
]>
|
|
|
|
|
|
2003-09-27 05:14:55 +08:00
|
|
|
|
<sect1 id="lesstif" xreflabel="LessTif-&lesstif-version;">
|
2005-05-21 01:17:42 +08:00
|
|
|
|
<?dbhtml filename="lesstif.html" ?>
|
|
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
|
<date>$Date$</date>
|
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
|
|
<title>LessTif-&lesstif-version;</title>
|
|
|
|
|
|
|
|
|
|
<indexterm zone="lesstif">
|
|
|
|
|
<primary sortas="a-LessTif">LessTif</primary>
|
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
|
<title>Introduction to LessTif</title>
|
|
|
|
|
|
|
|
|
|
<para>The <application>LessTif</application> package contains an Open
|
|
|
|
|
Source version of <application>OSF/Motif<69></application>.</para>
|
|
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Download (HTTP): <ulink url="&lesstif-download-http;"/></para>
|
|
|
|
|
</listitem>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Download (FTP): <ulink url="&lesstif-download-ftp;"/></para>
|
|
|
|
|
</listitem>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Download MD5 sum: &lesstif-md5sum;</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Download size: &lesstif-size;</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Estimated disk space required: &lesstif-buildsize;</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Estimated build time: &lesstif-time;</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Required patch: <ulink
|
|
|
|
|
url="&patch-root;/lesstif-&lesstif-version;-testsuite_fix-1.patch"/></para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">LessTif Dependencies</bridgehead>
|
|
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
|
<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
|
|
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
|
<para><xref linkend="lynx"/> or <xref linkend="Links"/> (used to generate
|
|
|
|
|
the <filename>INSTALL</filename> documentation file) and
|
|
|
|
|
<ulink url="http://dmalloc.com">Dmalloc</ulink></para>
|
|
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
|
<title>Installation of LessTif</title>
|
|
|
|
|
|
|
|
|
|
<para>Install <application>LessTif</application> by running the following
|
|
|
|
|
commands:</para>
|
|
|
|
|
|
|
|
|
|
<screen><userinput>patch -Np1 -i ../lesstif-&lesstif-version;-testsuite_fix-1.patch &&
|
2005-04-18 05:02:50 +08:00
|
|
|
|
./configure --prefix=/usr --disable-debug \
|
|
|
|
|
--enable-production --with-xdnd &&
|
2005-05-21 01:17:42 +08:00
|
|
|
|
make rootdir=/usr/share/doc/lesstif-&lesstif-version;</userinput></screen>
|
2005-04-18 05:02:50 +08:00
|
|
|
|
|
2005-05-21 01:17:42 +08:00
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
2005-04-18 05:02:50 +08:00
|
|
|
|
|
2005-05-21 01:17:42 +08:00
|
|
|
|
<screen role="root"><userinput>make rootdir=/usr/share/doc/lesstif-&lesstif-version; install &&
|
2005-04-18 05:02:50 +08:00
|
|
|
|
mv -v /usr/X11R6/lib/X11/mwm /etc/X11 &&
|
|
|
|
|
ln -v -s ../../../../etc/X11/mwm /usr/X11R6/lib/X11 &&
|
2005-05-21 01:17:42 +08:00
|
|
|
|
ldconfig</userinput></screen>
|
2004-06-14 03:03:42 +08:00
|
|
|
|
|
2005-05-21 01:17:42 +08:00
|
|
|
|
</sect2>
|
2004-06-14 03:03:42 +08:00
|
|
|
|
|
2005-05-21 01:17:42 +08:00
|
|
|
|
<sect2 role="commands">
|
|
|
|
|
<title>Command Explanations</title>
|
2004-06-14 03:03:42 +08:00
|
|
|
|
|
2005-04-18 05:02:50 +08:00
|
|
|
|
<!-- Disabled these parameters as they are the default
|
2005-05-21 01:17:42 +08:00
|
|
|
|
<para><parameter>-enable-build-21</parameter>: Build the
|
|
|
|
|
<application>Motif</application> 2.1 compatible version of the
|
2004-12-19 03:56:41 +08:00
|
|
|
|
<application>LessTif</application> libraries.</para>
|
2004-06-14 03:03:42 +08:00
|
|
|
|
|
2005-04-18 05:02:50 +08:00
|
|
|
|
<para><parameter>-disable-build-tests</parameter>: Do not build the
|
|
|
|
|
<filename class="directory">test/</filename> tree (see Testing
|
|
|
|
|
<application>LessTif</application>).</para>
|
|
|
|
|
-->
|
|
|
|
|
|
2005-05-21 01:17:42 +08:00
|
|
|
|
<para><parameter>--disable-debug</parameter>: Do not generate debugging
|
|
|
|
|
information.</para>
|
2004-06-14 03:03:42 +08:00
|
|
|
|
|
2005-05-21 01:17:42 +08:00
|
|
|
|
<para><parameter>--enable-production</parameter>: Build the release version
|
|
|
|
|
of the <application>LessTif</application> libraries.</para>
|
2004-06-14 03:03:42 +08:00
|
|
|
|
|
2005-05-21 01:17:42 +08:00
|
|
|
|
<para><parameter>--with-xdnd</parameter>: Enable XDND GNOME compatibility
|
|
|
|
|
support.</para>
|
2004-06-14 03:03:42 +08:00
|
|
|
|
|
2005-05-21 01:17:42 +08:00
|
|
|
|
<para><parameter>rootdir=/usr/share/doc/lesstif-&lesstif-version;</parameter>:
|
|
|
|
|
This installs the documentation into an appropriate directory instead of the
|
|
|
|
|
non-FHS compliant <filename class="directory">/usr/LessTif</filename>
|
|
|
|
|
directory.</para>
|
2004-06-14 03:03:42 +08:00
|
|
|
|
|
2005-05-21 01:17:42 +08:00
|
|
|
|
<para><command>mv -v /usr/X11R6/lib/X11/mwm /etc/X11</command>: The
|
|
|
|
|
<filename class="directory">mwm</filename> configuration directory is moved
|
|
|
|
|
to its proper FHS location in
|
|
|
|
|
<filename class="directory">/etc/X11</filename>.</para>
|
2004-06-14 03:03:42 +08:00
|
|
|
|
|
2005-05-21 01:17:42 +08:00
|
|
|
|
<para><command>ln -v -s ../../../../etc/X11/mwm /usr/X11R6/lib/X11</command>:
|
|
|
|
|
A symlink required by some legacy applications is created pointing to the
|
|
|
|
|
<filename class="directory">mwm</filename> configuration directory moved in
|
|
|
|
|
the previous command.</para>
|
2004-06-14 03:03:42 +08:00
|
|
|
|
|
2005-05-21 01:17:42 +08:00
|
|
|
|
</sect2>
|
2004-06-14 03:03:42 +08:00
|
|
|
|
|
2005-05-21 01:17:42 +08:00
|
|
|
|
<sect2 role="installation">
|
|
|
|
|
<title>Testing LessTif</title>
|
2004-12-19 03:56:41 +08:00
|
|
|
|
|
2005-05-21 01:17:42 +08:00
|
|
|
|
<para>It is advisable to test the installation of
|
|
|
|
|
<application>LessTif</application> using the included test suite. It is
|
|
|
|
|
not required to install any of the resulting binaries to validate the
|
|
|
|
|
installation. Issue the following commands to build the test suite:</para>
|
2004-06-14 03:03:42 +08:00
|
|
|
|
|
2005-05-21 01:17:42 +08:00
|
|
|
|
<screen><userinput>cd test &&
|
2004-06-14 03:03:42 +08:00
|
|
|
|
./configure &&
|
2005-05-21 01:17:42 +08:00
|
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<para>To run the tests, issue the following commands:</para>
|
|
|
|
|
|
|
|
|
|
<screen><userinput>cd Xm &&
|
|
|
|
|
./testall *</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<para>You'll need to manually close three of the test windows. The first
|
|
|
|
|
one is from <command>test28</command> in the
|
|
|
|
|
<filename class='directory'>list</filename> directory. The second one is
|
|
|
|
|
from <command>test10</command> in the
|
|
|
|
|
<filename class='directory'>menushell</filename> directory. You should
|
|
|
|
|
click on the button in the window and choose <quote>exit</quote> (do it
|
|
|
|
|
twice) to finish the test. The third test is from <command>test24</command>
|
|
|
|
|
in the <filename class='directory'>scrolledwindow</filename>
|
|
|
|
|
directory.</para>
|
|
|
|
|
|
|
|
|
|
<para>As many as 100 tests are known to fail. The patch applied at the
|
|
|
|
|
beginning of the installation created a file used to compare known failures
|
|
|
|
|
to the failures from the test run. This file was created from an
|
|
|
|
|
installation using the current LFS book and should be a fairly accurate
|
|
|
|
|
representation of the failures you'll encounter. You could see some minor
|
|
|
|
|
variances, however.</para>
|
|
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 role="configuration">
|
|
|
|
|
<title>Configuring LessTif</title>
|
|
|
|
|
|
|
|
|
|
<sect3 id="lesstif-config">
|
|
|
|
|
<title>Config Files</title>
|
|
|
|
|
|
|
|
|
|
<para><filename>/etc/X11/mwm/system.mwmrc</filename> and
|
|
|
|
|
<filename>~/.mwmrc</filename></para>
|
|
|
|
|
|
|
|
|
|
<indexterm zone="lesstif lesstif-config">
|
|
|
|
|
<primary sortas="e-AA.mwmrc">~/.mwmrc</primary>
|
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
|
|
<indexterm zone="lesstif lesstif-config">
|
|
|
|
|
<primary
|
|
|
|
|
sortas="e-etc-X11-mwm-system.mwmrc">/etc/X11/mwm/system.mwmrc</primary>
|
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
|
<title>Configuration Information</title>
|
|
|
|
|
|
|
|
|
|
<para>The config files are used to customize the behavior of the
|
|
|
|
|
<command>mwm</command> window manager. Information about customizing
|
|
|
|
|
these files can be found in the <filename>mwmrc(5)</filename> man
|
|
|
|
|
page.</para>
|
|
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
|
<seg>motif-config, mwm, mxmkmf, uil, and xmbind</seg>
|
|
|
|
|
<seg>libDtPrints.so, libMrm.so, libUil.so, and libXm.so</seg>
|
|
|
|
|
<seg>/etc/X11/mwm, /usr/include/Xm, /usr/include/Mrm,
|
|
|
|
|
/usr/include/uil, /usr/include/Dt, /usr/lib/LessTif, and
|
|
|
|
|
/usr/share/doc/lesstif-&lesstif-version;</seg>
|
|
|
|
|
</seglistitem>
|
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
|
|
<varlistentry id="motif-config">
|
|
|
|
|
<term><command>motif-config</command></term>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>is used to find out configuration information for packages
|
|
|
|
|
needing to link to the <application>LessTif</application>
|
|
|
|
|
libraries.</para>
|
|
|
|
|
<indexterm zone="lesstif motif-config">
|
|
|
|
|
<primary sortas="b-motif-config">motif-config</primary>
|
|
|
|
|
</indexterm>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry id="mwm">
|
|
|
|
|
<term><command>mwm</command></term>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>is a window manager that adheres largely to the
|
|
|
|
|
<application>Motif</application> <command>mwm</command>
|
|
|
|
|
specification.</para>
|
|
|
|
|
<indexterm zone="lesstif mwm">
|
|
|
|
|
<primary sortas="b-mwm">mwm</primary>
|
|
|
|
|
</indexterm>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry id="mxmkmf">
|
|
|
|
|
<term><command>mxmkmf</command></term>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>is the <application>LessTif</application> version of
|
|
|
|
|
<command>xmkmf</command> which creates a
|
|
|
|
|
<filename>Makefile</filename> from an
|
|
|
|
|
<filename>Imakefile</filename>.</para>
|
|
|
|
|
<indexterm zone="lesstif mxmkmf">
|
|
|
|
|
<primary sortas="b-mxmkmf">mxmkmf</primary>
|
|
|
|
|
</indexterm>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry id="uil">
|
|
|
|
|
<term><command>uil</command></term>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>is a user interface language compiler which translates a
|
|
|
|
|
plain text description of the user interface of a
|
|
|
|
|
<application>Motif</application> application into a
|
|
|
|
|
machine-readable form.</para>
|
|
|
|
|
<indexterm zone="lesstif uil">
|
|
|
|
|
<primary sortas="b-uil">uil</primary>
|
|
|
|
|
</indexterm>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry id="xmbind">
|
|
|
|
|
<term><command>xmbind</command></term>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para> configures the virtual key bindings of
|
|
|
|
|
<application>LessTif</application> applications.</para>
|
|
|
|
|
<indexterm zone="lesstif xmbind">
|
|
|
|
|
<primary sortas="b-xmbind">xmbind</primary>
|
|
|
|
|
</indexterm>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry id="libXm">
|
|
|
|
|
<term><filename class='libraryfile'>libXm.so</filename></term>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>is an <application>OSF/Motif<69></application> source code
|
|
|
|
|
compatible library for the <application>X Window
|
|
|
|
|
System</application>. You can download an excellent reference
|
|
|
|
|
guide (mainly for programmers) for the Motif-2.1 specification
|
|
|
|
|
from <ulink
|
|
|
|
|
url="http://unc.dl.sourceforge.net/lesstif/6B_book.pdf"/>.</para>
|
|
|
|
|
<indexterm zone="lesstif libXm">
|
|
|
|
|
<primary sortas="c-libXm">libXm.so</primary>
|
|
|
|
|
</indexterm>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
|
|
</sect1>
|