Difference between revisions of "Developer's corner"

From GCompris
Jump to: navigation, search
(Dependencies)
(Dependencies)
Line 35: Line 35:
 
Duplicate these lines, replacing 'deb' with 'deb-src'. Be sure that YOUR_DISTRIB_CODENAME is replaced with your actual ubuntu codename. Type cat /etc/lsb-release to see your codename if you don't know it.
 
Duplicate these lines, replacing 'deb' with 'deb-src'. Be sure that YOUR_DISTRIB_CODENAME is replaced with your actual ubuntu codename. Type cat /etc/lsb-release to see your codename if you don't know it.
  
Then,update and build dependencies.
+
Then, update and build dependencies.
 
<code><pre>
 
<code><pre>
 
sudo apt-get update
 
sudo apt-get update

Revision as of 16:28, 27 May 2012

Branches

We use git for our development. The git repository is hosted by Gnome but we also have a local web viewer.

To get the GCompris master branch (warning this takes more than 500MB) :

git clone git://git.gnome.org/gcompris
cd gcompris
sh autogen.sh && make

Alternatively, if you are only interested in the recent history, and would want to send in fixes as patches, you can use the option: git clone --depth=1 git://git.gnome.org/gcompris. It will save you more than 100MB.

Dependencies

GCompris has a lot of dependencies. On a Debian based distribution that already packages GCompris, you can install all the required dependencies with the command 'apt-get build-dep gcompris'.

If you get the message 'E: You must put some 'source' URIs in your sources.list' you will need to put some deb-src lines in the sources.list so you can install these dependencies from source. To do so:

sudo nano /etc/apt/sources.list

Enter your password

This displays the text of the sources.list file in the terminal. You should see the following (or something similar), where YOUR_DISTRIB_CODENAME has been replaced with your appropriate ubuntu version (precise for example):

# /etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu/ YOUR_DISTRIB_CODENAME main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ YOUR_DISTRIB_CODENAME-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ YOUR_DISTRIB_CODENAME-updates main restricted universe multiverse

Duplicate these lines, replacing 'deb' with 'deb-src'. Be sure that YOUR_DISTRIB_CODENAME is replaced with your actual ubuntu codename. Type cat /etc/lsb-release to see your codename if you don't know it.

Then, update and build dependencies.

sudo apt-get update
apt-get build-dep gcompris

Documentation

The Drawing board

These are pages to hold the different discussion for things we are working on:

Translations

Packagers

GCompris is a large software which has numerous dependencies. We ask packagers to be very careful and follow this minimal and manual test process.