Changeset 78768d2


Ignore:
Timestamp:
04/17/2005 09:02:50 PM (16 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 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, krejzi/svn, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
720eb4f
Parents:
1423d58
Message:

Updated to LessTif-0.94.4

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r1423d58 r78768d2  
    279279<!ENTITY atk-version                  "1.9.1">
    280280<!ENTITY gtk2-version                 "2.6.7">
    281 <!ENTITY lesstif-version              "0.94.0">
     281<!ENTITY lesstif-version              "0.94.4">
    282282<!ENTITY startup-notification-version "0.8">
    283283<!ENTITY shared-mime-info-version     "0.15">
  • introduction/welcome/changelog.xml

    r1423d58 r78768d2  
    2222
    2323<itemizedlist>
     24
     25<listitem><para>April 17th, 2005 [randy]: Updated to
     26LessTif-0.94.4.</para></listitem>
    2427
    2528<listitem><para>April 17th, 2005 [manuel]: Updated the stylesheets to use
  • introduction/welcome/credits.xml

    r1423d58 r78768d2  
    152152DocBook DSSSL Stylesheets, DocBook-utils, Ethereal, Evolution Data Server,
    153153Exim (many additions), Expect, FOP, GNOME Doc Utils, GnuCash (many additions),
    154 Heimdal, HTML Tidy, JadeTeX, Java Access Bridge, libgail-gnome, libgnomecups,
    155 MPlayer (extensive overhaul), PDL, Perl Modules, pilot-link, Samba 3 (many
    156 additions), Shadow (rewrite), SANE (original instructions by Alex Kloss),
    157 SLIB, Stunnel and Sysstat: <emphasis>Randy McMurchy</emphasis></para></listitem>
     154Heimdal, HTML Tidy, JadeTeX, Java Access Bridge, LessTif (rewrite),
     155libgail-gnome, libgnomecups, MPlayer (extensive overhaul), PDL, Perl Modules,
     156pilot-link, Samba 3 (many additions), Shadow (rewrite), SANE (original
     157instructions by Alex Kloss), SLIB, Stunnel and Sysstat:
     158<emphasis>Randy McMurchy</emphasis></para></listitem>
    158159
    159160<listitem><para>Screen: <emphasis>Andreas Pedersen</emphasis></para></listitem>
  • x/lib/lesstif.xml

    r1423d58 r78768d2  
    77  <!ENTITY lesstif-download-http "http://prdownloads.sourceforge.net/lesstif/lesstif-&lesstif-version;.tar.bz2">
    88  <!ENTITY lesstif-download-ftp  " ">
    9   <!ENTITY lesstif-md5sum        "20f38a06c863e0c51ca0c862ef039601">
     9  <!ENTITY lesstif-md5sum        "3096ca456c0bc299d895974d307c82d8">
    1010  <!ENTITY lesstif-size          "2.4 MB">
    11   <!ENTITY lesstif-buildsize     "109.9 MB (includes building test suite)">
    12   <!ENTITY lesstif-time          "2.94 SBU (includes building test suite)">
     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)">
    1313]>
    1414
     
    2020<?dbhtml filename="lesstif.html" ?>
    2121<title><application>LessTif</application>-&lesstif-version;</title>
     22<indexterm zone="lesstif">
     23<primary sortas="a-LessTif">LessTif</primary></indexterm>
    2224
    2325<sect2>
     
    2527
    2628<para>The <application>LessTif</application> package contains an Open
    27 Source version of <application>OSF/Motif(R)</application>.</para>
     29Source version of <application>OSF/Motif®</application>.</para>
    2830
    2931<sect3><title>Package information</title>
     
    4143</sect3>
    4244
     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
    4352<sect3><title><application>LessTif</application> dependencies</title>
    4453<sect4><title>Required</title>
     
    4756
    4857<sect4><title>Optional</title>
    49 <para><xref linkend="lynx"/> or <xref linkend="Links"/> and
     58<para><xref linkend="lynx"/> or <xref linkend="Links"/> (used to generate the
     59<filename>INSTALL</filename> documentation file) and
    5060<ulink url="http://dmalloc.com">Dmalloc</ulink></para>
    5161</sect4>
     
    6070commands:</para>
    6171
    62 <screen><userinput><command>find -name Makefile.in | \
    63     xargs sed -i 's@$(prefix)/LessTif@$(prefix)/share/LessTif@g' &amp;&amp;
    64 ./configure --prefix=/usr \
    65     --enable-build-21 \
    66     --disable-debug \
    67     --enable-production \
    68     --disable-build-tests \
    69     --with-xdnd &amp;&amp;
    70 make &amp;&amp;
    71 make install</command></userinput></screen>
     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>
    7283
    7384</sect2>
     
    7687<title>Command explanations</title>
    7788
    78 <para><command>sed -i 's@$(prefix)/LessTif@$(prefix)/share/LessTif@g'</command>:
    79 This moves the location of the non-FHS compliant
    80 <filename class="directory">/usr/LessTif</filename> directory to
    81 <filename class="directory">/usr/share/LessTif</filename>.</para>
    82 
    83 <para><parameter>--enable-build-21</parameter>: Build the
     89<!-- Disabled these parameters as they are the default
     90<para><parameter>-enable-build-21</parameter>: Build the
    8491<application>Motif</application> 2.1 compatible version of the
    8592<application>LessTif</application> libraries.</para>
    8693
     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
    8799<para><parameter>--disable-debug</parameter>: Do not generate debugging
    88100information.</para>
     
    91103of the <application>LessTif</application> libraries.</para>
    92104
    93 <para><parameter>--disable-build-tests</parameter>: Do not build the
    94 <filename class="directory">test/</filename> tree (see Testing
    95 <application>LessTif</application>).</para>
    96 
    97105<para><parameter>--with-xdnd</parameter>: Enable <acronym>XDND</acronym>
    98106<acronym>GNOME</acronym> compatibility support.</para>
    99107
    100 </sect2>
    101 
    102 <sect2>
    103 <title>Configuring <application>LessTif</application></title>
    104 
    105 <sect3><title>Configuration Information</title>
    106 
    107 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
    108 
    109 </sect3>
     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>
    110122
    111123</sect2>
     
    115127
    116128<para>It is advisable to test the installation of
    117 <application>LessTif</application> with the test suite located in
    118 <filename class="directory">lesstif-&lesstif-version;/test</filename>. It is
     129<application>LessTif</application> using the included test suite. It is
    119130not required to install any of the resulting binaries to validate the
    120 installation. The following commands executed from the source
    121 directory will suffice:</para>
     131installation. Issue the following commands to build the test suite:</para>
    122132
    123133<screen><userinput><command>cd test &amp;&amp;
     
    125135make</command></userinput></screen>
    126136
     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
    127179</sect2>
    128180
     
    130182<title>Contents</title>
    131183
    132 <para>The <application>LessTif</application> package contains
    133 <command>mxmkmf</command>, <command>mwm</command>,
    134 <command>xmbind</command>, <command>uil</command> and
    135 <application>LessTif</application> libraries.</para>
    136 
    137 </sect2>
    138 
    139 <sect2><title>Description</title>
    140 
    141 <sect3><title>mxmkmf</title>
    142 <para><command>mxmkmf</command> is the <application>LessTif</application>
    143 version of <command>xmkmf</command> which creates a
    144 <filename>Makefile</filename> from an <filename>Imakefile</filename></para>
    145 </sect3>
    146 
    147 <sect3><title>mwm</title>
    148 <para><command>mwm</command> is a window manager that adheres largely to the
     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
    149214<application>Motif</application> <command>mwm</command> specification.</para>
    150 </sect3>
    151 
    152 <sect3><title>xmbind</title>
    153 <para><command>xmbind</command> configures the virtual key bindings of
    154 <application>LessTif</application> applications</para>
    155 </sect3>
    156 
    157 <sect3><title>uil</title>
    158 <para><command>uil</command> is a user interface language compiler which
    159 translates a plain text description of the user interface of a
    160 <application>Motif</application> application into a machine-readable form.
    161 </para>
    162 </sect3>
    163 
    164 <sect3><title>lesstif libraries</title>
    165 <para><application>LessTif</application> libraries are an
    166 <application><acronym>OSF</acronym>/Motif(R)</application> source code
    167 compatible library for the <application>X</application> Window System.</para>
    168 </sect3>
     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>
    169261
    170262</sect2>
Note: See TracChangeset for help on using the changeset viewer.