You need to type
git clone git://github.com/simos/keyboardlayouteditor.git
and you get a copy of the repository locally. Then, you continue.
I used Antlr 3.x for the project, so if you try with Antl 2.x, your
mileage may vary.
It's should be straightforward how to get Antlr 3.x for your system;
1. You need to download the Antlr 3.x jar file, so that you can use to
compile (once only!) the grammar files.
2. You need to install the corresponding Python Antlr 3.x package so
that the generated grammar files can be used by the
keyboardlayouteditor.
I copy the instructions from the README file (git repository),
--------------
To run the application, you need the python binding packages for
* Cairo
* Pango
* GObject
* lxml
and the Antlr 3.1 Runtime environment for Python. You grab that at
http://antlr.org/download/Python/
Choose the appropriate *.egg file for the 3.1 version, then type
sudo easy_install antlr_python_runtime-3.1-py2.5.egg
You need to process the ANTLR grammars in order to generate the
necessary Python code.
All *.g files should be processed with ANTLR.
Assuming you installed Antlr 3.1 in your CLASSPATH, you compile a
grammar (*.g) with
java org.antlr.Tool *.g
Here is a practical example with Antlr 3.1.2.
wget http://antlr.org/download/Python/antlr_python_runtime-3.1.2-py2.5.egg
sudo easy_install antlr_python_runtime-3.1.2-py2.5.egg
wget http://antlr.org/download/antlr-3.1.2.jar
export CLASSPATH=$CLASSPATH:antlr-3.1.2.jar
java org.antlr.Tool *.g
You finally run this program with
./KeyboardLayoutEditor
------------------------
If at any stage it is not clear what commands you need to run, please tell me.
I have access to a fresh 8.04 so if there is need, I can give you
full instructions on how to run the commands.
Simos