Source code: Difference between revisions
No edit summary |
m (→Source code on the XO: also in /usr/share/sugar) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{OLPC}} |
|||
<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">{{OLPC}} This page includes links to the source code for the OLPC XO-1, along with instructions on how to download it from this page in the wiki. == Source code for releases == The source for OLPC system software is stored in Source RPMs stored at the following locations.</span> ((OLPC)) Esta página incluye enlaces con el código fuente de la OLPC XO-1, junto con instrucciones sobre cómo descargar desde esta página en el wiki. == El código fuente para las versiones == La fuente para el software del sistema OLPC es almacenado en RPM de código almacenado en los siguientes lugares.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Be aware that most source code stored in these RPMS is not owned by OLPC and is distributed under the terms of the licenses contained in the source code proper.</span> Tenga en cuenta que la mayoría del código fuente almacenado en estos RPMs no es propiedad de la OLPC y se distribuye bajo los términos de las licencias contenidas en el código fuente adecuada.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">(In release 8.1.0 and later, an overview of the licensing terms of these source and binary packages can be found in the 'olpc-licenses' package or in <tt>/usr/share/licenses/</tt> on-XO.) === 8.2.0 === ''Released October 13, 2008'' * [http://mock.laptop.org/repos/767.koji 767.koji] * [http://mock.laptop.org/repos/767.local 767.local] === 8.1.0 (Update.1) === ''Released March 30, 2008'' * [http://mock.laptop.org/repos/koji.olpc2-update1/ Packages from Fedora] * [http://mock.laptop.org/repos/local.update1/ OLPC Specific Packages] === 7.1.2 (Ship.2) === ''Released December 4, 2008'' * [http://mock.laptop.org/repos/koji.olpc2-ship2/ Packages from Fedora] * [http://mock.laptop.org/repos/local.ship2/ OLPC Specific Packages] == Linux OS and OLPC software == Much of the source code for the OLPC is stored in a "git" repository at http://dev.laptop.org/git/ .</span> (En la versión 8.1.0 y posteriores, una visión general de las condiciones de licencia de estos paquetes binarios y código fuente se puede encontrar en el "paquete de licencias de OLPC" o en <tt> / usr / share / licencias / </ tt> en - XO.) 8.2.0 === ===''Lanzado octubre 13, 2008''* [http://mock.laptop.org/repos/767.koji 767.koji] * [http://mock. laptop.org/repos/767.local 767.local] === 8.1.0 (Update.1) ===''''* Fecha de lanzamiento 30 de marzo de 2008 [http://mock.laptop.org/repos/ koji.olpc2-Update1 / Paquetes de Fedora] * [http://mock.laptop.org/repos/local.update1/ Paquetes específicos de OLPC] === 7.1.2 (Ship.2) ==='', publicada en diciembre de 4, 2008''* [http://mock.laptop.org/repos/koji.olpc2-ship2/ paquetes de Fedora] * [Paquetes http://mock.laptop.org/repos/local.ship2/ OLPC específicas ] == sistema operativo Linux y el software de OLPC == Gran parte del código fuente de la OLPC se almacena en git un "repositorio" en http://dev.laptop.org/git/.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">You can check out a particular program, eg the kernel, with a command like: git-clone git://dev.laptop.org/git/sugar For more details, please see the [[git]] page in the wiki. Other parts of the system are pulled directly from the Fedora 7 source and binary RPMs. The script used to build the shipping image of the OLPC operating system is called "pilgrim", and it is maintained here: http://dev.laptop.org/git?p=users/cscott/pilgrim;a=summary == Open Firmware (bootstrap ROM) == You can [http://tracker.coreboot.org/trac/openfirmware/browser browse] the source code for [[Open Firmware]] online, and can check it out of its Subversion repository with the command svn co svn://openfirmware.info/openfirmware/ More details are at http://www.openfirmware.info/Open_Firmware == Activities == Most [[activities]] make their source code available, see [[:Category:XO source]]. == See also == [[Category:Software]]</span> Usted puede comprobar fuera de un programa en particular, por ejemplo, el núcleo, con una orden como: git-clone git: / / / dev.laptop.org git / azúcar Para más detalles, consulte la [[GIT]] página en el wiki. Otras partes del sistema se obtienen directamente de la fuente de las 7 de Fedora y RPMs binarios. El script utilizado para construir la imagen de envío del sistema operativo de OLPC se llama "peregrino", y se mantiene aquí: http://dev.laptop. org / git? p = usuarios / cscott / peregrino, un resumen = == Open Firmware (ROM de arranque) == Puedes [http://tracker.coreboot.org/trac/openfirmware/browser browse] el código fuente de [ [Open Firmware]] en línea, y puede comprobar fuera de su repositorio Subversion con el comando svn co svn: / / / openfirmware.info OpenFirmware / Más detalles en http://www.openfirmware.info/Open_Firmware == Actividades = La mayoría de = [[actividades]] hacer su código fuente disponible, véase [[: Categoría: fuente XO]]. == Véase también == [[Categoría: Software]]</span> |
|||
== Headline text == |
|||
This page includes links to the source code for the OLPC XO-1, along with instructions on how to download it from this page in the wiki. |
|||
== Source code for releases == |
|||
The source for OLPC system software is stored in Source RPMs stored at the following locations. Be aware that most source code stored in these RPMS is not owned by OLPC and is distributed under the terms of the licenses contained in the source code proper. (In release 8.1.0 and later, an overview of the licensing terms of these source and binary packages can be found in the 'olpc-licenses' package or in <tt>/usr/share/licenses/</tt> on-XO.) |
|||
=== 8.2.0 === |
|||
''Released October 13, 2008'' |
|||
* [http://mock.laptop.org/repos/767.koji 767.koji] |
|||
* [http://mock.laptop.org/repos/767.local 767.local] |
|||
=== 8.1.0 (Update.1) === |
|||
''Released March 30, 2008'' |
|||
* [http://mock.laptop.org/repos/koji.olpc2-update1/ Packages from Fedora] |
|||
* [http://mock.laptop.org/repos/local.update1/ OLPC Specific Packages] |
|||
=== 7.1.2 (Ship.2) === |
|||
''Released December 4, 2008'' |
|||
* [http://mock.laptop.org/repos/koji.olpc2-ship2/ Packages from Fedora] |
|||
* [http://mock.laptop.org/repos/local.ship2/ OLPC Specific Packages] |
|||
== Linux OS and OLPC software == |
|||
Much of the source code for the OLPC is stored in a "git" repository at http://dev.laptop.org/git/ . You can check out a particular program, e.g. the kernel, with a command like: |
|||
git-clone git://dev.laptop.org/git/sugar |
|||
For more details, please see the [[git]] page in the wiki. |
|||
Other parts of the system are pulled directly from the Fedora 7 source and binary RPMs. |
|||
The script used to build the shipping image of the OLPC operating system is called "pilgrim", and it is maintained here: http://dev.laptop.org/git?p=users/cscott/pilgrim;a=summary |
|||
== Open Firmware (bootstrap ROM) == |
|||
You can [http://tracker.coreboot.org/trac/openfirmware/browser browse] the source code for [[Open Firmware]] online, and can check it out of its Subversion repository with the command |
|||
svn co svn://openfirmware.info/openfirmware/ |
|||
More details are at http://www.openfirmware.info/Open_Firmware |
|||
== Activities == |
|||
Most [[activities]] make their source code available, see [[:Category:XO source]]. |
|||
== Source code on the XO == |
|||
Much of the [[Sugar]] user interface and many OLPC utility programs are written in the [[Python]] programming language. |
|||
For example, the commands <tt>/usr/bin/copy-from-journal</tt> and <tt>/usr/sbin/olpc-update</tt> are Python scripts. |
|||
You can view the Python source code running on your XO in an text editing program, ''although modifying it may break your computer''. |
|||
Much of the core Sugar code is in files under <tt>/usr/lib/python''VERSION.NN''/site-packages</tt> in the subdirectory <tt>sugar</tt> and (in starting with release 10.1, another subdirectory <tt>jarabe</tt>); |
|||
additional Sugar code is in <tt>/usr/share/sugar</tt>. |
|||
See [[Understanding Sugar code]]. |
|||
[[Category:Software]] |
Latest revision as of 23:51, 13 August 2010
This page includes links to the source code for the OLPC XO-1, along with instructions on how to download it from this page in the wiki.
Source code for releases
The source for OLPC system software is stored in Source RPMs stored at the following locations. Be aware that most source code stored in these RPMS is not owned by OLPC and is distributed under the terms of the licenses contained in the source code proper. (In release 8.1.0 and later, an overview of the licensing terms of these source and binary packages can be found in the 'olpc-licenses' package or in /usr/share/licenses/ on-XO.)
8.2.0
Released October 13, 2008
8.1.0 (Update.1)
Released March 30, 2008
7.1.2 (Ship.2)
Released December 4, 2008
Linux OS and OLPC software
Much of the source code for the OLPC is stored in a "git" repository at http://dev.laptop.org/git/ . You can check out a particular program, e.g. the kernel, with a command like:
git-clone git://dev.laptop.org/git/sugar
For more details, please see the git page in the wiki.
Other parts of the system are pulled directly from the Fedora 7 source and binary RPMs.
The script used to build the shipping image of the OLPC operating system is called "pilgrim", and it is maintained here: http://dev.laptop.org/git?p=users/cscott/pilgrim;a=summary
Open Firmware (bootstrap ROM)
You can browse the source code for Open Firmware online, and can check it out of its Subversion repository with the command
svn co svn://openfirmware.info/openfirmware/
More details are at http://www.openfirmware.info/Open_Firmware
Activities
Most activities make their source code available, see Category:XO source.
Source code on the XO
Much of the Sugar user interface and many OLPC utility programs are written in the Python programming language. For example, the commands /usr/bin/copy-from-journal and /usr/sbin/olpc-update are Python scripts. You can view the Python source code running on your XO in an text editing program, although modifying it may break your computer.
Much of the core Sugar code is in files under /usr/lib/pythonVERSION.NN/site-packages in the subdirectory sugar and (in starting with release 10.1, another subdirectory jarabe); additional Sugar code is in /usr/share/sugar. See Understanding Sugar code.