Re: [Lubuntu-desktop] Killing glade and gconf -- are there general guidelines or a blueprint?
Le 26 nov. 2011 à 11:49, Leszek Lesner a écrit : > Am 26.11.2011 11:18, schrieb Julien Lavergne: >> Le 11/26/2011 10:36 AM, Jonathan Marsden a écrit : >>> On 11/26/2011 01:07 AM, Julien Lavergne wrote: >>> No, the priority is the glade migration because only Lubuntu specific packages are involved. >>> >>> OK, that helps. Is there documentation out there somewhere about what >>> to replace glade with? Examples, tutorials, whatever? Is using glade >>> 3.10.x (and so GTK3) sufficient? Or are we really "killing" glade? >> No, just using GtkBuilder instead of glade should be fine : >> http://developer.gnome.org/gtk/2.24/gtk-migrating-GtkBuilder.html >> > To bring some clearness in here. Glade as the tool to build UIs from > version 2.0 has the capability to use gtkbuilder to build its ui forms. > Also the ubuntu programming infrastructure quickly uses glade (again the > tool) with its default gtkbuilder capabilities. > So as far as I see it we don't have any big problem or are they UIs that > use the glade library instead the gtkbuilder library in Lubuntu ? (Again > glade library does not mean that they were created with glade) > The goal is to remove the depends on libglade. I think it's pretty useless to use an external library for something provided by gtk itself (unless the support is not complete enough). Regards, Julien Lavergne ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] Killing glade and gconf -- are there general guidelines or a blueprint?
GtkBuilder should be the replacement for libglade. Glade 3 can output GtkBuilder format ui files. However, not all features provided by libglade are supported by GtkBuilder. In addition, the two formats are not compatible. Code used to load the ui xml files need to be re-written, too. Besides, GtkBuilder file requires some special handling of POTFILES.in. Migrating from glade to gtkbuilder, though possible, is a little bit painful when there are many glade files. Here is a guide teaching people how to do the migration. http://developer.gnome.org/gtk/2.24/gtk-migrating-GtkBuilder.html There is a script called gtkbuilder-convert, which can convert glade xml files to gtkbuilder format. Unfortunately, the ui files it generated cannot be loaded by glade 3 sometimes and you have to maintain the ui xml files by hand. If you need to write xml ui definition files by hand and cannot use a GUI designer, it totally defeats the purpose of using ui definition files. I'd suggest that people who want to help the migration read this guide first. On Sat, Nov 26, 2011 at 6:18 PM, Julien Lavergne wrote: > Le 11/26/2011 10:36 AM, Jonathan Marsden a écrit : > > On 11/26/2011 01:07 AM, Julien Lavergne wrote: > > > No, the priority is the glade migration because only Lubuntu specific > packages are involved. > > OK, that helps. Is there documentation out there somewhere about what > to replace glade with? Examples, tutorials, whatever? Is using glade > 3.10.x (and so GTK3) sufficient? Or are we really "killing" glade? > > No, just using GtkBuilder instead of glade should be fine : > http://developer.gnome.org/gtk/2.24/gtk-migrating-GtkBuilder.html > > Regards, > Julien Lavergne > > ___ > Mailing list: https://launchpad.net/~lubuntu-desktop > Post to : lubuntu-desktop@lists.launchpad.net > Unsubscribe : https://launchpad.net/~lubuntu-desktop > More help : https://help.launchpad.net/ListHelp > > ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] Killing glade and gconf -- are there general guidelines or a blueprint?
Am 26.11.2011 11:18, schrieb Julien Lavergne: > Le 11/26/2011 10:36 AM, Jonathan Marsden a écrit : >> On 11/26/2011 01:07 AM, Julien Lavergne wrote: >> >>> No, the priority is the glade migration because only Lubuntu specific >>> packages are involved. >> >> OK, that helps. Is there documentation out there somewhere about what >> to replace glade with? Examples, tutorials, whatever? Is using glade >> 3.10.x (and so GTK3) sufficient? Or are we really "killing" glade? > No, just using GtkBuilder instead of glade should be fine : > http://developer.gnome.org/gtk/2.24/gtk-migrating-GtkBuilder.html > To bring some clearness in here. Glade as the tool to build UIs from version 2.0 has the capability to use gtkbuilder to build its ui forms. Also the ubuntu programming infrastructure quickly uses glade (again the tool) with its default gtkbuilder capabilities. So as far as I see it we don't have any big problem or are they UIs that use the glade library instead the gtkbuilder library in Lubuntu ? (Again glade library does not mean that they were created with glade) ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] Killing glade and gconf -- are there general guidelines or a blueprint?
Le 11/26/2011 10:36 AM, Jonathan Marsden a écrit : > On 11/26/2011 01:07 AM, Julien Lavergne wrote: > >> No, the priority is the glade migration because only Lubuntu specific >> packages are involved. > > OK, that helps. Is there documentation out there somewhere about what > to replace glade with? Examples, tutorials, whatever? Is using glade > 3.10.x (and so GTK3) sufficient? Or are we really "killing" glade? No, just using GtkBuilder instead of glade should be fine : http://developer.gnome.org/gtk/2.24/gtk-migrating-GtkBuilder.html Regards, Julien Lavergne ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] Killing glade and gconf -- are there general guidelines or a blueprint?
On 11/26/2011 01:38 AM, Michael Rawson wrote: > I guess it's possible to remove glade and 'hard-code' the interface, > but it might take a while. That would be a step backwards in terms of long term maintainability, though. I'm assuming there is a "better" replacement for glade, or an upgrade for it, not just "kill glade and hard code the entire UI". Jonathan ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] Killing glade and gconf -- are there general guidelines or a blueprint?
I guess it's possible to remove glade and 'hard-code' the interface, but it might take a while. On Sat, 26 Nov 2011 01:36:46 -0800 Jonathan Marsden wrote: > On 11/26/2011 01:07 AM, Julien Lavergne wrote: > > > No, the priority is the glade migration because only Lubuntu specific > > packages are involved. > > > OK, that helps. Is there documentation out there somewhere about what > to replace glade with? Examples, tutorials, whatever? Is using glade > 3.10.x (and so GTK3) sufficient? Or are we really "killing" glade? > > Also, it looks like the "quickly" programming environment (that Ubuntu > has been pushing as a way for new programmers to get started) uses glade > -- is that being changed too? Otherwise, new programmers will continue > to use it to build their small applications... which will use glade! > > Thanks, > > Jonathan > > ___ > Mailing list: https://launchpad.net/~lubuntu-desktop > Post to : lubuntu-desktop@lists.launchpad.net > Unsubscribe : https://launchpad.net/~lubuntu-desktop > More help : https://help.launchpad.net/ListHelp -- Michael Rawson ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] Killing glade and gconf -- are there general guidelines or a blueprint?
On 11/26/2011 01:07 AM, Julien Lavergne wrote: > No, the priority is the glade migration because only Lubuntu specific > packages are involved. OK, that helps. Is there documentation out there somewhere about what to replace glade with? Examples, tutorials, whatever? Is using glade 3.10.x (and so GTK3) sufficient? Or are we really "killing" glade? Also, it looks like the "quickly" programming environment (that Ubuntu has been pushing as a way for new programmers to get started) uses glade -- is that being changed too? Otherwise, new programmers will continue to use it to build their small applications... which will use glade! Thanks, Jonathan ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] Killing glade and gconf -- are there general guidelines or a blueprint?
Le 11/26/2011 07:22 AM, Jonathan Marsden a écrit : > On 11/25/2011 10:02 PM, Andrew Woodhead wrote: > >> gnome3 uses dconf not gconf, so as gnome2 is dying or dead, we all >> must move on and use what is supported upstream. > > That makes sense, thanks. Actually it looks like we are supposed to > migrate from gconf to GSettings, which is a higher level GNOME API that > has dconf as its default back end under Unix-like OSes. Currently, we have gconf, xfconf, and dconf running in Lubuntu. Remove gconf will remove 1 on them, and it's also the direction of GNOME. Ubuntu also tries to remove depends on gconf for the main image, but the progress is slow. > This does raise another question: for packages that are not > Lubuntu-specific, such as gksu, is the plan for us (few) Lubuntu devs to > do the migration work, or just to wait for "someone else" to do it for us? No, the priority is the glade migration because only Lubuntu specific packages are involved. For gconf, we can start the migration for our packages, waiting for the others not specific to be migrated also. If you look at the blueprint ( https://blueprints.launchpad.net/ubuntu/+spec/other-lubuntu-p-optimizations) only the glade items are in the work items, not the gconf ones. Regards, Julien Lavergne ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
Re: [Lubuntu-desktop] Killing glade and gconf -- are there general guidelines or a blueprint?
On 11/25/2011 10:02 PM, Andrew Woodhead wrote: > gnome3 uses dconf not gconf, so as gnome2 is dying or dead, we all > must move on and use what is supported upstream. That makes sense, thanks. Actually it looks like we are supposed to migrate from gconf to GSettings, which is a higher level GNOME API that has dconf as its default back end under Unix-like OSes. So far, I found https://live.gnome.org/GnomeGoals/GSettingsMigration and http://developer.gnome.org/gio/stable/ch28.html as good sources of info about this, and a worked example at http://git.gnome.org/browse/gnome-utils/log/?h=gsettings-tutorial . This does raise another question: for packages that are not Lubuntu-specific, such as gksu, is the plan for us (few) Lubuntu devs to do the migration work, or just to wait for "someone else" to do it for us? Jonathan ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp
[Lubuntu-desktop] Killing glade and gconf -- are there general guidelines or a blueprint?
For Precise, we have several work items (15, according to https://blueprints.launchpad.net/ubuntu/+spec/other-lubuntu-p-optimizations ) that are related to killing gconf and glade. I'd like to look at what this takes and why we are doing it; was there a general Ubuntu-wide blueprint defining why they are being killed/deprecated, and what the desired/expected way to replace them is? I am guessing that if I had been at UDS I would know the answer... :) Jonathan ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp