source: x/lib/lesstif.xml@ 15b3bc29

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 15b3bc29 was 15b3bc29, checked in by Randy McMurchy <randy@…>, 17 years ago

Modified all the Sourceforge download links to use the new standard Sourceforge has implemented

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

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