Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Aguiar <alanjas@hotmail.com>2013-04-01 14:26:41 (GMT)
committer Alan Aguiar <alanjas@hotmail.com>2013-04-01 14:26:41 (GMT)
commitc62b4f2265fb5a90aa8b62fa1e1ad3b3c4a235f1 (patch)
tree576e990407bd902081ffe3e0f09dc25b74fe64f0
add all files of v1 except jre
-rw-r--r--BUILD.txt82
-rw-r--r--ChangeLog.txt12
-rw-r--r--README.txt23
-rw-r--r--activity.py165
-rw-r--r--activity/activity.info8
-rw-r--r--activity/jre-sugar-icon-colored.svg97
-rw-r--r--activity/jre-sugar-icon.svg108
-rw-r--r--images/ceibaljam.pngbin0 -> 17113 bytes
-rw-r--r--jre1.6.0_18/.systemPrefs/.system.lock0
-rw-r--r--jre1.6.0_18/.systemPrefs/.systemRootModFile0
-rw-r--r--po/Java.pot49
-rw-r--r--po/es.po48
-rwxr-xr-xsetup.py21
13 files changed, 613 insertions, 0 deletions
diff --git a/BUILD.txt b/BUILD.txt
new file mode 100644
index 0000000..2680d7a
--- /dev/null
+++ b/BUILD.txt
@@ -0,0 +1,82 @@
+
+ Sugarizing the Java Runtime Environment (JRE)
+ ===============================================
+
+Build platform: Sugar 0.82.1 + Fedora 9
+
+
+1) Download the JRE
+
+$ BASEDIR="$HOME/Activities/JRE.activity"
+$ mkdir $BASEDIR
+$ cd $BASEDIR
+$ wget \
+ --no-check-certificate \
+ --output-document='jre-linux.bin' \
+ http://javadl.sun.com/webapps/download/AutoDL?BundleId=37391
+
+If the link is not correct anymore, go to the Java download page:
+ http://java.com/en/download/manual.jsp
+and dowload the "Linux (self-extracting file)" link.
+
+
+2) Unpack the JRE
+
+$ chmod 755 jre-linux.bin
+$ sh jre-linux.bin
+
+Read the license and accept it to continue (scroll as in the "more" command).
+The JRE will be unpacked into a directory with the name of the JRE version.
+In the example, the directory name is "jre1.6.0_18"
+
+After checking that the unpacking process is complete, erase the package:
+$ /bin/rm jre-linux.bin
+
+
+3) Add Python code to show something when the activity is run
+
+File "activity.py" has some code to show information to the user.
+The "images" folder contains images shown by the Python code.
+
+
+4) Internationalization (i18n)
+
+Reference for this section:
+http://wiki.laptop.org/go/Python_i18n
+
+
+cd $HOME/Activities/Java.activity
+# Create the local directories
+mkdir -p locale/es/LC_MESSAGES
+# Create the "po/Java.pot" file:
+./setup.py genpot
+# Complete the first lines of the "po/Java.pot" file with the version
+# information, your e-mail, etc.
+# Initialize a translation file for a given language (e.g. Spanish):
+cd po
+msginit -o es.po -l es
+# The former command creates file "es.po", which should contain the Spanish
+# translation. You may see some errors about a "team-address" file not found,
+# but the translation file is created anyway.
+
+Modify the "es.po" file to add the Spanish translations.
+The command that builds the Sugar bundle will also create a "locale" folder
+in the bundle folder containing the binary maps of the translations.
+
+
+5) The sugarization process required to add the following components:
+
+* "activity" folder (info, icon)
+* "setup.py" script (to build the Sugar bundle)
+
+
+6) Create the Sugar bundle
+
+$ ./setup.py dist_xo
+
+
+
+-----------------------------------------------------------------------------
+Author: Marcos Orfila - http://www.marcosorfila.com
+Last modified: Mar 2nd, 2010
+
diff --git a/ChangeLog.txt b/ChangeLog.txt
new file mode 100644
index 0000000..d8c5df6
--- /dev/null
+++ b/ChangeLog.txt
@@ -0,0 +1,12 @@
+
+ Java Runtime Environment for Sugar ChangeLog
+ ==============================================
+
+2010-03-02 (version 1):
+ * Based on JRE 1.6.0_18
+
+
+-------------------------------------------------------------------------------
+Author: Marcos Orfila - http://www.marcosorfila.com
+Last modified: Mar 2nd, 2010
+
diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..acdbdea
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,23 @@
+
+ Java Runtime Environment for Sugar
+ ====================================
+
+Copyright © 2010 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+California 95054, U.S.A. All rights reserved.
+
+
+Packaged by Marcos Orfila
+http://www.marcosorfila.com
+
+
+Visit CeibalJAM! for more activities:
+http://activities.ceibaljam.org
+Volunteers are welcome!
+
+Java homepage:
+http://java.com
+
+See the "BUILD.txt" file to learn how to sugarize Java yourself.
+See the "ChangeLog.txt" file to see the changes in different releases.
+
+
diff --git a/activity.py b/activity.py
new file mode 100644
index 0000000..6ae0557
--- /dev/null
+++ b/activity.py
@@ -0,0 +1,165 @@
+# -*- coding: UTF-8 -*-
+# Copyright 2007-2008 One Laptop Per Child
+# Copyright 2007 Gerard J. Cerchio <www.circlesoft.com>
+# Copyright 2008 Andrés Ambrois <andresambrois@gmail.com>
+# Copyright 2010 Marcos Orfila <www.marcosorfila.com>
+#
+# 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
+
+import logging
+import sugar.logger
+import gtk
+import pygtk
+from gettext import gettext as _
+from sugar.activity.activity import Activity, ActivityToolbox
+import pango
+import os
+import commands
+import sys
+
+
+logger = logging.getLogger('JRE')
+
+
+class JreActivity(Activity):
+
+ # Folder where the JRE has been unpacked
+ jre_folder = "jre1.6.0_18"
+
+
+ def __init__(self, handle):
+ # Initialize the parent
+ Activity.__init__(self, handle)
+ logger.debug('Initiating JRE')
+
+
+
+ # Set the activity toolbox
+ toolbox = ActivityToolbox(self)
+ self.set_toolbox(toolbox)
+
+ self.ceibaljam_icon_path = os.getenv("SUGAR_BUNDLE_PATH") + "/images/ceibaljam.png"
+
+ #
+ # There's a good explanation of the use of boxes in PyGTK here:
+ # http://www.pygtk.org/pygtk2tutorial/sec-DetailsOfBoxes.html
+ #
+
+ box_canvas = gtk.VBox(False, 0)
+ self.set_canvas(box_canvas)
+
+
+ # Title
+
+ box_title = gtk.VBox(False, 0)
+ label_title = gtk.Label(_("Java Runtime Environment"))
+ label_title.set_justify(gtk.JUSTIFY_CENTER)
+ label_title.modify_font(pango.FontDescription("Arial 18"))
+ label_copyright1 = gtk.Label(_("Copyright © 2010 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,"))
+ label_copyright2 = gtk.Label(_("California 95054, U.S.A. All rights reserved."))
+ label_copyright1.set_justify(gtk.JUSTIFY_CENTER)
+ label_copyright2.set_justify(gtk.JUSTIFY_CENTER)
+
+ box_title.add(gtk.Label(""))
+ box_title.add(gtk.Label(""))
+ box_title.add(label_title)
+ box_title.add(gtk.Label(""))
+ box_title.add(gtk.Label(""))
+ box_title.add(label_copyright1)
+ box_title.add(label_copyright2)
+ box_title.add(gtk.Label(""))
+
+ # Version
+
+ box_version = gtk.VBox(False, 0)
+ #label_version_title = gtk.Label(_("Version information"))
+ #label_version_title.modify_font(pango.FontDescription("Arial 12"))
+ #label_version_title.set_justify(gtk.JUSTIFY_LEFT)
+ version_information = commands.getoutput(os.path.dirname(os.path.abspath(__file__)) + "/" + self.jre_folder + "/bin/java -version")
+ label_version_info = gtk.Label(version_information)
+ label_version_info.set_justify(gtk.JUSTIFY_CENTER)
+
+ #box_version.add(gtk.Label(""))
+ #box_version.add(box_version_title)
+ box_version.add(gtk.Label(""))
+ box_version.add(label_version_info)
+ box_version.add(gtk.Label(""))
+
+ # Usage explanation
+
+ box_usage = gtk.VBox(False, 0)
+ label_usage1 = gtk.Label(_("To use this JRE in your activity, add the following line to your script:"))
+ label_usage2 = gtk.Label('<b>PATH=/home/olpc/Activities/JRE.activity/jre1.6.0_18/bin:$PATH</b>')
+ label_usage2.set_use_markup(True)
+ label_usage1.set_justify(gtk.JUSTIFY_CENTER)
+ label_usage2.set_justify(gtk.JUSTIFY_CENTER)
+ box_usage.add(gtk.Label(""))
+ box_usage.add(label_usage1)
+ box_usage.add(label_usage2)
+ box_usage.add(gtk.Label(""))
+
+ # Credits
+
+ box_credits = gtk.VBox(False, 0)
+ box_credits.add(gtk.Label(""))
+ box_credits.add(gtk.Label(_('Sugarized by %(THE_AUTHOR)s') % { 'THE_AUTHOR': 'Marcos Orfila' }))
+ label_my_website = gtk.Label('<b>http://www.marcosorfila.com</b>')
+ label_my_website.set_use_markup(True)
+ box_credits.add(label_my_website)
+ box_credits.add(gtk.Label(""))
+
+ # Footer box (Activities on CeibalJAM! website)
+
+ box_footer = gtk.VBox(False, 0)
+ box_footer.add(gtk.Label(""))
+ box_footer.add(gtk.Label(_('Find more activities on %(CEIBALJAM)s website:') % { 'CEIBALJAM': 'CeibalJAM!'}))
+ label_ceibaljam_website = gtk.Label('<b>http://activities.ceibaljam.org</b>')
+ label_ceibaljam_website.set_use_markup(True)
+ box_footer.add(label_ceibaljam_website)
+ box_footer.add(gtk.Label(""))
+
+ # CeibalJAM! image
+
+ box_ceibaljam_image = gtk.VBox(False, 0)
+ image_ceibaljam = gtk.Image()
+ image_ceibaljam.set_from_file(self.ceibaljam_icon_path)
+ box_ceibaljam_image.pack_end(image_ceibaljam, False, False, 0)
+
+
+ # Get all the boxes together
+
+ box_canvas.pack_start(box_title, False, False, 0)
+ box_canvas.pack_start(box_version, False, False, 0)
+ box_canvas.pack_start(box_usage, False, False, 0)
+ box_canvas.pack_end(box_footer, False, False, 0)
+ box_canvas.pack_end(box_ceibaljam_image, False, False, 0)
+ box_canvas.pack_end(box_credits, False, False, 0)
+
+
+
+
+ # Test to show some environment variables
+ """
+ box_footer = gtk.VBox(False, 0)
+ box_footer.add(gtk.Label(""))
+ box_footer.add(gtk.Label("TUXMATH_SCRIPT = '" + os.getenv("TUXMATH_SCRIPT") + "'"))
+ box_footer.add(gtk.Label(""))
+ box_canvas.pack_end(box_footer, False, False, 0)
+ """
+
+ self.show_all()
+
+
+
diff --git a/activity/activity.info b/activity/activity.info
new file mode 100644
index 0000000..804eeb0
--- /dev/null
+++ b/activity/activity.info
@@ -0,0 +1,8 @@
+[Activity]
+name = Java
+activity_version = 1
+service_name = org.ceibaljam.java
+show_launcher = yes
+icon = jre-sugar-icon
+class = activity.JreActivity
+license = See the LICENSE file
diff --git a/activity/jre-sugar-icon-colored.svg b/activity/jre-sugar-icon-colored.svg
new file mode 100644
index 0000000..86825db
--- /dev/null
+++ b/activity/jre-sugar-icon-colored.svg
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14948) -->
+<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"
+ version="1.0"
+ id="Layer_1"
+ x="0px"
+ y="0px"
+ width="550"
+ height="550"
+ viewBox="0 0 300 550"
+ xml:space="preserve"
+ sodipodi:version="0.32"
+ inkscape:version="0.46"
+ sodipodi:docname="jre-sugar-icon-colored.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"><metadata
+ id="metadata32"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
+ id="defs30"><inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 275 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="300 : 275 : 1"
+ inkscape:persp3d-origin="150 : 183.33333 : 1"
+ id="perspective34" /></defs><sodipodi:namedview
+ inkscape:window-height="480"
+ inkscape:window-width="640"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ guidetolerance="10.0"
+ gridtolerance="10.0"
+ objecttolerance="10.0"
+ borderopacity="1.0"
+ bordercolor="#666666"
+ pagecolor="#ffffff"
+ id="base"
+ showgrid="false" />
+<path
+ style="fill:#e76f00"
+ d="M 285.104,430.945 L 283.066,430.945 L 283.066,429.805 L 288.552,429.805 L 288.552,430.945 L 286.528,430.945 L 286.528,436.633 L 285.104,436.633 L 285.104,430.945 z M 296.046,431.242 L 296.014,431.242 L 293.995,436.634 L 293.071,436.634 L 291.065,431.242 L 291.04,431.242 L 291.04,436.634 L 289.698,436.634 L 289.698,429.806 L 291.673,429.806 L 293.533,434.641 L 295.387,429.806 L 297.355,429.806 L 297.355,436.634 L 296.045,436.634 L 296.045,431.242 L 296.046,431.242 z"
+ id="path3" />
+<path
+ style="fill:#5382a1"
+ d="M 102.681,291.324 C 102.681,291.324 88.503,299.569 112.771,302.359 C 142.171,305.713 157.197,305.232 189.596,299.1 C 189.596,299.1 198.114,304.441 210.01,309.067 C 137.38,340.195 45.634,307.264 102.681,291.324"
+ id="path5" />
+<path
+ style="fill:#5382a1"
+ d="M 93.806,250.704 C 93.806,250.704 77.904,262.475 102.19,264.987 C 133.596,268.227 158.398,268.492 201.315,260.228 C 201.315,260.228 207.251,266.246 216.585,269.537 C 128.771,295.215 30.962,271.562 93.806,250.704"
+ id="path7" />
+<path
+ style="fill:#e76f00"
+ d="M 168.625,181.799 C 186.521,202.403 163.923,220.944 163.923,220.944 C 163.923,220.944 209.364,197.486 188.495,168.111 C 169.004,140.717 154.057,127.106 234.974,80.177 C 234.974,80.177 107.961,111.899 168.625,181.799"
+ id="path9" />
+<path
+ style="fill:#5382a1"
+ d="M 264.684,321.369 C 264.684,321.369 275.176,330.014 253.129,336.702 C 211.206,349.402 78.641,353.237 41.815,337.208 C 28.577,331.449 53.402,323.457 61.211,321.78 C 69.355,320.014 74.009,320.343 74.009,320.343 C 59.287,309.972 -21.148,340.707 33.152,349.509 C 181.236,373.524 303.095,338.695 264.684,321.369"
+ id="path11" />
+<path
+ style="fill:#5382a1"
+ d="M 109.499,208.617 C 109.499,208.617 42.068,224.633 85.62,230.449 C 104.009,232.911 140.667,232.354 174.813,229.493 C 202.719,227.139 230.74,222.134 230.74,222.134 C 230.74,222.134 220.9,226.348 213.781,231.209 C 145.306,249.218 13.025,240.84 51.107,222.419 C 83.313,206.851 109.499,208.617 109.499,208.617"
+ id="path13" />
+<path
+ style="fill:#5382a1"
+ d="M 230.462,276.231 C 300.07,240.06 267.886,205.3 245.422,209.983 C 239.916,211.129 237.461,212.122 237.461,212.122 C 237.461,212.122 239.505,208.92 243.409,207.534 C 287.85,191.91 322.028,253.615 229.063,278.054 C 229.063,278.055 230.14,277.092 230.462,276.231"
+ id="path15" />
+<path
+ style="fill:#e76f00"
+ d="M 188.495,4.399 C 188.495,4.399 227.045,42.962 151.932,102.261 C 91.699,149.829 138.197,176.951 151.907,207.939 C 116.748,176.217 90.946,148.292 108.256,122.302 C 133.663,84.151 204.049,65.654 188.495,4.399"
+ id="path17" />
+<path
+ style="fill:#5382a1"
+ d="M 116.339,374.246 C 183.154,378.523 285.756,371.873 288.186,340.258 C 288.186,340.258 283.515,352.243 232.967,361.761 C 175.939,372.493 105.603,371.24 63.886,364.362 C 63.887,364.361 72.426,371.43 116.339,374.246"
+ id="path19" />
+<path
+ style="fill:#e76f00"
+ d="M 105.389,495.048 C 99.086,500.515 92.429,503.584 86.455,503.584 C 77.928,503.584 73.321,498.471 73.321,490.27 C 73.321,481.399 78.257,474.913 98.06,474.913 L 105.388,474.913 L 105.388,495.048 M 122.781,514.671 L 122.781,453.929 C 122.781,438.412 113.931,428.173 92.593,428.173 C 80.136,428.173 69.224,431.249 60.355,435.172 L 62.915,445.924 C 69.898,443.361 78.937,440.975 87.809,440.975 C 100.101,440.975 105.389,445.924 105.389,456.156 L 105.389,463.833 L 99.254,463.833 C 69.389,463.833 55.917,475.426 55.917,492.827 C 55.917,507.844 64.795,516.38 81.511,516.38 C 92.256,516.38 100.277,511.944 107.775,505.452 L 109.136,514.672 L 122.781,514.672 L 122.781,514.671 z"
+ id="path21" />
+<path
+ style="fill:#e76f00"
+ d="M 180.825,514.671 L 159.133,514.671 L 133.027,429.711 L 151.97,429.711 L 168.169,481.911 L 171.77,497.61 C 179.965,474.912 185.761,451.884 188.66,429.711 L 207.087,429.711 C 202.15,457.688 193.266,488.396 180.825,514.671"
+ id="path23" />
+<path
+ style="fill:#e76f00"
+ d="M 264.038,495.048 C 257.723,500.515 251.054,503.584 245.08,503.584 C 236.568,503.584 231.949,498.471 231.949,490.27 C 231.949,481.399 236.897,474.913 256.698,474.913 L 264.038,474.913 L 264.038,495.048 M 281.428,514.671 L 281.428,453.929 C 281.428,438.412 272.556,428.173 251.243,428.173 C 238.777,428.173 227.861,431.249 218.996,435.172 L 221.552,445.924 C 228.538,443.361 237.594,440.975 246.459,440.975 C 258.742,440.975 264.038,445.924 264.038,456.156 L 264.038,463.833 L 257.893,463.833 C 228.019,463.833 214.553,475.426 214.553,492.827 C 214.553,507.844 223.424,516.38 240.137,516.38 C 250.888,516.38 258.906,511.944 266.417,505.452 L 267.783,514.672 L 281.428,514.672 L 281.428,514.671 z"
+ id="path25" />
+<path
+ style="fill:#e76f00"
+ d="M 36.847,529.099 C 31.889,536.338 23.881,542.065 15.114,545.305 L 6.527,535.2 C 13.2,531.776 18.923,526.246 21.582,521.095 C 23.882,516.514 24.834,510.61 24.834,496.491 L 24.834,399.496 L 43.312,399.496 L 43.312,495.162 C 43.311,514.038 41.802,521.663 36.847,529.099"
+ id="path27" />
+</svg>
diff --git a/activity/jre-sugar-icon.svg b/activity/jre-sugar-icon.svg
new file mode 100644
index 0000000..270307d
--- /dev/null
+++ b/activity/jre-sugar-icon.svg
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14948) -->
+<!-- Modified for Sugar by Marcos Orfila - http://www.marcosorfila.com -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
+ <!ENTITY stroke_color "#666666">
+ <!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"
+ version="1.0"
+ id="Layer_1"
+ x="0px"
+ y="0px"
+ width="550"
+ height="550"
+ viewBox="0 0 300 550"
+ xml:space="preserve"
+ sodipodi:version="0.32"
+ inkscape:version="0.46"
+ sodipodi:docname="Java_logo.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"><metadata
+ id="metadata32"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
+ id="defs30"><inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 275 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="300 : 275 : 1"
+ inkscape:persp3d-origin="150 : 183.33333 : 1"
+ id="perspective34" /></defs><sodipodi:namedview
+ inkscape:window-height="726"
+ inkscape:window-width="645"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ guidetolerance="10.0"
+ gridtolerance="10.0"
+ objecttolerance="10.0"
+ borderopacity="1.0"
+ bordercolor="#666666"
+ pagecolor="#ffffff"
+ id="base"
+ showgrid="false"
+ inkscape:zoom="0.89818182"
+ inkscape:cx="150"
+ inkscape:cy="275"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
+ inkscape:current-layer="Layer_1" />
+<path
+ style="fill:&fill_color;"
+ d="M 285.104,430.945 L 283.066,430.945 L 283.066,429.805 L 288.552,429.805 L 288.552,430.945 L 286.528,430.945 L 286.528,436.633 L 285.104,436.633 L 285.104,430.945 z M 296.046,431.242 L 296.014,431.242 L 293.995,436.634 L 293.071,436.634 L 291.065,431.242 L 291.04,431.242 L 291.04,436.634 L 289.698,436.634 L 289.698,429.806 L 291.673,429.806 L 293.533,434.641 L 295.387,429.806 L 297.355,429.806 L 297.355,436.634 L 296.045,436.634 L 296.045,431.242 L 296.046,431.242 z"
+ id="path3" />
+<path
+ style="fill:&stroke_color;"
+ d="M 102.681,291.324 C 102.681,291.324 88.503,299.569 112.771,302.359 C 142.171,305.713 157.197,305.232 189.596,299.1 C 189.596,299.1 198.114,304.441 210.01,309.067 C 137.38,340.195 45.634,307.264 102.681,291.324"
+ id="path5" />
+<path
+ style="fill:&stroke_color;"
+ d="M 93.806,250.704 C 93.806,250.704 77.904,262.475 102.19,264.987 C 133.596,268.227 158.398,268.492 201.315,260.228 C 201.315,260.228 207.251,266.246 216.585,269.537 C 128.771,295.215 30.962,271.562 93.806,250.704"
+ id="path7" />
+<path
+ style="fill:&fill_color;"
+ d="M 168.625,181.799 C 186.521,202.403 163.923,220.944 163.923,220.944 C 163.923,220.944 209.364,197.486 188.495,168.111 C 169.004,140.717 154.057,127.106 234.974,80.177 C 234.974,80.177 107.961,111.899 168.625,181.799"
+ id="path9" />
+<path
+ style="fill:&stroke_color;"
+ d="M 264.684,321.369 C 264.684,321.369 275.176,330.014 253.129,336.702 C 211.206,349.402 78.641,353.237 41.815,337.208 C 28.577,331.449 53.402,323.457 61.211,321.78 C 69.355,320.014 74.009,320.343 74.009,320.343 C 59.287,309.972 -21.148,340.707 33.152,349.509 C 181.236,373.524 303.095,338.695 264.684,321.369"
+ id="path11" />
+<path
+ style="fill:&stroke_color;"
+ d="M 109.499,208.617 C 109.499,208.617 42.068,224.633 85.62,230.449 C 104.009,232.911 140.667,232.354 174.813,229.493 C 202.719,227.139 230.74,222.134 230.74,222.134 C 230.74,222.134 220.9,226.348 213.781,231.209 C 145.306,249.218 13.025,240.84 51.107,222.419 C 83.313,206.851 109.499,208.617 109.499,208.617"
+ id="path13" />
+<path
+ style="fill:&stroke_color;"
+ d="M 230.462,276.231 C 300.07,240.06 267.886,205.3 245.422,209.983 C 239.916,211.129 237.461,212.122 237.461,212.122 C 237.461,212.122 239.505,208.92 243.409,207.534 C 287.85,191.91 322.028,253.615 229.063,278.054 C 229.063,278.055 230.14,277.092 230.462,276.231"
+ id="path15" />
+<path
+ style="fill:&fill_color;"
+ d="M 188.495,4.399 C 188.495,4.399 227.045,42.962 151.932,102.261 C 91.699,149.829 138.197,176.951 151.907,207.939 C 116.748,176.217 90.946,148.292 108.256,122.302 C 133.663,84.151 204.049,65.654 188.495,4.399"
+ id="path17" />
+<path
+ style="fill:&stroke_color;"
+ d="M 116.339,374.246 C 183.154,378.523 285.756,371.873 288.186,340.258 C 288.186,340.258 283.515,352.243 232.967,361.761 C 175.939,372.493 105.603,371.24 63.886,364.362 C 63.887,364.361 72.426,371.43 116.339,374.246"
+ id="path19" />
+<path
+ style="fill:&fill_color;"
+ d="M 105.389,495.048 C 99.086,500.515 92.429,503.584 86.455,503.584 C 77.928,503.584 73.321,498.471 73.321,490.27 C 73.321,481.399 78.257,474.913 98.06,474.913 L 105.388,474.913 L 105.388,495.048 M 122.781,514.671 L 122.781,453.929 C 122.781,438.412 113.931,428.173 92.593,428.173 C 80.136,428.173 69.224,431.249 60.355,435.172 L 62.915,445.924 C 69.898,443.361 78.937,440.975 87.809,440.975 C 100.101,440.975 105.389,445.924 105.389,456.156 L 105.389,463.833 L 99.254,463.833 C 69.389,463.833 55.917,475.426 55.917,492.827 C 55.917,507.844 64.795,516.38 81.511,516.38 C 92.256,516.38 100.277,511.944 107.775,505.452 L 109.136,514.672 L 122.781,514.672 L 122.781,514.671 z"
+ id="path21" />
+<path
+ style="fill:&fill_color;"
+ d="M 180.825,514.671 L 159.133,514.671 L 133.027,429.711 L 151.97,429.711 L 168.169,481.911 L 171.77,497.61 C 179.965,474.912 185.761,451.884 188.66,429.711 L 207.087,429.711 C 202.15,457.688 193.266,488.396 180.825,514.671"
+ id="path23" />
+<path
+ style="fill:&fill_color;"
+ d="M 264.038,495.048 C 257.723,500.515 251.054,503.584 245.08,503.584 C 236.568,503.584 231.949,498.471 231.949,490.27 C 231.949,481.399 236.897,474.913 256.698,474.913 L 264.038,474.913 L 264.038,495.048 M 281.428,514.671 L 281.428,453.929 C 281.428,438.412 272.556,428.173 251.243,428.173 C 238.777,428.173 227.861,431.249 218.996,435.172 L 221.552,445.924 C 228.538,443.361 237.594,440.975 246.459,440.975 C 258.742,440.975 264.038,445.924 264.038,456.156 L 264.038,463.833 L 257.893,463.833 C 228.019,463.833 214.553,475.426 214.553,492.827 C 214.553,507.844 223.424,516.38 240.137,516.38 C 250.888,516.38 258.906,511.944 266.417,505.452 L 267.783,514.672 L 281.428,514.672 L 281.428,514.671 z"
+ id="path25" />
+<path
+ style="fill:&fill_color;"
+ d="M 36.847,529.099 C 31.889,536.338 23.881,542.065 15.114,545.305 L 6.527,535.2 C 13.2,531.776 18.923,526.246 21.582,521.095 C 23.882,516.514 24.834,510.61 24.834,496.491 L 24.834,399.496 L 43.312,399.496 L 43.312,495.162 C 43.311,514.038 41.802,521.663 36.847,529.099"
+ id="path27" />
+</svg>
diff --git a/images/ceibaljam.png b/images/ceibaljam.png
new file mode 100644
index 0000000..2f2048f
--- /dev/null
+++ b/images/ceibaljam.png
Binary files differ
diff --git a/jre1.6.0_18/.systemPrefs/.system.lock b/jre1.6.0_18/.systemPrefs/.system.lock
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/jre1.6.0_18/.systemPrefs/.system.lock
diff --git a/jre1.6.0_18/.systemPrefs/.systemRootModFile b/jre1.6.0_18/.systemPrefs/.systemRootModFile
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/jre1.6.0_18/.systemPrefs/.systemRootModFile
diff --git a/po/Java.pot b/po/Java.pot
new file mode 100644
index 0000000..03a1966
--- /dev/null
+++ b/po/Java.pot
@@ -0,0 +1,49 @@
+# Translation for the sugarization of the Java Runtime Environment
+# Copyright (C) 2010 Marcos Orfila
+# This file is distributed under the same license as the containing package.
+# Marcos Orfila <www.marcosorfila.com>
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: 1.0\n"
+"Report-Msgid-Bugs-To: support@marcosorfila.com\n"
+"POT-Creation-Date: 2010-02-27 19:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Marcos Orfila <www.marcosorfila.com>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: activity/activity.info:2
+msgid "Java"
+msgstr ""
+
+#: activity.py:67
+msgid "Java Runtime Environment"
+msgstr ""
+
+#: activity.py:70
+msgid ""
+"Copyright © 2010 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,"
+msgstr ""
+
+#: activity.py:71
+msgid "California 95054, U.S.A. All rights reserved."
+msgstr ""
+
+#: activity.py:103
+msgid ""
+"To use this JRE in your activity, add the following line to your script:"
+msgstr ""
+
+#: activity.py:117
+#, python-format
+msgid "Sugarized by %(THE_AUTHOR)s"
+msgstr ""
+
+#: activity.py:127
+#, python-format
+msgid "Find more activities on %(CEIBALJAM)s website:"
+msgstr ""
diff --git a/po/es.po b/po/es.po
new file mode 100644
index 0000000..9c90a9a
--- /dev/null
+++ b/po/es.po
@@ -0,0 +1,48 @@
+# Translation for the sugarization of the Java Runtime Environment
+# Copyright (C) 2010 Marcos Orfila
+# This file is distributed under the same license as the containing package.
+# Marcos Orfila <www.marcosorfila.com>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: 1.0\n"
+"Report-Msgid-Bugs-To: support@marcosorfila.com\n"
+"POT-Creation-Date: 2010-02-27 19:25+0000\n"
+"PO-Revision-Date: 2010-03-02 04:10+0000\n"
+"Last-Translator: <support@marcosorfila.com>\n"
+"Language-Team: Spanish\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: activity/activity.info:2
+msgid "Java"
+msgstr "Java"
+
+#: activity.py:67
+msgid "Java Runtime Environment"
+msgstr "Entorno de ejecución de Java (JRE)"
+
+#: activity.py:70
+msgid "Copyright © 2010 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,"
+msgstr "Copyright © 2010 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,"
+
+#: activity.py:71
+msgid "California 95054, U.S.A. All rights reserved."
+msgstr "California 95054, U.S.A. Todos los derechos reservados."
+
+#: activity.py:103
+msgid "To use this JRE in your activity, add the following line to your script:"
+msgstr "Para utilizar esta JRE en tu actividad, agrega la siguiente línea a tu script:"
+
+#: activity.py:117
+#, python-format
+msgid "Sugarized by %(THE_AUTHOR)s"
+msgstr "Portado a Sugar por %(THE_AUTHOR)s"
+
+#: activity.py:127
+#, python-format
+msgid "Find more activities on %(CEIBALJAM)s website:"
+msgstr "Visita el sitio de %(CEIBALJAM)s para descargar más actividades:"
+
diff --git a/setup.py b/setup.py
new file mode 100755
index 0000000..d46c873
--- /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
+if __name__ == "__main__":
+ bundlebuilder.start()