Difference between revisions of "Features/GTK3/Development"

From Sugar Labs
< Features‎ | GTK3
Jump to navigation Jump to search
(→‎Repos: update Browse repo and add Read one)
Line 8: Line 8:
 
* <s>http://git.sugarlabs.org/sugar-artwork - branch 'gtk3': mainline sugar-artwork repo containing the new theme work (folder GTK3)</s>
 
* <s>http://git.sugarlabs.org/sugar-artwork - branch 'gtk3': mainline sugar-artwork repo containing the new theme work (folder GTK3)</s>
 
* http://git.sugarlabs.org/~erikos/sugar-artwork/gtk3 - branch gtk3: now being used instead of the above artwork repo
 
* http://git.sugarlabs.org/~erikos/sugar-artwork/gtk3 - branch gtk3: now being used instead of the above artwork repo
* http://git.sugarlabs.org/~dsd/browse/browse-gtk3 - branch 'master': Browse port to GTK3
+
* http://git.sugarlabs.org/browse - branch 'master': Browse port to GTK3
 +
* http://git.sugarlabs.org/read - branch 'master': Read port to GTK3
 
* http://git.sugarlabs.org/hello-world - branch 'master': hello-world ported to GTK3
 
* http://git.sugarlabs.org/hello-world - branch 'master': hello-world ported to GTK3
 
* http://cgit.collabora.com/git/user/rgs/abacus-gtk3/ - branch 'master': Abacus ported to GTK3 and to use cairo for drawing
 
* http://cgit.collabora.com/git/user/rgs/abacus-gtk3/ - branch 'master': Abacus ported to GTK3 and to use cairo for drawing

Revision as of 06:10, 24 January 2012

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.

Compile/install a fixed pygobject with 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:

./sugar-jhbuild build sugar-toolkit-gtk3

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 ../..

And for sugar-artwork:

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 ../..

Pending upstream work

All of these have been worked around (or will be worked around) for now, at the sugar level.