You can get the source from ftp://www-epb.lbl.gov/xfig, http://www.xfig.org/xfigdist, ftp://ftp.x.org/contrib/applications/drawing_tools/xfig and its mirror sites or from any CTAN machine ( ftp://ftp.tex.ac.uk/pub/archive/graphics, for example).
If you want to install xfig in a directory other than
the default X11 binary directory, add "BINDIR=<directory>" at the
top of the Imakefile, where <directory> is the full path of the
directory in which you want xfig to be installed.
Also, you may have to redefine MKDIRHIER because make looks for it relative to
the BINDIR variable.
Set it to: "MKDIRHIER = /bin/sh <path>/mkdirhier"
where <path> is the path to the mkdirhier script or program.
To enable JPEG support, uncomment `#define USEJPEG' (this is the default)
and modify the definition of USEINSTALLEDJPEG and JPEGLIBDIR
if necessary.
To use JPEG, you must have JPEG library (Version 5b or later).
If you already if the JPEG library installed in your system area then make
sure the USEINSTALLEDJPEG variable is uncommented (the default).
If you don't have jpeg installed, get the source from
ftp://ftp.uu.net/graphics/jpeg
or ftp://ftp.x.org/contrib/libraries
and comment out the USEINSTALLEDJPEG variable.
** Make sure you delete or rename any older version of the JPEG
library you might have on your system. Some Linux systems come
with an older version which is incompatible with xfig.
If you don't want JPEG support,
comment out `#define USEJPEG'.
using the XCOMM comment directive (e.g. XCOMM #define USEJPEG).
To enable XPM support, uncomment `#define USEXPM'
and modify the definition of XPMLIBDIR if necessary.
To use XPM, you must have XPM3 package (Version 3.4c or later).
If you don't want XPM support,
comment out `#define USEXPM',
using the XCOMM comment directive (e.g. XCOMM #define USEXPM).
This is the default.
If you want to use Xaw3d (Three-D Athena Widget) library,
uncomment `XAWLIB = -lXaw3d'.
When Xaw3d is used instead of Xaw,
the buttons will appear 3 dimensional.
The Xaw3d library should be compiled without -DARROW_SCROLLBAR.
Small Icons -
If you have a small screen (e.g. 800x600 or so) you may want to use the small
mode panel buttons for xfig.
If so, uncomment the `#define USESMALLICONS' line.
If you don't use make install and copy files manually, note that:
To enable JPEG support, uncomment `#define USEJPEG' (this is the default)
and modify the definition of USEINSTALLEDJPEG and JPEGLIBDIR
if necessary.
To use JPEG,
you must have JPEG library (Version 5b or later).
If you already if the JPEG library installed in your system area then make
sure the USEINSTALLEDJPEG variable is uncommented (the default).
If you don't have jpeg installed, get the source from
ftp://ftp.uu.net/graphics/jpeg
or ftp://ftp.x.org/contrib/libraries
If you don't want JPEG support,
comment out `#define USEJPEG'.
using the XCOMM comment directive (e.g. XCOMM #define USEJPEG).
To enable XPM support, uncomment `#define USEXPM'
and change XPMLIBDIR if necessary.
To use this facility,
you must have XPM3 package (Version 3.4c or later).
If you don't want XPM support, comment out `#define USEXPM'.
This is the default.
If your system DBM routines are in a separate library,
uncomment `DBMLIB = -lgdbm'.
If your system doesn't have strcasecmp()
and/or strncasecmp(), uncomment
If your system doesn't have strstr(),
uncomment `#define NOSTRSTR'.
If your system doesn't have strerror()
(but support sys_errlist),
uncomment `NEED_STRERROR = -DNEED_STRERROR'.
On Solaris 2,
you must add -lnsl to LOCAL_LIBRARIES.
On HP-UX, you may need to reduce optimization level to +O2.
See README and Imakefile for more details.
Main features: Msphinx includes two types of analysis and processing functions: - Functions to process the basic data geometry and projection planes. - Functions to manipulate and modify the graphic display and print. Communication capabilities: - Data writes from external user programs (C or Fortran) into the memory planes. - User-to-user data exchange (text or images). - User image data base visualisation. - Direct links to other packages: - Mgraph (2d and contouring plotting) - HDFLook (HDF read write files) - Xfig (Facility for Interactive Generation of figures) - mpeg_encode (mpeg format nimations) Find it at: http://loasys.univ-lille1.fr/Msphinx/Msphinx_gb.html