source: x/lib/lesstif.xml@ 720eb4f6

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 720eb4f6 was 78768d2, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated to LessTif-0.94.4

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

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