Re: CPU temperature thermal

Sandro Tosi <[email protected]> Thu, 21 Oct 2010 20:02:41 +0200
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
Hi all,
sorry for the quite late reply :)

On Sat, Oct 2, 2010 at 17:44, Stefan Gehn <[email protected]> wrote:
> On 10/02/2010 05:36 PM, Bill Wilson wrote:
>>
>> On Sat, 02 Oct 2010 15:38:41 +0200
>> Stefan Gehn<[email protected]>  wrote:
>>
>>> Last but not least I'd recommend using libsensors support in GKrellM
>>> (unfortunately Debian disabled libsensors-usage in its gkrellm-package)
>>> instead of relying on any of the above directories.
>>
>> LIbsensors is the preferred interface for Gkrellm and the only interface
>> that will be
>> up to date on supporting correct voltage scaling factors and offsets for
>> recent
>> sensor chips.  Does anyone know why Debian (and consequently Ubuntu)
>> has disabled using libsensors?
>
> I can only think of keeping the dependency list as low as possible. I have
> just CC'd Sandro Tosi (maintainer of the GKrellM-package in Debian) so
> hopefully he can shed some light on it.

I'm not actually sure why it was done (it was before I took over
maintainership, and never needed it, so it was not changed), the only
thing I can find in the changelog is:

  * --without-libsensors, force using /sysfs for safety.

from 2007-02-15, quite a long time ago. I'm going to update the
package to 2.3.5 enabling libsensors.

Thanks for the heads up!

> I have already thought about loading libsensors at runtime to make it an
> optional dependency but with the filename varying between versions (and
> possibly distros) I'm still not sure how dynamically loading shared
> libraries is supposed to work on Linux. The libtool docs recommend parsing
> the .la file but that one is usually found in the development-package which
> end-users don't have installed.

Naah, that would be quite a mess :) Let's just link the package to it,
and recompile at need (in Debian we can schedule recompilation of
dependency pacakges in case a library SONAME is bumped, so no worry
about that).

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

______________________________________________
Gkrellm mailing list
[email protected]
Read archives-join-leave-set RSS feed:
http://archive.lists.netservicesgroup.com
This service is provided by The Network Services Group:
http://www.netservicesgroup.com