Created attachment 558460 [details] ebuild with added kernel config checks GPM needs kernel CONFIG_INPUT_MOUSEDEV set to work, as there will be no /dev/input/mouseX or /dev/input/mice to read mouse events from without it. The attached ebuild adds kernel config checking. I'm sure it's in some way incorrect as this is my first ebuild rodeo. The documentation for linux-info.eclass and pulseaudio.ebuild and qemu.ebuild (which I used as references) also seem to conflict each other pretty badly ;)
Comment on attachment 558460 [details] ebuild with added kernel config checks --- gpm-1.20.7-r2.ebuild 2018-11-18 11:31:09.608095870 +0100 +++ - 2018-12-25 14:05:11.164637289 +0100 @@ -5,7 +5,7 @@ EAPI=5 -inherit eutils systemd toolchain-funcs autotools multilib-minimal +inherit eutils systemd toolchain-funcs autotools multilib-minimal linux-info DESCRIPTION="Console-based mouse driver" HOMEPAGE="https://www.nico.schottelius.org/software/gpm/" @@ -24,6 +24,12 @@ sys-apps/texinfo virtual/yacc" +pkg_pretend() { + CONFIG_CHECK="INPUT_MOUSEDEV" + ERROR_INPUT_MOUSEDEV="CONFIG_INPUT_MOUSEDEV:\tis not set (required to expose mice for GPM)" + check_extra_config +} + src_prepare() { epatch "${FILESDIR}"/${P}-sysmacros.patch
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38220e8acee091c30031564564ec49f456d65bf9 commit 38220e8acee091c30031564564ec49f456d65bf9 Author: David Seifert <soap@gentoo.org> AuthorDate: 2021-04-11 10:40:26 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-04-11 10:40:26 +0000 sys-libs/gpm: Port to EAPI 7 Bug: https://bugs.gentoo.org/673700 Bug: https://bugs.gentoo.org/781959 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org> sys-libs/gpm/gpm-1.20.7-r3.ebuild | 108 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+)
Fixed, thanks!