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

This is mostly a rough sketch listing some steps. These have to be
tailored to local needs.

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

	zcat Xew-2.1.tar.Z | tar xvf -

	*******************************************************
	* This will unpack INTO *TWO* SEPARATE SUBDIRECTORIES *
	* (Xew and demo) in current directory.                *
	*******************************************************

	Xew	directory will contain the source of the widget
		implementation,

	demo	is the place for miscellaneous test programs
		(viewer.c, simple.c, audio.c, texted.c, etc.).

	demo/Text
		contain some sample files for the text widget.

2. Install the JPEG and TIFF libraries

	If you want JPEG or TIFF support, the widget set needs the
	JPEG and TIFF libraries installed before it can be compiled.
	Compile and install packages (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.v4.tar.Z
		/usr/local/include/jconfig.h
		/usr/local/include/jinclude.h
		/usr/local/include/jpegdata.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

	NOTE:	The Imakefile.dist has been initially setup so that
		neither TIFF nor JPEG is required (NO_TIFF and NO_JPEG
		have been defined in DEFINES). The GIF, PBM and MPEG
		support is builtin.

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 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/R4 had three 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
	----------------
	Problems compiling under SunOS 4.1.3/R4 openwin: Seems that 'xmkmf'
	and Imake.rules are not quite properly setup, need to edit Imakefile

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

4. Making test programs

	See the separate INSTALL file in 'demo' directory.

