source: x/lib/lesstif.xml@ 70d93337

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 70d93337 was 70d93337, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Updated to LessTif-0.95.2.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7941 af4574ff-66df-0310-9fd7-8a98e5e911e0

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