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 618039 - port gconf to GDBus
port gconf to GDBus
Status: RESOLVED WONTFIX
Product: GConf
Classification: Deprecated
Component: gconf
unspecified
Other Linux
: Normal major
: ---
Assigned To: GConf Maintainers
GConf Maintainers
gnome[unmaintained]
Depends on:
Blocks: 622871
 
 
Reported: 2010-05-07 18:03 UTC by Christian Persch
Modified: 2018-08-17 13:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use GDBus for libgconf-2 (6.89 KB, patch)
2010-05-07 18:03 UTC, Christian Persch
committed Details | Review

Description Christian Persch 2010-05-07 18:03:23 UTC
Currently libgconf-2 links to libdbus and libdbus-glib which are GPL2-only, making libgconf-2 effectively GPL2-only too. Porting to GDBus will make it LGPL2+ again.
Comment 1 Christian Persch 2010-05-07 18:03:53 UTC
Created attachment 160528 [details] [review]
Use GDBus for libgconf-2

Port libgconf-2 to GDBus, removing libdbus and libdbus-glib. libgconf-2
is now LGPL-2+ again!

Note that gconfd-2 itself still uses libdbus[-glib].

Bug #618039.
Comment 2 Christian Persch 2010-05-15 09:57:21 UTC
I ported all of gconf to gdbus; it's on the "gdbus" branch in git.
Comment 3 Vincent Untz 2010-08-18 08:42:05 UTC
Review of attachment 160528 [details] [review]:

Looks good, please commit with the small change below.

::: gconf/gconf-internals.c
@@ +2460,3 @@
+                    "GetIOR",
+                    g_variant_new ("()"),
+                    start_if_not_found ? 0 : G_DBUS_INVOKE_METHOD_FLAGS_NO_AUTO_START,

Can you use G_DBUS_CALL_FLAGS_NONE instead of 0?
Comment 4 Vincent Untz 2010-08-18 08:42:49 UTC
(In reply to comment #2)
> I ported all of gconf to gdbus; it's on the "gdbus" branch in git.

Is there another bug for this? I can try to review the branch in a few days.
Comment 5 Christian Persch 2010-08-18 09:02:19 UTC
(In reply to comment #3)
> Review of attachment 160528 [details] [review]:
> 
> Looks good, please commit with the small change below.
> 
> ::: gconf/gconf-internals.c
> @@ +2460,3 @@
> +                    "GetIOR",
> +                    g_variant_new ("()"),
> +                    start_if_not_found ? 0 :
> G_DBUS_INVOKE_METHOD_FLAGS_NO_AUTO_START,
> 
> Can you use G_DBUS_CALL_FLAGS_NONE instead of 0?

Sure, I'll fix that.

(In reply to comment #4)
> (In reply to comment #2)
> > I ported all of gconf to gdbus; it's on the "gdbus" branch in git.
> 
> Is there another bug for this? I can try to review the branch in a few days.

No, it's _this_ bug :)

Note that this is *not* about the gconf-dbus branch/fork (which ports all of gconf from orbit to dbus), but only about replacing the existing dbus[-glib] code in gconf _master_ (the gconfd server, and the gconf-defaults mechanism) with equivalent gdbus code.
Comment 6 Christian Persch 2010-08-18 09:54:46 UTC
Comment on attachment 160528 [details] [review]
Use GDBus for libgconf-2

Pushed the first patch to master with the change requested, and rebased the gdbus branch on top of master.
Comment 7 Christian Persch 2010-08-18 18:35:08 UTC
Just wanted to mention that the rest of the patches on the "gdbus" branch in git isn't that urgent to review/commit, since gconfd and gconf-defaults are OOP which means I don't care if they link to libdbus (OOP makes the licence issue irrelevant). So if you're busy, this could wait until 2.33. :)
Comment 8 Javier Jardón (IRC: jjardon) 2010-12-08 21:30:20 UTC
Any news about this?
Comment 9 Simon McVittie 2011-07-12 18:15:34 UTC
Seems this was fixed in 2.31.91?
Comment 10 Simon McVittie 2011-07-12 18:18:33 UTC
Sorry, my mistake, only the libgconf-2 part was ported. Sorry for the noise.

(But the remaining patches will need to be rebased and extended, now that the branch to use D-Bus instead of CORBA has been merged.)
Comment 11 André Klapper 2011-07-12 18:24:06 UTC
Fixed in gconf 3.1.3.
See http://mail.gnome.org/archives/desktop-devel-list/2011-June/msg00087.html and follow-ups.
Comment 12 Christian Persch 2011-07-26 12:01:07 UTC
*NOT* fixed. Note that this is about porting to GDbus, not dbus-glib.
Comment 13 André Klapper 2011-07-26 12:06:17 UTC
Sorry, my fault.
Comment 14 André Klapper 2018-08-17 13:54:36 UTC
GConf has been deprecated since 2011.

GConf is not under active development anymore. Its codebase has been archived:
https://gitlab.gnome.org/Archive/gconf/commits/master

dconf and gsettings are its successors. See https://developer.gnome.org/gio/stable/ch34.html and https://developer.gnome.org/GSettings/ for porting info.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to a recent + supported version of dconf/gsettings. Thanks!