Difference between revisions of "Beginner"

From GCompris
Jump to: navigation, search
 
(Getting started current branch 9.X)
Line 17: Line 17:
 
if you want do a 'sudo make install'
 
if you want do a 'sudo make install'
 
You should be able to test a GCompris-Activity by running the following command in the 'src' directory:
 
You should be able to test a GCompris-Activity by running the following command in the 'src' directory:
<pre>sh autogen.sh && make</pre>
+
<pre>sh runit.sh connect4-activity</pre>
  
 
=== Create a new own activity ===
 
=== Create a new own activity ===

Revision as of 21:09, 11 August 2010

Getting started current branch 9.X

Short guide to get started for newcomers to GCompris/Linux development. This is tested with ubuntu 9.10 and 10.04. It's from scratch to your first own activity.


Git download

git clone git://git.gnome.org/gcompris
cd gcompris
git checkout -b gcomprixogoo origin/gcomprixogoo
cd gcompris

build gcompris development dependencies:

sudo apt-get build-dep gcompris

make sure you have the package "gnome-common" installed.

in gcompris folder:
sh autogen.sh && make

if you want do a 'sudo make install' You should be able to test a GCompris-Activity by running the following command in the 'src' directory:

sh runit.sh connect4-activity

Create a new own activity

In the 'src' directory:

sh createit.sh basuracatcher
make
sh runit.sh basuracatcher-activity/

Then happy coding in 'src/basuracatcher-activity/basuracatcher.py'

You can continue reading here

activity idea

activity implementation