Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 703800

Summary: dev-libs/libinput: Missing dependency on dev-python/libevdev
Product: Gentoo Linux Reporter: haarp <main.haarp>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, polynomial-c, x11
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gitlab.freedesktop.org/libevdev/python-libevdev.git
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 703804    
Bug Blocks:    

Description haarp 2019-12-25 21:56:51 UTC
Please add dev-python/libevdev to the gentoo repo.

libinput comes with various tools. Among them is one which can be called via "libinput measure fuzz". This tool requires Petter Hutterer's libevdev python bindings to work.

Note that I am *not* referring to dev-libs/libevdev nor dev-python/python-evdev, which are different packages.

I've added a trivial ebuild to my "haarp" overlay. But seeing as this is a missing dependency of an existiing package existing in the gentoo repo, I figure it's more sensible to have python-libevdev exist in the gentoo repo.

Thanks!
Comment 1 Matt Turner gentoo-dev 2020-01-02 20:53:27 UTC
Perhaps provide a link to the upstream repository?
Comment 2 Matt Turner gentoo-dev 2020-01-02 20:54:01 UTC
Also a build log with the failure from the missing package?
Comment 3 haarp 2020-01-02 20:57:37 UTC
(In reply to Matt Turner from comment #2)
> Also a build log with the failure from the missing package?

It builds fine, libevdev is a runtime dependency:

> libinput measure fuzz
Error: No module named 'libevdev'
One or more python modules are missing. Please install those modules and re-run this tool.

> Perhaps provide a link to the upstream repository?

https://gitlab.freedesktop.org/libevdev/python-libevdev.git
Comment 4 Matt Turner gentoo-dev 2020-01-02 21:00:46 UTC
Thank you!
Comment 5 Larry the Git Cow gentoo-dev 2020-03-09 02:06:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b5616c3dedc857001d0b42e579c6599cf713f43

commit 0b5616c3dedc857001d0b42e579c6599cf713f43
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-03-09 02:03:34 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-03-09 02:05:41 +0000

    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>

 dev-libs/libinput/libinput-1.15.3.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)