source: x/lib/lesstif.xml@ 84da85a

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

Added a comment to each file that may need a mention of a test suite added to it, this allows closing of bug #1697

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

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