A short guide on how to build and install XPaint
================================================

First, *read* the comments in README.

Obviously, you need an ANSI C compiler - only gcc is supported - and you need
the following libraries to be installed, together with their associated
development packages :
  X11  libraries (libX11, libXext, libXt, libXmu, libSM, libICE, libXp)
  libXpm
  libz
  libpng
  libtiff
  libjpeg
  libopenjpeg
  libpgf (optional)

Most Unix/Linux distributions should provide this (except possibly the
optional libpgf, which is not required to build xpaint, but is of course
needed to load PGF images).

Building xpaint 
---------------

xpaint now uses autotools, so the standard technique to build/install it is
  ./configure --prefix=/usr   (otherwise /usr/local by default)
  make
  make install

Old build/install procedure (still available for some time)
---------------------------

Check that all paths etc. in 'Local.config' are correct.
Be sure to add any flags needed for your machine.

Then do	'./configure.old' and 'make'.

In case you would like to change the Athena widget set wich is
automatically selected by 'configure', choose one of the following
options:

0)      'make' or equivalently 'make xaw3dxft.a'
respectively
0')     'make xaw3dxft.so'

By default, this uses the included (improved) Xaw3d widgets which 
have support for UTF8 / freetype and anti-aliased fonts in the menus.
These are now the recommended options. Using 'make xaw3dxft.so' compiles
xpaint with the shared library libXaw3dxft.so rather than the static 
version libXaw3dxft.a. 

Other options (somewhat deprecated, as it won't allow xpaint to use
UTF8 encoded menus, and will produced old-style menus) :
Any of the following will make use of the Xaw library clones 
available on your system  as a shared library (along with its 
development files):
1)	'make xaw'              (plain old/ugly Xaw widgets)
2)	'make xaw3d'            (Xaw3d widgets)
3)	'make xaw3dg'           (Xaw3d enhanced widgets from Debian)
4)	'make xaw95'            (Xaw95 widgets)
4)	'make nextaw'           (neXtaw widgets)

Installing xpaint
-----------------

As usual, type
	'make install'

and to install the man page
	'make install.man'
