Created attachment 88006 [details]
Relax glib dependency by making extensions optional.
Relaxing the dependency on glib would allow accountsservice 0.6.35 to more easily enter conservative places like RHEL.
The attached patch does this by effectively disabling extensions. We can probably avoid that by implementing the Properties interface from scratch, but I think that is overkill. We can probably tolerate not having support for extensions until glib has been updated as well.
looks ok to me
Not sure. I mean, distros that want to use it can patch out the functionality easily enough.
We did that in Fedora here:
The problem with these types of #ifdef's is is they tend to build up over time and not get cleaned up later.
Anyway, i'm pretty strongly on the fence on this one. If you guys both feel like it's the way to go, i'm not going to stand in the way.
(In reply to comment #2)
> Not sure. I mean, distros that want to use it can patch out the
> functionality easily enough.
Yes, I can't really argue against this. It's easy enough for distributions to carry a patch like this.