Re: wlroots Reply #1 – 06 June 2019, 13:49:03 Code: [Select]+ -Dlogind-provider=systemd \Are you saying it should have said elogind?
Re: wlroots Reply #2 – 06 June 2019, 14:42:21 Quote from: fungalnet – on 06 June 2019, 13:49:03Code: [Select]+ -Dlogind-provider=systemd \Are you saying it should have said elogind?Yes.
Re: wlroots Reply #3 – 06 June 2019, 15:18:56 Quote from: kekek – on 06 June 2019, 14:42:21Yes.Should be fine though, or is there something dysfunctional with the new package?Its effectively built against libelogind anyway.
Re: wlroots Reply #4 – 06 June 2019, 15:21:39 It honestly doesn't really matter anymore since elogind provides systemd now. Building with elogind or systemd activates exactly the same feature set (i.e. logind stuff).
Re: wlroots Reply #5 – 19 August 2019, 12:10:03 Quote from: Dudemanguy – on 06 June 2019, 15:21:39It honestly doesn't really matter anymore since elogind provides systemd now. Building with elogind or systemd activates exactly the same feature set (i.e. logind stuff).I wouldn't be too sure about that. sway currently says stuff about being unable to find backend for me, and apparently I'm not the only onehttps://github.com/swaywm/sway/issues/4338This is a user of an alternative init system having the same error as mine, and the options are to either use logind or set suid. They have a wiki page on this, and in the logind section (which they recommend), they say you should build wlroots with elogind explicitly or else it will expect libsystemd.https://github.com/swaywm/sway/wiki/Running-Sway-without-systemdApparently for some things you can't just run it with systemd support and expect it to find your elogind. I have yet to try building it this way myself, but I'll report back with the results
Re: wlroots Reply #6 – 19 August 2019, 16:08:01 Quote from: alpha – on 19 August 2019, 12:10:03I wouldn't be too sure about that. sway currently says stuff about being unable to find backend for me, and apparently I'm not the only onehttps://github.com/swaywm/sway/issues/4338This is a user of an alternative init system having the same error as mine, and the options are to either use logind or set suid. They have a wiki page on this, and in the logind section (which they recommend), they say you should build wlroots with elogind explicitly or else it will expect libsystemd.https://github.com/swaywm/sway/wiki/Running-Sway-without-systemdApparently for some things you can't just run it with systemd support and expect it to find your elogind. I have yet to try building it this way myself, but I'll report back with the resultsThe guy in that issue was building sway+wlroots without any logind provider whatsoever. That works but you have to suid the binary. Here in Artix we just use wlroots built with logind support (i.e. using elogind) for simplicity and it's better security that way (as opposed to using suid but I'm sure some anti-logind folks will disagree with me there).As far as the wiki page goes, it's technically a bit dated. elogind does provide systemd in pkgconfig since it is now totally compatible with the libsystemd api. When I originally added elogind support to wlroots, this wasn't the case. So you can actually just build wlroots without even having to specify any options assuming you have elogind installed. The default, libsystemd detection will work. Either way (elogind or systemd), there's no difference to wlroots. It activates exactly the same feature set (i.e. the logind backend). You can verify this real quick by looking at a couple of meson build files here and here.