Below is the picture of the whole tree built from the source archives for Thot library and Thot Editor. Since Thot Editor is an application built on top of the Thot library, one need first to extract the Thot source tree, and then graft the Thot Editor sources in the Thot tree.
We assume that all the archives needed have been fetched from INRIA server,
and stored in /tmp
:
thot-src-xxx.tar.gz
(where xxx is the Thot
version number).
thot-libs-Target-xxx.tar.gz
.
editor-src-yyy.tar.gz
(where yyy is the Thot
Editor version number).
Current versions numbers are 2.0 for Thot and Thot Editor. 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 /tmp/thot-src-xxx.tar.gz | tar xvf -
gunzip -c /tmp/thot-libs-Target-xxx.tar.gz | tar xvf
-
cd Thot
gunzip -c /tmp/editor-src-yyy.tar.gz | tar xvf -
Be sure to have plenty of room available, compiling a debug version of Thot Editor can use up to 150 Mbyte of disk space.
The tree is made of (from top to bottom):
batch
directory contains the sources for the schema
compilers.
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).
dicopar
directory hold the dictionnaries and hyphenation
rules.
doc
contains the programming documentation for Thot library
and languages,
the sub directory thoteditor
contains the documentation for the
Thot Editor.
drawlib
directory contains the structured graphics library.
fonts
directory contains a few X-Windows specific fonts
needed by amaya.
indexlib
directory contains the index library.
libjpeg
and libpng
contains the sources of two
graphic libraries needed by Thot toolkit.
makes
subdirectory, it contains most of the Makefiles and
dependancies needed to rebuild amaya and the Thot compilers
from the sources.
misc
directory contains a tools to update alanguage specific
dialog tables.
schemas
directory contains the structure, presentation and
translation schemas used by thot editor.
tablelib
contains the table library.
thot
directory contains the thot application
code.
thotlib
directory contains the Thot library sources. The
headers defining the interfaces exported by the library are in the
include
sub-directory.
LINUX-ELF
, solaris2
, etc.. are the
Target specific files. Here is a list of all current Targets.
Each Target specific archive thot-libs-Target-xxx.tar.gz
contains a customized Makefile, precompiled versions of the graphic 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 Thot Editor for more information
on how to populate this subtree.