Developer Images: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Add some open questions)
m (Reverted edits by 193.25.116.40 (Talk) to last version by 92.105.36.26)
 
(43 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<< [[Emulating the XO]]
{{obsolete|link=[[Emulating the XO]] or [[Live CD]]}}
__TOC__

= Obsolete =

Please note that the information on this page now refers to an obsolete approach from early 2007. Maintenance on the Developer Images proved too time-consuming for our limited project manpower, and as a result the images have fallen too far behind the project to be useful.

See [[Emulating the XO]] for the currently recommended approach, or you can boot a [[Live CD]].

= Developer Images (Quickstart Images) =
= Developer Images (Quickstart Images) =


Developer images are intended to provide a development environment in which you can immediately begin developing Sugar activities (applications). They are full Gnome desktops with Sugar pre-built which can be downloaded and run on Linux or Win32 machines using the free (0 cost, proprietary) VMWare Player application.
Developer images are intended to provide a development environment in which you can immediately begin developing Sugar activities (applications). They are full desktop installations with [[Sugar]] pre-built which can be downloaded and run on Linux or Win32 machines using the free (0 cost, proprietary) VMWare Player application.


Note: The images have far more software than the OLPC XO Laptops, so you need to be careful not to rely on libraries in the image!
Note: The images have far more software than the OLPC XO Laptops, so you need to be careful not to rely on libraries in the image! The images are also provided by members of the community. They are not necessarily "official" OLPC images.


See also [[Emulating the XO]].
At the moment the images are available via BitTorrent on the [http://linuxtracker.org/torrents-details.php?id=3734 LinuxTracker site] (they will be made available directly from OLPC in the future). Eventually the images will be converted to use Fedora Core as their base operating system, but at the moment they are based on the Gentoo system.


== Initial Release Images (v1) ==
== Red Hat SDK LiveCDs ==

Created by John (J5) Palmieri

Available for direct [http://olpc.download.redhat.com/olpc/streams/sdk/ download from Red Hat], these are minimal development environments (about 291MB) that have full sugar environment, gcc, gcc-c++, gdb, oprofile and oprofile-gui. We also have a Classic GNOME activity which launches a GNOME session which includes Nautilus, Metacity, gnome-volume-manager for automounting of external media, gedit, vim-x11, nautilus-open-terminal and gnome-terminal.

These builds are much closer to a regular laptop installation image than the other developer's images. That is, they tend to have less software installed, though there are still lots of packages not available on the laptop.

== Big Fedora Core 6 Build ==

Created by Noah Kantrowitz (kantrn [] rpi [] edu):

I have put together a disc image with a stock install of FC6 (using the Software Development package set) and Sugar already up and running. The compressed image is 1.7G, and is available using:

wget http://dev.laptop.org/~krstic/olpcdev-fc6.img.gz

Note: the server is not properly configured to allow downloading via many web browsers.

Uncompressed it should be just under 6G. I tried to install as much as possible using yum, but Python 2.5 and anything with a Python extension were compiled by hand.

Use olpc/password to login. The only thing not working on it is Etoys, as at the time I did the final build it was broken in git. If you have any questions about it, please don't hesitate to ask.

you are gay

== VMware image of a Gentoo desktop (v1) ==


This is a VMWare image of a Gentoo desktop upgraded to support the Sugar environment from the One Laptop Per Child project. The build directories for Sugar are intact so that you can upgrade to the latest Sugar releases in the same manner as the core developers do (by re-running sugar-jhbuild and skipping any failing projects).
This is a VMWare image of a Gentoo desktop upgraded to support the Sugar environment from the One Laptop Per Child project. The build directories for Sugar are intact so that you can upgrade to the latest Sugar releases in the same manner as the core developers do (by re-running sugar-jhbuild and skipping any failing projects).

To run the image you will need to unpack it (tar -xzvf) into a directory with at least 8 GB of free space. The image was created with VMWare Workstation 5.5 on Linux.


Username/password for the image is olpcwork/olpcwork. Launch Sugar using the XO (child) icon on the desktop, but keep in mind that Sugar is full-screen and includes no mechanism for closing, so you'll likely want to keep at least one other window open to which to alt-tab in order to kill Sugar when you are finished.
Username/password for the image is olpcwork/olpcwork. Launch Sugar using the XO (child) icon on the desktop, but keep in mind that Sugar is full-screen and includes no mechanism for closing, so you'll likely want to keep at least one other window open to which to alt-tab in order to kill Sugar when you are finished.
Line 24: Line 60:
The target market for this image is developers on Win32 or Linux who just want to start working on Sugar. Provides the ability to unpack, run and start working with Sugar in a reasonable development environment with mature tools available.
The target market for this image is developers on Win32 or Linux who just want to start working on Sugar. Provides the ability to unpack, run and start working with Sugar in a reasonable development environment with mature tools available.


[http://linuxtracker.org/torrents-details.php?id=3734 LinuxTracker site] has the torrent-based download.
== Needed Pieces ==

== [[Tuquito]] LiveCD Builds (Upcoming) ==


Intended to use Aufs to allow for a static base image with a dynamic overlay image. Coming soon.
* How do I do networking in Sugar?
* Internal (to other laptops)
* External (to the wider internet)
* How do I create a persistent server/service?
* How do I access the special hardware?
* Camera
* Camera-as-video-camera
* Touchpad
* Audio-port probe
* Mode-switching code for the screen
* How does HippoCanvas work?
* How do I produce a binary extension?
* How do I make my package available for users to download dynamically?
* How do I tell users about updates to the packages?
* How do I get access to user-generated content (share files between applications)?
* How do I test a Sugar activity? (sugar-activity activityname with Sugar running)
* How do I debug a Sugar activity?
* How do I create an asymmetric application? (Publisher for others to consume)

Latest revision as of 18:46, 14 December 2008

<< Emulating the XO

542-stopicon.png This page has a more up-to-date location: Emulating the XO or Live CD

Obsolete

Please note that the information on this page now refers to an obsolete approach from early 2007. Maintenance on the Developer Images proved too time-consuming for our limited project manpower, and as a result the images have fallen too far behind the project to be useful.

See Emulating the XO for the currently recommended approach, or you can boot a Live CD.

Developer Images (Quickstart Images)

Developer images are intended to provide a development environment in which you can immediately begin developing Sugar activities (applications). They are full desktop installations with Sugar pre-built which can be downloaded and run on Linux or Win32 machines using the free (0 cost, proprietary) VMWare Player application.

Note: The images have far more software than the OLPC XO Laptops, so you need to be careful not to rely on libraries in the image! The images are also provided by members of the community. They are not necessarily "official" OLPC images.

See also Emulating the XO.

Red Hat SDK LiveCDs

Created by John (J5) Palmieri

Available for direct download from Red Hat, these are minimal development environments (about 291MB) that have full sugar environment, gcc, gcc-c++, gdb, oprofile and oprofile-gui. We also have a Classic GNOME activity which launches a GNOME session which includes Nautilus, Metacity, gnome-volume-manager for automounting of external media, gedit, vim-x11, nautilus-open-terminal and gnome-terminal.

These builds are much closer to a regular laptop installation image than the other developer's images. That is, they tend to have less software installed, though there are still lots of packages not available on the laptop.

Big Fedora Core 6 Build

Created by Noah Kantrowitz (kantrn [] rpi [] edu):

I have put together a disc image with a stock install of FC6 (using the Software Development package set) and Sugar already up and running. The compressed image is 1.7G, and is available using:

wget http://dev.laptop.org/~krstic/olpcdev-fc6.img.gz

Note: the server is not properly configured to allow downloading via many web browsers.

Uncompressed it should be just under 6G. I tried to install as much as possible using yum, but Python 2.5 and anything with a Python extension were compiled by hand.

Use olpc/password to login. The only thing not working on it is Etoys, as at the time I did the final build it was broken in git. If you have any questions about it, please don't hesitate to ask.

you are gay

VMware image of a Gentoo desktop (v1)

This is a VMWare image of a Gentoo desktop upgraded to support the Sugar environment from the One Laptop Per Child project. The build directories for Sugar are intact so that you can upgrade to the latest Sugar releases in the same manner as the core developers do (by re-running sugar-jhbuild and skipping any failing projects).

To run the image you will need to unpack it (tar -xzvf) into a directory with at least 8 GB of free space. The image was created with VMWare Workstation 5.5 on Linux.

Username/password for the image is olpcwork/olpcwork. Launch Sugar using the XO (child) icon on the desktop, but keep in mind that Sugar is full-screen and includes no mechanism for closing, so you'll likely want to keep at least one other window open to which to alt-tab in order to kill Sugar when you are finished.

  • Gentoo (up to date stable build with just the required ~x86 packages, based off a 2006.1 (latest) profile)
  • Disk Image: 3GB compressed, 7GB uncompressed, Internally: 8GB sparse, 4GB of that used as far as the embedded OS is concerned
  • 256MB RAM allocated in the image
  • Performance is quite reasonable for editing code and testing Sugar on a host with reasonable (1GB) ram and processor (2GHz Athlon64)
  • Gnome desktop incl. Firefox 2.0.0.2
  • Sugar built and ready-to-run
  • Common developer's tools installed (source code control systems, gcc, vim, Eric3, Inkscape)
  • Networking works reasonably well (uses nonstandard NetworkManager for the networking system, as in Sugar itself)

The target market for this image is developers on Win32 or Linux who just want to start working on Sugar. Provides the ability to unpack, run and start working with Sugar in a reasonable development environment with mature tools available.

LinuxTracker site has the torrent-based download.

Tuquito LiveCD Builds (Upcoming)

Intended to use Aufs to allow for a static base image with a dynamic overlay image. Coming soon.