Features/GTK3/Development: Difference between revisions

Erikos (talk | contribs)
add work items to do
Erikos (talk | contribs)
Line 14: Line 14:
== jhbuild setup ==
== jhbuild setup ==


Start with a working "normal" sugar-jhbuild installation.
All the changes have been landed in the master branches. Make sure you have the sugar-toolkit-gtk3 repository checked out and installed. There has been a fix in pygobject. Either compile/install the master branch or in F16 you can install as well the [http://koji.fedoraproject.org/koji/buildinfo?buildID=279522 recent pygobject3] release.
 
Compile/install a fixed pygobject with [https://bugzilla.gnome.org/show_bug.cgi?id=662994 this chain-up fix]. F16 build available from http://koji.fedoraproject.org/koji/taskinfo?taskID=3473257
 
Apply this patch to sugar-jhbuild: http://dev.laptop.org/~dsd/20111029/sugar-jhbuild-sugar-toolkit-gtk3.patch and build the new GTK3 based sugar toolkit:
 
<pre>
./sugar-jhbuild build sugar-toolkit-gtk3
</pre>
 
The sugar-toolkit gtk2 version needs some modifications for some restructuring that gtk3 work has prompted. Check out our branch where this happens;
 
<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 checkout -b gtk2-mods-for-gtk3 gtk2-mods-for-gtk3/sucrose-0.94
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>
 
And for sugar-artwork:
 
<pre>
cd source/sugar-artwork
git remote add -f erikos-gtk3  git://git.sugarlabs.org/~erikos/sugar-artwork/gtk3.git
git checkout -b gtk3 erikos-gtk3/master
make install
cd ../..
</pre>


== Pending work ==
== Pending work ==