Summary: | dev-libs/libinput needs dev-python/libevdev | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gabriel <gabriel> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | gabriel |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=703800 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Gabriel
2025-01-03 14:18:39 UTC
We have an `optfeature` message for this in the libinput ebuilds already: pkg_postinst() { optfeature "measure and replay tools" dev-python/libevdev udev_reload } Looks like that dates to this commit (in a slightly different form). commit 0b5616c3dedc857001d0b42e579c6599cf713f43 Author: Matt Turner <mattst88@gentoo.org> Date: Sun Mar 8 19:03:34 2020 -0700 dev-libs/libinput: Inform users about dev-python/python-libevdev I don't think a runtime dependency is warranted for these two tools, so let's just inform users about the dependency. Closes: https://bugs.gentoo.org/703800 Signed-off-by: Matt Turner <mattst88@gentoo.org> I'm unsure that we should convert this to an RDEPEND. Thanks for looking into this, Matt. Like I said, this is up to you - what I'm reporting is that you do get a runtime error if you don't install libevdev; I had completely forgotten about any message that Portage displayed, mainly because libinput gets pulled as a dependency of something else and you end up using it as a troubleshooting tool a long time after your brain has forgotten Portage's message. (I'm using the Royal "you" here, meaning me, so this is probably just me). Happy for you to close if you believe that this is excessive as a runtime dependency or a USE flag; it feels, however, that some other users may struggle if they end up encountering the same error. Then again, this is easily explained in Gentoo Support IRC by pretty much anybody. FWIW, I found libinput's recording+analysis useful to confirm that my touchpad can indeed do multi finger input, which is something that a tool like wev couldn't surface clearly enough. |