This function (action_suspend) AFAIR directly called systemd the last time I checked. It also does not use upower but logind. I started to browse the history, and that is where I got lazy, as there are many commits...
I can only again quote the developer that ported Gnome to OpenBSD:Emphasis by me. I don't see any reason for him to lie about that.Quote:
While some people are really opened about keeping fallback code for ConsoleKit or portability
patches, some don't care at all or are even getting in our way on purpose.
I never said they should fix it. But if they use features that aren't available on other platforms they hardly can claim to have portability as declared aim.Quote:
Just that Linux as a kernel provides more functionality and features that GNOME integrates with and if other operating systems lack those features, it is not the job of desktop environment developers to fix it.
That is not at all what I said. Of course they can and should use any Linux features they want to use. But they should have the balls to say: "Look, we make use of these features that are not available for other platforms and actually we don't care. We are Linux only, we don't care about portability!".Quote:
If your suggestion is that GNOME should target only the lowest common base functionality and nothing else in the name of portability and avoid innovating and taking advantage of the things Linux is good at just because OpenBSD doesn't have resources to catch up on evolving interfaces, I strongly disagree with that notion.
The OpenBSD crowd does a good job for now. But 3.12 is another beast than 3.10.