Amaya W3C
About Amaya
Download Amaya
Mailing Lists
Documentation
Project Contributors
Amaya has been developed on cvs to always provide the lastest
version of the code.
As W3C/INRIA decided to stop new developments on Amaya, we recently created a github project so that the project can
be forked and developed outside W3C/INRIA. The github project is up-to-date
with the CVS base and with the latest release (release 11.4.4).
Here are the instructions to get the code from CVS or Github and configuring it.
On Unix platforms you MUST have the following GNU tools installed in order to continue. Check that you have the following programs with the correct version number:
Makefile.in's which are used by autoconfMakefile's which are
used by makeRedland 0.9.16 or more recent. Read below to see how to get it bootsrapped.
In order to work with Github, you need to create a github account.
To get the Amaya sources form Github, you have to 'clone' the Amaya project. On your local machine, run the following code:
% git clone https://github.com/w3c/Amaya-Editor.git
The Github Amaya repository is only available in read-only mode, if you want to work on the code, you'll have to fork the project and work on the forked repository.
To fork the project, go to the Amaya repository and click the "Fork" button.
The following requires that you are familiar with CVS - if not then look at Cyclic's pages on CVS.
Anonymous checkout is read-only access which allows you to get the latest edits and to provide patches to be integrated into the code base. The instructions should work for both Unix and Windows
.Start by login as follows:
% cvs -d :pserver:anonymous@dev.w3.org:/sources/public login
after which you type "anonymous" as password.
To get the latest version from the CVS repository, run this command at the same selected position:
% cvs -d :pserver:anonymous@dev.w3.org:/sources/public -z3 checkout Amaya
Once you have checked out the amaya tree (not a specific revision), you can get any updates committed to the tree by using the cvs update command like this
% % cd Amaya % cvs -z3 update -dP
It is important that you use the "-dP" flag so that you get new directories as well as updated files. Now you MUST repeat the compilation bootstrapping procedure.
By default it's recommanded to download these libraries from the Amaya web site: download the amaya-lib-src-V.R.tgz file. In that case you can skip to the next section.
You also can use the libww CVS repository instead of the version provided by the distribution package (amaya-lib-src). For that, run this command at the same selected position:
% cvs -d :pserver:anonymous@dev.w3.org:/sources/public -z3 checkout -rAmaya libwww
When using the libwww CVS repository there are a few steps you have to go through which are already done if using the distribution package. Follow these three steps:
On both Windows and Unix you can generate the *.h files and the *.def files by running a Perl script provided by Eric Prud'hommeaux. Never mind that it gives a few warnings when it runs - they are all OK. It requires that you have a recent version of Perl on your machine. Run the script like this (note the explicit use of the perl interpreter):
% cd libwww % perl config/winConfigure.pl
Windows people are now done and can jump directly to the instructions for how to compile Amaya. On Unix, you need two additional steps.
Now generate the make and include files as follows - don't worry about the warnings produced by autoconf (If libtoolize advises you to copy some files, do as it says):
% cd libwww % libtoolize -c -f % perl config/winConfigure.pl % aclocal; autoheader; automake; autoconf
Now you MUST run the configure script as described in the next section on Configuring and Compiling Amaya instructions. If for some reason you have trouble running the configure script then try and run this command instead
% make distclean; aclocal; autoheader; automake; autoconf
To be able to compile Amaya, you will need redland, wxWidgets, Mesa and libwww subtrees. You can get these extra subtrees by downloading and installing at the selected position the last Amaya sources tarball (amaya-lib-src-11.4.4.tgz file).
Remember to subscribe to the <www-amaya-dev@w3.org> mailing list (archives) for information of new features as well as discussions of problems and ideas.
Congratulations - you are now ready to configure and compile Amaya:
Copyright??ゥ? 1994-2012 INRIA and W3C ョ (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.