Commit Graph

13 Commits

Author SHA1 Message Date
NotAShelf
6a0d58d437
seatd: add meta.mainProgram 2023-08-16 21:59:35 +03:00
Pol Dellaiera
c9f8bdaf6c
seatd: use finalAttrs pattern 2023-08-06 19:26:08 +02:00
R. Ryantm
86cc23b63d seatd: 0.7.0 -> 0.8.0 2023-08-06 12:47:46 +00:00
Adam Joseph
42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
Alyssa Ross
9f87711f0d seatd: broaden platforms
From the homepage:

> Currently supports Linux and FreeBSD, and has experimental NetBSD support.
2023-01-13 13:22:11 +00:00
Rouven Czerwinski
a16d56e7b4 seatd: 0.6.4 -> 0.7.0
Package bump to 0.7.0. The most important change for NixOS is a polling
bug fix for the logind backend. Previously sway would receive the DRM FD
pause event only after the DRM FD was unpaused, this is fixed in this
release.

Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
2022-05-24 06:31:14 +02:00
Adam Joseph
10636e54bf
seatd: honor systemdSupport attr (#160967) 2022-04-08 15:26:44 +02:00
Alyssa Ross
a212281392 seatd: 0.6.3 -> 0.6.4
https://lists.sr.ht/~kennylevinsen/seatd-announce/%3CETEO7R.QG8B1KGD531R1%40kl.wtf%3E

No CVE yet.
2022-02-24 22:36:39 +00:00
R. Ryantm
fb2d35f454 seatd: 0.6.2 -> 0.6.3 2021-10-28 20:08:42 +00:00
Alyssa Ross
bdac6826b7
seatd: 0.5.0 -> 0.6.2
This release fixes CVE-2021-41387, but we are not affected, because
the issue was only introduced in 0.6.0, which we never packaged.

Co-authored-by: Michael Weiss <dev.primeos@gmail.com>
2021-09-19 17:45:42 +00:00
Michael Weiss
7b39311bb2
seatd: Fix cross-compilation 2021-07-02 18:46:23 +02:00
Alyssa Ross
d5bcba77a3
seatd: enable embedded seatd backend for libseat
This is the new mechanism for wlroots-based compositors to be able to
run as root, with no logind or seatd running.
2021-06-25 10:36:04 +00:00
Alyssa Ross
5b2c57e316
seatd: rename from libseat; build binary too
"seatd" is the name of the upstream project, so it's the proper name
for the package containing both the binary and the library.
2021-06-25 10:35:57 +00:00