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 547478 - libgweather shouldn't keep a hard dependency on gconf
libgweather shouldn't keep a hard dependency on gconf
Status: RESOLVED DUPLICATE of bug 646854
Product: libgweather
Classification: Core
Component: general
unspecified
Other All
: Normal enhancement
: 2.22.0
Assigned To: libgweather-maint
libgweather-maint
Depends on:
Blocks:
 
 
Reported: 2008-08-12 19:17 UTC by Jean-François Wauthy
Modified: 2011-04-21 14:02 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Jean-François Wauthy 2008-08-12 19:17:18 UTC
libgweather is a great initiative but in order to really succeed I think it should be usable regardless of the desktop environment you're using. However, it depends on GConf which is tightly linked to Gnome. 

I would be interested in porting/adapting/rewriting the weather plugin/applet of Xfce using libgweather but unfortunately depending on GConf is a showstopper.

Please don't take this report the wrong way. I'm not trying to tell you what to do, just suggesting a way to improve the way libgweather can be used and also to "broaden its audience".

PS: on the long run I think the libxml dependency can also be removed by using a GLib-based parser.
Comment 1 Dan Winship 2008-08-13 16:18:22 UTC
The current usage of GConf is broken anyway; GWeatherGConf only stores gweather-applet's preferences. The clock applet makes its own completely separate GConf calls. So we should just move GWeatherGConf back to gweather-applet.

> PS: in the long run I think the libxml dependency can also be removed by using
> a GLib-based parser.

Yes... it's unlikely that any of the maintainers would bother to do that, but if you wanted to submit a patch we'd look at it.

One possible problem is that reading in Locations.xml is already noticeably slow, and GMarkup is probably less optimized than libxml (?), so that might make it even slower. If we're going to redo the parsing again, a better fix might be to have the build process convert the XML format into something directly-mmappable, so we didn't have to parse it at run time.
Comment 2 Vincent Untz 2008-08-19 12:10:50 UTC
I wonder what's the point of removing the libxml dependency: it's a library that is widely used and will be most likely (as in 99%) be installed anyway.

Agree for gconf, although we might want to have a "Use desktop-wide setting" option which would use the configuration stored in gconf for GNOME...

So. Who wants to move some code to the weather applet? :-)
Comment 3 Giovanni Campagna 2011-04-21 14:02:41 UTC
This bug is a duplicate of 646854, which is newer but has a patch (and is blocking the GNOME Goal).
Comment 4 Giovanni Campagna 2011-04-21 14:02:57 UTC

*** This bug has been marked as a duplicate of bug 646854 ***