ksensors is a nice front-end to lm_sensors. It also displays same /proc/* information such as cpuinfo and cpu themperature. Since lm_sensors doesn't work with ibm thinkpad laptops and even dangerous to use I want to make this optional(disabled if acpi enabled). I also has extended functionality of ksensors to display /proc/acpi/ibm/thermal. ksensors-0.7.3-r1.ebuild: --------------------------------------------- # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-misc/ksensors/ksensors-0.7.3.ebuild,v 1.6 2005/10/09 18:02:46 metalgod Exp $ inherit kde DESCRIPTION="KSensors - a nice lm_sensors frontend for KDE" SRC_URI="mirror://sourceforge/ksensors/${P}.tar.gz" HOMEPAGE="http://ksensors.sourceforge.net/" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="acpi" DEPEND="!acpi? sys-apps/lm_sensors" need-kde 3 src_unpack() { kde_src_unpack epatch ${FILESDIR}/${P}-ibm-acpi.patch cd ${S} rm -f config.cache } --------------------------------------- patch attached in the following message.
Created attachment 75480 [details, diff] patch to display thermal info provided by ibm_acpi Display more thermal info from: /proc/acpi/ibm/thermal
can you please submit this patch upstream. It will find its way back into Gentoo then. Thanks
As this application is abandoned, resolution upstream is unreasonable. Using bug 173821 as tracker.
ksensors needs sys-apps/lm_sensors to build correctly: In file included from lmsensorsdock.h:34, from main.cpp:24: lmsensors.h:26:29: error: sensors/sensors.h: No such file or directory Your patch doesn't change that. It may add the desired functionality (which I can't verify) but the DEPEND in your suggested ebuild is wrong. (And the acpi USE flag can't be used for this anyway.) I've added an "ibmacpi" local USE flag which triggers your patch to be included. I've just committed ksensors-0.7.3-r1 to CVS.