diff options
author | Cristhofer Travieso <cristhofert97@gmail.com> | 2012-08-24 15:49:28 (GMT) |
---|---|---|
committer | Cristhofer Travieso <cristhofert97@gmail.com> | 2012-08-24 15:49:28 (GMT) |
commit | c5ba6a09ccf4002b5dc143fa73d589b3171b8dfd (patch) | |
tree | d1762cc355ceb82801cbf5fa53d679004cac6497 |
Initial commit
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | activity.py | 1 | ||||
-rw-r--r-- | activity/activity.info | 7 | ||||
-rw-r--r-- | activity/icon.svg | 218 | ||||
-rwxr-xr-x | setup.py | 21 |
5 files changed, 252 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..568ed0e --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.pyc +*.pyo +*.mo +*~ +*.txt diff --git a/activity.py b/activity.py new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/activity.py @@ -0,0 +1 @@ +# diff --git a/activity/activity.info b/activity/activity.info new file mode 100644 index 0000000..ffee2dd --- /dev/null +++ b/activity/activity.info @@ -0,0 +1,7 @@ +[Activity] +name = Tic Tac Toe +activity_version = 1 +bundle_id = org.sugarlabs.Tic-Tac-Toe +exec = sugar-activity activity.Activity -s +icon = icon +license = GPLv3+ diff --git a/activity/icon.svg b/activity/icon.svg new file mode 100644 index 0000000..f1f5437 --- /dev/null +++ b/activity/icon.svg @@ -0,0 +1,218 @@ +<?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" + height="55" + id="svg2" + inkscape:version="0.48.2 r9819" + sodipodi:docname="icon.svg" + style="" + version="1.1" + width="55"> + <defs + id="defs4" + style=""> + <inkscape:perspective + id="perspective10" + inkscape:persp3d-origin="372.04724 : 350.78739 : 1" + inkscape:vp_x="0 : 526.18109 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="744.09448 : 526.18109 : 1" + sodipodi:type="inkscape:persp3d" + style="" /> + <inkscape:perspective + id="perspective3636" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_x="0 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="1 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" + style="" /> + <inkscape:perspective + id="perspective3658" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_x="0 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="1 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" + style="" /> + <inkscape:perspective + id="perspective3658-9" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_x="0 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="1 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" + style="" /> + <inkscape:perspective + id="perspective3697" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_x="0 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="1 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" + style="" /> + <inkscape:perspective + id="perspective3725" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_x="0 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="1 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" + style="" /> + <inkscape:perspective + id="perspective3749" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_x="0 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="1 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" + style="" /> + </defs> + <sodipodi:namedview + bordercolor="#666666" + borderopacity="1.0" + id="base" + inkscape:current-layer="layer1" + inkscape:cx="39.89093" + inkscape:cy="26.577885" + inkscape:document-units="px" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:window-height="864" + inkscape:window-maximized="1" + inkscape:window-width="1200" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:zoom="10" + pagecolor="#ffffff" + showgrid="false" + style="" /> + <metadata + id="metadata7" + style=""> + <rdf:RDF + style=""> + <cc:Work + rdf:about="" + style=""> + <dc:format + style="">image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" + style="" /> + <dc:title + style="" /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + id="layer1" + inkscape:groupmode="layer" + inkscape:label="Capa 1" + style="" + transform="translate(0,-997.36218)"> + <path + d="m 18.860727,1000.3897 0,48.9451" + id="path2993" + inkscape:connector-curvature="0" + style="fill:none;stroke:#000000;stroke-width:1.05478823px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="m 37.174524,1000.3703 0,48.984" + id="path2993-8" + inkscape:connector-curvature="0" + style="fill:none;stroke:#000000;stroke-width:1.01571417px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <g + id="g3034" + style="fill:none;stroke:#000000;stroke-opacity:1" + transform="matrix(0,-1,1,0,-997.56221,1081.2543)"> + <path + d="m 47.75287,1001.0896 0,48.9451" + id="path2993-83" + inkscape:connector-curvature="0" + style="fill:none;stroke:#000000;stroke-width:1.05478823000000022px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="m 66.066667,1001.0702 0,48.984" + id="path2993-8-4" + inkscape:connector-curvature="0" + style="fill:none;stroke:#000000;stroke-width:1.01571417000000008px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + </g> + <g + id="g3060" + style="stroke:#ffffff;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + transform="translate(0,17.3)"> + <path + d="m 5.2,1019.2622 10.7,10.7" + id="path3038" + inkscape:connector-curvature="0" + style="fill:none;stroke:#ffffff;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <g + id="g3056" + style="stroke:#ffffff;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"> + <g + id="g3053" + style="stroke:#ffffff;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"> + <path + d="M 16.2,21.7 5.05,32.85" + id="path3040" + inkscape:connector-curvature="0" + style="fill:none;stroke:#ffffff;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + transform="translate(0,997.36218)" /> + </g> + </g> + </g> + <path + d="m 34.400001,27.450001 c 0,3.396551 -2.775835,6.15 -6.2,6.15 -3.424166,0 -6.2,-2.753449 -6.2,-6.15 0,-3.396552 2.775834,-6.15 6.2,-6.15 3.424165,0 6.2,2.753448 6.2,6.15 z" + id="path3864" + sodipodi:cx="28.200001" + sodipodi:cy="27.450001" + sodipodi:rx="6.1999998" + sodipodi:ry="6.1500001" + sodipodi:type="arc" + style="fill:none;stroke:#ffffff;stroke-width:1.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + transform="translate(0,996.86218)" /> + <g + id="g3060-9-4" + style="stroke:#000000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + transform="translate(35.675,17.625)"> + <g + id="g3056-9-6" + style="stroke:#000000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"> + <g + id="g3053-8-0" + style="stroke:#000000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + </g> + </g> + <g + id="g3060-9-9" + style="stroke:#ffffff;stroke-width:1.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + transform="translate(35.175,-17.075)"> + <path + d="m 5.2,1019.2622 10.7,10.7" + id="path3038-6-4" + inkscape:connector-curvature="0" + style="fill:none;stroke:#ffffff;stroke-width:1.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <g + id="g3056-9-3" + style="stroke:#ffffff;stroke-width:1.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"> + <g + id="g3053-8-07" + style="stroke:#ffffff;stroke-width:1.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"> + <path + d="M 16.2,21.7 5.05,32.85" + id="path3040-8-71" + inkscape:connector-curvature="0" + style="fill:none;stroke:#ffffff;stroke-width:1.50000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + transform="translate(0,997.36218)" /> + </g> + </g> + </g> + </g> +</svg> diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..530f97c --- /dev/null +++ b/setup.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python + +# Copyright (C) 2006, Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +from sugar.activity import bundlebuilder + +bundlebuilder.start() |