Author: manuel Date: 2005-05-20 11:17:42 -0600 (Fri, 20 May 2005) New Revision: 4379
Modified: trunk/BOOK/x/lib/lesstif.xml Log: Tagged lesstif.xml Modified: trunk/BOOK/x/lib/lesstif.xml =================================================================== --- trunk/BOOK/x/lib/lesstif.xml 2005-05-20 04:15:15 UTC (rev 4378) +++ trunk/BOOK/x/lib/lesstif.xml 2005-05-20 17:17:42 UTC (rev 4379) @@ -13,82 +13,93 @@ ]> <sect1 id="lesstif" xreflabel="LessTif-&lesstif-version;"> -<sect1info> -<othername>$LastChangedBy$</othername> -<date>$Date$</date> -</sect1info> -<?dbhtml filename="lesstif.html" ?> -<title><application>LessTif</application>-&lesstif-version;</title> -<indexterm zone="lesstif"> -<primary sortas="a-LessTif">LessTif</primary></indexterm> + <?dbhtml filename="lesstif.html" ?> -<sect2> -<title>Introduction to <application>LessTif</application></title> + <sect1info> + <othername>$LastChangedBy$</othername> + <date>$Date$</date> + </sect1info> -<para>The <application>LessTif</application> package contains an Open -Source version of <application>OSF/Motif®</application>.</para> + <title>LessTif-&lesstif-version;</title> -<sect3><title>Package information</title> -<itemizedlist spacing='compact'> -<listitem><para>Download (HTTP): -<ulink url="&lesstif-download-http;"/></para></listitem> -<listitem><para>Download (FTP): -<ulink url="&lesstif-download-ftp;"/></para></listitem> -<listitem><para>Download MD5 sum: &lesstif-md5sum;</para></listitem> -<listitem><para>Download size: &lesstif-size;</para></listitem> -<listitem><para>Estimated disk space required: -&lesstif-buildsize;</para></listitem> -<listitem><para>Estimated build time: -&lesstif-time;</para></listitem></itemizedlist> -</sect3> + <indexterm zone="lesstif"> + <primary sortas="a-LessTif">LessTif</primary> + </indexterm> -<sect3><title>Additional downloads</title> -<itemizedlist spacing='compact'> -<listitem><para>Required patch: <ulink -url="&patch-root;/lesstif-&lesstif-version;-testsuite_fix-1.patch"/></para></listitem> -</itemizedlist> -</sect3> + <sect2 role="package"> + <title>Introduction to LessTif</title> -<sect3><title><application>LessTif</application> dependencies</title> -<sect4><title>Required</title> -<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para> -</sect4> + <para>The <application>LessTif</application> package contains an Open + Source version of <application>OSF/Motif®</application>.</para> -<sect4><title>Optional</title> -<para><xref linkend="lynx"/> or <xref linkend="Links"/> (used to generate the -<filename>INSTALL</filename> documentation file) and -<ulink url="http://dmalloc.com">Dmalloc</ulink></para> -</sect4> -</sect3> + <bridgehead renderas="sect3">Package Information</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para>Download (HTTP): <ulink url="&lesstif-download-http;"/></para> + </listitem> + <listitem> + <para>Download (FTP): <ulink url="&lesstif-download-ftp;"/></para> + </listitem> + <listitem> + <para>Download MD5 sum: &lesstif-md5sum;</para> + </listitem> + <listitem> + <para>Download size: &lesstif-size;</para> + </listitem> + <listitem> + <para>Estimated disk space required: &lesstif-buildsize;</para> + </listitem> + <listitem> + <para>Estimated build time: &lesstif-time;</para> + </listitem> + </itemizedlist> -</sect2> + <bridgehead renderas="sect3">Additional Downloads</bridgehead> + <itemizedlist spacing='compact'> + <listitem> + <para>Required patch: <ulink + url="&patch-root;/lesstif-&lesstif-version;-testsuite_fix-1.patch"/></para> + </listitem> + </itemizedlist> -<sect2> -<title>Installation of <application>LessTif</application></title> + <bridgehead renderas="sect3">LessTif Dependencies</bridgehead> -<para>Install <application>LessTif</application> by running the following -commands:</para> + <bridgehead renderas="sect4">Required</bridgehead> + <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para> -<screen><userinput><command>patch -Np1 -i ../lesstif-&lesstif-version;-testsuite_fix-1.patch && + <bridgehead renderas="sect4">Optional</bridgehead> + <para><xref linkend="lynx"/> or <xref linkend="Links"/> (used to generate + the <filename>INSTALL</filename> documentation file) and + <ulink url="http://dmalloc.com">Dmalloc</ulink></para> + + </sect2> + + <sect2 role="installation"> + <title>Installation of LessTif</title> + + <para>Install <application>LessTif</application> by running the following + commands:</para> + +<screen><userinput>patch -Np1 -i ../lesstif-&lesstif-version;-testsuite_fix-1.patch && ./configure --prefix=/usr --disable-debug \ --enable-production --with-xdnd && -make rootdir=/usr/share/doc/lesstif-&lesstif-version;</command></userinput></screen> +make rootdir=/usr/share/doc/lesstif-&lesstif-version;</userinput></screen> -<para>Now, as the root user:</para> + <para>Now, as the <systemitem class="username">root</systemitem> user:</para> -<screen><userinput role='root'><command>make rootdir=/usr/share/doc/lesstif-&lesstif-version; install && +<screen role="root"><userinput>make rootdir=/usr/share/doc/lesstif-&lesstif-version; install && mv -v /usr/X11R6/lib/X11/mwm /etc/X11 && ln -v -s ../../../../etc/X11/mwm /usr/X11R6/lib/X11 && -ldconfig</command></userinput></screen> +ldconfig</userinput></screen> -</sect2> + </sect2> -<sect2> -<title>Command explanations</title> + <sect2 role="commands"> + <title>Command Explanations</title> <!-- Disabled these parameters as they are the default -<para><parameter>-enable-build-21</parameter>: Build the -<application>Motif</application> 2.1 compatible version of the +<para><parameter>-enable-build-21</parameter>: Build the +<application>Motif</application> 2.1 compatible version of the <application>LessTif</application> libraries.</para> <para><parameter>-disable-build-tests</parameter>: Do not build the @@ -96,169 +107,200 @@ <application>LessTif</application>).</para> --> -<para><parameter>--disable-debug</parameter>: Do not generate debugging -information.</para> + <para><parameter>--disable-debug</parameter>: Do not generate debugging + information.</para> -<para><parameter>--enable-production</parameter>: Build the release version -of the <application>LessTif</application> libraries.</para> + <para><parameter>--enable-production</parameter>: Build the release version + of the <application>LessTif</application> libraries.</para> -<para><parameter>--with-xdnd</parameter>: Enable <acronym>XDND</acronym> -<acronym>GNOME</acronym> compatibility support.</para> + <para><parameter>--with-xdnd</parameter>: Enable XDND GNOME compatibility + support.</para> -<para><parameter>rootdir=/usr/share/doc/lesstif-&lesstif-version;</parameter>: -This installs the documentation into an appropriate directory instead of the -non-FHS compliant <filename class="directory">/usr/LessTif</filename> -directory.</para> + <para><parameter>rootdir=/usr/share/doc/lesstif-&lesstif-version;</parameter>: + This installs the documentation into an appropriate directory instead of the + non-FHS compliant <filename class="directory">/usr/LessTif</filename> + directory.</para> -<para><command>mv -v /usr/X11R6/lib/X11/mwm /etc/X11</command>: The -<filename class="directory">mwm</filename> configuration directory is moved -to its proper <acronym>FHS</acronym> location in -<filename class="directory">/etc/X11</filename>.</para> + <para><command>mv -v /usr/X11R6/lib/X11/mwm /etc/X11</command>: The + <filename class="directory">mwm</filename> configuration directory is moved + to its proper FHS location in + <filename class="directory">/etc/X11</filename>.</para> -<para><command>ln -v -s ../../../../etc/X11/mwm /usr/X11R6/lib/X11</command>: -A symlink required by some legacy applications is created pointing to the -<filename class="directory">mwm</filename> configuration directory moved in -the previous command.</para> + <para><command>ln -v -s ../../../../etc/X11/mwm /usr/X11R6/lib/X11</command>: + A symlink required by some legacy applications is created pointing to the + <filename class="directory">mwm</filename> configuration directory moved in + the previous command.</para> -</sect2> + </sect2> -<sect2> -<title>Testing <application>LessTif</application></title> + <sect2 role="installation"> + <title>Testing LessTif</title> -<para>It is advisable to test the installation of -<application>LessTif</application> using the included test suite. It is -not required to install any of the resulting binaries to validate the -installation. Issue the following commands to build the test suite:</para> + <para>It is advisable to test the installation of + <application>LessTif</application> using the included test suite. It is + not required to install any of the resulting binaries to validate the + installation. Issue the following commands to build the test suite:</para> -<screen><userinput><command>cd test && +<screen><userinput>cd test && ./configure && -make</command></userinput></screen> +make</userinput></screen> -<para>To run the tests, issue the following commands:</para> + <para>To run the tests, issue the following commands:</para> -<screen><userinput><command>cd Xm && -./testall *</command></userinput></screen> +<screen><userinput>cd Xm && +./testall *</userinput></screen> -<para>You'll need to manually close three of the test windows. The first one -is from <command>test28</command> in the -<filename class='directory'>list</filename> directory. The second one is from -<command>test10</command> in the -<filename class='directory'>menushell</filename> directory. You should click -on the button in the window and choose <quote>exit</quote> (do it twice) to -finish the test. The third test is from <command>test24</command> in the -<filename class='directory'>scrolledwindow</filename> directory.</para> + <para>You'll need to manually close three of the test windows. The first + one is from <command>test28</command> in the + <filename class='directory'>list</filename> directory. The second one is + from <command>test10</command> in the + <filename class='directory'>menushell</filename> directory. You should + click on the button in the window and choose <quote>exit</quote> (do it + twice) to finish the test. The third test is from <command>test24</command> + in the <filename class='directory'>scrolledwindow</filename> + directory.</para> -<para>As many as 100 tests are known to fail. The patch applied at the -beginning of the installation created a file used to compare known failures -to the failures from the test run. This file was created from an installation -using the current <acronym>LFS</acronym> book and should be a fairly accurate -representation of the failures you'll encounter. You could see some minor -variances, however.</para> + <para>As many as 100 tests are known to fail. The patch applied at the + beginning of the installation created a file used to compare known failures + to the failures from the test run. This file was created from an + installation using the current LFS book and should be a fairly accurate + representation of the failures you'll encounter. You could see some minor + variances, however.</para> -</sect2> + </sect2> -<sect2> -<title>Configuring <application>LessTif</application></title> + <sect2 role="configuration"> + <title>Configuring LessTif</title> -<sect3 id="lesstif-config"><title>Config files</title> -<para><filename>/etc/X11/mwm/system.mwmrc</filename> and -<filename>~/.mwmrc</filename></para> -<indexterm zone="lesstif lesstif-config"> -<primary sortas="e-AA.mwmrc">~/.mwmrc</primary></indexterm> -<indexterm zone="lesstif lesstif-config"> -<primary sortas="e-etc-X11-mwm-system.mwmrc">/etc/X11/mwm/system.mwmrc</primary> -</indexterm> -</sect3> + <sect3 id="lesstif-config"> + <title>Config Files</title> -<sect3><title>Configuration information</title> -<para>The config files are used to customize the behavior of the -<command>mwm</command> window manager. Information about customizing these -files can be found in the <filename>mwmrc(5)</filename> man page.</para> -</sect3> + <para><filename>/etc/X11/mwm/system.mwmrc</filename> and + <filename>~/.mwmrc</filename></para> -</sect2> + <indexterm zone="lesstif lesstif-config"> + <primary sortas="e-AA.mwmrc">~/.mwmrc</primary> + </indexterm> -<sect2> -<title>Contents</title> + <indexterm zone="lesstif lesstif-config"> + <primary + sortas="e-etc-X11-mwm-system.mwmrc">/etc/X11/mwm/system.mwmrc</primary> + </indexterm> -<segmentedlist> -<segtitle>Installed Programs</segtitle> -<segtitle>Installed Libraries</segtitle> -<segtitle>Installed Directories</segtitle> + </sect3> -<seglistitem> -<seg>motif-config, mwm, mxmkmf, uil and xmbind</seg> -<seg>libDtPrints.so, libMrm.so, libUil.so and libXm.so</seg> -<seg>/etc/X11/mwm, /usr/include/Xm, /usr/include/Mrm, /usr/include/uil, -/usr/include/Dt, /usr/lib/LessTif and -/usr/share/doc/lesstif-&lesstif-version;</seg> -</seglistitem> -</segmentedlist> + <sect3> + <title>Configuration Information</title> -<variablelist> -<bridgehead renderas="sect3">Short Descriptions</bridgehead> -<?dbfo list-presentation="list"?> + <para>The config files are used to customize the behavior of the + <command>mwm</command> window manager. Information about customizing + these files can be found in the <filename>mwmrc(5)</filename> man + page.</para> -<varlistentry id="motif-config"> -<term><command>motif-config</command></term> -<listitem><para>is used to find out configuration information for packages -needing to link to the <application>LessTif</application> libraries.</para> -<indexterm zone="lesstif motif-config"> -<primary sortas="b-motif-config">motif-config</primary> -</indexterm></listitem> -</varlistentry> + </sect3> -<varlistentry id="mwm"> -<term><command>mwm</command></term> -<listitem><para>is a window manager that adheres largely to the -<application>Motif</application> <command>mwm</command> specification.</para> -<indexterm zone="lesstif mwm"> -<primary sortas="b-mwm">mwm</primary> -</indexterm></listitem> -</varlistentry> + </sect2> -<varlistentry id="mxmkmf"> -<term><command>mxmkmf</command></term> -<listitem><para>is the <application>LessTif</application> version of -<command>xmkmf</command> which creates a -<filename>Makefile</filename> from an <filename>Imakefile</filename>.</para> -<indexterm zone="lesstif mxmkmf"> -<primary sortas="b-mxmkmf">mxmkmf</primary> -</indexterm></listitem> -</varlistentry> + <sect2 role="content"> + <title>Contents</title> -<varlistentry id="uil"> -<term><command>uil</command></term> -<listitem><para>is a user interface language compiler which translates a plain -text description of the user interface of a <application>Motif</application> -application into a machine-readable form.</para> -<indexterm zone="lesstif uil"> -<primary sortas="b-uil">uil</primary> -</indexterm></listitem> -</varlistentry> + <segmentedlist> + <segtitle>Installed Programs</segtitle> + <segtitle>Installed Libraries</segtitle> + <segtitle>Installed Directories</segtitle> -<varlistentry id="xmbind"> -<term><command>xmbind</command></term> -<listitem><para> configures the virtual key bindings of -<application>LessTif</application> applications.</para> -<indexterm zone="lesstif xmbind"> -<primary sortas="b-xmbind">xmbind</primary> -</indexterm></listitem> -</varlistentry> + <seglistitem> + <seg>motif-config, mwm, mxmkmf, uil, and xmbind</seg> + <seg>libDtPrints.so, libMrm.so, libUil.so, and libXm.so</seg> + <seg>/etc/X11/mwm, /usr/include/Xm, /usr/include/Mrm, + /usr/include/uil, /usr/include/Dt, /usr/lib/LessTif, and + /usr/share/doc/lesstif-&lesstif-version;</seg> + </seglistitem> + </segmentedlist> -<varlistentry id="libXm"> -<term><filename class='libraryfile'>libXm.so</filename></term> -<listitem><para>is an <application><acronym>OSF</acronym>/Motif®</application> -source code compatible library for the -<application>X</application> Window System. You can download an excellent -reference guide (mainly for programmers) for the Motif-2.1 specification -from <ulink url="http://unc.dl.sourceforge.net/lesstif/6B_book.pdf"/>.</para> -<indexterm zone="lesstif libXm"> -<primary sortas="c-libXm">libXm.so</primary> -</indexterm></listitem> -</varlistentry> -</variablelist> + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> -</sect2> + <varlistentry id="motif-config"> + <term><command>motif-config</command></term> + <listitem> + <para>is used to find out configuration information for packages + needing to link to the <application>LessTif</application> + libraries.</para> + <indexterm zone="lesstif motif-config"> + <primary sortas="b-motif-config">motif-config</primary> + </indexterm> + </listitem> + </varlistentry> + <varlistentry id="mwm"> + <term><command>mwm</command></term> + <listitem> + <para>is a window manager that adheres largely to the + <application>Motif</application> <command>mwm</command> + specification.</para> + <indexterm zone="lesstif mwm"> + <primary sortas="b-mwm">mwm</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="mxmkmf"> + <term><command>mxmkmf</command></term> + <listitem> + <para>is the <application>LessTif</application> version of + <command>xmkmf</command> which creates a + <filename>Makefile</filename> from an + <filename>Imakefile</filename>.</para> + <indexterm zone="lesstif mxmkmf"> + <primary sortas="b-mxmkmf">mxmkmf</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="uil"> + <term><command>uil</command></term> + <listitem> + <para>is a user interface language compiler which translates a + plain text description of the user interface of a + <application>Motif</application> application into a + machine-readable form.</para> + <indexterm zone="lesstif uil"> + <primary sortas="b-uil">uil</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="xmbind"> + <term><command>xmbind</command></term> + <listitem> + <para> configures the virtual key bindings of + <application>LessTif</application> applications.</para> + <indexterm zone="lesstif xmbind"> + <primary sortas="b-xmbind">xmbind</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="libXm"> + <term><filename class='libraryfile'>libXm.so</filename></term> + <listitem> + <para>is an <application>OSF/Motif®</application> source code + compatible library for the <application>X Window + System</application>. You can download an excellent reference + guide (mainly for programmers) for the Motif-2.1 specification + from <ulink + url="http://unc.dl.sourceforge.net/lesstif/6B_book.pdf"/>.</para> + <indexterm zone="lesstif libXm"> + <primary sortas="c-libXm">libXm.so</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> + </sect1> -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
