Bug 662759 - Port to GSettings
Port to GSettings
Status: NEW
Product: aisleriot
Classification: Other
Component: general
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: aisleriot-maint
aisleriot-maint
:
Depends on: 622126
Blocks: 622558
  Show dependency tree
 
Reported: 2011-10-26 12:06 UTC by Javier Jardón (IRC: jjardon)
Modified: 2017-09-26 12:58 UTC (History)
6 users (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments
autofoo stuff and XML conversion (3.67 KB, patch)
2013-02-03 21:32 UTC, Christian Kirbach
none Details | Diff | Review
GSettings port (79.75 KB, patch)
2016-04-23 01:34 UTC, Corentin Noël
none Details | Diff | Review

Description Javier Jardón (IRC: jjardon) 2011-10-26 12:06:22 UTC
Migrating from GConf to GSettings is an official GNOME goal now.

http://live.gnome.org/GnomeGoals/GSettingsMigration
Comment 1 Christian Persch 2011-10-26 13:21:47 UTC
Depends on gsettingslist.
Comment 2 Christian Kirbach 2013-02-03 21:31:28 UTC
I started working on this.
For a starter, this is my first blunt attempt on converting the XML and adjusting the autofoo c***.
This likely has errors.

More to follow possibly soon.
Comment 3 Christian Kirbach 2013-02-03 21:32:11 UTC
Created attachment 235127 [details] [review]
autofoo stuff and XML conversion
Comment 4 Laurent Bigonville 2016-03-30 07:54:46 UTC
Hi,

Any progress on this? I feel that this is the last GNOME component using gconf
Comment 5 Christian Persch 2016-04-15 16:43:13 UTC
No progress. You can however simply configure using --with-platform=gtk-only to avoid the gconf dependency. (Stored gconf settings won't be migrated, however.)

Also, aisleriot is not a Gnome component, it's in gnome-world not core/apps/desktop.
Comment 6 Corentin Noël 2016-04-23 01:34:06 UTC
Created attachment 326584 [details] [review]
GSettings port

Here is a patch that use the GSettings mechanism. No need to differentiate the environment and GSettings is a freedesktop.org component
Comment 7 Christian Persch 2016-04-24 11:23:32 UTC
It'll be a bit before I can review this.

There's also been a previous, unfinished, attempt, on the wip/redesign branch, which has other stuff that'll still be needed so I'm wary of introducing conflicts...
Comment 8 Jeremy Bicha 2017-03-01 17:15:04 UTC
Christian, what all does --with-platform=gtk-only do?

Are there any other side effects we should know about?
Comment 9 Christian Persch 2017-03-01 20:59:49 UTC
There should be no other effects apart from making aisleriot use key files in ~/.config instead of gconf. (There's no settings migration from gconf, of course.)
Comment 10 Jeremy Bicha 2017-03-03 00:54:32 UTC
Thanks, I've switched Ubuntu's aisleriot to --with-platform=gtk-only. It was the last thing keeping gconf in the default Ubuntu (Unity) and Ubuntu GNOME installs.
Comment 11 Jeremy Bicha 2017-03-03 00:55:27 UTC
Debian stretch is getting gconf out of the default GNOME install by no longer installing aisleriot.

Note You need to log in before you can comment on or make changes to this bug.