Difference between revisions of "Development Team/Sugar-Build"
(→Fedora 17 64 bits)
|Line 51:||Line 51:|
Revision as of 07:09, 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:
After that, you should download all the needed libraries to build Sugar. There is a really easy way to do this by running:
When the make process finishes Sugar will be able to be run. To do this, you just have to execute:
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:
Finally, I got the VNC window by doing: