Difference between revisions of "Development Team/Sugar-Build"
Line 1: | Line 1: | ||
[http://git.sugarlabs.org/sugar-build/sugar-build sugar-build] it is an alternative of [[Development Team/Jhbuild|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. | [http://git.sugarlabs.org/sugar-build/sugar-build sugar-build] it is an alternative of [[Development Team/Jhbuild|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 = | + | == Getting the source code == |
First of all, you should clone the git repository by executing: | First of all, you should clone the git repository by executing: | ||
Line 19: | Line 19: | ||
''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 = | + | == Connecting Sugar trough VNC == |
Something like this. Connecting to localhost:6000 with vncviewer worked for me then. | Something like this. Connecting to localhost:6000 with vncviewer worked for me then. | ||
Line 42: | Line 42: | ||
− | == Fedora 17 64 bits == | + | === 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> | 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> |
Revision as of 08:42, 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
Finally, I got the VNC window by doing:
vncviewer localhost:99