Software discussion: Difference between revisions

From OLPC
Jump to navigation Jump to search
(→‎Some Details: renamed Power_management link "Software Specification" -> "Power management and your software")
m (Reverted edits by 117.11.235.134 (Talk) to last revision by Skierpage)
 
(16 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{obsolete|link=[[Software components]]}}
{{OLPC}}

{{Translations}}
{{Translations}}

==Overview==
==Overview==
The OLPC Trojan horse is the ebook and the soldiers inside the horse are children and teachers with laptops.

The way to penetrate the walls of the Education Industry is through the more efficient creation of instructional materials--the traditional textbook.

Once we are inside, the opportunities to move instructionism towards constructionism--learning through doing--abound.

# teachers (and children) can construct lesson plans and other learning materials;
# they can share these materials;
# they can engage in a critical dialog about these constructions.

Thus we can infect the Education Industry with the ethics, methodologies, and efficiencies of the Open Source community.

----


A matrix of applications for the laptop can be found [[Activities|here]].
OLPC software is a set of carefully chosen and integrated linux applications, creating an innovative user environment.


OLPC software is a set of carefully chosen and integrated Linux applications, creating an innovative user environment.
Basically, the laptop runs Red Hat linux with X Window, with a novel '''[[Sugar|Sugar user interface and support library]]''', supporting a core set of "activities". Activities are programs which follow the [[OLPC Human Interface Guidelines]]. There is an emphasis on [[Python]] and [[GTK]]. Random linux software can be run too, but having a common and enabling user interface is nice, and requiring additional libraries (KDE, java runtime, whatever) is in tension with disk and memory limits.


Basically, the laptop runs the [[Fedora]] Linux distribution; On top of the [[X Window System]] and the Matchbox window manager, we run a novel '''"[[Sugar]]" user interface and support library''', supporting a core set of "activities". [[Activities]] are programs that follow the [[OLPC Human Interface Guidelines]]. There is an emphasis on [[Python]] and [[GTK]]. Other Linux software can be run too, but having a common and enabling user interface is nice; requiring additional libraries (KDE, java runtime, whatever) is in tension with disk and memory limits.
[[Activities]] lists the current base applications, and a few of those under development.


In regard to OLPC software, you can:
You can:
*Get an overview:
*Get an overview:
** [[Sugar]]; [[Software components]]; ...?
** [[Sugar]]; [[Software components]]; ...?
Line 15: Line 30:
*Play - there are a couple of options:
*Play - there are a couple of options:
**Burn a [[LiveCd]]. This is likely simplest.
**Burn a [[LiveCd]]. This is likely simplest.
**Run an [[OS images for emulation|OS image in emulation]]. This doesn't require burning a cd and rebooting, but may require installing software, and may run slowly.
**Run an [[OS images for emulation|OS image in emulation]]. This doesn't require burning a CD and rebooting, but may require installing software, and may run slowly.
*Create software
*Create software
**[[Getting involved in OLPC]]; '''[[Getting started programming]]'''
**[[Participate]]; '''[[Getting started programming]]'''
**[[Software components]], [[software projects|projects]], and [[software ideas|ideas]].
**[[Software components]], [[software projects|projects]], and [[software ideas|ideas]].
**Take a look at the several software article categories at the bottom of this article.
**Take a look at the several software article categories at the bottom of this article.
Line 26: Line 41:
**[http://dev.laptop.org/roadmap Release roadmap]
**[http://dev.laptop.org/roadmap Release roadmap]
**[[Test meeting Minutes]]
**[[Test meeting Minutes]]
**[http://dev.laptop.org/query http://dev.laptop.org/query]
**http://dev.laptop.org/query to look at bugs
**Help upstream projects (see [[Getting involved in OLPC]]).
**Help upstream projects (see [[Participate]]).
*Kernel Hacking
*Kernel Hacking
**[[Kernel]]
**[[Kernel]]
Line 36: Line 51:


There are four flavors of software:
There are four flavors of software:
*"Activities", written or ported to the [[Sugar]] user interface, and following [[OLPC Human Interface Guidelines|OLPC interface]]. Some activities are listed in [[software components]] and [[software projects]]. They main languages are [[python]] and C. The standard libraries are listed in [[software components]].
*'''[[Activities]]''', written or ported to the [[Sugar]] user interface, and following [[OLPC Human Interface Guidelines|OLPC interface]]. Activities are mainly written in the [[python]] and C programming languages. The standard libraries are listed in [[software components]].
*Code written for a programmable activity, such as [[squeak]] and its [[etoys]], [[OLPCities]](?), javascript(?), ...(?). <!-- This is the easiest type to write. -->
*Code written for a programmable activity, such as [[squeak]] and its [[etoys]], [[OLPCities]](?), javascript(?), ...(?). <!-- This is the easiest type to write. -->
*Linux software using the standard libraries listed in [[software components]].
*[[Linux software]] using the standard libraries listed in [[software components]].
*Any other linux software. Memory and disk space are constrained (256MB,1GB), so requiring additional libraries makes this a less attractive option.
*Any other linux software. Memory and disk space are constrained (256MB,1GB), so requiring additional libraries makes this a less attractive option.


[[Developers program]]
===[[Developers program]]===
* [[Power_Management|Power management and your software]]
* [[Power_Management|Power management and your software]]
* [http://dev.laptop.org/ The OLPC developer wiki]
* http://dev.laptop.org/ runs [[Trac]] and has the OLPC bug database


[[BTest]] Software
[[BTest]] Software
Line 52: Line 67:
* [[Firmware]] releases are stored here.
* [[Firmware]] releases are stored here.


[[OS_images|'''Build images''']]
=== [[OS_images|Build images]]===
* The latest build is always [http://olpc.download.redhat.com/olpc/streams/development/LATEST here].
* The latest build is always [http://olpc.download.redhat.com/olpc/streams/development/LATEST here]. (deprecated, this directory has not been updated since 2007-11 build 625)
* Instructions regarding the use of [[OS_images_for_emulation|emulation images]]
* Instructions regarding the use of [[OS_images_for_emulation|emulation images]]
* [[User_Feedback_on_Images|User Feedback on Images]]
* [[User_Feedback_on_Images|User Feedback on Images]]


[[Software components|Laptop software]]
=== [[Software components|Laptop software]] ===
* [[Software components#Programming environments|Programming environments]] we will be supporting
* [[Software components#Programming environments|Programming environments]] we will be supporting
* [[Software components#Applications on B1|Applications to be included on B1]]
* [[Software components#Applications on B1|Applications to be included on B1]]
Line 65: Line 80:


[[OLPC Python Environment]]
[[OLPC Python Environment]]

[[Software Schedules|Software schedules]]


[[Testing checklist]]
[[Testing checklist]]
Line 77: Line 90:
* [[Port Address | OLPC Port and MMIO base address ]]
* [[Port Address | OLPC Port and MMIO base address ]]


Misc
==== Misc ====
* [[Kernel Debugging]]
* [[Kernel Debugging]]


== Some content to integrate ==
==See also==
This text went by on boston-pig, from doug. It should be integrated above.


The project needs help on just about every level.
*[[:Category:Software]]
There are open tickets at http://dev.laptop.org/ for documentation,
*[[:Category:Software ideas]]
translation, python programming, c kernel programming, UI work, and of
*[[:Category:Developers]]
course bugs.
*[[:Category:Software development]]
There is a special section of bugs for people who are not familiar with the
system but want to help out:
http://dev.laptop.org/query?status=new&keywords=%7Esugar-love&order=priority

These are bugs in sugar which are already triaged which good instructions on
how to fix them in most cases and can be fixed with the LiveCD.

The CD's that were available are the LiveCD from here:
http://wiki.laptop.org/go/LiveCd in case you didn't get one.

There are other ways to check out the XO and do development but the LiveCD
is the easiest.
Here is a good link for other forms of emulation:
http://wiki.laptop.org/go/Software

Because Sugar (the core interface) is GTK+ python based, you can run it and
do development for it anywhere those packages are available (Mac, Linux,
win32).
Linux is the easiest and best documented.

http://wiki.laptop.org/go/Sugar
http://wiki.laptop.org/go/Sugar_Instructions
http://www.redhatmagazine.com/2007/02/23/building-the-xo-introducing-sugar/

==See also==
*[[Software components|Software specifications]]
*[http://mailman.laptop.org/pipermail/sugar/ Sugar mailing list archive]
*[http://mailman.laptop.org/pipermail/sugar/ Sugar mailing list archive]
*[[News|News - often mentions recent software progress]].
*[[News|News - often mentions recent software progress]].
*[http://dev.laptop.org/ dev.laptop.org] lets you [http://dev.laptop.org/browser browse the code].
*[http://dev.laptop.org/ dev.laptop.org] lets you [http://dev.laptop.org/browser browse the code].

[[Category:Developers]]
[[Category:Software ideas]]
[[Category:Software]]

Latest revision as of 22:26, 30 January 2011

542-stopicon.png This page has a more up-to-date location: Software components


  Please copy/paste "{{Translationlist | xx | origlang=en | translated={{{translated}}}}}" (where xx is ISO 639 language code for your translation) to Software discussion/translations HowTo [ID# 252179]  +/-  


Overview

The OLPC Trojan horse is the ebook and the soldiers inside the horse are children and teachers with laptops.

The way to penetrate the walls of the Education Industry is through the more efficient creation of instructional materials--the traditional textbook.

Once we are inside, the opportunities to move instructionism towards constructionism--learning through doing--abound.

  1. teachers (and children) can construct lesson plans and other learning materials;
  2. they can share these materials;
  3. they can engage in a critical dialog about these constructions.

Thus we can infect the Education Industry with the ethics, methodologies, and efficiencies of the Open Source community.


A matrix of applications for the laptop can be found here.

OLPC software is a set of carefully chosen and integrated Linux applications, creating an innovative user environment.

Basically, the laptop runs the Fedora Linux distribution; On top of the X Window System and the Matchbox window manager, we run a novel "Sugar" user interface and support library, supporting a core set of "activities". Activities are programs that follow the OLPC Human Interface Guidelines. There is an emphasis on Python and GTK. Other Linux software can be run too, but having a common and enabling user interface is nice; requiring additional libraries (KDE, java runtime, whatever) is in tension with disk and memory limits.

In regard to OLPC software, you can:

If you are comfortable reading python and writing documentation, much new code is in need of doc strings, tutorials, etc. (sugar, geckoembed, ...what else?)

Some Details

(This section needs to be updated)

There are four flavors of software:

  • Activities, written or ported to the Sugar user interface, and following OLPC interface. Activities are mainly written in the python and C programming languages. The standard libraries are listed in software components.
  • Code written for a programmable activity, such as squeak and its etoys, OLPCities(?), javascript(?), ...(?).
  • Linux software using the standard libraries listed in software components.
  • Any other linux software. Memory and disk space are constrained (256MB,1GB), so requiring additional libraries makes this a less attractive option.

Developers program

BTest Software

Build images

Laptop software

OLPC Python Environment

Testing checklist

Open Firmware

Device drivers

Misc

Some content to integrate

This text went by on boston-pig, from doug. It should be integrated above.

The project needs help on just about every level. There are open tickets at http://dev.laptop.org/ for documentation, translation, python programming, c kernel programming, UI work, and of course bugs. There is a special section of bugs for people who are not familiar with the system but want to help out: http://dev.laptop.org/query?status=new&keywords=%7Esugar-love&order=priority

These are bugs in sugar which are already triaged which good instructions on how to fix them in most cases and can be fixed with the LiveCD.

The CD's that were available are the LiveCD from here: http://wiki.laptop.org/go/LiveCd in case you didn't get one.

There are other ways to check out the XO and do development but the LiveCD is the easiest. Here is a good link for other forms of emulation: http://wiki.laptop.org/go/Software

Because Sugar (the core interface) is GTK+ python based, you can run it and do development for it anywhere those packages are available (Mac, Linux, win32). Linux is the easiest and best documented.

http://wiki.laptop.org/go/Sugar http://wiki.laptop.org/go/Sugar_Instructions http://www.redhatmagazine.com/2007/02/23/building-the-xo-introducing-sugar/

See also