PolicyKit glib dep (Was Re: PolicyKit: Branch 'master')
David Zeuthen
david at fubar.dk
Tue Apr 10 07:12:51 PDT 2007
On Tue, 2007-04-10 at 09:30 +0100, Richard Hughes wrote:
> On Mon, 2007-04-09 at 15:38 -0700, David Zeuthen wrote:
> > This paves the way for getting rid of a glib dependency; when and
> > if that happens is to be determined; right now it just doesn't make a
> > lot of sense to reimplement GKeyFile, GSList, GHashTable, g_spawn_sync
> > and other useful routines. But it might make sense if we want to get
> > the message bus daemon to link with libpolkit so you e.g. can say
>
> Ick. You want us to re-implement the most basic of functions?
If we someday want the message bus daemon / other apps that care about
OOM to link with this, yes, then we reimplement (read: copy/paste code
from e.g. DBus since that is under the same license). But that day isn't
now and, anyway, the cost of hiding the fact that we're using glib is
pretty low as you can see that the patch is fairly small.
For reference, this was the patch and full commit message
http://gitweb.freedesktop.org/?p=PolicyKit.git;a=commitdiff;h=192f04cef946c0ebe5f90c8dbecc933b6ac3c197
David
ps. until we fix hal-commit to properly set the Subject, please manually
edit it especially if you're moving it to this list. Thanks.
More information about the hal
mailing list