Difference between revisions of "Development Team/Sugar-Build"
Garycmartin (talk | contribs) |
|||
Line 18: | Line 18: | ||
''NOTE: please, if you find a bug open a ticket with the description of the error.'' | ''NOTE: please, if you find a bug open a ticket with the description of the error.'' | ||
+ | |||
+ | = Connecting Sugar trough VNC = | ||
+ | |||
+ | Something like this. Connecting to localhost:6000 with vncviewer worked for me then. | ||
+ | |||
+ | <pre> | ||
+ | [dnarvaez@thinkpad master]$ git diff | ||
+ | diff --git a/Makefile b/Makefile | ||
+ | index e5e781b..76e4930 100644 | ||
+ | --- a/Makefile | ||
+ | +++ b/Makefile | ||
+ | @@ -50,7 +50,7 @@ build-%: | ||
+ | $(TYPESCRIPT) "$(JHBUILD) buildone $*" $(LOGFILE) | ||
+ | |||
+ | run: x11-utils | ||
+ | - xinit $(SCRIPTS)/xinitrc -- $(XINITDISPLAY) &>>$(LOGFILE) | ||
+ | + xinit $(SCRIPTS)/xinitrc -- /usr/bin/Xvnc $(XINITDISPLAY) | ||
+ | securitytypes=none | ||
+ | |||
+ | test: x11-utils | ||
+ | $(LOG) "$(SCRIPTS)/run-dogtail-tests" $(LOGFILE) | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | == Fedora 17 64 bits == | ||
+ | |||
+ | The previous method didn't work for me. So, I tried the following and it worked. This is the line that I changed in <tt>Makefile</tt> | ||
+ | |||
+ | xinit $(SCRIPTS)/xinitrc -- /usr/bin/Xvnc $(XINITDISPLAY) -once PasswordFile=/home/humitos/.vnc/passwd | ||
+ | |||
+ | Besides, I ran this command to set the password: | ||
+ | |||
+ | vncpasswd | ||
+ | |||
+ | ---- | ||
== README == | == README == | ||
+ | |||
{{Iframe|collapsed=|[http://git.sugarlabs.org/sugar-build/sugar-build/blobs/master/README README]|http://git.sugarlabs.org/sugar-build/sugar-build/blobs/master/README#line1 | {{Iframe|collapsed=|[http://git.sugarlabs.org/sugar-build/sugar-build/blobs/master/README README]|http://git.sugarlabs.org/sugar-build/sugar-build/blobs/master/README#line1 | ||
|700 | |700 | ||
|600 | |600 | ||
|1}} | |1}} |
Revision as of 06:08, 17 July 2012
sugar-build it is an alternative of sugar-jhbuild developed by Daniel Narvaez that allow us to get a development version of Sugar easier than with sugar-jhbuild. Also, it works on Fedora 16, 17 and Ubuntu 12.
Getting the source code
First of all, you should clone the git repository by executing:
git clone git://git.sugarlabs.org/sugar-build/sugar-build.git
After that, you should download all the needed libraries to build Sugar. There is a really easy way to do this by running:
make
When the make process finishes Sugar will be able to be run. To do this, you just have to execute:
make run
This will open a new X server. Then you will be able to switch between you desktop and Sugar with Ctrl + Alt + F1 and Ctrl + Alt + F2
NOTE: please, if you find a bug open a ticket with the description of the error.
Connecting Sugar trough VNC
Something like this. Connecting to localhost:6000 with vncviewer worked for me then.
[dnarvaez@thinkpad master]$ git diff diff --git a/Makefile b/Makefile index e5e781b..76e4930 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ build-%: $(TYPESCRIPT) "$(JHBUILD) buildone $*" $(LOGFILE) run: x11-utils - xinit $(SCRIPTS)/xinitrc -- $(XINITDISPLAY) &>>$(LOGFILE) + xinit $(SCRIPTS)/xinitrc -- /usr/bin/Xvnc $(XINITDISPLAY) securitytypes=none test: x11-utils $(LOG) "$(SCRIPTS)/run-dogtail-tests" $(LOGFILE)
Fedora 17 64 bits
The previous method didn't work for me. So, I tried the following and it worked. This is the line that I changed in Makefile
xinit $(SCRIPTS)/xinitrc -- /usr/bin/Xvnc $(XINITDISPLAY) -once PasswordFile=/home/humitos/.vnc/passwd
Besides, I ran this command to set the password:
vncpasswd