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-download-ftp " ">
|
---|
9 | <!ENTITY lesstif-md5sum " ">
|
---|
10 | <!ENTITY lesstif-size "2.4 MB">
|
---|
11 | <!ENTITY lesstif-buildsize "109.9 MB (includes building test suite)">
|
---|
12 | <!ENTITY lesstif-time "2.94 SBU (includes building test suite)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="lesstif" xreflabel="LessTif-&lesstif-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="lesstif.html" ?>
|
---|
21 | <title><application>LessTif</application>-&lesstif-version;</title>
|
---|
22 |
|
---|
23 | <sect2>
|
---|
24 | <title>Introduction to <application>LessTif</application></title>
|
---|
25 |
|
---|
26 | <para>The <application>LessTif</application> package contains an Open
|
---|
27 | Source version of <application>OSF/Motif(R)</application>.</para>
|
---|
28 |
|
---|
29 | <sect3><title>Package information</title>
|
---|
30 | <itemizedlist spacing='compact'>
|
---|
31 | <listitem><para>Download (HTTP): <ulink url="&lesstif-download-http;"/></para></listitem>
|
---|
32 | <listitem><para>Download (FTP): <ulink url="&lesstif-download-ftp;"/></para></listitem>
|
---|
33 | <listitem><para>Download MD5 sum: &lesstif-md5sum;</para></listitem>
|
---|
34 | <listitem><para>Download size: &lesstif-size;</para></listitem>
|
---|
35 | <listitem><para>Estimated disk space required: &lesstif-buildsize;</para></listitem>
|
---|
36 | <listitem><para>Estimated build time: &lesstif-time;</para></listitem></itemizedlist>
|
---|
37 | </sect3>
|
---|
38 |
|
---|
39 | <sect3><title><application>LessTif</application> dependencies</title>
|
---|
40 | <sect4><title>Required</title>
|
---|
41 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
|
---|
42 | </sect4>
|
---|
43 |
|
---|
44 | <sect4><title>Optional</title>
|
---|
45 | <para><xref linkend="lynx"/> or <xref linkend="Links"/> and
|
---|
46 | <ulink url="http://dmalloc.com">Dmalloc</ulink></para>
|
---|
47 | </sect4>
|
---|
48 | </sect3>
|
---|
49 |
|
---|
50 | </sect2>
|
---|
51 |
|
---|
52 | <sect2>
|
---|
53 | <title>Installation of <application>LessTif</application></title>
|
---|
54 |
|
---|
55 | <para>Install <application>LessTif</application> by running the following
|
---|
56 | commands:</para>
|
---|
57 |
|
---|
58 | <screen><userinput><command>find -name Makefile.in | \
|
---|
59 | xargs sed -i 's@$(prefix)/LessTif@$(prefix)/share/LessTif@g' &&
|
---|
60 | ./configure --prefix=/usr \
|
---|
61 | --enable-build-21 \
|
---|
62 | --disable-debug \
|
---|
63 | --enable-production \
|
---|
64 | --disable-build-tests \
|
---|
65 | --with-xdnd &&
|
---|
66 | make &&
|
---|
67 | make install</command></userinput></screen>
|
---|
68 |
|
---|
69 | </sect2>
|
---|
70 |
|
---|
71 | <sect2>
|
---|
72 | <title>Command explanations</title>
|
---|
73 |
|
---|
74 | <para><command>sed -i 's@$(prefix)/LessTif@$(prefix)/share/LessTif@g'</command>:
|
---|
75 | This moves the location of the non-FHS compliant
|
---|
76 | <filename class="directory">/usr/LessTif</filename> directory to
|
---|
77 | <filename class="directory">/usr/share/LessTif</filename>.</para>
|
---|
78 |
|
---|
79 | <para><parameter>--enable-build-21</parameter>: Build the
|
---|
80 | <application>Motif</application> 2.1 compatible version of the
|
---|
81 | <application>LessTif</application> libraries.</para>
|
---|
82 |
|
---|
83 | <para><parameter>--disable-debug</parameter>: Do not generate debugging
|
---|
84 | information.</para>
|
---|
85 |
|
---|
86 | <para><parameter>--enable-production</parameter>: Build the release version
|
---|
87 | of the <application>LessTif</application> libraries.</para>
|
---|
88 |
|
---|
89 | <para><parameter>--disable-build-tests</parameter>: Do not build the
|
---|
90 | <filename class="directory">test/</filename> tree (see Testing
|
---|
91 | <application>LessTif</application>).</para>
|
---|
92 |
|
---|
93 | <para><parameter>--with-xdnd</parameter>: Enable <acronym>XDND</acronym>
|
---|
94 | <acronym>GNOME</acronym> compatibility support.</para>
|
---|
95 |
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | <sect2>
|
---|
99 | <title>Configuring <application>LessTif</application></title>
|
---|
100 |
|
---|
101 | <sect3><title>Configuration Information</title>
|
---|
102 |
|
---|
103 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
104 |
|
---|
105 | </sect3>
|
---|
106 |
|
---|
107 | </sect2>
|
---|
108 |
|
---|
109 | <sect2>
|
---|
110 | <title>Testing <application>LessTif</application></title>
|
---|
111 |
|
---|
112 | <para>It is advisable to test the installation of
|
---|
113 | <application>LessTif</application> with the test suite located in
|
---|
114 | <filename class="directory">lesstif-&lesstif-version;/test</filename>. It is
|
---|
115 | not required to install any of the resulting binaries to validate the
|
---|
116 | installation. The following commands executed from the source
|
---|
117 | directory will suffice:</para>
|
---|
118 |
|
---|
119 | <screen><userinput><command>cd test &&
|
---|
120 | ./configure &&
|
---|
121 | make</command></userinput></screen>
|
---|
122 |
|
---|
123 | </sect2>
|
---|
124 |
|
---|
125 | <sect2>
|
---|
126 | <title>Contents</title>
|
---|
127 |
|
---|
128 | <para>The <application>LessTif</application> package contains
|
---|
129 | <command>mxmkmf</command>, <command>mwm</command>,
|
---|
130 | <command>xmbind</command>, <command>uil</command> and
|
---|
131 | <application>LessTif</application> libraries.</para>
|
---|
132 |
|
---|
133 | </sect2>
|
---|
134 |
|
---|
135 | <sect2><title>Description</title>
|
---|
136 |
|
---|
137 | <sect3><title>mxmkmf</title>
|
---|
138 | <para><command>mxmkmf</command> is the <application>LessTif</application>
|
---|
139 | version of <command>xmkmf</command> which creates a
|
---|
140 | <filename>Makefile</filename> from an <filename>Imakefile</filename></para>
|
---|
141 | </sect3>
|
---|
142 |
|
---|
143 | <sect3><title>mwm</title>
|
---|
144 | <para><command>mwm</command> is a window manager that adheres largely to the
|
---|
145 | <application>Motif</application> <command>mwm</command> specification.</para>
|
---|
146 | </sect3>
|
---|
147 |
|
---|
148 | <sect3><title>xmbind</title>
|
---|
149 | <para><command>xmbind</command> configures the virtual key bindings of
|
---|
150 | <application>LessTif</application> applications</para>
|
---|
151 | </sect3>
|
---|
152 |
|
---|
153 | <sect3><title>uil</title>
|
---|
154 | <para><command>uil</command> is a user interface language compiler which
|
---|
155 | translates a plain text description of the user interface of a
|
---|
156 | <application>Motif</application> application into a machine-readable form.
|
---|
157 | </para>
|
---|
158 | </sect3>
|
---|
159 |
|
---|
160 | <sect3><title>lesstif libraries</title>
|
---|
161 | <para><application>LessTif</application> libraries are an
|
---|
162 | <application><acronym>OSF</acronym>/Motif(R)</application> source code
|
---|
163 | compatible library for the <application>X</application> Window System.</para>
|
---|
164 | </sect3>
|
---|
165 |
|
---|
166 | </sect2>
|
---|
167 |
|
---|
168 | </sect1>
|
---|