Difference between revisions of "Features/GTK3/Development"

From Sugar Labs
< Features‎ | GTK3
Jump to: navigation, search
Line 5: Line 5:
 
* http://git.sugarlabs.org/~erikos/sugar-toolkit/sugar-toolkit-gtk3 - this is the GTK3 port of sugar-toolkit
 
* http://git.sugarlabs.org/~erikos/sugar-toolkit/sugar-toolkit-gtk3 - this is the GTK3 port of sugar-toolkit
 
* http://git.sugarlabs.org/~erikos/sugar-toolkit/sugar-toolkit-gtk3 branch sucrose-0.94 - the GTK2 version of sugar-toolkit needs a handful of structure changes prompted by our GTK3 work. They are being committed here.
 
* http://git.sugarlabs.org/~erikos/sugar-toolkit/sugar-toolkit-gtk3 branch sucrose-0.94 - the GTK2 version of sugar-toolkit needs a handful of structure changes prompted by our GTK3 work. They are being committed here.
 +
* http://git.sugarlabs.org/~erikos/sugar/sugar-gtk3 - we are not (yet) porting the sugar shell to GTK3, but a handful of structural changes are needed.
 
* Mainline sugar-artwork repo, branch 'gtk3'
 
* Mainline sugar-artwork repo, branch 'gtk3'
  
Line 26: Line 27:
  
 
<pre>
 
<pre>
 +
cd source/sugar-toolkit
 
git remote add -f gtk2-mods-for-gtk3 git://git.sugarlabs.org/~erikos/sugar-toolkit/sugar-toolkit-gtk3.git
 
git remote add -f gtk2-mods-for-gtk3 git://git.sugarlabs.org/~erikos/sugar-toolkit/sugar-toolkit-gtk3.git
 
git checkout -b gtk2-mods-for-gtk3 gtk2-mods-for-gtk3/sucrose-0.94
 
git checkout -b gtk2-mods-for-gtk3 gtk2-mods-for-gtk3/sucrose-0.94
 
make install
 
make install
 +
cd ../..
 +
</pre>
 +
 +
And similarly for sugar:
 +
 +
<pre>
 +
cd source/sugar
 +
git remote add -f erikos-gtk3 git://git.sugarlabs.org/~erikos/sugar/sugar-gtk3.git
 +
git checkout -b gtk3 erikos-gtk3/master
 +
make install
 +
cd ../..
 
</pre>
 
</pre>

Revision as of 06:46, 29 October 2011

This page includes repo details and how to get sugar-jhbuild set up with the GTK3 work.

Repos

jhbuild setup

Start with a working "normal" sugar-jhbuild installation.

Apply this patch to sugar-jhbuild: http://dev.laptop.org/~dsd/20111029/sugar-jhbuild-sugar-toolkit-gtk3.patch

Select gtk3 brach of sugar-artwork for the new theme:

cd source/sugar-artwork
git pull
git checkout gtk3
make install
cd ../..

The sugar-toolkit gtk2 version needs some modifications for some restructuring that gtk3 work has prompted. Check out our branch where this happens;

cd source/sugar-toolkit
git remote add -f gtk2-mods-for-gtk3 git://git.sugarlabs.org/~erikos/sugar-toolkit/sugar-toolkit-gtk3.git
git checkout -b gtk2-mods-for-gtk3 gtk2-mods-for-gtk3/sucrose-0.94
make install
cd ../..

And similarly for sugar:

cd source/sugar
git remote add -f erikos-gtk3 git://git.sugarlabs.org/~erikos/sugar/sugar-gtk3.git
git checkout -b gtk3 erikos-gtk3/master
make install
cd ../..