i have -systemd and installed kmscon: % emerge sys-apps/kmscon [ebuild N ] sys-apps/kmscon-9.0.0 USE="drm fbdev gles2 pango -debug -doc -pixman -systemd -test" [ebuild N ] dev-libs/libtsm-4.0.2 I expected some rc files, but not systemd, and I have: % equery files kmscon * Searching for kmscon ... * Contents of sys-apps/kmscon-9.0.0: /lib /lib/systemd /lib/systemd/system /lib/systemd/system/kmscon.service /lib/systemd/system/kmsconvt@.service /usr (...) Is that normal... ? I dont know how kmscon is supposed to be integrated (replacing agetty in inittab?) but those systemd files sure feel weird. Reproducible: Always
Also, the tarball contains a man page that is not installed. This is especially worrying, as the (github) homepage first line is about "all doc is in the manpage". Unfortunately, this is some kind of xml, so you can't read it throught github files browser.
It looks like the "systemd" USE flag really controls the "multi-seat" feature, which requires libsystemd to function. I assume kmscon is usable with systemd even with the "systemd" USE flag disabled.
Regarding the man page: this is currently hidden behind the "doc" USE flag, which pulls in dev-util/gtk-doc. Based on reading meson.build, I don't think gtk-doc is necessary. It looks like it just needs dev-libs/libxslt and app-text/docbook-xsl-stylesheets.
I don't know how integration with openrc is supposed to look, but it should launch successfully from an openrc system if you just launch it from an existing shell on tty1. I can modify the ebuild to install man page unconditionally, I think this doc flag has been here since before I took over this package.
(In reply to Ben Kohler from comment #4) > I don't know how integration with openrc is supposed to look, but it should > launch successfully from an openrc system if you just launch it from an I'm not sure I'm supposed to do that, but that kinda seems to work by replacing agetty entries in /etc/inittab by lines like: #c2:2345:respawn:/usr/bin/kmscon --vt /dev/tty2 --seats=seat0 --no-switchvt #c3:2345:respawn:/usr/bin/kmscon --vt /dev/tty3 --seats=seat0 --no-switchvt #c4:2345:respawn:/usr/bin/kmscon --vt /dev/tty4 --seats=seat0 --no-switchvt c5:2345:respawn:/usr/bin/kmscon --vt /dev/tty5 --seats=seat0 --no-switchvt c6:2345:respawn:/usr/bin/kmscon --vt /dev/tty6 --seats=seat0 --no-switchvt I'm not sure if --seats is required, or if it' ok this way. I tried to find some documentation, but it's tricky. There's, for sure, no gentoo doc about it.