Closed Thor-x86 closed 5 months ago
I need to know why not use libuv to poll libinput with event loop?
There is no particular reason and if I remember correctly, weston also uses systemd, which was one of the reasons.
If you think it's okay to replace systemd with libuv, I'm going to continue finish the PR. Thanks!
Yes, it would be great if your PR could reduce the dependencies on the necessary binaries.
Alright, I'm working on it. I'll assume libuv is only required if systemd is not exist. Please let me know if you need something
Thank you.
I'll assume libuv is only required if systemd is not exist. Please let me know if you need something
Nothing comes to mind. Currently, libsystemd is only used for DRM backend and poll libinput. See also: https://github.com/sony/flutter-embedded-linux/wiki/Installing-dependent-libraries#only-when-using-drm-backend
Friendly reminder to update your Wiki. Unfortunately, we can't pull request (or at least propose a modification) for the Wiki on GitHub.
Done.
Before I'm working on the PR, I need to know why not use libuv to poll libinput with event loop? Using systemd on most embedded system is like driving a bus to a picnic site where the only passenger is spouse and the rest seats are left empty. In our case, we included around 25 systemd binaries with some unrelated services including systemd-machined, but we only need sd-event. This is a huge resource waste for embedded system. If you think it's okay to replace systemd with libuv, I'm going to continue finish the PR. Thanks!