Commit cc9368dd authored by Bruno Coudoin's avatar Bruno Coudoin

Added support to create the sugar xo bundle in src/bundleit.sh

It's untested yet.
The xo bundle should start with activity.activity instead of
activity-activity. For now you need to rename it in /usr/share/activity

svn path=/branches/gcomprixo/; revision=2869
parent 5f527632
<?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://web.resource.org/cc/"
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="44"
height="59"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.45.1"
sodipodi:docbase="/home/yemanja/Desktop/site inkscape spip/IMG"
sodipodi:docname="gcomprissugar.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.0">
<defs
id="defs4">
<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="1596"
inkscape:window-height="856"
inkscape:window-x="0"
inkscape:window-y="0"
width="44px"
height="59px" />
<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,-1568.6856)" />
<g
inkscape:groupmode="layer"
id="layer3"
style="display:inline" />
<g
inkscape:groupmode="layer"
id="layer2"
style="display:inline"
transform="translate(455.79673,-1568.6856)">
<g
id="g3592"
transform="matrix(0.9750843,0,0,0.9750843,-10.910396,39.414753)">
<path
transform="translate(-472.75574,1629.1983)"
d="M 37.21875,-56.21875 C 35.526669,-56.248685 34.012292,-55.605905 32.65625,-54.6875 C 31.978229,-54.228297 31.340333,-53.686635 30.84375,-52.9375 C 30.347167,-52.188365 29.977541,-51.101204 30.25,-49.96875 C 30.705379,-48.076015 31.998719,-46.172014 33.5625,-44.21875 C 33.181592,-44.008473 32.80219,-43.828633 32.4375,-43.53125 C 31.305236,-42.607958 30.416951,-40.976205 30.46875,-39.125 L 30.40625,-39.125 C 30.39687,-39.01778 30.439943,-38.946338 30.4375,-38.84375 C 30.443454,-38.776314 30.397438,-38.724268 30.40625,-38.65625 L 30.46875,-38.65625 C 30.47979,-38.084929 30.516524,-37.525479 30.6875,-37.0625 C 30.244557,-36.658887 29.751925,-36.218875 29.375,-35.875 C 29.050592,-35.579037 28.914507,-35.449981 28.625,-35.1875 C 28.022004,-36.088412 27.465302,-36.917025 26.78125,-37.84375 C 26.218245,-38.606485 25.682811,-39.288768 24.8125,-39.875 C 24.377344,-40.168116 23.809698,-40.467672 23.0625,-40.5 C 22.315302,-40.532328 21.491528,-40.187629 20.96875,-39.71875 C 17.786175,-36.864344 16.817198,-32.999866 17,-29.71875 C 17.182802,-26.437634 18.127395,-23.67023 20.1875,-22.03125 C 20.827186,-21.522313 21.144273,-21.551609 21.4375,-21.5 C 21.730727,-21.448391 22.006214,-21.419067 22.28125,-21.40625 C 22.458392,-21.397995 22.684512,-21.408208 22.875,-21.40625 C 23.365064,-20.673554 23.937904,-19.972696 24.6875,-19.34375 C 25.872107,-18.349809 27.403263,-17.492558 29.25,-17.4375 C 30.105138,-17.412002 31.072351,-17.53603 32.0625,-18.03125 C 33.052649,-18.52647 34.080449,-19.584045 34.40625,-20.96875 C 34.397085,-20.929798 34.400379,-21.043921 34.40625,-21.0625 L 34.4375,-21.0625 C 34.44614,-21.091077 34.411321,-21.046765 34.4375,-21.1875 C 34.477093,-21.380649 34.486471,-21.567597 34.5,-21.75 C 34.659618,-22.556491 34.643386,-22.577819 34.53125,-21.875 C 34.556831,-22.004239 34.555427,-22.071463 34.5625,-22.15625 C 34.564054,-22.174874 34.561438,-22.200812 34.5625,-22.21875 C 37.256404,-22.479432 40.21996,-22.773357 41.0625,-22.8125 C 41.090848,-22.813818 41.098085,-22.810901 41.125,-22.8125 C 42.18747,-21.732267 43.484449,-20.693011 45.03125,-19.84375 C 47.043594,-18.738886 49.28458,-17.844751 51.6875,-18.25 C 52.995594,-18.470643 54.322016,-19.095108 55.46875,-20.21875 C 56.528263,-21.256928 57.259658,-22.975878 57.03125,-24.84375 L 57.125,-24.84375 C 57.125,-24.971844 57.071837,-25.065515 57.0625,-25.1875 C 57.055982,-25.220607 57.06972,-25.248064 57.0625,-25.28125 L 57.03125,-25.28125 C 56.916983,-26.444803 56.460655,-27.371511 55.875,-28.25 C 55.547351,-28.741477 55.083799,-29.166613 54.6875,-29.625 C 54.702631,-29.641391 54.703723,-29.671024 54.71875,-29.6875 C 54.893132,-29.694158 55.024414,-29.659411 55.21875,-29.6875 C 56.627894,-29.891253 57.95856,-30.493845 59.125,-31.375 C 60.29144,-32.256155 61.331789,-33.460826 61.65625,-35.125 C 61.689036,-35.300056 61.699536,-35.478557 61.6875,-35.65625 C 61.569016,-37.809277 60.428027,-39.637149 58.875,-41.65625 C 57.321973,-43.675351 55.248879,-45.761858 52.9375,-47.75 C 48.314742,-51.726284 42.835972,-55.299807 37.90625,-56.125 C 38.005197,-56.108349 37.752425,-56.209522 37.21875,-56.21875 z "
id="path3590"
style="fill:#000b00;fill-opacity:1;stroke:none;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
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 "
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;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M -439.78153,1590.5388 C -440.11858,1587.9138 -437.37315,1586.5128 -435.75102,1586.3843 C -431.71872,1586.0648 -425.5261,1591.9325 -426.29294,1593.4387 C -427.5052,1595.8197 -431.89406,1598.0701 -433.47901,1598.1693 C -435.145,1598.2736 -439.99668,1593.0202 -439.78153,1590.5388 z "
id="path3552"
sodipodi:nodetypes="csssc" />
<path
sodipodi:nodetypes="csssc"
id="path3558"
d="M -417.27492,1604.8541 C -416.71241,1607.4395 -419.32637,1609.0766 -420.93123,1609.3473 C -424.9206,1610.0201 -431.59648,1604.7193 -430.96266,1603.1514 C -429.96068,1600.6728 -425.78289,1598.0451 -424.21254,1597.8069 C -422.56191,1597.5565 -417.27492,1602.3633 -417.27492,1604.8541 z "
style="fill:#000b00;fill-opacity:1;stroke:none;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="fill:#000b00;fill-opacity:1;stroke:none;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M -439.39549,1607.6219 C -439.35265,1609.7113 -441.25086,1610.2912 -442.53493,1610.2526 C -445.72688,1610.1566 -448.68565,1606.0591 -447.95655,1604.9428 C -446.80394,1603.1782 -444.38782,1601.1271 -443.13541,1601.1855 C -441.81896,1601.2468 -439.01706,1605.6928 -439.39549,1607.6219 z "
id="path3560"
sodipodi:nodetypes="csssc" />
<path
id="path3564"
d="M -421.21249,1594.2123 L -422.24376,1605.6581 L -420.18122,1602.7257 L -419.80621,1594.7799 L -421.21249,1594.2123 z "
style="fill:#000b00;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.0999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="csssc"
id="path3566"
d="M -428.59927,1589.0687 C -428.59927,1590.6385 -429.44771,1590.4229 -431.20115,1591.6852 C -431.48792,1591.8917 -436.20111,1590.4175 -435.20281,1589.6374 C -434.23139,1588.8784 -433.26776,1587.8019 -431.61918,1586.8748 C -429.65831,1585.7721 -428.59927,1587.4988 -428.59927,1589.0687 z "
style="fill:#000b00;fill-opacity:1;stroke:none;stroke-width:4.15880203;stroke-miterlimit:4;stroke-opacity:1" />
<path
sodipodi:nodetypes="cscscc"
id="path3578"
d="M -449.45267,1591.5223 C -449.63305,1591.5321 -449.80592,1591.6051 -449.96929,1591.753 C -455.12411,1596.4178 -453.12069,1604.1421 -450.8896,1606.0404 C -452.73534,1603.2764 -453.77568,1596.757 -449.21554,1592.6303 C -448.71007,1592.1729 -448.11742,1592.4328 -447.47655,1593.0689 C -448.1877,1592.1404 -448.86137,1591.4901 -449.45267,1591.5223 z "
style="fill:#000b00;fill-opacity:1;stroke:none;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="csssc"
id="path3532"
d="M -439.75663,1590.7513 C -440.09027,1588.176 -437.3726,1586.8014 -435.76687,1586.6754 C -431.77533,1586.362 -425.64533,1592.1186 -426.40441,1593.5963 C -427.60441,1595.9323 -431.9489,1598.1401 -433.51783,1598.2374 C -435.16697,1598.3398 -439.9696,1593.1858 -439.75663,1590.7513 z "
style="fill:#888a85;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="fill:#babdb6;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M -444.06374,1597.5812 C -444.05024,1598.234 -431.30984,1585.2682 -429.31573,1585.8587 C -423.82465,1587.4849 -416.68936,1592.4754 -417.65444,1596.3186 C -418.86318,1601.1321 -429.61384,1604.7238 -431.30199,1604.8023 C -434.45967,1604.949 -449.74858,1606.8131 -450.77497,1605.9965 C -453.06776,1604.1724 -455.18941,1596.2887 -449.90033,1591.545 C -448.38132,1590.1826 -446.08106,1595.1145 -444.06374,1597.5812 z "
id="path3243"
sodipodi:nodetypes="csssssc" />
<path
style="fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M -417.25576,1604.685 C -416.69893,1607.2215 -419.28647,1608.8276 -420.8751,1609.0931 C -424.82414,1609.7532 -431.43252,1604.5527 -430.80511,1603.0145 C -429.81326,1600.5828 -425.67771,1598.0048 -424.12324,1597.7711 C -422.48929,1597.5254 -417.25576,1602.2413 -417.25576,1604.685 z "
id="path3238"
sodipodi:nodetypes="csssc" />
<path
sodipodi:nodetypes="csssc"
id="path3241"
d="M -439.83676,1607.5532 C -439.79434,1609.6031 -441.67337,1610.172 -442.94445,1610.1341 C -446.10413,1610.0399 -449.03299,1606.02 -448.31126,1604.9248 C -447.17031,1603.1936 -444.77861,1601.1813 -443.53886,1601.2385 C -442.23572,1601.2988 -439.46214,1605.6606 -439.83676,1607.5532 z "
style="fill:#d3d7cf;fill-opacity:1;stroke:#000000;stroke-width:0.45935535;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="fill:#eeeeec;fill-opacity:1;stroke:none;stroke-width:0.45935535;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M -424.12014,1598.104 C -425.5204,1598.3145 -429.25073,1600.6426 -430.14418,1602.8332 C -428.69663,1601.0906 -426.06717,1599.5407 -424.93649,1599.3708 C -423.46465,1599.1496 -418.74356,1603.3905 -418.74356,1605.5918 C -418.62364,1606.138 -418.67516,1606.6384 -418.828,1607.0838 C -418.12912,1606.4065 -417.67642,1605.4674 -417.92722,1604.3251 C -417.92722,1602.1239 -422.6483,1597.8827 -424.12014,1598.104 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-dasharray:none;stroke-opacity:1"
d="M -421.37533,1594.3553 L -422.39617,1605.5846 L -420.35448,1602.7077 L -419.98327,1594.9122 L -421.37533,1594.3553 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 -428.68742,1590.8491 -429.52729,1590.6376 -431.263,1591.876 C -431.54687,1592.0786 -436.21241,1590.6323 -435.2242,1589.867 C -434.2626,1589.1223 -433.30872,1588.0662 -431.6768,1587.1566 C -429.73576,1586.0747 -428.68742,1587.7689 -428.68742,1589.309 z "
id="path3245"
sodipodi:nodetypes="csssc" />
<path
style="fill:#eeeeec;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M -451.43481,1604.2683 C -451.43481,1604.2683 -434.79595,1595.0921 -431.68112,1592.0252 C -432.09702,1592.0793 -435.08451,1591.1283 -435.72246,1590.4698 C -439.86758,1593.8242 -451.43481,1604.2683 -451.43481,1604.2683 z "
id="path3258"
sodipodi:nodetypes="cccc" />
<path
style="fill:#eeeeec;fill-opacity:1;stroke:none;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M -449.32999,1591.7162 C -449.50855,1591.7258 -449.67967,1591.7975 -449.84139,1591.9425 C -454.94409,1596.5191 -452.96093,1604.0973 -450.75239,1605.9597 C -452.57947,1603.2479 -453.60929,1596.8518 -449.09526,1592.8032 C -448.5949,1592.3544 -448.00824,1592.6095 -447.37385,1593.2336 C -448.07781,1592.3226 -448.74467,1591.6846 -449.32999,1591.7162 z "
id="path3445"
sodipodi:nodetypes="cscscc" />
<path
style="opacity:0.98999999;fill:#eeeeec;fill-opacity:1;stroke:none;stroke-width:0.45935535;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M -443.34926,1601.4994 C -443.49589,1601.4926 -443.64611,1601.5084 -443.82235,1601.5586 C -442.49908,1602.4282 -440.55669,1605.7639 -440.86555,1607.3243 C -440.82698,1609.1884 -442.44954,1609.7687 -443.64494,1609.7784 C -443.36185,1609.8511 -443.07764,1609.888 -442.78747,1609.8967 C -441.58481,1609.9326 -439.79054,1609.4117 -439.83067,1607.4721 C -439.47622,1605.6814 -442.11626,1601.5565 -443.34926,1601.4994 z "
id="path3385" />
<g
id="g3381"
transform="translate(-23.531517,-7.5807423)">
<path
id="path2221"
d="M -411.55855,1583.1982 C -413.55387,1583.163 -416.84262,1585.0557 -416.42197,1586.8041 C -415.91172,1588.925 -413.46873,1592.2215 -410.28958,1595.4601 C -410.28911,1595.4606 -410.28718,1595.4596 -410.28671,1595.4601 C -409.80676,1595.2385 -409.25467,1595.1127 -408.67035,1595.1127 C -406.80054,1595.1127 -405.28548,1596.4013 -405.28548,1597.9894 C -405.28548,1598.5643 -405.48279,1599.0988 -405.82522,1599.5483 C -401.41701,1603.1767 -396.67975,1605.9188 -393.82169,1605.5056 C -391.84788,1605.2203 -389.50748,1603.6515 -389.13626,1601.7475 C -389.41468,1596.6882 -402.91941,1584.6148 -411.17671,1583.2326 C -411.29675,1583.2125 -411.42553,1583.2005 -411.55855,1583.1982 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-dasharray:none;stroke-opacity:1" />
<path
style="opacity:0.82352941;fill:#eeeeec;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4.9000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M -411.41491,1583.1891 C -413.35882,1583.1546 -416.55305,1585.0001 -416.19756,1586.7208 C -415.58442,1585.3852 -413.25255,1584.2027 -411.72493,1584.2298 C -411.5994,1584.2321 -411.47746,1584.2448 -411.36418,1584.264 C -403.57248,1585.5799 -390.83071,1597.0746 -390.568,1601.8914 C -390.87449,1603.4776 -392.60445,1604.8196 -394.27969,1605.3123 C -394.18561,1605.3055 -394.09382,1605.297 -394.0035,1605.2839 C -392.0659,1605.0012 -389.76845,1603.4474 -389.40404,1601.5616 C -389.67734,1596.5505 -402.93429,1584.5922 -411.04008,1583.2232 C -411.15792,1583.2033 -411.28433,1583.1914 -411.41491,1583.1891 z "
id="path3576" />
</g>
</g>
</g>
</g>
</svg>
[Activity]
name = @ACTIVITY_NAME@
activity_version = 1
host_version = 1
service_name = net.gcompris.@ACTIVITY_NAME@Activity
icon = activity-gcompris
exec = gcompris-factory net.gcompris.@ACTIVITY_NAME@Activity gcompris-instance
show_launcher = yes
......@@ -20,6 +20,14 @@ if test "$py" != ""; then
exit
fi
# Create the Sugar specific startup scripts
activity_name=`basename $1 -activity`
cp activity-gcompris.svg $1/activity
cp activity.info $1/activity
sed -i s/@ACTIVITY_NAME@/$activity_name/g $1/activity/activity.info
cp gcompris-instance $1/
cp gcompris-factory $1/
tar -cjf $1.tar.bz2 -h \
--exclude ".svn" --exclude "resources/skins/babytoy" \
$draw \
......@@ -33,3 +41,12 @@ tar -cjf $1.tar.bz2 -h \
--exclude "*.o" \
--exclude "*.lai" \
$1
# Create the sugar .xo zip bundle
tar -tjf $1.tar.bz2 | zip $1.xo -@
# Sugar cleanup
rm $1/activity/activity.info
rm $1/activity/activity-gcompris.svg
rm $1/gcompris-instance
rm $1/gcompris-factory
#!/bin/sh
export SUGAR_BUNDLE_PATH=`dirname $0`
[ -z "$SUGAR_PROFILE" ] && SUGAR_PROFILE=default
logdir="$HOME/.sugar/$SUGAR_PROFILE/logs"
[ ! -d "$logdir" ] && mkdir -p "$logdir"
log="$logdir/GCompris.log"
echo Started "$0" "$@" >> "$log"
export PATH=$SUGAR_BUNDLE_PATH:$PATH
exec sugar-native-factory "$@" >> "$log" 2>&1
#!/bin/sh
echo "$0" "$@"
# arguments are unordered, have to loop
args=""
while [ -n "$2" ] ; do
args="$args $1 $2"
case "$1" in
bundle_id) bundle_id="$2" ;;
activity_id) activity_id="$2" ;;
pservice_id) pservice_id="$2" ;;
object_id) object_id="$2" ;;
uri) uri="$2" ;;
*) echo unknown argument $1 $2 ;;
esac
shift;shift
done
# really need bundle id and activity id
if [ -z "$bundle_id" -o -z "$activity_id" ] ; then
echo ERROR: bundle_id and activity_id arguments required
echo Aborting
exit 1
fi
# some debug output
echo launching $bundle_id instance $activity_id
[ -n "$pservice_id" ] && echo shared as $pservice_id
[ -n "$object_id" ] && echo with journal obj $obj_id
[ -n "$uri" ] && echo loading uri $uri
# now run GCompris startup script
exec ./runit.sh \
--sugarBundleId $bundle_id \
--sugarActivityId $activity_id \
$args
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment