GNOME Bugzilla – Bug 336307
Migrate to goption
Last modified: 2006-08-07 10:19:29 UTC
Here's a patch to use GOption instead of popt. There's a small regression: running "gconftool-2" (without any options) doesn't display the usage any more. I don't think we can do this with GOption :/ It probably needs some testing/verification since I didn't test all options of gconftool-2.
Created attachment 62183 [details] [review] patch
Note that we can't really remove the popt dependency since there's the gconf_options variable in gconf.h, which is part of the API.
you don't need to link against popt, at least.
Created attachment 62415 [details] [review] New patch, without popt linking Matthias: oh, good point. Here's a new patch.
Haven't reviewed in detail, but looks reasonable. Please commit
Commiting since Vincent didn't have time right now :-)
It still links to libpopt. I get a "LIBS = -lpopt" line in Makefile that is causing it to get pulled in.,
Created attachment 70001 [details] [review] don't link popt This should stop linking to popt. Look OK?
Looks good to me, but I'm not the maintainer. We should try to get it in though.
Commited.