source: archive/lesstif.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 11.6 KB
RevLine 
[feeb99a]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" [
[feeb99a]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[fce275e]7 <!ENTITY lesstif-download-http "&sourceforge-repo;/lesstif/lesstif-&lesstif-version;.tar.bz2">
[67f79cec]8 <!ENTITY lesstif-download-ftp " ">
[70d93337]9 <!ENTITY lesstif-md5sum "754187dbac09fcf5d18296437e72a32f">
[e290b228]10 <!ENTITY lesstif-size "2.4 MB">
[78768d2]11 <!ENTITY lesstif-buildsize "160 MB (includes building and running the test suite)">
[34abe1c]12 <!ENTITY lesstif-time "4.1 SBU (includes building the test suite)">
[feeb99a]13]>
14
[46bca118]15<sect1 id="lesstif" xreflabel="LessTif-&lesstif-version;">
[31eff503]16 <?dbhtml filename="lesstif.html" ?>
17
18
19 <title>LessTif-&lesstif-version;</title>
20
21 <indexterm zone="lesstif">
22 <primary sortas="a-LessTif">LessTif</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to LessTif</title>
27
28 <para>The <application>LessTif</application> package contains an Open
[e294c0f]29 Source version of <application>OSF/Motif</application>.</para>
[31eff503]30
[70d93337]31 &lfs65_checked;
32
[31eff503]33 <bridgehead renderas="sect3">Package Information</bridgehead>
34 <itemizedlist spacing="compact">
35 <listitem>
36 <para>Download (HTTP): <ulink url="&lesstif-download-http;"/></para>
37 </listitem>
38 <listitem>
39 <para>Download (FTP): <ulink url="&lesstif-download-ftp;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download MD5 sum: &lesstif-md5sum;</para>
43 </listitem>
44 <listitem>
45 <para>Download size: &lesstif-size;</para>
46 </listitem>
47 <listitem>
48 <para>Estimated disk space required: &lesstif-buildsize;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated build time: &lesstif-time;</para>
52 </listitem>
53 </itemizedlist>
54
55 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
56 <itemizedlist spacing='compact'>
[34abe1c]57 <listitem>
58 <para>Required patch: <ulink
59 url="&patch-root;/lesstif-&lesstif-version;-testsuite_fix-1.patch"/></para>
60 </listitem>
[31eff503]61 </itemizedlist>
62
63 <bridgehead renderas="sect3">LessTif Dependencies</bridgehead>
64
65 <bridgehead renderas="sect4">Required</bridgehead>
[f862e8ef]66 <para role="required"><xref linkend="xorg7-lib"/></para>
[31eff503]67
68 <bridgehead renderas="sect4">Optional</bridgehead>
[76a39aa]69 <para role="optional"><xref linkend="lynx"/> or <xref linkend="Links"/>
70 (used to generate the <filename>INSTALL</filename> documentation file) and
[31eff503]71 <ulink url="http://dmalloc.com">Dmalloc</ulink></para>
72
[c5c2654]73 <para condition="html" role="usernotes">User Notes:
74 <ulink url="&blfs-wiki;/lesstif"/></para>
75
[31eff503]76 </sect2>
77
78 <sect2 role="installation">
79 <title>Installation of LessTif</title>
80
[22cfe82]81 <para>First, rename a man page file that conflicts with
82 <application>perl</application>:</para>
83
84 <screen><userinput>pushd doc/lessdox/widgets &amp;&amp;
85sed -i -e 's/\tShell.3/\tshell.3/' Makefile.in &amp;&amp;
86mv Shell.3 shell.3 &amp;&amp;
87popd</userinput></screen>
88
[31eff503]89 <para>Install <application>LessTif</application> by running the following
90 commands:</para>
91
[70d93337]92<screen><userinput>patch -Np1 -i ../lesstif-&lesstif-version;-testsuite_fix-1.patch &amp;&amp;
[34abe1c]93./configure --prefix=/usr \
[f67fa9df]94 --sysconfdir=/etc/X11 \
[34abe1c]95 --disable-debug \
96 --enable-production \
[9baa713]97 --with-xdnd \
98 --x-includes=$XORG_PREFIX/include \
99 --x-libraries=$XORG_PREFIX/lib &amp;&amp;
[f67fa9df]100sed -i "s@libdir)/X11/mwm@sysconfdir)/mwm@" clients/Motif-2.1/mwm/Makefile &amp;&amp;
[31eff503]101make rootdir=/usr/share/doc/lesstif-&lesstif-version;</userinput></screen>
[78768d2]102
[34abe1c]103 <para>This package requires that it is installed before the test suite is
[3a73354f]104 run. The commands to run the tests are located a bit later in the
105 instructions.</para>
106
[31eff503]107 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[78768d2]108
[34abe1c]109<screen role="root"><userinput>make rootdir=/usr/share/doc/lesstif-&lesstif-version; install &amp;&amp;
[3a73354f]110ldconfig</userinput></screen>
111
[f67fa9df]112 <para>Applicatons that utilize Xorg libraries often, and incorrectly,
[410e228b]113 expect to find configuration files in
[f67fa9df]114 <filename class="directory">$XORG_PREFIX/lib/X11</filename>. While still
115 the <systemitem class="username">root</systemitem> user, create a
116 compatibility symlink with the following command:</para>
[3a73354f]117
[f67fa9df]118<screen role="root"><userinput>ln -v -sf /etc/X11/mwm $XORG_PREFIX/lib/X11</userinput></screen>
[feeb99a]119
[31eff503]120 </sect2>
[feeb99a]121
[31eff503]122 <sect2 role="commands">
123 <title>Command Explanations</title>
[feeb99a]124
[31eff503]125 <para><parameter>--disable-debug</parameter>: Do not generate debugging
126 information.</para>
[feeb99a]127
[31eff503]128 <para><parameter>--enable-production</parameter>: Build the release version
129 of the <application>LessTif</application> libraries.</para>
[feeb99a]130
[31eff503]131 <para><parameter>--with-xdnd</parameter>: Enable XDND GNOME compatibility
132 support.</para>
[feeb99a]133
[31eff503]134 <para><parameter>rootdir=/usr/share/doc/lesstif-&lesstif-version;</parameter>:
135 This installs the documentation into an appropriate directory instead of the
136 non-FHS compliant <filename class="directory">/usr/LessTif</filename>
137 directory.</para>
[feeb99a]138
[9baa713]139 <para><parameter>--x-includes</parameter> and
140 <parameter>--x-libraries</parameter>: tells the build system where to find
141 the Xorg headers and libraries.</para>
142
[410e228b]143 <para><command>sed -i "s@libdir)/X11/mwm@sysconfdir)/mwm@"
[f67fa9df]144 clients/Motif-2.1/mwm/Makefile</command>: This corrects the installation
145 prefix for the mwm directory for FHS compliance.</para>
[feeb99a]146
[31eff503]147 </sect2>
[feeb99a]148
[4f2f35c]149 <sect2 role="testing">
[31eff503]150 <title>Testing LessTif</title>
[e290b228]151
[31eff503]152 <para>It is advisable to test the installation of
153 <application>LessTif</application> using the included test suite. It is
154 not required to install any of the resulting binaries to validate the
155 installation. Issue the following commands to build the test suite:</para>
[feeb99a]156
[31eff503]157<screen><userinput>cd test &amp;&amp;
[feeb99a]158./configure &amp;&amp;
[31eff503]159make</userinput></screen>
160
161 <para>To run the tests, issue the following commands:</para>
162
163<screen><userinput>cd Xm &amp;&amp;
164./testall *</userinput></screen>
165
[34abe1c]166 <para>You may need to manually close four of the test windows. The first
[31eff503]167 one is from <command>test28</command> in the
168 <filename class='directory'>list</filename> directory. The second one is
169 from <command>test10</command> in the
170 <filename class='directory'>menushell</filename> directory. You should
171 click on the button in the window and choose <quote>exit</quote> (do it
[34abe1c]172 twice) to finish the test. The third test is from <command>test20</command>
173 in the <filename class='directory'>PushButton</filename> and the last one
174 is from <command>test24</command> in the
175 <filename class='directory'>scrolledwindow</filename> directory.</para>
[31eff503]176
[70d93337]177 <!-- Last test run: 86 failed out of 605. -->
178
[34abe1c]179 <para>As many as 101 tests are known to fail. The patch applied at the
[31eff503]180 beginning of the installation created a file used to compare known failures
181 to the failures from the test run. This file was created from an
182 installation using the current LFS book and should be a fairly accurate
183 representation of the failures you'll encounter. You could see some minor
184 variances, however.</para>
185
186 </sect2>
187
188 <sect2 role="configuration">
189 <title>Configuring LessTif</title>
190
191 <sect3 id="lesstif-config">
192 <title>Config Files</title>
193
194 <para><filename>/etc/X11/mwm/system.mwmrc</filename> and
195 <filename>~/.mwmrc</filename></para>
196
197 <indexterm zone="lesstif lesstif-config">
198 <primary sortas="e-AA.mwmrc">~/.mwmrc</primary>
199 </indexterm>
200
201 <indexterm zone="lesstif lesstif-config">
202 <primary
203 sortas="e-etc-X11-mwm-system.mwmrc">/etc/X11/mwm/system.mwmrc</primary>
204 </indexterm>
205
206 </sect3>
207
208 <sect3>
209 <title>Configuration Information</title>
210
211 <para>The config files are used to customize the behavior of the
212 <command>mwm</command> window manager. Information about customizing
213 these files can be found in the <filename>mwmrc(5)</filename> man
214 page.</para>
215
216 </sect3>
217
218 </sect2>
219
220 <sect2 role="content">
221 <title>Contents</title>
222
223 <segmentedlist>
224 <segtitle>Installed Programs</segtitle>
225 <segtitle>Installed Libraries</segtitle>
226 <segtitle>Installed Directories</segtitle>
227
228 <seglistitem>
229 <seg>motif-config, mwm, mxmkmf, uil, and xmbind</seg>
230 <seg>libDtPrints.so, libMrm.so, libUil.so, and libXm.so</seg>
231 <seg>/etc/X11/mwm, /usr/include/Xm, /usr/include/Mrm,
232 /usr/include/uil, /usr/include/Dt, /usr/lib/LessTif, and
233 /usr/share/doc/lesstif-&lesstif-version;</seg>
234 </seglistitem>
235 </segmentedlist>
236
237 <variablelist>
238 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
239 <?dbfo list-presentation="list"?>
240 <?dbhtml list-presentation="table"?>
241
242 <varlistentry id="motif-config">
243 <term><command>motif-config</command></term>
244 <listitem>
245 <para>is used to find out configuration information for packages
246 needing to link to the <application>LessTif</application>
247 libraries.</para>
248 <indexterm zone="lesstif motif-config">
249 <primary sortas="b-motif-config">motif-config</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="mwm">
255 <term><command>mwm</command></term>
256 <listitem>
257 <para>is a window manager that adheres largely to the
258 <application>Motif</application> <command>mwm</command>
259 specification.</para>
260 <indexterm zone="lesstif mwm">
261 <primary sortas="b-mwm">mwm</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="mxmkmf">
267 <term><command>mxmkmf</command></term>
268 <listitem>
269 <para>is the <application>LessTif</application> version of
270 <command>xmkmf</command> which creates a
271 <filename>Makefile</filename> from an
272 <filename>Imakefile</filename>.</para>
273 <indexterm zone="lesstif mxmkmf">
274 <primary sortas="b-mxmkmf">mxmkmf</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry id="uil">
280 <term><command>uil</command></term>
281 <listitem>
282 <para>is a user interface language compiler which translates a
283 plain text description of the user interface of a
284 <application>Motif</application> application into a
285 machine-readable form.</para>
286 <indexterm zone="lesstif uil">
287 <primary sortas="b-uil">uil</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
291
292 <varlistentry id="xmbind">
293 <term><command>xmbind</command></term>
294 <listitem>
295 <para> configures the virtual key bindings of
296 <application>LessTif</application> applications.</para>
297 <indexterm zone="lesstif xmbind">
298 <primary sortas="b-xmbind">xmbind</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="libXm">
304 <term><filename class='libraryfile'>libXm.so</filename></term>
305 <listitem>
[e294c0f]306 <para>is an <application>OSF/Motif</application> source code
[31eff503]307 compatible library for the <application>X Window
308 System</application>. You can download an excellent reference
309 guide (mainly for programmers) for the Motif-2.1 specification
310 from <ulink
311 url="http://unc.dl.sourceforge.net/lesstif/6B_book.pdf"/>.</para>
312 <indexterm zone="lesstif libXm">
313 <primary sortas="c-libXm">libXm.so</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 </variablelist>
319
320 </sect2>
[f45b1953]321
322</sect1>
Note: See TracBrowser for help on using the repository browser.