Difference between revisions of "Features/GTK3/Development"
(→Repos) |
(→jhbuild setup: hopefully clearer instructions) |
||
Line 16: | Line 16: | ||
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 | 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 | + | 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> | <pre> | ||
− | + | ./sugar-jhbuild build sugar-toolkit-gtk3 | |
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
Line 44: | Line 38: | ||
git remote add -f erikos-gtk3 git://git.sugarlabs.org/~erikos/sugar/sugar-gtk3.git | git remote add -f erikos-gtk3 git://git.sugarlabs.org/~erikos/sugar/sugar-gtk3.git | ||
git checkout -b gtk3 erikos-gtk3/master | git checkout -b gtk3 erikos-gtk3/master | ||
+ | make install | ||
+ | cd ../.. | ||
+ | </pre> | ||
+ | |||
+ | Select gtk3 brach of sugar-artwork for the new theme: | ||
+ | |||
+ | <pre> | ||
+ | cd source/sugar-artwork | ||
+ | git pull | ||
+ | git checkout gtk3 | ||
make install | make install | ||
cd ../.. | cd ../.. |
Revision as of 08:34, 1 November 2011
This page includes repo details and how to get sugar-jhbuild set up with the GTK3 work.
Repos
- http://git.sugarlabs.org/~erikos/sugar-toolkit/sugar-toolkit-gtk3 - branch 'master': 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/sugar-gtk3 - branch 'master': we are not (yet) porting the sugar shell to GTK3, but a handful of structural changes are needed.
- http://git.sugarlabs.org/sugar-artwork - branch 'gtk3': mainline sugar-artwork repo containing the new theme work (folder GTK3)
- http://git.sugarlabs.org/~dsd/browse/browse-gtk3 - branch 'master': Browse port to GTK3
- http://git.sugarlabs.org/hello-world - branch 'master': hello-world ported to GTK3
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 ../..
Select gtk3 brach of sugar-artwork for the new theme:
cd source/sugar-artwork git pull git checkout gtk3 make install cd ../..
Pending upstream work
All of these have been worked around (or will be worked around) for now, at the sugar level.
- gobject introspection bindings for librsvg: https://bugzilla.gnome.org/show_bug.cgi?id=663049
- enable GDK introspection access to X11 window properties (Raul)
- extend gio mime type API so that we can drop our xdgmime copy (e.g. need to be able to get default file extension for a given mime type)
- chaining up in vfuncs: https://bugzilla.gnome.org/show_bug.cgi?id=662994
- implementing GtkContainer::forall: https://bugzilla.gnome.org/show_bug.cgi?id=644926, also needs https://bugzilla.gnome.org/show_bug.cgi?id=663052