Line 1: |
Line 1: |
− | <noinclude> | + | <noinclude>[[Category:Activities|GCompris]] |
− | {{TOCright}}
| |
− | [[Category:Activities|GCompris]] | |
| </noinclude> | | </noinclude> |
| | | |
Line 26: |
Line 24: |
| * 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 |
− |
| |
− | == Install ==
| |
− |
| |
− | Attach one of [[Community/Distributions/Sweets_Distribution|Sweets Distribution]] [http://download.sugarlabs.org/packages/SweetsDistribution:/ repositories] and install the following packages:
| |
− |
| |
− | * {{Code|sweets-gcompris}}, main package that contains Sugar activity and {{Code|sweets-gcompris}} application; weights ~150Mb;
| |
− | * {{Code|sweets-administration}}, GCompris Administration activity; only Sugar activity.
| |
| | | |
| == Build from sources == | | == Build from sources == |
Line 38: |
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 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: | | Build Polyol: |
| | | |
− | cd ~/src/gcompris/polyol-1.3 | + | 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-12.1 | + | 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: |