Activities/GCompris

< Activities
Revision as of 14:53, 3 July 2012 by FGrose (talk | contribs) (link update)


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

Install

Attach one of Sweets Distribution repositories and install the following packages:

  • sweets-gcompris, main package that contains Sugar activity and sweets-gcompris application; weights ~150Mb;
  • sweets-gcompris-administration, GCompris Administration activity; only Sugar activity.

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 gnet2-devel

Fetch sources:

mkdir -p ~/src/gcompris
cd ~/src/gcompris
wget https://obs.sugarlabs.org/public/source/sdk/polyol/polyol-1.3.tar.gz
tar xzpvf polyol-1.3.tar.gz
wget https://obs.sugarlabs.org/public/source/gcompris/gcompris/gcompris-12.1.tar.gz
tar xzpvf gcompris-12.1.tar.gz

Build Polyol:

cd ~/src/gcompris/polyol-1.3
cmake -DCMAKE_INSTALL_PREFIX=$HOME/Activities/gcompris.activity && make && make install

Build GCompris:

cd ~/src/gcompris/gcompris-12.1
./configure PKG_CONFIG_PATH=$HOME/Activities/gcompris.activity/lib/pkgconfig --prefix=$HOME/Activities/gcompris.activity --enable-gnet --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