source: x/lib/lesstif.xml@ e77976f

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 e77976f was e77976f, checked in by Randy McMurchy <randy@…>, 18 years ago

Changed all the references to X Window System links to a common entity displayed as 'X Window System' - now if there is ever an addition or removal of one of the X packages, an update in only one place will be required

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