2006-04-26 18:03:54 -04:00
|
|
|
Dependencies
|
|
|
|
|
============
|
|
|
|
|
|
2006-05-03 16:55:56 -04:00
|
|
|
xulrunner
|
2006-04-26 18:03:54 -04:00
|
|
|
gecko-embed
|
|
|
|
|
|
2006-05-03 16:55:56 -04:00
|
|
|
http://gnome.org/~marco/olpc
|
2006-04-26 18:03:54 -04:00
|
|
|
|
2006-04-26 00:25:11 -04:00
|
|
|
Building
|
|
|
|
|
========
|
|
|
|
|
|
2006-04-26 02:41:54 -04:00
|
|
|
You will need gnome-common.
|
|
|
|
|
|
2006-04-27 15:01:42 -04:00
|
|
|
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
2006-04-26 00:25:11 -04:00
|
|
|
make
|
2006-04-27 15:01:42 -04:00
|
|
|
make install # make require root privileges
|
2006-04-26 00:25:11 -04:00
|
|
|
|
|
|
|
|
Running
|
|
|
|
|
=======
|
|
|
|
|
|
2006-04-27 15:28:16 -04:00
|
|
|
Once installed you can run sugar with
|
|
|
|
|
|
|
|
|
|
$ sugar
|
|
|
|
|
|
2006-04-27 15:01:42 -04:00
|
|
|
To run the python sources from your source tree run
|
2006-04-26 02:26:57 -04:00
|
|
|
|
2006-05-16 16:32:08 -04:00
|
|
|
$ sugar/sugar
|
|
|
|
|
|
|
|
|
|
You can also run the components separately:
|
|
|
|
|
|
2006-04-27 15:11:47 -04:00
|
|
|
$ source ./setup-run-from-source.sh # needs bash
|
2006-04-26 02:26:57 -04:00
|
|
|
|
2006-04-27 15:01:42 -04:00
|
|
|
in the top-level directory. Icons and other resources are still loaded
|
|
|
|
|
from the installed location though.
|
2006-04-26 02:26:57 -04:00
|
|
|
|
2006-04-27 15:01:42 -04:00
|
|
|
To run the shell
|
2006-04-26 00:25:11 -04:00
|
|
|
|
2006-04-27 15:01:42 -04:00
|
|
|
$ cd shell/src
|
|
|
|
|
$ ./shell.py
|
2006-04-26 00:25:11 -04:00
|
|
|
|
2006-04-27 15:01:42 -04:00
|
|
|
You can run activities like this
|
2006-04-26 00:25:11 -04:00
|
|
|
|
2006-04-27 15:01:42 -04:00
|
|
|
$ cd browser
|
|
|
|
|
$ ./browser.py
|
2006-04-26 00:25:11 -04:00
|
|
|
|
2006-04-27 15:01:42 -04:00
|
|
|
(Just remember to have the shell running)
|