[gcompris: 6/9] Install Sugar files



commit 7b07620897a81d6933bc2591eeff9c1a3fa881eb
Author: Aleksey Lim <alsroot sugarlabs org>
Date:   Sun Mar 11 13:47:23 2012 +0000

    Install Sugar files

 .gitignore                                         |    1 +
 Makefile.am                                        |    2 +-
 configure.ac                                       |    1 +
 src/gcompris/sugar.c                               |    2 +-
 sugar/GCompris.activity/activity.info              |    9 +
 sugar/GCompris.activity/gcompris.svg               |  286 ++++++++++++++++++++
 .../GComprisAdministration.activity/activity.info  |    8 +
 .../administration.svg                             |  217 +++++++++++++++
 sugar/Makefile.am                                  |   49 ++++
 sugar/gcompris-activity                            |   36 +++
 10 files changed, 609 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2b81fd7..b36b3d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,3 +33,4 @@ m4
 missing
 mkinstalldirs
 win32-install-dir
+sugar/application-x-gcompris-*.svg
diff --git a/Makefile.am b/Makefile.am
index fb9b86a..67c4909 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,7 +10,7 @@ else
 DOCS_SUBDIR=
 endif
 
-SUBDIRS = po src boards $(DOCS_SUBDIR) autopackage
+SUBDIRS = po src boards $(DOCS_SUBDIR) autopackage sugar
 
 # if OS_MACOSX
 # SUBDIRS += macosx
diff --git a/configure.ac b/configure.ac
index e1639cb..055a112 100644
--- a/configure.ac
+++ b/configure.ac
@@ -875,6 +875,7 @@ src/wordprocessor-activity/Makefile
 src/wordprocessor-activity/resources/Makefile
 src/wordprocessor-activity/resources/wordprocessor/Makefile
 src/wordsgame-activity/Makefile
+sugar/Makefile
 ])
 
 echo ""
diff --git a/src/gcompris/sugar.c b/src/gcompris/sugar.c
index 596f3da..3224a63 100644
--- a/src/gcompris/sugar.c
+++ b/src/gcompris/sugar.c
@@ -69,7 +69,7 @@ sugar_setup(int *argc, char ***argv)
 
   g_debug("Use sugar mode");
 
-  if (strcmp("net.gcompris.administration",
+  if (strcmp("activities.gcompris.administration",
               sugar_environ_get_bundle_id()) == 0)
   {
     /* There should be only one bundle_id for GCompris objects in
diff --git a/sugar/GCompris.activity/activity.info b/sugar/GCompris.activity/activity.info
new file mode 100644
index 0000000..3d40e30
--- /dev/null
+++ b/sugar/GCompris.activity/activity.info
@@ -0,0 +1,9 @@
+[Activity]
+name      = GCompris
+summary   = Full featured educational application for children from 2 to 10
+license   = GPLv3
+icon      = gcompris
+exec      = gcompris-activity
+bundle_id = net.gcompris
+activity_version = 18
+mime_types = application/x-gcompris; application/x-gcompris-wordprocessor; application/x-gcompris-anim; application/x-gcompris-draw
diff --git a/sugar/GCompris.activity/gcompris.svg b/sugar/GCompris.activity/gcompris.svg
new file mode 100644
index 0000000..1bfd172
--- /dev/null
+++ b/sugar/GCompris.activity/gcompris.svg
@@ -0,0 +1,286 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"; [
+	<!ENTITY stroke_color "#010101">
+	<!ENTITY fill_color "#ffffff">
+]>
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="45"
+   height="45"
+   id="svg2"
+   sodipodi:version="0.32"
+   inkscape:version="0.47 r22583"
+   sodipodi:docname="gcompris.svg"
+   inkscape:output_extension="org.inkscape.output.svg.inkscape"
+   version="1.0">
+  <defs
+     id="defs4">
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 29.5 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="44 : 29.5 : 1"
+       inkscape:persp3d-origin="22 : 19.666667 : 1"
+       id="perspective34" />
+    <linearGradient
+       id="linearGradient3452">
+      <stop
+         style="stop-color:#383c3e;stop-opacity:1;"
+         offset="0"
+         id="stop3454" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0;"
+         offset="1"
+         id="stop3456" />
+    </linearGradient>
+    <inkscape:perspective
+       id="perspective2868"
+       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+       inkscape:vp_z="1 : 0.5 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="0 : 0.5 : 1"
+       sodipodi:type="inkscape:persp3d" />
+    <inkscape:perspective
+       id="perspective3622"
+       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+       inkscape:vp_z="1 : 0.5 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="0 : 0.5 : 1"
+       sodipodi:type="inkscape:persp3d" />
+    <inkscape:perspective
+       id="perspective3644"
+       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+       inkscape:vp_z="1 : 0.5 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="0 : 0.5 : 1"
+       sodipodi:type="inkscape:persp3d" />
+    <inkscape:perspective
+       id="perspective3666"
+       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+       inkscape:vp_z="1 : 0.5 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="0 : 0.5 : 1"
+       sodipodi:type="inkscape:persp3d" />
+    <inkscape:perspective
+       id="perspective2856"
+       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+       inkscape:vp_z="1 : 0.5 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="0 : 0.5 : 1"
+       sodipodi:type="inkscape:persp3d" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffff1d"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.37254902"
+     inkscape:pageshadow="2"
+     inkscape:zoom="5.5254237"
+     inkscape:cx="-0.45401312"
+     inkscape:cy="13.004378"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer2"
+     inkscape:window-width="1278"
+     inkscape:window-height="719"
+     inkscape:window-x="0"
+     inkscape:window-y="16"
+     width="44px"
+     height="59px"
+     showgrid="false"
+     inkscape:window-maximized="0" />
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title>icÃne Gcompris</dc:title>
+        <dc:date>24 maris 2007</dc:date>
+        <dc:creator>
+          <cc:Agent>
+            <dc:title>Elisa de Castro Guerra</dc:title>
+          </cc:Agent>
+        </dc:creator>
+        <cc:license
+           rdf:resource="http://creativecommons.org/licenses/GPL/2.0/"; />
+      </cc:Work>
+      <cc:License
+         rdf:about="http://creativecommons.org/licenses/GPL/2.0/";>
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/Reproduction"; />
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/Distribution"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/Notice"; />
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/DerivativeWorks"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/ShareAlike"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/SourceCode"; />
+      </cc:License>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Calque 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     style="display:inline"
+     transform="translate(455.79673,-1582.6856)" />
+  <g
+     inkscape:groupmode="layer"
+     id="layer3"
+     style="display:inline"
+     transform="translate(0,-14)" />
+  <g
+     inkscape:groupmode="layer"
+     id="layer2"
+     style="display:inline"
+     transform="translate(455.79673,-1582.6856)">
+    <path
+       sodipodi:type="inkscape:offset"
+       inkscape:radius="2.1107216"
+       inkscape:original="M 37.1875 -54.09375 C 35.19218 -54.12905 31.89185 -52.21715 32.3125 -50.46875 C 32.758969 -48.61305 34.678303 -45.860882 37.28125 -43.03125 C 37.018355 -43.057493 36.748693 -43.050776 36.5 -43.03125 C 34.89427 -42.90525 32.166359 -41.512799 32.5 -38.9375 C 32.443199 -38.288229 32.779524 -37.447333 33.28125 -36.5625 C 32.408877 -35.767543 31.527678 -34.964969 30.8125 -34.3125 C 29.957128 -33.532129 29.160973 -32.79786 28.71875 -32.4375 C 28.673477 -32.397452 28.607715 -32.383764 28.5625 -32.34375 C 28.335266 -32.168909 28.188835 -32.060495 28.1875 -32.125 C 26.17019 -34.5917 23.89401 -39.518651 22.375 -38.15625 C 17.08592 -33.41255 19.207209 -25.511601 21.5 -23.6875 C 21.726997 -23.5069 22.725797 -23.497189 24.0625 -23.53125 C 24.723388 -21.931542 26.942741 -19.633151 29.3125 -19.5625 C 30.424704 -19.529337 31.99514 -19.955855 32.34375 -21.4375 C 32.352544 -21.474876 32.367797 -21.523778 32.375 -21.5625 C 32.418081 -21.743442 32.437181 -21.940459 32.
 4375 -22.15625 C 32.441375 -22.175829 32.434293 -22.19865 32.4375 -22.21875 C 32.455986 -22.312144 32.46593 -22.426065 32.46875 -22.53125 C 32.468742 -22.550569 32.469206 -22.574113 32.46875 -22.59375 C 32.468596 -22.712508 32.454928 -22.838336 32.4375 -22.96875 C 32.436176 -22.978102 32.438901 -22.990599 32.4375 -23 C 32.3884 -23.343161 32.271988 -23.70906 32.125 -24.09375 C 35.897087 -24.44411 39.60195 -24.842751 40.96875 -24.90625 C 41.141731 -24.914294 41.493941 -24.980834 41.84375 -25.0625 C 43.480551 -22.924841 48.231956 -19.818951 51.34375 -20.34375 C 52.94861 -20.61445 55.562522 -22.25835 55 -24.84375 C 55 -26.124059 53.613119 -28.001304 52.03125 -29.5 L 52.03125 -29.90625 C 52.755923 -30.496959 53.374141 -31.12112 53.84375 -31.78125 C 54.219268 -31.749068 54.577119 -31.733678 54.90625 -31.78125 C 56.88006 -32.06665 59.22253 -33.62725 59.59375 -35.53125 C 59.31533 -40.59055 45.8198 -52.64905 37.5625 -54.03125 C 37.44246 -54.05145 37.32052 -54.09145 37.1875 -54.09375 
 z M 48.15625 -31.9375 C 48.666968 -32.014297 49.529591 -31.555661 50.46875 -30.875 L 50.46875 -30.78125 C 49.492831 -31.487931 48.588572 -31.954806 48.0625 -31.875 C 47.866205 -31.845225 47.610232 -31.786989 47.34375 -31.6875 C 47.655912 -31.810199 47.933466 -31.904006 48.15625 -31.9375 z "
+       style="fill:&stroke_color;;fill-opacity:1;stroke:none"
+       id="path3590"
+       d="m 37.21875,-56.21875 c -1.692081,-0.02994 -3.206458,0.612845 -4.5625,1.53125 -0.678021,0.459203 -1.315917,1.000865 -1.8125,1.75 -0.496583,0.749135 -0.866209,1.836296 -0.59375,2.96875 0.455379,1.892735 1.748719,3.796737 3.3125,5.75 -0.38092,0.210277 -0.76031,0.390117 -1.125,0.6875 -1.132264,0.923292 -2.020549,2.555045 -1.96875,4.40625 l -0.0625,0 c -0.0094,0.10722 0.03369,0.178662 0.03125,0.28125 0.006,0.06744 -0.04006,0.119482 -0.03125,0.1875 l 0.0625,0 c 0.01104,0.571321 0.04777,1.130771 0.21875,1.59375 -0.442943,0.403613 -0.935575,0.843625 -1.3125,1.1875 -0.324408,0.295963 -0.460493,0.425019 -0.75,0.6875 -0.602996,-0.900912 -1.159698,-1.729525 -1.84375,-2.65625 -0.563005,-0.762735 -1.098439,-1.445018 -1.96875,-2.03125 -0.435156,-0.293116 -1.002802,-0.592672 -1.75,-0.625 -0.747198,-0.03233 -1.570972,0.312371 -2.09375,0.78125 -3.182575,2.854406 -4.151552,6.718884 -3.96875,10 0.182802,3.281116 1.127395,6.04852 3.1875,7.6875 0.639686,0.508937 0.956773,0.479641 1.25,0
 .53125 0.293227,0.05161 0.568714,0.08093 0.84375,0.09375 0.177142,0.0083 0.403262,-0.002 0.59375,0 0.490064,0.732696 1.062904,1.433554 1.8125,2.0625 1.184607,0.993941 2.715763,1.851192 4.5625,1.90625 0.855138,0.0255 1.822351,-0.09853 2.8125,-0.59375 0.990149,-0.49522 2.017949,-1.552795 2.34375,-2.9375 -0.0092,0.03895 -0.0059,-0.07517 0,-0.09375 l 0.03125,0 c 0.0086,-0.02858 -0.02618,0.01573 0,-0.125 0.03959,-0.193149 0.04897,-0.380097 0.0625,-0.5625 0.0031,-0.04117 0.02924,-0.08441 0.03125,-0.125 0.0044,-0.08992 0.03112,-0.194254 0.03125,-0.28125 0.0018,-0.01992 -0.0014,-0.04313 0,-0.0625 2.693904,-0.260682 5.65746,-0.554607 6.5,-0.59375 0.02835,-0.0013 0.03559,0.0016 0.0625,0 1.06247,1.080233 2.359449,2.119489 3.90625,2.96875 2.012344,1.104864 4.25333,1.998999 6.65625,1.59375 1.308094,-0.220643 2.634516,-0.845108 3.78125,-1.96875 1.059513,-1.038178 1.790908,-2.757128 1.5625,-4.625 l 0.09375,0 c 0,-0.128094 -0.05316,-0.221765 -0.0625,-0.34375 -0.0065,-0.03311 0.0072,-0.06056
  0,-0.09375 l -0.03125,0 c -0.114267,-1.163553 -0.570595,-2.090261 -1.15625,-2.96875 -0.327649,-0.491477 -0.791201,-0.916613 -1.1875,-1.375 0.01513,-0.01639 0.01622,-0.04602 0.03125,-0.0625 0.174382,-0.0067 0.305664,0.02809 0.5,0 1.409144,-0.203753 2.73981,-0.806345 3.90625,-1.6875 1.16644,-0.881155 2.206789,-2.085826 2.53125,-3.75 a 2.1109327,2.1109327 0 0 0 0.03125,-0.53125 c -0.118484,-2.153027 -1.259473,-3.980899 -2.8125,-6 -1.553027,-2.019101 -3.626121,-4.105608 -5.9375,-6.09375 -4.622758,-3.976284 -10.101528,-7.549807 -15.03125,-8.375 0.09895,0.01665 -0.153825,-0.08452 -0.6875,-0.09375 z"
+       transform="translate(-472.39377,1641.867)" />
+    <g
+       id="g3453"
+       transform="matrix(0.9750843,0,0,0.9750843,-5.9517556,45.314582)">
+      <path
+         sodipodi:nodetypes="csssc"
+         id="path3552"
+         d="m -444.9785,1597.2206 c -0.33705,-2.625 2.40838,-4.026 4.03051,-4.1545 4.0323,-0.3195 10.22492,5.5482 9.45808,7.0544 -1.21226,2.381 -5.60112,4.6314 -7.18607,4.7306 -1.66599,0.1043 -6.51767,-5.1491 -6.30252,-7.6305 z"
+         style="fill:#000b00;fill-opacity:1;stroke:none" />
+      <path
+         style="fill:#000b00;fill-opacity:1;stroke:none"
+         d="m -422.47189,1611.5359 c 0.56251,2.5854 -2.05145,4.2225 -3.65631,4.4932 -3.98937,0.6728 -10.66525,-4.628 -10.03143,-6.1959 1.00198,-2.4786 5.17977,-5.1063 6.75012,-5.3445 1.65063,-0.2504 6.93762,4.5564 6.93762,7.0472 z"
+         id="path3558"
+         sodipodi:nodetypes="csssc" />
+      <path
+         sodipodi:nodetypes="csssc"
+         id="path3560"
+         d="m -444.59246,1614.3037 c 0.0428,2.0894 -1.85537,2.6693 -3.13944,2.6307 -3.19195,-0.096 -6.15072,-4.1935 -5.42162,-5.3098 1.15261,-1.7646 3.56873,-3.8157 4.82114,-3.7573 1.31645,0.061 4.11835,4.5073 3.73992,6.4364 z"
+         style="fill:#000b00;fill-opacity:1;stroke:none" />
+      <path
+         style="fill:#000b00;fill-opacity:1;fill-rule:evenodd;stroke:none"
+         d="m -426.40946,1600.8941 -1.03127,11.4458 2.06254,-2.9324 0.37501,-7.9458 -1.40628,-0.5676 z"
+         id="path3564" />
+      <path
+         style="fill:#000b00;fill-opacity:1;stroke:none"
+         d="m -433.79624,1595.7505 c 0,1.5698 -0.84844,1.3542 -2.60188,2.6165 -0.28677,0.2065 -4.99996,-1.2677 -4.00166,-2.0478 0.97142,-0.759 1.93505,-1.8355 3.58363,-2.7626 1.96087,-1.1027 3.01991,0.624 3.01991,2.1939 z"
+         id="path3566"
+         sodipodi:nodetypes="csssc" />
+      <path
+         style="fill:#000b00;fill-opacity:1;stroke:none"
+         d="m -454.64964,1598.2041 c -0.18038,0.01 -0.35325,0.083 -0.51662,0.2307 -5.15482,4.6648 -3.1514,12.3891 -0.92031,14.2874 -1.84574,-2.764 -2.88608,-9.2834 1.67406,-13.4101 0.50547,-0.4574 1.09812,-0.1975 1.73899,0.4386 -0.71115,-0.9285 -1.38482,-1.5788 -1.97612,-1.5466 z"
+         id="path3578"
+         sodipodi:nodetypes="cscscc" />
+      <path
+         style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline"
+         d="m -444.83306,1597.3471 c -0.33364,-2.5753 2.38403,-3.9499 3.98976,-4.0759 3.99154,-0.3134 10.12154,5.4432 9.36246,6.9209 -1.2,2.336 -5.54449,4.5438 -7.11342,4.6411 -1.64914,0.1024 -6.45177,-5.0516 -6.2388,-7.4861 z"
+         id="path3532-2"
+         sodipodi:nodetypes="csssc" />
+      <path
+         style="fill:&fill_color;;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+         d="m -444.9536,1597.4331 c -0.33364,-2.5753 2.38403,-3.9499 3.98976,-4.0759 3.99154,-0.3134 10.12154,5.4432 9.36246,6.9209 -1.2,2.336 -5.54449,4.5438 -7.11342,4.6411 -1.64914,0.1024 -6.45177,-5.0516 -6.2388,-7.4861 z"
+         id="path3532"
+         sodipodi:nodetypes="csssc" />
+      <path
+         sodipodi:nodetypes="csssssc"
+         id="path3243-2"
+         d="m -449.24205,1604.1147 c 0.0135,0.6528 12.7539,-12.313 14.74801,-11.7225 5.49108,1.6262 12.62637,6.6167 11.66129,10.4599 -1.20874,4.8135 -11.9594,8.4052 -13.64755,8.4837 -3.15768,0.1467 -18.44659,2.0108 -19.47298,1.1942 -2.29279,-1.8241 -4.41444,-9.7078 0.87464,-14.4515 1.51901,-1.3624 3.81927,3.5695 5.83659,6.0362 z"
+         style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline" />
+      <path
+         sodipodi:nodetypes="csssssc"
+         id="path3243"
+         d="m -449.26071,1604.263 c 0.0135,0.6528 12.7539,-12.313 14.74801,-11.7225 5.49108,1.6262 12.62637,6.6167 11.66129,10.4599 -1.20874,4.8135 -11.9594,8.4052 -13.64755,8.4837 -3.15768,0.1467 -18.44659,2.0108 -19.47298,1.1942 -2.29279,-1.8241 -4.41444,-9.7078 0.87464,-14.4515 1.51901,-1.3624 3.81927,3.5695 5.83659,6.0362 z"
+         style="fill:&fill_color;;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+      <path
+         sodipodi:nodetypes="csssc"
+         id="path3238-8"
+         d="m -422.27774,1611.588 c 0.55683,2.5365 -2.03071,4.1426 -3.61934,4.4081 -3.94904,0.6601 -10.55742,-4.5404 -9.93001,-6.0786 0.99185,-2.4317 5.1274,-5.0097 6.68187,-5.2434 1.63395,-0.2457 6.86748,4.4702 6.86748,6.9139 z"
+         style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline" />
+      <path
+         sodipodi:nodetypes="csssc"
+         id="path3238"
+         d="m -422.45273,1611.3668 c 0.55683,2.5365 -2.03071,4.1426 -3.61934,4.4081 -3.94904,0.6601 -10.55742,-4.5404 -9.93001,-6.0786 0.99185,-2.4317 5.1274,-5.0097 6.68187,-5.2434 1.63395,-0.2457 6.86748,4.4702 6.86748,6.9139 z"
+         style="fill:&fill_color;;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+      <path
+         style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline"
+         d="m -444.81426,1614.4626 c 0.0424,2.0499 -1.83661,2.6188 -3.10769,2.5809 -3.15968,-0.094 -6.08854,-4.1141 -5.36681,-5.2093 1.14095,-1.7312 3.53265,-3.7435 4.7724,-3.6863 1.30314,0.06 4.07672,4.4221 3.7021,6.3147 z"
+         id="path3241-9"
+         sodipodi:nodetypes="csssc" />
+      <path
+         style="fill:&fill_color;;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+         d="m -445.03373,1614.235 c 0.0424,2.0499 -1.83661,2.6188 -3.10769,2.5809 -3.15968,-0.094 -6.08854,-4.1141 -5.36681,-5.2093 1.14095,-1.7312 3.53265,-3.7435 4.7724,-3.6863 1.30314,0.06 4.07672,4.4221 3.7021,6.3147 z"
+         id="path3241"
+         sodipodi:nodetypes="csssc" />
+      <path
+         id="path3375"
+         d="m -429.31711,1604.7858 c -1.40026,0.2105 -5.13059,2.5386 -6.02404,4.7292 1.44755,-1.7426 4.07701,-3.2925 5.20769,-3.4624 1.47184,-0.2212 6.19293,4.0197 6.19293,6.221 0.11992,0.5462 0.0684,1.0466 -0.0844,1.492 0.69888,-0.6773 1.15158,-1.6164 0.90078,-2.7587 0,-2.2012 -4.72108,-6.4424 -6.19292,-6.2211 z"
+         style="fill:#eeeeec;fill-opacity:1;stroke:none" />
+      <path
+         id="path3236"
+         d="m -426.5723,1601.0371 -1.02084,11.2293 2.04169,-2.8769 0.37121,-7.7955 -1.39206,-0.5569 z"
+         style="fill:#babdb6;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.19292924;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+      <path
+         sodipodi:nodetypes="csssc"
+         id="path3245"
+         d="m -433.88439,1595.9908 c 0,1.5401 -0.83987,1.3286 -2.57558,2.567 -0.28387,0.2026 -4.94941,-1.2437 -3.9612,-2.009 0.9616,-0.7447 1.91548,-1.8008 3.5474,-2.7104 1.94104,-1.0819 2.98938,0.6123 2.98938,2.1524 z"
+         style="fill:#241c1c;fill-opacity:1;stroke:#000000;stroke-width:0.38207361;stroke-miterlimit:4;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cccc"
+         id="path3258"
+         d="m -456.63178,1610.9501 c 0,0 16.63886,-9.1762 19.75369,-12.2431 -0.4159,0.054 -3.40339,-0.8969 -4.04134,-1.5554 -4.14512,3.3544 -15.71235,13.7985 -15.71235,13.7985 z"
+         style="fill:#eeeeec;fill-opacity:1;fill-rule:evenodd;stroke:none" />
+      <path
+         sodipodi:nodetypes="cscscc"
+         id="path3445"
+         d="m -454.52696,1598.398 c -0.17856,0.01 -0.34968,0.081 -0.5114,0.2263 -5.1027,4.5766 -3.11954,12.1548 -0.911,14.0172 -1.82708,-2.7118 -2.8569,-9.1079 1.65713,-13.1565 0.50036,-0.4488 1.08702,-0.1937 1.72141,0.4304 -0.70396,-0.911 -1.37082,-1.549 -1.95614,-1.5174 z"
+         style="fill:#eeeeec;fill-opacity:1;stroke:none" />
+      <path
+         id="path3385"
+         d="m -448.54623,1608.1812 c -0.14663,-0.01 -0.29685,0.01 -0.47309,0.059 1.32327,0.8696 3.26566,4.2053 2.9568,5.7657 0.0386,1.8641 -1.58399,2.4444 -2.77939,2.4541 0.28309,0.073 0.5673,0.1096 0.85747,0.1183 1.20266,0.036 2.99693,-0.485 2.9568,-2.4246 0.35445,-1.7907 -2.28559,-5.9156 -3.51859,-5.9727 z"
+         style="opacity:0.98999999;fill:#eeeeec;fill-opacity:1;stroke:none" />
+      <g
+         style="fill:#ffffff;fill-opacity:1;display:inline"
+         transform="translate(-28.678444,-0.73643013)"
+         id="g3381-2">
+        <path
+           style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.45016825;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+           d="m -411.55855,1583.1982 c -1.99532,-0.035 -5.28407,1.8575 -4.86342,3.6059 0.51025,2.1209 2.95324,5.4174 6.13239,8.656 4.7e-4,5e-4 0.002,-5e-4 0.003,0 0.47995,-0.2216 1.03204,-0.3474 1.61636,-0.3474 1.86981,0 3.38487,1.2886 3.38487,2.8767 0,0.5749 -0.19731,1.1094 -0.53974,1.5589 4.40821,3.6284 9.14547,6.3705 12.00353,5.9573 1.97381,-0.2853 4.31421,-1.8541 4.68543,-3.7581 -0.27842,-5.0593 -13.78315,-17.1327 -22.04045,-18.5149 -0.12004,-0.02 -0.24882,-0.032 -0.38184,-0.034 z"
+           id="path2221-8" />
+        <path
+           id="path3576-9"
+           d="m -411.41491,1583.1891 c -1.94391,-0.034 -5.13814,1.811 -4.78265,3.5317 0.61314,-1.3356 2.94501,-2.5181 4.47263,-2.491 0.12553,0 0.24747,0.015 0.36075,0.034 7.7917,1.3159 20.53347,12.8106 20.79618,17.6274 -0.30649,1.5862 -2.03645,2.9282 -3.71169,3.4209 0.0941,-0.01 0.18587,-0.015 0.27619,-0.028 1.9376,-0.2827 4.23505,-1.8365 4.59946,-3.7223 -0.2733,-5.0111 -13.53025,-16.9694 -21.63604,-18.3384 -0.11784,-0.02 -0.24425,-0.032 -0.37483,-0.034 z"
+           style="opacity:0.82352941;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none" />
+      </g>
+      <g
+         transform="translate(-28.728488,-0.89892293)"
+         id="g3381"
+         style="fill:&fill_color;;fill-opacity:1">
+        <path
+           style="fill:&fill_color;;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.45016825;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+           d="m -411.55855,1583.1982 c -1.99532,-0.035 -5.28407,1.8575 -4.86342,3.6059 0.51025,2.1209 2.95324,5.4174 6.13239,8.656 4.7e-4,5e-4 0.002,-5e-4 0.003,0 0.47995,-0.2216 1.03204,-0.3474 1.61636,-0.3474 1.86981,0 3.38487,1.2886 3.38487,2.8767 0,0.5749 -0.19731,1.1094 -0.53974,1.5589 4.40821,3.6284 9.14547,6.3705 12.00353,5.9573 1.97381,-0.2853 4.31421,-1.8541 4.68543,-3.7581 -0.27842,-5.0593 -13.78315,-17.1327 -22.04045,-18.5149 -0.12004,-0.02 -0.24882,-0.032 -0.38184,-0.034 z"
+           id="path2221" />
+        <path
+           id="path3576"
+           d="m -411.41491,1583.1891 c -1.94391,-0.034 -5.13814,1.811 -4.78265,3.5317 0.61314,-1.3356 2.94501,-2.5181 4.47263,-2.491 0.12553,0 0.24747,0.015 0.36075,0.034 7.7917,1.3159 20.53347,12.8106 20.79618,17.6274 -0.30649,1.5862 -2.03645,2.9282 -3.71169,3.4209 0.0941,-0.01 0.18587,-0.015 0.27619,-0.028 1.9376,-0.2827 4.23505,-1.8365 4.59946,-3.7223 -0.2733,-5.0111 -13.53025,-16.9694 -21.63604,-18.3384 -0.11784,-0.02 -0.24425,-0.032 -0.37483,-0.034 z"
+           style="opacity:0.82352941;fill:&fill_color;;fill-opacity:1;fill-rule:evenodd;stroke:none" />
+      </g>
+    </g>
+  </g>
+</svg>
diff --git a/sugar/GComprisAdministration.activity/activity.info b/sugar/GComprisAdministration.activity/activity.info
new file mode 100644
index 0000000..d513018
--- /dev/null
+++ b/sugar/GComprisAdministration.activity/activity.info
@@ -0,0 +1,8 @@
+[Activity]
+name = GCompris Administration
+license = GPLv3+
+exec = gcompris-activity --administration
+activity_version = 18
+bundle_id = activities.gcompris.administration
+mime_types = application/x-gcompris
+icon = administration
diff --git a/sugar/GComprisAdministration.activity/administration.svg b/sugar/GComprisAdministration.activity/administration.svg
new file mode 100644
index 0000000..498714c
--- /dev/null
+++ b/sugar/GComprisAdministration.activity/administration.svg
@@ -0,0 +1,217 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="45"
+   height="45"
+   id="svg2"
+   sodipodi:version="0.32"
+   inkscape:version="0.47 r22583"
+   sodipodi:docname="gcompris.svg"
+   inkscape:output_extension="org.inkscape.output.svg.inkscape"
+   version="1.0">
+  <defs
+     id="defs4">
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 29.5 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="44 : 29.5 : 1"
+       inkscape:persp3d-origin="22 : 19.666667 : 1"
+       id="perspective34" />
+    <linearGradient
+       id="linearGradient3452">
+      <stop
+         style="stop-color:#383c3e;stop-opacity:1;"
+         offset="0"
+         id="stop3454" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:0;"
+         offset="1"
+         id="stop3456" />
+    </linearGradient>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="5.5254237"
+     inkscape:cx="22"
+     inkscape:cy="46.470846"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer2"
+     inkscape:window-width="1278"
+     inkscape:window-height="735"
+     inkscape:window-x="0"
+     inkscape:window-y="32"
+     width="44px"
+     height="59px"
+     showgrid="false"
+     inkscape:window-maximized="0" />
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title>icÃne Gcompris</dc:title>
+        <dc:date>24 maris 2007</dc:date>
+        <dc:creator>
+          <cc:Agent>
+            <dc:title>Elisa de Castro Guerra</dc:title>
+          </cc:Agent>
+        </dc:creator>
+        <cc:license
+           rdf:resource="http://creativecommons.org/licenses/GPL/2.0/"; />
+      </cc:Work>
+      <cc:License
+         rdf:about="http://creativecommons.org/licenses/GPL/2.0/";>
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/Reproduction"; />
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/Distribution"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/Notice"; />
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/DerivativeWorks"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/ShareAlike"; />
+        <cc:requires
+           rdf:resource="http://web.resource.org/cc/SourceCode"; />
+      </cc:License>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Calque 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     style="display:inline"
+     transform="translate(455.79673,-1582.6856)" />
+  <g
+     inkscape:groupmode="layer"
+     id="layer3"
+     style="display:inline"
+     transform="translate(0,-14)" />
+  <g
+     inkscape:groupmode="layer"
+     id="layer2"
+     style="display:inline"
+     transform="translate(455.79673,-1582.6856)">
+    <g
+       id="g3592"
+       transform="matrix(0.9750843,0,0,0.9750843,-10.729414,52.445427)">
+      <path
+         transform="translate(-472.75574,1629.1983)"
+         d="m 37.21875,-56.21875 c -1.692081,-0.02994 -3.206458,0.612845 -4.5625,1.53125 -0.678021,0.459203 -1.315917,1.000865 -1.8125,1.75 -0.496583,0.749135 -0.866209,1.836296 -0.59375,2.96875 0.455379,1.892735 1.748719,3.796737 3.3125,5.75 -0.38092,0.210277 -0.76031,0.390117 -1.125,0.6875 -1.132264,0.923292 -2.020549,2.555045 -1.96875,4.40625 l -0.0625,0 c -0.0094,0.10722 0.03369,0.178662 0.03125,0.28125 0.006,0.06744 -0.04006,0.119482 -0.03125,0.1875 l 0.0625,0 c 0.01104,0.571321 0.04777,1.130771 0.21875,1.59375 -0.442943,0.403613 -0.935575,0.843625 -1.3125,1.1875 -0.324408,0.295963 -0.460493,0.425019 -0.75,0.6875 -0.602996,-0.900912 -1.159698,-1.729525 -1.84375,-2.65625 -0.563005,-0.762735 -1.098439,-1.445018 -1.96875,-2.03125 -0.435156,-0.293116 -1.002802,-0.592672 -1.75,-0.625 -0.747198,-0.03233 -1.570972,0.312371 -2.09375,0.78125 -3.182575,2.854406 -4.151552,6.718884 -3.96875,10 0.182802,3.281116 1.127395,6.04852 3.1875,7.6875 0.639686,0.508937 0.956773,0.479641 1.25
 ,0.53125 0.293227,0.05161 0.568714,0.08093 0.84375,0.09375 0.177142,0.0083 0.403262,-0.002 0.59375,0 0.490064,0.732696 1.062904,1.433554 1.8125,2.0625 1.184607,0.993941 2.715763,1.851192 4.5625,1.90625 0.855138,0.0255 1.822351,-0.09853 2.8125,-0.59375 0.990149,-0.49522 2.017949,-1.552795 2.34375,-2.9375 -0.0092,0.03895 -0.0059,-0.07517 0,-0.09375 l 0.03125,0 c 0.0086,-0.02858 -0.02618,0.01573 0,-0.125 0.03959,-0.193149 0.04897,-0.380097 0.0625,-0.5625 0.0031,-0.04117 0.02924,-0.08441 0.03125,-0.125 0.0044,-0.08992 0.03112,-0.194254 0.03125,-0.28125 0.0018,-0.01992 -0.0014,-0.04313 0,-0.0625 2.693904,-0.260682 5.65746,-0.554607 6.5,-0.59375 0.02835,-0.0013 0.03559,0.0016 0.0625,0 1.06247,1.080233 2.359449,2.119489 3.90625,2.96875 2.012344,1.104864 4.25333,1.998999 6.65625,1.59375 1.308094,-0.220643 2.634516,-0.845108 3.78125,-1.96875 1.059513,-1.038178 1.790908,-2.757128 1.5625,-4.625 l 0.09375,0 c 0,-0.128094 -0.05316,-0.221765 -0.0625,-0.34375 -0.0065,-0.03311 0.0072,-0.060
 56 0,-0.09375 l -0.03125,0 c -0.114267,-1.163553 -0.570595,-2.090261 -1.15625,-2.96875 -0.327649,-0.491477 -0.791201,-0.916613 -1.1875,-1.375 0.01513,-0.01639 0.01622,-0.04602 0.03125,-0.0625 0.174382,-0.0067 0.305664,0.02809 0.5,0 1.409144,-0.203753 2.73981,-0.806345 3.90625,-1.6875 1.16644,-0.881155 2.206789,-2.085826 2.53125,-3.75 a 2.1109327,2.1109327 0 0 0 0.03125,-0.53125 c -0.118484,-2.153027 -1.259473,-3.980899 -2.8125,-6 -1.553027,-2.019101 -3.626121,-4.105608 -5.9375,-6.09375 -4.622758,-3.976284 -10.101528,-7.549807 -15.03125,-8.375 0.09895,0.01665 -0.153825,-0.08452 -0.6875,-0.09375 z"
+         id="path3590"
+         style="fill:#000b00;fill-opacity:1;stroke:none"
+         inkscape:original="M 37.1875 -54.09375 C 35.19218 -54.12905 31.89185 -52.21715 32.3125 -50.46875 C 32.758969 -48.61305 34.678303 -45.860882 37.28125 -43.03125 C 37.018355 -43.057493 36.748693 -43.050776 36.5 -43.03125 C 34.89427 -42.90525 32.166359 -41.512799 32.5 -38.9375 C 32.443199 -38.288229 32.779524 -37.447333 33.28125 -36.5625 C 32.408877 -35.767543 31.527678 -34.964969 30.8125 -34.3125 C 29.957128 -33.532129 29.160973 -32.79786 28.71875 -32.4375 C 28.673477 -32.397452 28.607715 -32.383764 28.5625 -32.34375 C 28.335266 -32.168909 28.188835 -32.060495 28.1875 -32.125 C 26.17019 -34.5917 23.89401 -39.518651 22.375 -38.15625 C 17.08592 -33.41255 19.207209 -25.511601 21.5 -23.6875 C 21.726997 -23.5069 22.725797 -23.497189 24.0625 -23.53125 C 24.723388 -21.931542 26.942741 -19.633151 29.3125 -19.5625 C 30.424704 -19.529337 31.99514 -19.955855 32.34375 -21.4375 C 32.352544 -21.474876 32.367797 -21.523778 32.375 -21.5625 C 32.418081 -21.743442 32.437181 -21.940459 3
 2.4375 -22.15625 C 32.441375 -22.175829 32.434293 -22.19865 32.4375 -22.21875 C 32.455986 -22.312144 32.46593 -22.426065 32.46875 -22.53125 C 32.468742 -22.550569 32.469206 -22.574113 32.46875 -22.59375 C 32.468596 -22.712508 32.454928 -22.838336 32.4375 -22.96875 C 32.436176 -22.978102 32.438901 -22.990599 32.4375 -23 C 32.3884 -23.343161 32.271988 -23.70906 32.125 -24.09375 C 35.897087 -24.44411 39.60195 -24.842751 40.96875 -24.90625 C 41.141731 -24.914294 41.493941 -24.980834 41.84375 -25.0625 C 43.480551 -22.924841 48.231956 -19.818951 51.34375 -20.34375 C 52.94861 -20.61445 55.562522 -22.25835 55 -24.84375 C 55 -26.124059 53.613119 -28.001304 52.03125 -29.5 L 52.03125 -29.90625 C 52.755923 -30.496959 53.374141 -31.12112 53.84375 -31.78125 C 54.219268 -31.749068 54.577119 -31.733678 54.90625 -31.78125 C 56.88006 -32.06665 59.22253 -33.62725 59.59375 -35.53125 C 59.31533 -40.59055 45.8198 -52.64905 37.5625 -54.03125 C 37.44246 -54.05145 37.32052 -54.09145 37.1875 -54.0937
 5 z M 48.15625 -31.9375 C 48.666968 -32.014297 49.529591 -31.555661 50.46875 -30.875 L 50.46875 -30.78125 C 49.492831 -31.487931 48.588572 -31.954806 48.0625 -31.875 C 47.866205 -31.845225 47.610232 -31.786989 47.34375 -31.6875 C 47.655912 -31.810199 47.933466 -31.904006 48.15625 -31.9375 z "
+         inkscape:radius="2.1107216"
+         sodipodi:type="inkscape:offset" />
+      <g
+         transform="translate(-0.6684434,-0.445629)"
+         id="g3453">
+        <path
+           style="fill:#000b00;fill-opacity:1;stroke:none"
+           d="m -439.78153,1590.5388 c -0.33705,-2.625 2.40838,-4.026 4.03051,-4.1545 4.0323,-0.3195 10.22492,5.5482 9.45808,7.0544 -1.21226,2.381 -5.60112,4.6314 -7.18607,4.7306 -1.66599,0.1043 -6.51767,-5.1491 -6.30252,-7.6305 z"
+           id="path3552"
+           sodipodi:nodetypes="csssc" />
+        <path
+           sodipodi:nodetypes="csssc"
+           id="path3558"
+           d="m -417.27492,1604.8541 c 0.56251,2.5854 -2.05145,4.2225 -3.65631,4.4932 -3.98937,0.6728 -10.66525,-4.628 -10.03143,-6.1959 1.00198,-2.4786 5.17977,-5.1063 6.75012,-5.3445 1.65063,-0.2504 6.93762,4.5564 6.93762,7.0472 z"
+           style="fill:#000b00;fill-opacity:1;stroke:none" />
+        <path
+           style="fill:#000b00;fill-opacity:1;stroke:none"
+           d="m -439.39549,1607.6219 c 0.0428,2.0894 -1.85537,2.6693 -3.13944,2.6307 -3.19195,-0.096 -6.15072,-4.1935 -5.42162,-5.3098 1.15261,-1.7646 3.56873,-3.8157 4.82114,-3.7573 1.31645,0.061 4.11835,4.5073 3.73992,6.4364 z"
+           id="path3560"
+           sodipodi:nodetypes="csssc" />
+        <path
+           id="path3564"
+           d="m -421.21249,1594.2123 -1.03127,11.4458 2.06254,-2.9324 0.37501,-7.9458 -1.40628,-0.5676 z"
+           style="fill:#000b00;fill-opacity:1;fill-rule:evenodd;stroke:none" />
+        <path
+           sodipodi:nodetypes="csssc"
+           id="path3566"
+           d="m -428.59927,1589.0687 c 0,1.5698 -0.84844,1.3542 -2.60188,2.6165 -0.28677,0.2065 -4.99996,-1.2677 -4.00166,-2.0478 0.97142,-0.759 1.93505,-1.8355 3.58363,-2.7626 1.96087,-1.1027 3.01991,0.624 3.01991,2.1939 z"
+           style="fill:#000b00;fill-opacity:1;stroke:none" />
+        <path
+           sodipodi:nodetypes="cscscc"
+           id="path3578"
+           d="m -449.45267,1591.5223 c -0.18038,0.01 -0.35325,0.083 -0.51662,0.2307 -5.15482,4.6648 -3.1514,12.3891 -0.92031,14.2874 -1.84574,-2.764 -2.88608,-9.2834 1.67406,-13.4101 0.50547,-0.4574 1.09812,-0.1975 1.73899,0.4386 -0.71115,-0.9285 -1.38482,-1.5788 -1.97612,-1.5466 z"
+           style="fill:#000b00;fill-opacity:1;stroke:none" />
+        <path
+           sodipodi:nodetypes="csssc"
+           id="path3532"
+           d="m -439.75663,1590.7513 c -0.33364,-2.5753 2.38403,-3.9499 3.98976,-4.0759 3.99154,-0.3134 10.12154,5.4432 9.36246,6.9209 -1.2,2.336 -5.54449,4.5438 -7.11342,4.6411 -1.64914,0.1024 -6.45177,-5.0516 -6.2388,-7.4861 z"
+           style="fill:#888a85;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+        <path
+           style="fill:#babdb6;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+           d="m -444.06374,1597.5812 c 0.0135,0.6528 12.7539,-12.313 14.74801,-11.7225 5.49108,1.6262 12.62637,6.6167 11.66129,10.4599 -1.20874,4.8135 -11.9594,8.4052 -13.64755,8.4837 -3.15768,0.1467 -18.44659,2.0108 -19.47298,1.1942 -2.29279,-1.8241 -4.41444,-9.7078 0.87464,-14.4515 1.51901,-1.3624 3.81927,3.5695 5.83659,6.0362 z"
+           id="path3243"
+           sodipodi:nodetypes="csssssc" />
+        <path
+           style="fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+           d="m -417.25576,1604.685 c 0.55683,2.5365 -2.03071,4.1426 -3.61934,4.4081 -3.94904,0.6601 -10.55742,-4.5404 -9.93001,-6.0786 0.99185,-2.4317 5.1274,-5.0097 6.68187,-5.2434 1.63395,-0.2457 6.86748,4.4702 6.86748,6.9139 z"
+           id="path3238"
+           sodipodi:nodetypes="csssc" />
+        <path
+           sodipodi:nodetypes="csssc"
+           id="path3241"
+           d="m -439.83676,1607.5532 c 0.0424,2.0499 -1.83661,2.6188 -3.10769,2.5809 -3.15968,-0.094 -6.08854,-4.1141 -5.36681,-5.2093 1.14095,-1.7312 3.53265,-3.7435 4.7724,-3.6863 1.30314,0.06 4.07672,4.4221 3.7021,6.3147 z"
+           style="fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+        <path
+           style="fill:#eeeeec;fill-opacity:1;stroke:none"
+           d="m -424.12014,1598.104 c -1.40026,0.2105 -5.13059,2.5386 -6.02404,4.7292 1.44755,-1.7426 4.07701,-3.2925 5.20769,-3.4624 1.47184,-0.2212 6.19293,4.0197 6.19293,6.221 0.11992,0.5462 0.0684,1.0466 -0.0844,1.492 0.69888,-0.6773 1.15158,-1.6164 0.90078,-2.7587 0,-2.2012 -4.72108,-6.4424 -6.19292,-6.2211 z"
+           id="path3375" />
+        <path
+           style="fill:#babdb6;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.19292924;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+           d="m -421.37533,1594.3553 -1.02084,11.2293 2.04169,-2.8769 0.37121,-7.7955 -1.39206,-0.5569 z"
+           id="path3236" />
+        <path
+           style="fill:#241c1c;fill-opacity:1;stroke:#000000;stroke-width:0.38207361;stroke-miterlimit:4;stroke-opacity:1"
+           d="m -428.68742,1589.309 c 0,1.5401 -0.83987,1.3286 -2.57558,2.567 -0.28387,0.2026 -4.94941,-1.2437 -3.9612,-2.009 0.9616,-0.7447 1.91548,-1.8008 3.5474,-2.7104 1.94104,-1.0819 2.98938,0.6123 2.98938,2.1524 z"
+           id="path3245"
+           sodipodi:nodetypes="csssc" />
+        <path
+           style="fill:#eeeeec;fill-opacity:1;fill-rule:evenodd;stroke:none"
+           d="m -451.43481,1604.2683 c 0,0 16.63886,-9.1762 19.75369,-12.2431 -0.4159,0.054 -3.40339,-0.8969 -4.04134,-1.5554 -4.14512,3.3544 -15.71235,13.7985 -15.71235,13.7985 z"
+           id="path3258"
+           sodipodi:nodetypes="cccc" />
+        <path
+           style="fill:#eeeeec;fill-opacity:1;stroke:none"
+           d="m -449.32999,1591.7162 c -0.17856,0.01 -0.34968,0.081 -0.5114,0.2263 -5.1027,4.5766 -3.11954,12.1548 -0.911,14.0172 -1.82708,-2.7118 -2.8569,-9.1079 1.65713,-13.1565 0.50036,-0.4488 1.08702,-0.1937 1.72141,0.4304 -0.70396,-0.911 -1.37082,-1.549 -1.95614,-1.5174 z"
+           id="path3445"
+           sodipodi:nodetypes="cscscc" />
+        <path
+           style="opacity:0.98999999;fill:#eeeeec;fill-opacity:1;stroke:none"
+           d="m -443.34926,1601.4994 c -0.14663,-0.01 -0.29685,0.01 -0.47309,0.059 1.32327,0.8696 3.26566,4.2053 2.9568,5.7657 0.0386,1.8641 -1.58399,2.4444 -2.77939,2.4541 0.28309,0.073 0.5673,0.1096 0.85747,0.1183 1.20266,0.036 2.99693,-0.485 2.9568,-2.4246 0.35445,-1.7907 -2.28559,-5.9156 -3.51859,-5.9727 z"
+           id="path3385" />
+        <g
+           id="g3381"
+           transform="translate(-23.531517,-7.5807423)">
+          <path
+             id="path2221"
+             d="m -411.55855,1583.1982 c -1.99532,-0.035 -5.28407,1.8575 -4.86342,3.6059 0.51025,2.1209 2.95324,5.4174 6.13239,8.656 4.7e-4,5e-4 0.002,-5e-4 0.003,0 0.47995,-0.2216 1.03204,-0.3474 1.61636,-0.3474 1.86981,0 3.38487,1.2886 3.38487,2.8767 0,0.5749 -0.19731,1.1094 -0.53974,1.5589 4.40821,3.6284 9.14547,6.3705 12.00353,5.9573 1.97381,-0.2853 4.31421,-1.8541 4.68543,-3.7581 -0.27842,-5.0593 -13.78315,-17.1327 -22.04045,-18.5149 -0.12004,-0.02 -0.24882,-0.032 -0.38184,-0.034 z"
+             style="fill:#babdb6;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.45016825;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+          <path
+             style="opacity:0.82352941;fill:#eeeeec;fill-opacity:1;fill-rule:evenodd;stroke:none"
+             d="m -411.41491,1583.1891 c -1.94391,-0.034 -5.13814,1.811 -4.78265,3.5317 0.61314,-1.3356 2.94501,-2.5181 4.47263,-2.491 0.12553,0 0.24747,0.015 0.36075,0.034 7.7917,1.3159 20.53347,12.8106 20.79618,17.6274 -0.30649,1.5862 -2.03645,2.9282 -3.71169,3.4209 0.0941,-0.01 0.18587,-0.015 0.27619,-0.028 1.9376,-0.2827 4.23505,-1.8365 4.59946,-3.7223 -0.2733,-5.0111 -13.53025,-16.9694 -21.63604,-18.3384 -0.11784,-0.02 -0.24425,-0.032 -0.37483,-0.034 z"
+             id="path3576" />
+        </g>
+      </g>
+    </g>
+  </g>
+</svg>
diff --git a/sugar/Makefile.am b/sugar/Makefile.am
new file mode 100644
index 0000000..80c50c3
--- /dev/null
+++ b/sugar/Makefile.am
@@ -0,0 +1,49 @@
+if SUGAR
+
+bin_SCRIPTS = \
+	gcompris-activity
+
+application-x-gcompris-wordprocessor.svg: ../src/wordprocessor-activity/wordprocessor.svg
+	cp $^ $@
+
+application-x-gcompris-anim.svg: ../src/anim-activity/anim.svg
+	cp $^ $@
+
+application-x-gcompris-draw.svg: ../src/draw-activity/draw.svg
+	cp $^ $@
+
+sugarbindir = $(datadir)/sugar/activities/GCompris.activity/bin
+sugarbin_SCRIPTS = \
+	gcompris-activity
+
+sugardir = $(datadir)/sugar/activities/GCompris.activity/activity
+sugar_DATA = \
+	GCompris.activity/activity.info \
+	GCompris.activity/gcompris.svg \
+	application-x-gcompris-wordprocessor.svg \
+	application-x-gcompris-anim.svg \
+	application-x-gcompris-draw.svg
+
+sugaradmdir = $(datadir)/sugar/activities/GComprisAdministration.activity/activity
+sugaradm_DATA = \
+	GComprisAdministration.activity/activity.info \
+	GComprisAdministration.activity/administration.svg
+
+sugaradmbindir = $(datadir)/sugar/activities/GComprisAdministration.activity/bin
+sugaradmbin_SCRIPTS = \
+	gcompris-activity
+
+iconsdir = $(datadir)/icons/sugar/scalable/mimetypes
+icons_DATA = \
+	application-x-gcompris-wordprocessor.svg \
+	application-x-gcompris-anim.svg \
+	application-x-gcompris-draw.svg
+
+EXTRA_DIST = \
+	gcompris-activity \
+	GCompris.activity/activity.info \
+	GCompris.activity/gcompris.svg \
+	GComprisAdministration.activity/activity.info \
+	GComprisAdministration.activity/administration.svg
+
+endif
diff --git a/sugar/gcompris-activity b/sugar/gcompris-activity
new file mode 100755
index 0000000..fd9a225
--- /dev/null
+++ b/sugar/gcompris-activity
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+[ -e /opt/sweets/gcompris/binding ] && . /opt/sweets/gcompris/binding
+
+args="--nolockcheck"
+
+GCOMPRIS_USERDIR="$SUGAR_ACTIVITY_ROOT/data/MyGCompris"
+args="$args --config-dir $GCOMPRIS_USERDIR"
+args="$args --user-dir $GCOMPRIS_USERDIR"
+
+# XO laptop related workarounds
+if [ -d /ofw ]; then
+    # XO is not fast
+    [ -e "$GCOMPRIS_USERDIR" ] || args="$args --no-zoom"
+    # http://bugs.sugarlabs.org/ticket/2600
+    args="$args --mute_music"
+fi
+
+if [ "$SUGAR_LOGGER_LEVEL" ]; then
+    args="$args --debug"
+fi
+
+[ -e "$GCOMPRIS_USERDIR" ] || mkdir -p "$GCOMPRIS_USERDIR"
+
+export LD_LIBRARY_PATH=$SUGAR_BUNDLE_PATH/lib:$SUGAR_BUNDLE_PATH/lib/gcompris:$LD_LIBRARY_PATH
+
+args="$args --package_data_dir $SUGAR_BUNDLE_PATH/share/gcompris/boards"
+args="$args --plugin_dir $SUGAR_BUNDLE_PATH/lib/gcompris"
+args="$args --python_plugin_dir $SUGAR_BUNDLE_PATH/share/gcompris/python/"
+args="$args --package_skin_dir $SUGAR_BUNDLE_PATH/share/gcompris/boards/skins"
+args="$args --menu_dir $SUGAR_BUNDLE_PATH/share/gcompris/boards"
+args="$args --locale_dir $SUGAR_BUNDLE_PATH/share/locale"
+
+# now run Gcompris
+echo $args $@
+exec $SUGAR_BUNDLE_PATH/bin/gcompris $args "$@"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]