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