A quick search did not come up with an upstream issue about this. This package apparently has no revdeps, so may not be that important after all.
Yeah, it's a fresh project. Do I understand correctly that the only thing needing to be done here is 'replacing' -lsystemd with -lelogind? Hmm, I should probably check if they need -lsystemd at all because I see a lot of direct dbus calls.
Created attachment 570340 [details, diff] 0001-Add-support-for-elogind.patch Please review and test the attached patch. If it's ok, I'll submit it upstream.
Created attachment 570608 [details, diff] 0001-Add-support-for-elogind.patch I had to fix one leftover `have_systemd` to `have_logind` in order for build to succeed. Testing this in my Plasma-5 elogind session; ran xfce4-screensaver, locked, and was perfectly able to unlock the screensaver again.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0468edec89303334c1e5dd7dc9b856a78d8ddc75 commit 0468edec89303334c1e5dd7dc9b856a78d8ddc75 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-06-13 11:01:17 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-06-13 11:11:22 +0000 xfce-extra/xfce4-screensaver: Bump to 0.1.5 Bump to 0.1.5 release. Includes elogind support. Closes: https://bugs.gentoo.org/681344 Signed-off-by: Michał Górny <mgorny@gentoo.org> xfce-extra/xfce4-screensaver/Manifest | 1 + .../xfce4-screensaver-0.1.5.ebuild | 74 ++++++++++++++++++++++ 2 files changed, 75 insertions(+)