About this Guide
This guide is intended to explain how to install the MouseTrap code found in the git repository.
Dependencies
The MouseTrap direct dependencies are:
Package |
Version |
Description |
gtk2 |
>= 2.12 |
The GTK+ Toolkit |
pygtk |
>= 2.8.4 |
GTK+ Python bindings |
python |
>= 2.6 |
Python platform |
opencv |
>= 0.9.9 |
Open Computer Vision Library |
pyorbit |
>= 2.14.0 |
Python bindings for ORBit2 |
python-xlib |
>= 0.13 |
Python Xlib library |
python-pyspi |
>= 0.6 |
Python AT-SPI bindings |
doxygen |
>= 1.5 |
A documentation system for C++, C, Java, IDL and PHP (this package is required for building the documentation) |
NOTE: Each dependency may require other dependencies to be installed.
Getting the code
The code can be obtained by cloning the git repository:
$ git clone git://git.gnome.org/mousetrap
Installation
$ cd mousetrap/ $ ./autogen.sh $ make
And as root:
# make install
It is possible to modify the installation path using --prefix=/non/standard/path.
Configuration
There's not a first run configuration wizard nor a text console based one, yet. To configure MouseTrap it is necessary to execute MouseTrap and it will create the configuration file automatically.
$ mouseTrap
Documentation
Developers
To enable the compilation for the developers documentation it is necessary to use this 2 flags --enable-pydoc --enable-doxygen in the ./autogen.sh.
The developer's documentation is available using using pydoc or doxygen.
Final Users
To generate the final users documentation it is necessary to set this flag --enable-docbook in the ./autogen.sh command. After running make there will be some .html files in the docs/docbook/ folder, open the index.html to see the main page.
