After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 582510 - Use GtkBuilder instead of libglade
Use GtkBuilder instead of libglade
Status: RESOLVED FIXED
Product: sabayon
Classification: Deprecated
Component: general
SVN trunk
Other Linux
: Normal normal
: ---
Assigned To: Maintainers of sabayon
Maintainers of sabayon
Depends on: 346890
Blocks: 572883
 
 
Reported: 2009-05-13 17:45 UTC by André Klapper
Modified: 2009-12-20 16:05 UTC
See Also:
GNOME target: 2.30.x
GNOME version: ---


Attachments
Kill libglade (60.70 KB, patch)
2009-08-11 19:11 UTC, Gabor Kelemen
needs-work Details | Review

Description André Klapper 2009-05-13 17:45:42 UTC
According to http://www.gnome.org/~fpeters/299.html
this module depends on libglade.

In GNOME 2.27, libglade has been deprecated in favor of GtkBuilder. See
http://library.gnome.org/devel/gtk/stable/gtk-migrating-GtkBuilder.html for
migration instructions. Also see
http://live.gnome.org/GnomeGoals/RemoveLibGladeUseGtkBuilder
Comment 1 André Klapper 2009-08-10 12:33:17 UTC
The description in
http://library.gnome.org/devel/gtk/unstable/gtk-migrating-GtkBuilder.html
is more up-to-date.
Comment 2 Gabor Kelemen 2009-08-11 19:11:32 UTC
Created attachment 140476 [details] [review]
Kill libglade

First try. It seems mostly to work, however there is a "small" problem: when showing the main window, or clicking the Add button, an unusable "Users of this profile" window appears.
Comment 3 Gabor Kelemen 2009-08-11 19:49:31 UTC
Uh, it seems that I'd need the equivalent of gtk_builder_add_objects_from_file(), but pyGTK does not support this yet.
Comment 4 André Klapper 2009-11-26 23:09:28 UTC
(In reply to comment #3)
> Uh, it seems that I'd need the equivalent of
> gtk_builder_add_objects_from_file(), but pyGTK does not support this yet.

Are the pyGTK maintainers aware that this is blocking it here?
Comment 5 Scott Balneaves 2009-12-17 05:42:00 UTC
OK

http://git.gnome.org/cgit/sabayon/commit/?id=72719aae040581b372547444cbf12d8b6d44e730
http://git.gnome.org/cgit/sabayon/commit/?id=e706041a9ee3133cd87f2dc1fe61d1b3756b0305
http://git.gnome.org/cgit/sabayon/commit/?id=31874041a7ecf0c1f8af4afd37486ed31a9d393b

Now remove the glade dependency from sabayon proper.  We'll need to pick up the latest pessulus source to remove it's glade deps.

I'm creating a link to bug# 346890, and I'll close both when I'm done the update.
Comment 6 Scott Balneaves 2009-12-17 06:37:18 UTC
Latest Pessulus has been moved into the tree.  Sabayon now fully uses the gtk.Builder() api.

Closing.
Comment 7 André Klapper 2009-12-20 16:05:40 UTC
Thanks a lot for fixing this!

For reference: http://git.gnome.org/browse/sabayon/commit/?id=72719aae040581b372547444cbf12d8b6d44e730