Summary: | x11-drivers/xf86-input-synaptics doesn't call linux_chkconfig_present properly | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeremy Olexa (darkside) (RETIRED) <darkside> |
Component: | New packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chainsaw, egore, eva |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jeremy Olexa (darkside) (RETIRED)
2009-12-12 02:47:40 UTC
I don't have a proper patch since I am working on my netbook now. Here is the output, I think you can see the one line addition and indenting changes for the rest. --- xf86-input-synaptics-1.2.0.ebuild.org 2009-12-10 19:10:05.000000000 +0000 +++ xf86-input-synaptics-1.2.0.ebuild 2009-12-11 20:48:12.000000000 +0000 @@ -31,13 +31,17 @@ pkg_postinst() { x-modular_pkg_postinst - if ! linux_chkconfig_present INPUT_EVDEV; then - echo - ewarn "This driver requires event interface support in your kernel" - ewarn " Device Drivers --->" - ewarn " Input device support --->" - ewarn " <*> Event interface" - echo + # If you don't have a .config, don't die. The intent is just a friendly + # warning. + if linux_config_exists; then + if ! linux_chkconfig_present INPUT_EVDEV; then + echo + ewarn "This driver requires event interface support in your kernel" + ewarn " Device Drivers --->" + ewarn " Input device support --->" + ewarn " <*> Event interface" + echo + fi fi if use hal ; then elog "If you want to modify Synaptics settings, please create an fdi file in:" + 13 Dec 2009; Gilles Dartiguelongue <eva@gentoo.org> + xf86-input-synaptics-1.2.0.ebuild: + Don't die if .config is not present, bug #296578. + Thanks for reporting. Still needs to be fixed in the x11 overlay. Reassigning to us. Thanks Synced to the overlay. |