(In reply to Eric Koegel from comment #14)
> Created attachment 5498 [details]
> Suspend/hibernate upower 0.99 (no logind)
>
> Since everyone else is doing the logind piece, I wrote a small patch so
> xfce4-session will work with upower 0.99 but without logind.
There is a problem with this patch, it makes upower a hardcoded mandatory depend, whereas it should be considered optional, see http://bugs.gentoo.org/512084 for example
Should not use XDT_CHECK_PACKAGE([UPOWER],[upower-glib], [0.9.8]) but perhaps XDT_CHECK_OPTIONAL_PACKAGE instead, or put it somehow behind some 'ifdef'
(In reply to Eric Koegel from comment #14)
> Created attachment 5498 [details]
> Suspend/hibernate upower 0.99 (no logind)
>
> Since everyone else is doing the logind piece, I wrote a small patch so
> xfce4-session will work with upower 0.99 but without logind.
There is a problem with this patch, it makes upower a hardcoded mandatory depend, whereas it should be considered optional, see http:// bugs.gentoo. org/512084 for example PACKAGE( [UPOWER] ,[upower- glib], [0.9.8]) but perhaps XDT_CHECK_ OPTIONAL_ PACKAGE instead, or put it somehow behind some 'ifdef'
Should not use XDT_CHECK_
Thanks