spiegel-keyman/linux/keyman-system-service/tests
Eberhard Beilharz 80ae8e6289
chore(linux): improve compatibility with Gentoo Linux 🍒
Gentoo doesn't use systemd. `libelogind` or `basu` implement some aspects
of systemd, so we use that on Gentoo (or rather when `libsystemd` is not
available but `libelogind` or `basu` is).

Patch from https://forums.gentoo.org/viewtopic.php?p=8850566.
See also https://community.software.sil.org/t/keyman-for-gentoo-linux/9615.

Cherry-pick-of: #12889
2025-01-29 09:18:22 +01:00
..
services feat(linux): Add system service to toggle capslock LED 2023-05-15 09:13:58 +02:00
KeyboardDeviceMock.cpp feat(linux): Refactor to benefit from C++ RAII 2023-05-22 19:51:45 +02:00
meson.build chore(linux): improve compatibility with Gentoo Linux 🍒 2025-01-29 09:18:22 +01:00
README.md feat(linux): Add system service to toggle capslock LED 2023-05-15 09:13:58 +02:00

keyman-system-service tests

This directory defines a keyman-test-service. This is mostly identical to keyman-system-service. The differences are:

  • it runs on the session bus instead of system bus
  • KeyboardDevice (which in production interacts with evdev) is mocked so that the tests don't require root permissions.

The keyman-test-service gets called/used by the ibus-keyman integration tests.