EuroBridge Widget Set (source distribution)
-------------------------------------------
(Installation hints)

1. Choose the source directory for the Xew and demo directories

	zcat Xew-3.1.tar.gz | tar xvf -

	Xew-3.1/Xew	directory will contain the source code of the
			widget library,

	Xew-3.1/demo	is the place for miscellaneous test programs
			(viewer.c, simple.c, audio.c, texted.c, etc.).
	Xew-3.1/demo/Text
			contains some sample files for the text widget.

2. Install the JPEG, TIFF and RLE libraries (if not already present)

If you want JPEG, TIFF or RLE support, the widget set needs the JPEG,
TIFF and RLE libraries installed before it can be compiled (actually,
it needs the header files marked with '*' below and the library files
are needed only when you link the applications).

*NOTE*	The Imakefile.dist has been initially setup so that neither
	TIFF, JPEG nor RLE is required (NO_TIFF, NO_JPEG and NO_RLE
	have been defined in DEFINES). The GIF, PBM and MPEG support
	is builtin. If this is enough, goto step 3.

The following text and defaults in makefiles assume that all these
extra headers are in /usr/local/include and libraries are in
/usr/local/lib (any other locations will work, but you have to edit
Imakefiles accordingly).

Compile and install packages you want to use (the widgets should be
able to use the most recent versions, provided the interface hasn't
been changed much from the ones mentioned below).

	- from jpegsrc.v5
	  *	/usr/local/include/jpeglib.h
	  *	/usr/local/include/jerror.h
	  *	/usr/local/include/jconfig.h
	  *	/usr/local/include/jmorecfg.h
		/usr/local/lib/libjpeg.a

	- from tiff-3.2beta.tar.Z
	  *	/usr/local/include/tiff.h
	  *	/usr/local/include/tiffio.h
		/usr/local/lib/libtiff.a

	- from utah raster toolkit
	  *	/usr/local/include/rle.h
	  *	/usr/local/include/rle_code.h
	  *	/usr/local/include/rle_config.h
	  *	/usr/local/include/rle_raw.h

3. Compilation of the Xew Widget code

Examine the Xew/Imakefile and modify it to fit your local environment
or needs before doing the commands below. This Imakefile is a modified
version of the Imakefile of the Athena Widget Set (Xaw) from MIT X11R5
distribution.

	cd Xew
	cp Imakefile.dist Imakefile
			- edit your local changes to Imakefile.

	xmkmf		- will create the ./Makefile
	make includes	- will create local ./X11/Xew/ include  directory
			  (symbolic links)
	make depend	- create dependances (this can be skipped, if you
			  are just compiling a clean version and don't intend
			  to modify individual files).
	make		- to build Xew libs

If you don't want to install the libraries into system space, you can
go to ../demo directory and build the examples using uninstalled Xew
from this directory (Imakefile.dist is by default setup this way).

To install libraries for public use, do

	make install	- install object libraries
	make install.includes	- install header files

X11R4 comments
--------------
If you try to compile this under X11R4 you may have to tweak the
Imakefile more. At least Apollo sr10.2/R4 had two problems:

     1.	'make includes' tried to use 'mkdirhier.sh' instead of
	'mkdirhier'. Can do 'make install.includes' instead and
	use the installed includes or try uncommenting the MKDIRHIER
	definition in Imakefile].

     2.	'make install.includes' does not actually create the X11/Xew
	*directory*. Had to create the directory by hand. WATCH OUT
	FOR THIS! It creates a *file* X11/Xew!

Openwin comments
----------------
If you have problems compiling under SunOS 4.1.3/Solaris openwin: It
may happen that 'xmkmf' and Imake.rules are not quite properly setup,
need to edit Imakefile (try first without changing anything).

	1. OPENWINHOME environment must be defined
	2. Add -I/$(OPENWINHOME)/include into Imakefile INCLUDES
	3. 'make includes' fails. add line 'MKDIRHIER = mkdirhier'

4. Making example programs

See the separate INSTALL file in 'demo' directory.

