From c1c14aa6a4efd1baa30ee9a97083fe7728aabc4c Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Fri, 21 Mar 2025 22:50:45 +0100 Subject: [PATCH] x11/swayidle: document ConsoleKit2 as systemd-logind provider InhibitDelayMaxSec via logind.conf won't work but the rest applies. --- x11/swayidle/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/x11/swayidle/Makefile b/x11/swayidle/Makefile index 736b578ddd77..801247abc273 100644 --- a/x11/swayidle/Makefile +++ b/x11/swayidle/Makefile @@ -1,6 +1,6 @@ PORTNAME= swayidle DISTVERSION= 1.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ @@ -43,5 +43,8 @@ post-patch: @${REINPLACE_CMD} -e 's,/login1,/ConsoleKit/Manager,' \ -e 's,login1,ConsoleKit,' \ ${WRKSRC}/main.c + @${REINPLACE_CMD} -e 's,systemd,ConsoleKit2,g' \ + -Ee '/conf/!s,logind(/elogind)?,ConsoleKit2,g' \ + ${WRKSRC}/${PORTNAME}.1.scd .include