Introduction
This a short guide that explain how build the Ardesia tool from the repository source code.
Get the source
Get the source code with the subversion tool. If you have not installed yet subversion, make this action with the package manager of the your operating system
In ubuntu simply run:
| $ sudo apt-get install subversion | |:----------------------------------|
Then get the code with the command:
| $ svn checkout http://ardesia.googlecode.com/svn/trunk/ ardesia-read-only | |:--------------------------------------------------------------------------|
Install the dependencies
Install the following packages required for the compilation with the package manager of your operating system:
- gcc
- make
- automake
- autoconf
- intltool
- libtool
- libgtk-3-0
- libgtk-3-dev
- libatk1.0-0
- libatk1.0-dev
- libx11-6
- libx11-dev
- libpng12-0
- libpng12-dev
- libglib2.0-0
- libglib2.0-dev
- libgconf2-4
- libgconf2-dev
- libfontconfig1
- libfontconfig1-dev
- libfreetype6
- libfreetype6-dev
- libgsl0ldbl
- libgsl0-dev
- libc6
- libc6-dev
- libxml2-dev
- xdg-utils
- librsvg2-dev
If you are using ubuntu you can simply run this command:
| sudo apt-get install gcc make automake autoconf intltool libtool libxml2-dev libgsf-1-dev libgtk-3-dev libatk1.0-dev libx11-dev libpng12-dev libglib2.0-dev libgconf2-dev libfontconfig1-dev libfreetype6-dev libgsl0-dev libc6-dev xdg-utils librsvg2-dev | |:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
It is possible that this command works properly even for the others debian based distributions
Build
Enter in the source code folder
| $ cd ardesia-readonly/ardesia | |:------------------------------|
Now you can start to build the tool in the standard way:
| $./autogen.sh | |:--------------|
| $ make | |:-------|
Install
And then install Ardesia with the command:
| $ sudo make install | |:--------------------|
Run
Now you can start Ardesia in the Applications/Graphics menu
Rebuild
You can update the code with the new changes with the command
| $svn update | |:------------|
After this redo the Build step
Enjoy
The collaboration is the best practice