Add a patch to add hibernate and suspend support, from ArchLinux's PKGBUILD. https://www.archlinux.org/packages/extra/x86_64/xfce4-power-manager/ Reproducible: Always Expected Results: Hibernate/suspend can executed through xfce4-session's menu.
Created attachment 372256 [details, diff] diff -buw xfce4-power-manager-1.2.0-r2.ebuild xfce4-power-manager-1.2.0-r3.ebuild
Created attachment 372258 [details, diff] patch to the xfce4-power-manager sources Taken from ArchLinux.
Comment on attachment 372258 [details, diff] patch to the xfce4-power-manager sources The patch is missing the configure.ac.in bits to control setting of the macro WITH_SLEEP_MANAGER_UPOWER and so forth
Comment on attachment 372256 [details, diff] diff -buw xfce4-power-manager-1.2.0-r2.ebuild xfce4-power-manager-1.2.0-r3.ebuild Should not patch based in 'if use systemd', but rather fix the patch to include configure.ac (or .ac.in?) bits and run with EAUTORECONF=1 set that triggers xfconf.eclass to run eautoreconf for the package
And there should be a link to upstream bug where the patch has been submitted for review as prerequisite before this can enter Portage Is this it? https://bugzilla.xfce.org/show_bug.cgi?id=10167 If not, then bug needs to be opened
(In reply to Samuli Suominen from comment #5) > And there should be a link to upstream bug where the patch has been > submitted for review as prerequisite before this can enter Portage > > Is this it? https://bugzilla.xfce.org/show_bug.cgi?id=10167 > If not, then bug needs to be opened Thank you for your review and comment. The patch which I took from the Archlinux and uploaded is from https://bugzilla.xfce.org/show_bug.cgi?id=9963 . And the xfce bugzilla has another one: https://bugzilla.xfce.org/show_bug.cgi?id=9335. As mentioned in https://bugzilla.xfce.org/show_bug.cgi?id=10167, the development of xfce4-power-manager seems to be confused or almost unmaintained. I think I should withdraw this bug post of mine for now, letting the ebuild and patch be a private one.
The author of xfce4-power-manager is an Xubuntu developer, so I'd expect Xubuntu will release systemd version once they have migrated to systemd, like they are planning to I don't think it's a high priority bug (feature request) for them before that For non-systemd use of xfce4-power-manager, the current code is fine I'll look at those bugs you linked, lets keep this open
this is finally fixed by xfce4-power-manager-1.2.0_p20140511, upstream git snapshot, has runtime logind detection