Created attachment 5085
Add logind runtime detection
I took the patch from this bug report and from Bug #10076 to combine them (suspend/hibernate support + logind runtime detection). It could probably be done in a nicer way, but it seems to work fine.
(I tested with the 4.10.1 release tarball so it won't apply as is over git, e.g. replace configure.ac with configure.ac.in in the patch.)
Created attachment 5085
Add logind runtime detection
I took the patch from this bug report and from Bug #10076 to combine them (suspend/hibernate support + logind runtime detection). It could probably be done in a nicer way, but it seems to work fine.
(I tested with the 4.10.1 release tarball so it won't apply as is over git, e.g. replace configure.ac with configure.ac.in in the patch.)