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 635379 - Port to GSettings
Port to GSettings
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: general
3.4.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
evolution[gnome3] evolution[cleanup]
: 227451 (view as bug list)
Depends on:
Blocks: 617917 622558 647909 674611
 
 
Reported: 2010-11-20 20:23 UTC by Javier Jardón (IRC: jjardon)
Modified: 2013-09-14 16:55 UTC
See Also:
GNOME target: 3.6
GNOME version: ---



Description Javier Jardón (IRC: jjardon) 2010-11-20 20:23:57 UTC
http://live.gnome.org/GnomeGoals/GSettingsMigration

$ git grep gconf-c
addressbook/backends/groupwise/create-account.c:#include <gconf/gconf-client.h>
calendar/backends/caldav/e-cal-backend-caldav.c:#include <gconf/gconf-client.h>
calendar/backends/contacts/e-cal-backend-contacts.c:#include <gconf/gconf-client
calendar/backends/http/e-cal-backend-http.c:#include <gconf/gconf-client.h>
libebackend/e-offline-listener.c:#include <gconf/gconf-client.h>
libedataserver/e-account-list.h:#include <gconf/gconf-client.h>
libedataserver/e-account.c:#include <gconf/gconf-client.h>
libedataserver/e-categories.c:#include <gconf/gconf-client.h>
libedataserver/e-proxy.c:#include <gconf/gconf-client.h>
libedataserver/e-source-list.h:#include <gconf/gconf-client.h>
servers/groupwise/create-account.c:#include <gconf/gconf-client.h>
Comment 1 Matthew Barnes 2010-11-21 00:57:14 UTC
Working on this but it's not a straight-forward port.  See my recent posts on evolution-hackers@gnome.org about redesigning account management.
Comment 2 Javier Jardón (IRC: jjardon) 2010-11-21 03:48:47 UTC
Thanks for the info Matthew, for the record:

http://mail.gnome.org/archives/evolution-hackers/2010-November/msg00013.html
Comment 3 Matthew Barnes 2010-12-17 02:16:31 UTC
I'm now targetting my account management rewrite for 3.1, so it looks like we'll still be using GConf for 3.0.
Comment 4 André Klapper 2011-01-18 14:51:54 UTC
[Still blocking metabug 622558, restoring.]
Comment 5 André Klapper 2011-01-27 14:05:21 UTC
(In reply to comment #3)
> it looks like we'll still be using GConf for 3.0.

Adjusting GNOME Target field.
Comment 6 André Klapper 2011-09-01 16:11:21 UTC
This will not happen for 3.2, but for 3.4.
Also see https://live.gnome.org/Evolution/Planning34
Comment 8 Marek Kašík 2012-01-27 13:52:44 UTC
Hi,

I just want to ask in which release do you plan to finish the port to GSettings. I'm mainly concerned about replacement of those e_*_gconf() functions (ESourceList) with their gsettings equivalent. These are used in ekiga, planner and gnome-phone-manager (phonemgr).

Regards

Marek
Comment 9 Matthew Barnes 2012-01-27 15:28:35 UTC
The remaining GConf keys in use with embedded XML blobs aren't bound for GSettings.  They will instead be converted to a brand new file format and stored in ~/.config/evolution/sources.  I have a branch in progress to implement this ("account-mgmt") but it's taking a long time to complete.

There will be major changes to libedataserver -- the new API can be previewed here:
http://mbarnes.fedorapeople.org/account-mgmt/docs/libedataserver/

Target release has slipped several times already, but is currently 3.6.  (Leaving plenty of time in 3.5 to help migrate other projects.)
Comment 10 Andreas Proschofsky 2012-02-11 15:32:28 UTC
Just wondering: Is there a specific reason why evolution still ships all the old, now unused gconf schemas?
Comment 11 Matthew Barnes 2012-02-12 01:48:08 UTC
Not really.  Someone just needs to clean them up.
Comment 12 André Klapper 2012-03-06 15:52:42 UTC
Does anybody work on finishing this / will this really happen for 3.4 ("GNOME Target" field) or shall this be postponed to 3.6?
How dangerous is it to have it half-migrated for 3.4, as that seems to be the case when grep'ing for gconf in e-d-s?
Comment 13 Matthew Barnes 2012-03-06 15:59:41 UTC
We'll be using both GSettings and GConf for 3.4.

I was going to just leave the GConf schemas alone until we're 100% migrated.
Comment 14 André Klapper 2012-03-07 09:09:45 UTC
Thanks for clarifying. Bumping the target.
Comment 15 André Klapper 2012-04-03 08:42:27 UTC
*** Bug 227451 has been marked as a duplicate of this bug. ***
Comment 16 Jasper St. Pierre (not reading bugmail) 2012-06-08 17:17:28 UTC
So this is FIXED?
Comment 17 Matthew Barnes 2012-06-08 17:50:02 UTC
Almost.
Comment 18 Milan Crha 2012-06-14 08:46:52 UTC
I port remaining bits from GConf to GSettings in eds by two commits, one in eds, the other in evo. I made ENameSelecterEntry changes the way Matthew suggested on IRC and it looks neat.

Created commit 8079043 in eds master (3.5.3+)
Created commit e8dc7d8 in evo master (3.5.3+)