aboutsummaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)Author
2021-07-06build: add prefix to libseat optionsSimon Ser
The option names are a little bit confusing, because it's not clear which ones toggle libseat features, and which ones toggle seatd features. Add a "libseat-" prefix to libseat-specific features, to make it more obvious that they only are about the library.
2021-06-20link with rtSimeon Schaub
Since seatd uses `clock_gettime`, this is needed when cross-compiling. This came up in https://github.com/JuliaPackaging/Yggdrasil/pull/3193.
2021-04-25meson: Support building builtin without seatdKenny Levinsen
The builtin backend relies on the seatd backend implementation. When builtin was enabled without seatd, compilation would fail due to the implementation not being included. Include the implementation if either seatd or builtin is enabled.
2021-04-10build: set pkgconfig/dependency variables for featuresSimon Ser
This allows libseat users to e.g. advise people to chmod a+s the executable if libseat is built with the builtin backend. While bumping the Meson version, adjust the scdoc logic to avoid the following warnings: WARNING: Project targeting '>=0.56.0' but tried to use feature deprecated since '0.56.0': Dependency.get_pkgconfig_variable. use Dependency.get_variable(pkgconfig : ...) instead WARNING: Project targeting '>=0.56.0' but tried to use feature deprecated since '0.55.0': ExternalProgram.path. use ExternalProgram.full_path() instead
2021-04-10build: disable logind on -Dauto_features=disabled -Dlogind=autoSimon Ser
Setting auto_features=disabled is supposed to disable all optional dependencies. Since we aren't using a feature option here, we need to manually add logic to disable logind in this case.
2021-04-08build: don't allow "auto" for seatd, builtin, server and examplesSimon Ser
These features don't have any dependencies, so "auto" doesn't make sense.
2021-04-08build: don't explicitly search for shSimon Ser
This removes the "Program sh found" line in the build logs, and should not change anything else.
2021-04-08build: fix logind feature summary when auto-detectedSimon Ser
If -Dlogind=auto but systemd/elogind isn't available, logind_provider would get set to the last item of the foreach loop. This would incorrectly report "systemd: YES".
2021-04-08build: add explicit logind provider option, auto-detect by defaultSimon Ser
Allow package maintainers to explicitly select a logind provider by passing -Dlogind=systemd or -Dlogind=elogind. In case both are available (e.g. for distributions which support both), this makes it possible to gte deterministic behavior. By default, auto-detect the logind provider. That way, users which have systemd or elogind installed get the backend built by default.
2021-04-08meson: make 'logind' var always availableKenny Levinsen
2021-03-26meson: declare libseat dependencySimon Ser
This can be used by parent projects when seatd is a subproject: libseat = dependency('libseat', fallback: ['seatd', 'libseat'])
2021-03-26Add no-op sessionSimon Ser
This is useful for headless testing, for instance with VKMS: modprobe vkms export WLR_DRM_DEVICES=/dev/dri/card1 export WLR_BACKENDS=drm export LIBSEAT_BACKEND=noop sway We don't need any of the VT handling in this case.
2021-03-16meson: Minor cleanupKenny Levinsen
2021-03-16meson: Fix logind backend auto modeKenny Levinsen
2021-03-15Bump version to 0.5.0Kenny Levinsen
2021-03-15meson: Fix indentationKenny Levinsen
2021-03-15meson: Make summary prettierKenny Levinsen
2021-03-15meson: Clean up test declarations a bitKenny Levinsen
2021-02-27meson: ignore 'man-pages' if 'server' is disabledAleksei Bavshin
`seatd.1` is the only man page, so it's not necessary to install it or require scdoc when the server is not built.
2020-10-19Bump version to 0.4.0Kenny Levinsen
2020-10-12connection: Add unittestKenny Levinsen
2020-09-22meson: Make default seatd socket path configurableKenny Levinsen
FreeBSD and Linux have different preferred socket locations. Expose an option to set the location, and implement simple auto-logic for linux/freebsd.
2020-09-22poller: Add unittestKenny Levinsen
2020-09-08Bump version to 0.3.0Kenny Levinsen
2020-09-08libseat: Version the .so fileKenny Levinsen
2020-09-01meson: fix manpage generation for cross buildsIsaac Freund
We want to use the scdoc of the host system not the target system, so pass the `native: true` parameter to meson.
2020-08-31Remove unused list implementationKenny Levinsen
2020-08-28Bump version to 0.2.0Kenny Levinsen
2020-08-22meson: Set license to MITKenny Levinsen
2020-08-08man: Add simple seatd(1) pageKenny Levinsen
2020-08-08build: check for libelogind before libsystemdIsaac Freund
elogind provides a libsystemd wrapper which is packaged by some distros. For whatever reason using this wrapper instead of libelogind directly causes compiler warnings to pop up. Checking for libelogind first ensures that this wrapper is not used.
2020-08-07seatd: Add command-line argumentsKenny Levinsen
2020-08-06linked_list: Add unittestKenny Levinsen
2020-08-05log: Remove libseat prefixesKenny Levinsen
2020-08-03libseat: Convert clients to linked_listKenny Levinsen
2020-08-03seat: Convert device list to linked listKenny Levinsen
2020-08-03poller: Remove unnecessary poll_impl abstractionKenny Levinsen
2020-08-03libseat: Use symbol file instead of -fvisibilityKenny Levinsen
2020-08-01meson: FreeBSD optionsKenny Levinsen
2020-07-31meson: Set _FORTIFY_SOURCE=2 for optimized buildsKenny Levinsen
2020-07-31meson: Add summary printoutKenny Levinsen
2020-07-31Initial implementation of seatd and libseatKenny Levinsen