Difference between revisions of "LessTif"

From CBLFS
Jump to navigationJump to search
 
 
(19 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/lesstif/lesstif-0.94.4.tar.bz2
+
| http://downloads.sourceforge.net/lesstif/lesstif-{{LessTif-Version}}.tar.bz2
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|The LessTif package contains an Open Source version of OSF/Motif®.}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 19: Line 21:
 
Compile the package:
 
Compile the package:
  
 +
sed -i -e 's:-L$L/lib:-L@libdir@:' \
 +
        -e 's:-L/usr/X11R6/lib:$XL:' \
 +
        scripts/motif-config.in &&
 
  ./configure --prefix=/usr --disable-debug \
 
  ./configure --prefix=/usr --disable-debug \
 
     --enable-production --with-xdnd &&
 
     --enable-production --with-xdnd &&
  make rootdir=/usr/share/doc/lesstif-0.94.4
+
  make rootdir=/usr/share/doc/lesstif-{{LessTif-Version}}
  
 
Install the package
 
Install the package
  
  make rootdir=/usr/share/doc/lesstif-0.94.4 install
+
  make rootdir=/usr/share/doc/lesstif-{{LessTif-Version}} install
 +
 
 +
=== Command Explanations ===
 +
 
 +
--disable-debug: Do not generate debugging information.
 +
 
 +
--enable-production: Build the release version of the LessTif libraries.
 +
 
 +
--with-xdnd: Enable XDND GNOME compatibility support.
 +
 
 +
rootdir=/usr/share/doc/lesstif-{{LessTif-Version}}: This installs the documentation into an appropriate directory instead of the non-FHS compliant /usr/LessTif directory.
 +
 
 +
'''mv -v /usr/X11R6/lib/X11/mwm /etc/X11''': The mwm configuration directory is moved to its proper FHS location in /etc/X11.
 +
 
 +
'''ln -v -s ../../../../etc/X11/mwm /usr/X11R6/lib/X11''': A symlink required by some legacy applications is created pointing to the mwm configuration directory moved in the previous command.
  
 
== Multilib ==
 
== Multilib ==
Line 33: Line 52:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --disable-debug \
+
sed -i -e 's:-L$L/lib:-L@libdir@:' \
     --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib &&
+
        -e 's:-L/usr/X11R6/lib:$XL:' \
  make rootdir=/usr/share/doc/lesstif-0.94.4
+
        scripts/motif-config.in &&
 +
  CC="gcc ${BUILD32}" USE_ARCH=32 \
 +
./configure --prefix=/usr --disable-debug \
 +
     --enable-production --with-xdnd &&
 +
  make rootdir=/usr/share/doc/lesstif-{{LessTif-Version}}
  
 
Install the package
 
Install the package
  
  make rootdir=/usr/share/doc/lesstif-0.94.4 install
+
  make rootdir=/usr/share/doc/lesstif-{{LessTif-Version}} install &&
 +
mv -v /usr/bin/motif-config{,-32}
  
 
=== N32 ===
 
=== N32 ===
Line 45: Line 69:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
+
sed -i -e 's:-L$L/lib:-L@libdir@:' \
    --libdir=/usr/lib32 --disable-debug \
+
        -e 's:-L/usr/X11R6/lib:$XL:' \
     --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib32 &&
+
        scripts/motif-config.in &&
  make rootdir=/usr/share/doc/lesstif-0.94.4
+
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
 +
./configure --prefix=/usr --libdir=/usr/lib32 --disable-debug \
 +
     --enable-production --with-xdnd &&
 +
  make rootdir=/usr/share/doc/lesstif-{{LessTif-Version}} libdir=/usr/lib32
  
 
Install the package
 
Install the package
  
  make rootdir=/usr/share/doc/lesstif-0.94.4 install
+
  make rootdir=/usr/share/doc/lesstif-{{LessTif-Version}} libdir=/usr/lib32 install &&
 +
mv -v /usr/bin/motif-config{,-n32}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 58: Line 86:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr \
+
sed -i -e 's:-L$L/lib:-L@libdir@:' \
    --libdir=/usr/lib64 --disable-debug \
+
        -e 's:-L/usr/X11R6/lib:$XL:' \
     --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib64 &&
+
        scripts/motif-config.in &&
  make rootdir=/usr/share/doc/lesstif-0.94.4
+
  CC="gcc ${BUILD64}" USE_ARCH=64 \
 +
./configure --prefix=/usr --libdir=/usr/lib64 --disable-debug \
 +
     --enable-production --with-xdnd &&
 +
  make rootdir=/usr/share/doc/lesstif-{{LessTif-Version}} libdir=/usr/lib64
  
 
Install the package
 
Install the package
  
  make rootdir=/usr/share/doc/lesstif-0.94.4 install
+
  make rootdir=/usr/share/doc/lesstif-{{LessTif-Version}} libdir=/usr/lib64 install &&
 +
mv -v /usr/bin/motif-config{,-64} &&
 +
ln -sfv multiarch_wrapper /usr/bin/motif-config
 +
 
 +
= Contents =
 +
 
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| motif-config, mwm, mxmkmf, uil, and xmbind
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libDtPrints.so, libMrm.so, libUil.so, and libXm.so
 +
|-valign="top"
 +
! Installed Directories:
 +
| /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}}
 +
|}
 +
 
 +
=== Short Descriptions ===
 +
 
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! motif-config
 +
| is used to find out configuration information for packages needing to link to the LessTif libraries.
 +
|-valign="top"
 +
! mwm
 +
| is a window manager that adheres largely to the Motif mwm specification.
 +
|-valign="top"
 +
! mxmkmf
 +
| is the LessTif version of '''xmkmf''' which creates a Makefile from an Imakefile.
 +
|-valign="top"
 +
! uil
 +
| is a user interface language compiler which translates a plain text description of the user interface of a Motif application into a machine-readable form.
 +
|-valign="top"
 +
! xmbind
 +
|    configures the virtual key bindings of LessTif applications.
 +
|-valign="top"
 +
! libXm.so
 +
| is an OSF/Motif® source code compatible library for the X Window System. You can download an excellent reference guide (mainly for programmers) for the Motif-2.1 specification from  http://unc.dl.sourceforge.net/lesstif/6B_book.pdf.
 +
|}
 +
 
 +
[[Category:X Libs]]

Latest revision as of 11:41, 11 November 2009

Download Source: http://downloads.sourceforge.net/lesstif/lesstif-0.95.2.tar.bz2

Introduction to LessTif

The LessTif package contains an Open Source version of OSF/Motif®.

Project Homepage: Unknown

Dependencies

Required

Optional

Non-Multilib

Compile the package:

sed -i -e 's:-L$L/lib:-L@libdir@:' \
       -e 's:-L/usr/X11R6/lib:$XL:' \
       scripts/motif-config.in &&
./configure --prefix=/usr --disable-debug \
    --enable-production --with-xdnd &&
make rootdir=/usr/share/doc/lesstif-0.95.2

Install the package

make rootdir=/usr/share/doc/lesstif-0.95.2 install

Command Explanations

--disable-debug: Do not generate debugging information.

--enable-production: Build the release version of the LessTif libraries.

--with-xdnd: Enable XDND GNOME compatibility support.

rootdir=/usr/share/doc/lesstif-0.95.2: This installs the documentation into an appropriate directory instead of the non-FHS compliant /usr/LessTif directory.

mv -v /usr/X11R6/lib/X11/mwm /etc/X11: The mwm configuration directory is moved to its proper FHS location in /etc/X11.

ln -v -s ../../../../etc/X11/mwm /usr/X11R6/lib/X11: A symlink required by some legacy applications is created pointing to the mwm configuration directory moved in the previous command.

Multilib

32Bit

Compile the package:

sed -i -e 's:-L$L/lib:-L@libdir@:' \
       -e 's:-L/usr/X11R6/lib:$XL:' \
       scripts/motif-config.in &&
CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr --disable-debug \
    --enable-production --with-xdnd &&
make rootdir=/usr/share/doc/lesstif-0.95.2

Install the package

make rootdir=/usr/share/doc/lesstif-0.95.2 install &&
mv -v /usr/bin/motif-config{,-32}

N32

Compile the package:

sed -i -e 's:-L$L/lib:-L@libdir@:' \
       -e 's:-L/usr/X11R6/lib:$XL:' \
       scripts/motif-config.in &&
CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 --disable-debug \
    --enable-production --with-xdnd &&
make rootdir=/usr/share/doc/lesstif-0.95.2 libdir=/usr/lib32

Install the package

make rootdir=/usr/share/doc/lesstif-0.95.2 libdir=/usr/lib32 install &&
mv -v /usr/bin/motif-config{,-n32}

64Bit

Compile the package:

sed -i -e 's:-L$L/lib:-L@libdir@:' \
       -e 's:-L/usr/X11R6/lib:$XL:' \
       scripts/motif-config.in &&
CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 --disable-debug \
    --enable-production --with-xdnd &&
make rootdir=/usr/share/doc/lesstif-0.95.2 libdir=/usr/lib64

Install the package

make rootdir=/usr/share/doc/lesstif-0.95.2 libdir=/usr/lib64 install &&
mv -v /usr/bin/motif-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/motif-config

Contents

Installed Programs: motif-config, mwm, mxmkmf, uil, and xmbind
Installed Libraries: libDtPrints.so, libMrm.so, libUil.so, and libXm.so
Installed Directories: /etc/X11/mwm, /usr/include/Xm, /usr/include/Mrm, /usr/include/uil, /usr/include/Dt, /usr/lib/LessTif, and /usr/share/doc/lesstif-0.95.2

Short Descriptions

motif-config is used to find out configuration information for packages needing to link to the LessTif libraries.
mwm is a window manager that adheres largely to the Motif mwm specification.
mxmkmf is the LessTif version of xmkmf which creates a Makefile from an Imakefile.
uil is a user interface language compiler which translates a plain text description of the user interface of a Motif application into a machine-readable form.
xmbind configures the virtual key bindings of LessTif applications.
libXm.so is an OSF/Motif® source code compatible library for the X Window System. You can download an excellent reference guide (mainly for programmers) for the Motif-2.1 specification from http://unc.dl.sourceforge.net/lesstif/6B_book.pdf.