Difference between revisions of "Activities/GCompris"

From Sugar Labs
Jump to navigation Jump to search
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
+
<noinclude>[[Category:Activities|GCompris]]
{{TOCright}}
 
[[Category:Activities|GCompris]]
 
 
</noinclude>
 
</noinclude>
  
Line 15: Line 13:
  
 
Teacher, in addition to GCompris Administration activity [http://gcompris.net/wiki/index.php?title=Manual#Administering_GCompris instructions]:
 
Teacher, in addition to GCompris Administration activity [http://gcompris.net/wiki/index.php?title=Manual#Administering_GCompris instructions]:
* launch new GCompris Administration instance
+
* Launch new GCompris Administration instance
* on tabs ''Classes/Users'' and ''Groups'', create users, groups and classes; these settings will be common for all GCompris Administration activity objects
+
* On tabs ''Classes/Users'' and ''Groups'', create users, groups and classes; these settings will be common for all GCompris Administration activity objects
* on tab ''Logins'', add groups of users that will be used for this GCompris Administration activity object
+
* On tab ''Logins'', add groups of users that will be used for this GCompris Administration activity object
* on tab ''Activities'', setup list of activities for this GCompris Administration activity object
+
* On tab ''Activities'', setup list of activities for this GCompris Administration activity object
* share activity
+
* Share activity
* on tab ''Reports'', see joined students' results
+
* On tab ''Reports'', see joined students' results
  
 
Students:
 
Students:
* join shared by teacher GCompris object
+
* Join shared by teacher GCompris object
 
* on startup, if resumed object is shared by teacher, GCompris will sync settings with teacher's object
 
* on startup, if resumed object is shared by teacher, GCompris will sync settings with teacher's object
* after completing GCompris activity, results will be sent to teacher and stored to student's object; later, this object could be opened by GCompris Administration activity to see these results
+
* After completing GCompris activity, results will be sent to teacher and stored to student's object; later, this object could be opened by GCompris Administration activity to see these results
  
 
== Build from sources ==
 
== Build from sources ==
Line 31: Line 29:
 
Install dependencies, for Fedora they are:
 
Install dependencies, for Fedora they are:
  
  sudo yum install gtk2-devel gstreamer-devel gstreamer-plugins-base-devel sqlite-devel librsvg2-devel libxml2-devel python-devel pygtk2-devel pycairo-devel gnucap gnuchess pkgconfig make gcc intltool glib2-devel GConf2-devel libgee-devel dbus-glib-devel pango-devel cmake gnet2-devel
+
  sudo yum install gtk2-devel gstreamer-devel gstreamer-plugins-base-devel sqlite-devel librsvg2-devel libxml2-devel python-devel pygtk2-devel pycairo-devel gnucap gnuchess pkgconfig make gcc intltool glib2-devel GConf2-devel libgee-devel dbus-glib-devel pango-devel cmake
 
 
Fetch sources:
 
 
 
mkdir -p ~/src/gcompris
 
cd ~/src/gcompris
 
wget http://download.sugarlabs.org/sources/external/polyol/polyol-1.2.tar.gz
 
tar xzpvf polyol-1.2.tar.gz
 
wget http://download.sugarlabs.org/sources/external/gcompris/gcompris-9.5.tar.gz
 
tar xzpvf gcompris-9.5.tar.gz
 
  
 
Build Polyol:
 
Build Polyol:
  
  cd ~/src/gcompris/polyol-1.2
+
  wget https://obs.sugarlabs.org/public/source/SweetsDistribution:0.94/polyol/polyol-1.3.tar.gz
 +
tar xpf polyol-1.3.tar.gz
 +
cd polyol-1.3
 
  cmake -DCMAKE_INSTALL_PREFIX=$HOME/Activities/gcompris.activity && make && make install
 
  cmake -DCMAKE_INSTALL_PREFIX=$HOME/Activities/gcompris.activity && make && make install
  
 
Build GCompris:
 
Build GCompris:
  
  cd ~/src/gcompris/gcompris-9.5
+
wget http://gcompris.net/download/gcompris-12.11.tar.bz2
  ./configure PKG_CONFIG_PATH=$HOME/Activities/gcompris.activity/lib/pkgconfig --prefix=$HOME/Activities/gcompris.activity --enable-gnet --enable-sugar --enable-sqlite && make && make install
+
tar xpf gcompris-12.11.tar.bz2
 +
  cd gcompris-12.11
 +
wget 'http://git.sugarlabs.org/alsroot/gcompris/commit/38918f0c78bfea26dd5b4fe809dead9a52acecc7?format=patch' -O gc.patch
 +
patch -f -p1 < gc.patch
 +
  ./configure PKG_CONFIG_PATH=$HOME/Activities/gcompris.activity/lib/pkgconfig --prefix=$HOME/Activities/gcompris.activity --enable-sugar --enable-sqlite && make && make install
  
 
Link activity directory:
 
Link activity directory:
Line 56: Line 51:
 
  cd ~/Activities/gcompris.activity
 
  cd ~/Activities/gcompris.activity
 
  ln -s share/sugar/activities/GCompris.activity/activity .
 
  ln -s share/sugar/activities/GCompris.activity/activity .
 +
 +
== Getting involved ==
 +
 +
* For non-Sugar related changes, go to [http://gcompris.net/-Contact,26- http://gcompris.net/].
 +
* [http://bugs.sugarlabs.org/newticket?component=GCompris Report] on Sugar bugs.
  
 
== Resources ==
 
== Resources ==
  
* [http://bugs.sugarlabs.org/newticket?component=GCompris File] a bug
 
 
* [http://gcompris.net/ Home page]
 
* [http://gcompris.net/ Home page]
* [http://git.sugarlabs.org/~alsroot/gcompris/sugarize/commits/gcomprixogoo-sugar Sources]
+
* [http://git.sugarlabs.org/alsroot/gcompris Sugar patch sources]
 +
* [http://activities.sugarlabs.org/en-US/sugar/addon/4313 Sugar Activity Library page]
 +
* [http://wiki.laptop.org/go/GCompris GCompris on OLPC wiki]

Latest revision as of 07:03, 23 September 2013


Overview

Gcompris with sugar support.

Detailed Description

GCompris and GComprisAdministration activities create the same journal object with application/x-gcompris mimetype. So, when user creates journal object with GComprisAdministration activity, this object will be opened in GCompis activity by default. Use "Open with" context palette option to resume object in GComprisAdministration.

Sharing support

Teacher, in addition to GCompris Administration activity instructions:

  • Launch new GCompris Administration instance
  • On tabs Classes/Users and Groups, create users, groups and classes; these settings will be common for all GCompris Administration activity objects
  • On tab Logins, add groups of users that will be used for this GCompris Administration activity object
  • On tab Activities, setup list of activities for this GCompris Administration activity object
  • Share activity
  • On tab Reports, see joined students' results

Students:

  • Join shared by teacher GCompris object
  • on startup, if resumed object is shared by teacher, GCompris will sync settings with teacher's object
  • After completing GCompris activity, results will be sent to teacher and stored to student's object; later, this object could be opened by GCompris Administration activity to see these results

Build from sources

Install dependencies, for Fedora they are:

sudo yum install gtk2-devel gstreamer-devel gstreamer-plugins-base-devel sqlite-devel librsvg2-devel libxml2-devel python-devel pygtk2-devel pycairo-devel gnucap gnuchess pkgconfig make gcc intltool glib2-devel GConf2-devel libgee-devel dbus-glib-devel pango-devel cmake

Build Polyol:

wget https://obs.sugarlabs.org/public/source/SweetsDistribution:0.94/polyol/polyol-1.3.tar.gz
tar xpf polyol-1.3.tar.gz
cd polyol-1.3
cmake -DCMAKE_INSTALL_PREFIX=$HOME/Activities/gcompris.activity && make && make install

Build GCompris:

wget http://gcompris.net/download/gcompris-12.11.tar.bz2
tar xpf gcompris-12.11.tar.bz2
cd gcompris-12.11
wget 'http://git.sugarlabs.org/alsroot/gcompris/commit/38918f0c78bfea26dd5b4fe809dead9a52acecc7?format=patch' -O gc.patch
patch -f -p1 < gc.patch
./configure PKG_CONFIG_PATH=$HOME/Activities/gcompris.activity/lib/pkgconfig --prefix=$HOME/Activities/gcompris.activity --enable-sugar --enable-sqlite && make && make install

Link activity directory:

cd ~/Activities/gcompris.activity
ln -s share/sugar/activities/GCompris.activity/activity .

Getting involved

Resources