Below is the picture of the whole tree built from the source archives for Thot and Amaya. Since Amaya is an application built on top of the Thot library, one need first to extract the Thot source tree, and then graft the Amaya sources in the Thot tree.
We assume that all the archives needed have been fetched from W3C and INRIA
servers, namely and stored in /tmp
:
thot-src-xxx.tar.gz
(where xxx is the Thot
version number).
thot-libs-Target-xxx.tar.gz
.
amaya-src-yyy.tar.gz
(where yyy is the Amaya
version number).
amaya-libs-Target-yyy.tar.gz
.
Current versions numbers are 2.0 for Thot and 0.95 for Amaya. The platform list enumerate the Targets for wich precompiled libraries are also distributed. Otherwise extract only the two main sources archives and see the document on porting to a new platform.
The tree is created by invoking the following commands in the directory of
choice (it will create the Thot
sub-directory) :
gunzip -c thot-src-xxx.tar.gz | tar xvf -
gunzip -c thot-libs-Target-xxx.tar.gz | tar xvf
-
cd Thot
gunzip -c /tmp/amaya-src-yyy.tar.gz | tar xvf -
gunzip -c /tmp/amaya-libs-Target-yyy.tar.gz | tar xvf
-
Be sure to have plenty of room available, compiling a debug version of Amaya can use up to 150 Mbyte of disk space.
The tree is made of (from top to bottom):
amaya
directory contains the amaya
application code.
thotlib
directory contains the Thot library sources. The
headers defining the interfaces exported by the library are in the
include
sub-directory.
makes
subdirectory, it contains most of the Makefiles and
dependancies needed to rebuild amaya and the Thot compilers
from the sources.
batch
directory contains the sources for the schema
compilers.
font
directory contains a few X-Windows specific fonts needed
by amaya.
dicopar
directory hold the dictionnaries and hyphenation
rules.
config
contains all the dialogs messages files both for
english and french, as well as a few configuration files like the Thot registry (stored in file thot.ini).
doc
contains the programming documentation for Thot library
and languages.
libjpeg
and libpng
contains the sources of two
graphic libraries needed by Thot toolkit.
w3c-libwww-5.0a
is a slightly patched version of the latest
version of the WWW Library.
LINUX-ELF
, solaris2
, etc.. are the
Target specific files. Here is a list of all current Targets.
Each Target specific archive amaya-libs-Target-xxx.tar.gz
contains a customized Makefile, precompiled versions of the graphic and WWW
libraries, as well as the config.h file describing the specific issues on the
programming interface of the given Target. These files are stored in a
specific subdirectory Thot/
Target. This
directory is also the base for the build tree related to each
Target. See next step Compiling
Amaya for more information on how to populate this subtree.