Etoys-116/ 0000775 0001223 0001223 00000000000 11432353517 011134 5 ustar bert bert Etoys-116/bin/ 0000775 0001223 0001223 00000000000 11432353517 011704 5 ustar bert bert Etoys-116/bin/etoys-activity 0000755 0001223 0001223 00000004722 11432417364 014633 0 ustar bert bert #!/bin/sh
# Author: Bert Freudenberg
# Purpose: Run Etoys using the Squeak virtual machine
[ "$SUGAR_LOGGER_LEVEL" == "debug" ] && export ETOYS_DEBUG=1
[ "0$ETOYS_DEBUG" -gt "0" ] && DEBUG=echo || DEBUG=false
# arguments are unordered, have to loop
args=""
while [ -n "$2" ] ; do
case "$1" in
-b | --bundle-id) bundle_id="$2" ; args="$args BUNDLE_ID $2" ;;
-a | --activity-id) activity_id="$2" ; args="$args ACTIVITY_ID $2";;
-o | --object-id) object_id="$2" ; args="$args OBJECT_ID $2";;
-u | --uri) uri="$2" ; args="$args 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
$DEBUG launching $bundle_id instance $activity_id
[ -n "$object_id" ] && $DEBUG with journal obj $object_id
[ -n "$uri" ] && $DEBUG loading uri $uri
$DEBUG
# sanitize
[ -z "$SUGAR_PROFILE" ] && SUGAR_PROFILE=default
[ -z "$SUGAR_ACTIVITY_ROOT" ] && SUGAR_ACTIVITY_ROOT="$HOME/.sugar/$SUGAR_PROFILE/etoys"
# rainbow-enforced locations
export SQUEAK_SECUREDIR="$SUGAR_ACTIVITY_ROOT/data/private"
export SQUEAK_USERDIR="$SUGAR_ACTIVITY_ROOT/data/MyEtoys"
# make group-writable for rainbow
umask 0002
[ ! -d "$SQUEAK_SECUREDIR" ] && mkdir -p "$SQUEAK_SECUREDIR" && chmod o-rwx "$SQUEAK_SECUREDIR"
[ ! -d "$SQUEAK_USERDIR" ] && mkdir -p "$SQUEAK_USERDIR"
# look for alternate images on USB, in data dir, and in bundle
ALTIMG=`echo /media/*/olpc-dev/etoys.image`
if [ -r "$ALTIMG" ] ; then
args="$args --image $ALTIMG"
export SQUEAK_USERDIR=`dirname $ALTIMG`
else
ALTIMG="$SUGAR_ACTIVITY_ROOT/data/etoys.image"
if [ -r "$ALTIMG" ] ; then
args="$args --image $ALTIMG"
else
ALTIMG="$SUGAR_BUNDLE_PATH/etoys.image"
if [ -r "$ALTIMG" ] ; then
args="$args --image $ALTIMG"
fi
fi
fi
# look for additional translations
if [ -d "$SUGAR_BUNDLE_PATH/locale" ] ; then
args="$args MO_PATH $SUGAR_BUNDLE_PATH/locale"
fi
# put Squeaklets in instance dir so datastore can move files
squeaklets="$SUGAR_ACTIVITY_ROOT/instance"
[ ! -d "$squeaklets" ] && mkdir -p "$squeaklets"
# do not crash on dbus errors
export DBUS_FATAL_WARNINGS=0
# now run Squeak VM with Etoys image
exec etoys \
-sugarBundleId $bundle_id \
-sugarActivityId $activity_id \
BUNDLE_PATH $SUGAR_BUNDLE_PATH \
SQUEAKLETS "$squeaklets" \
$args
Etoys-116/setup.py 0000755 0001223 0001223 00000000125 11432417364 012646 0 ustar bert bert #!/usr/bin/env python
from sugar.activity import bundlebuilder
bundlebuilder.start()
Etoys-116/NEWS 0000644 0001223 0001223 00000013231 11432417364 011632 0 ustar bert bert 116
* 16 Aug 2010
* since the etoys activity wrapper is indepent of the etoys system package, I will
stop tracking unrelated changes here. A new Etoys activity will only be released
if the wrapper actually changes.
115
* 29 Mar 2010
* the last activity release that tracked the etoys system package closely
* this was for the Etoys 4.0.2340-2 release
* entries below have been trimmed except for those that actually had a relevant change
114-105
* no changes
104
* 30 Aug 2009
* add 'make check' to make jhbuild bot happy
103
* no changes
102
* 07 Jul 2009
* add setup.py
101
* 01 Apr 2009
* add more ogg mime types to activity.info
100
* no changes
99
* 15 Jan 2009
* include icons for mime types
98-97
* no changes
96
* 29 Oct 2008
* make Makefile work on Fedora 9
* use bundle_id instead of service_name
* adjust to recent bundlebuilder changes
95-94
* no changes
93
* 16 Sep 2008
* add license info to xo bundle
92-90
* no changes
89
* 29 Aug 2008
* add update_url for XO bundle
88-76
* no changes
75
* 28 Jan 2008
* remove audio/mpeg and video/mpeg mimetypes
* add application/x-squeak-archive mimetype
74-70
* no changes
69
* 16 Nov 2007
* make DBus warnings non-fatal
68
* 09 Nov 2007
* set umask to 0002 to make group-accessible (#4770)
* rename sandbox to MyEtoys (#4787)
67
* 08 Nov 2007
* make private dir group-writable for rainbow
66
* 05 Nov 2007
* use "data/" subdirectory of $SUGAR_ACTIVITY_ROOT (#2546)
65-63
* no changes
62
* 18 Oct 2007
* make same bundle work in old and new Sugar (bf)
61
* 16 Oct 2007
* changed activity launch to match new Sugar
60-58
* no changes
57
* 11 Sep 2007
* remove B1 128mb memory hack (bf)
* fix icon (display inline)
56-52
* no changes
51
* 24 Jul 2007
* provide shared-mime-info magic file
* fixed icon (eben)
* declare mime-types in activity.info
* fix typo in etoys-instance script
50-47
* no changes
46
* 12 Jul 2007
* add workaround for ticket 1951 (bf)
* fix SUGAR_BUNDLE_PATH in etoys-factory (bf)
45
* 10 Jul 2007
* use bundlebuilder for packaging .xo (bf)
* include NEWS file in xo bundle (bf)
* look for alternative "olpc-dev/etoys.image" in /media instead of /mnt
44
* 29 Jun 2007
* split off activity into .xo bundle
* removed factory-service (now in Sugar as sugar-native-factory)
43
* no changes
42
* 26 Jun 2007
* remove python activity wrapper, get rid of automake (bf)
* add factory-service (external activity factory) (bf)
* provide activity protocol on DBus from etoys (bf)
41
* 14 Jun 2007
* added detailed ChangeLog (generated via mkChangeLog)
* for old Sugar, use nick name sans spaces as key
* 2.0.1361 from SVN rev. 11
* enhanced BookMorph controls (sw)
* dnd supports images and text in addition to files now (tak)
* add DBus bindings (impara)
40
* 14 May 2007
* 2.0.1349 from SVN rev. 8
* put back screen sharing button
39
* 10 May 2007
* 2.0.1345 from SVN rev. 7
* minor fixes
* new demo project
38
* 09 May 2007
* 2.0.1337 from SVN rev. 6
* added presence service support, buddy badges (bf)
* Meta parser, used for expression precedence (yo, alex)
* s-expr serialization (yo)
* simulate 1200x900 on any screen (ar)
37
* 24 Apr 2007
* 2.0.1283 from SVN rev. 5:
* fix olpc bar to not constantly consume CPU (yo)
36
* 23 Apr 2007
* generate activity_version for activity.info from etoys.spec
* 2.0.1276 from SVN rev. 4:
* navigator bar and supplies in olpc look (yo)
* blueprint canvas (sw), optional implicit self in tiles (sw)
35
* 02 Apr 2007
* use $HOME as user directory for trial1
34
* 30 Mar 2007
* moved Content to SVN (now at rev. 3)
* 2.0.1252
* bigger cursors (bf)
* load rather than generate DSA key (bf)
33
* 23 Mar 2007
* 2.0.1238, launch project from webbrowser (bf)
* add Ogg support (tak, needs new plugin)
* better camera support (dgd, needs new plugin)
* updated DemonCastle project (ted)
32
* 27 Feb 2007
* 2.0.1224-2: Fixes to run under new Sugar
* adjust case of file/directory names to match other activities
31
* 21 Feb 2007
* 2.0.1224, fixes, added XML support, new DAV-based updates
30
* 12 Feb 2007
* 2.0.1203, fix icon path
29
* 17 Jan 2007
* 2.0.1198, Changes from Scott Wallace
28
* 16 Jan 2007
* 2.0.1192, initial screens tweak
27
* 15 Jan 2007
* 2.0.1188, minor fixes
26
* 12 Jan 2007
* 2.0.1185, new start screen
25
* 11 Jan 2007
* 2.0.1183, pre-loaded Welcome and a tutorial projects
24
* 10 Jan 2007
* 2.0.1179, updated projects
23
* 09 Jan 2007
* 2.0.1178, more font adjustments
22
* 05 Jan 2007
* 2.0.1168, use Komika fonts
21
* 04 Jan 2007
* 2.0.1166, fixed DemonCastle
20
* 22 Dec 2006
* 2.0.1156, run from /mnt/stick/olpc-dev/etoys.image if existant
19
* 19 Dec 2006
* 2.0.1145, patched icon because of broken css lib
18
* 18 Dec 2006
* 2.0.1142, new bundle info, requires latest sugar
17
* 01 Dec 2006
* 2.0.1134, require squeak-vm >= 3.9-10 for ALSA fix
16
* 24 Nov 2006
* 2.0.1130, activity bundle v1, deactivate sound if not focused
15
* 10 Nov 2006
* 1.0.1118, stop sound when done
14
* 27 Oct 2006
* 1.0.1108, more example projects
13
* 26 Oct 2006
* 1.0.1105, example projects
12
* 25 Oct 2006
* 1.0.1104, DemonCastle1.009.pr, Welcome.023.pr
11
* 24 Oct 2006
* 1.0.1102, DemonCastle1.007.pr, Welcome.021.pr
10
* 21 Oct 2006
* 1.0.1098
9
* 20 Oct 2006
* 1.0.1095 added Welcome and DemonCastle1 projects
8
* 19 Oct 2006
* 1.0.1093 relicense to APACHE 2.0 / MIT
7
* 18 Oct 2006
* 1.0.1092
6
* 17 Oct 2006
* 1.0.1085
5
* 11 Oct 2006
* 1.0.1045
4
* 10 Oct 2006
* 1.0.1039
3
* 09 Oct 2006
* 1.0.1037
2
* 07 Oct 2006
* 1.0.1032
1
* 06 Oct 2006
* initial RPM for OLPC (1.0.1022)
Etoys-116/MANIFEST 0000664 0001223 0001223 00000000452 11432417410 012257 0 ustar bert bert activity/application-x-squeak-project.svg
activity/activity-etoys.svg
activity/application-x-squeak-archive.svg
activity/application-x-squeak-image.svg
activity/application-x-squeak-object.svg
activity/activity.info
activity/application-x-squeak-source.svg
setup.py
NEWS
COPYING
bin/etoys-activity
Etoys-116/COPYING 0000644 0001223 0001223 00000002110 11432417364 012160 0 ustar bert bert Copyright (c) 2006-2008 Viewpoints Research Institute, and Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Etoys-116/activity/ 0000775 0001223 0001223 00000000000 11432353517 012770 5 ustar bert bert Etoys-116/activity/application-x-squeak-archive.svg 0000644 0001223 0001223 00000002642 11432417366 021174 0 ustar bert bert
]>
Etoys-116/activity/application-x-squeak-project.svg 0000644 0001223 0001223 00000002642 11432417366 021221 0 ustar bert bert
]>
Etoys-116/activity/application-x-squeak-source.svg 0000644 0001223 0001223 00000002642 11432417366 021053 0 ustar bert bert
]>
Etoys-116/activity/application-x-squeak-image.svg 0000644 0001223 0001223 00000002642 11432417366 020635 0 ustar bert bert
]>
Etoys-116/activity/activity.info 0000644 0001223 0001223 00000001361 11432417364 015501 0 ustar bert bert [Activity]
name = Etoys
activity_version = 116
host_version = 1
bundle_id = org.vpri.EtoysActivity
icon = activity-etoys
exec = etoys-activity
license = MIT
update_url = http://etoys.laptop.org/xo
mime_types = application/x-squeak-project;application/x-squeak-image;application/x-squeak-object;application/x-squeak-source;application/x-squeak-archive;text/html;text/rtf;text/plain;image/bmp;image/gif;image/jpeg;image/png;image/pnm;image/x-xbitmap;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/pcx;audio/midi;audio/basic;audio/aiff;audio/wav;audio/x-speex+ogg;audio/x-speex;application/zip;application/x-shockwave-flash;application/x-truetypefont;application/ogg;audio/ogg;audio/vorbis;video/ogg
Etoys-116/activity/activity-etoys.svg 0000644 0001223 0001223 00000002642 11432417366 016513 0 ustar bert bert
]>
Etoys-116/activity/application-x-squeak-object.svg 0000644 0001223 0001223 00000002642 11432417366 021021 0 ustar bert bert
]>