source: x/lib/lesstif.xml@ 31eff503

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 31eff503 was 31eff503, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Tagged lesstif.xml

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

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