Index | Thread | Search

From:
Landry Breuil <landry@openbsd.org>
Subject:
[new] wayland/{greetd,gtkgreet}
To:
ports@openbsd.org
Date:
Mon, 10 Nov 2025 15:40:23 +0100

Download raw body.

Thread
  • Landry Breuil:

    [new] wayland/{greetd,gtkgreet}

hi,

another turd polishing^W^W iteration, with:
- much more comments in patch-greetd_src_session_worker_rs
- cleanup of the patches

in the known improvements to be worked on when it tree, some discussed
with jca@:
- dont hardcode _greetd in worker.rs, but try to get it from
  Config.file.default_session.user (i tried, and utterly failed)
- don't patch out the prctl call, but find a way to react upon our
  parent's death (eg die too), maybe using kqueue to register an event
handler on ppid ? (if someone knows how to do that in native rust..)
- don't patch out the vt switching/ioctl handling, but look at how
  wsconsctl display.focus does (and reproduce it in C/rust ?)
- adapt the patch when robert@'s work on XDG_RUNTIME_DIR lands in libc
  (eg new magic number for LOGIN_SETALL, no need to putenv
XDG_RUNTIME_DIR..)

a review from someone knowledgeable in rust welcome (poke poke semarie)

i already have an ok from jca@ on gtkgreet, an ok on greetd would be
welcome too :)

Landry