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

Bug 68953

Summary: ncpufreqd-1.7 (New Package)
Product: Gentoo Linux Reporter: Dennis Nienhüser (RETIRED) <earthwings>
Component: New packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED FIXED    
Severity: enhancement CC: earthwings, nelchael
Priority: High Keywords: EBUILD, InVCS
Version: unspecified   
Hardware: All   
OS: All   
URL: http://fatcat.ftj.agh.edu.pl/~nelchael/index.php?id=ncpufreqd&language=en
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ncpufreqd-1.6.ebuild
ncpufreqd-1.6.ebuild
ncpufreqd-1.7.ebuild

Description Dennis Nienhüser (RETIRED) gentoo-dev 2004-10-26 02:54:25 UTC
ncpufreqd is a daemon useful for thermal management (controlling temperature especially on laptops). It watches CPU temperature and scales down processor frequency or uses ACPI throttling if a user defined trip point is exceeded. This is very useful for people with "mobile" Desktop CPU's on their laptop and others that have heat problems.

Maintaining this package should be a nice job. New versions come out quickly, but the author uses Gentoo Linux as well and even provides ebuilds.
Comment 1 Dennis Nienhüser (RETIRED) gentoo-dev 2004-10-26 02:55:15 UTC
Created attachment 42608 [details]
ncpufreqd-1.6.ebuild
Comment 2 Henrik Brix Andersen 2004-10-27 11:25:59 UTC
A few changes needs to be done to the ebuild before it can be accepted:

* The copyright needs to be assigned to "Gentoo Foundation", not "Gentoo Technologies, Inc."
* src_compile() should use 'econf' instead of calling ./configure directly
* src_install() should use 'emake DESTDIR=${D} install' instead of 'einstall'
* The init script should be installed using 'exeinto' and 'doexe' instead of 'insopts', and the full path (${S}/gentoo-init.d/ncpufreqd) should be given as argument
Comment 3 Dennis Nienhüser (RETIRED) gentoo-dev 2004-10-27 13:50:27 UTC
Created attachment 42717 [details]
ncpufreqd-1.6.ebuild

The attached ebuild is updated accordingly except the econf part. I can't do
much about it, the configure script is non-standard and doesn't accept any
other options than --prefix.
Comment 4 Krzysztof Pawlik (RETIRED) gentoo-dev 2004-10-27 16:21:24 UTC
I'm the author of ncpufreqd, and I have to comment the econf and ./configure part:

configure script used in this package (and my all other packages) is *NOT* fully compatible with autotools' configure script. It requires to be called this way. Using only econf causes error about unknown arguments at command line.

I've got sick of the mess that autotools created (including huge configure script and other "needed" files), thus I've created my own configure script.
Comment 5 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-02-07 11:17:19 UTC
Created attachment 50640 [details]
ncpufreqd-1.7.ebuild

New version of ncpufreqd (various small changes).
Comment 6 Henrik Brix Andersen 2005-02-07 11:24:07 UTC
In what way is ncpufreqd better than/different from cpufreqd and/or speedfreqd?
Comment 7 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-02-07 11:30:00 UTC
ncpufreqd throttles processor speed not only if AS goes off/on line. It monitors the processor temperature also. It's usefull for people with pseudo-mobile processors (like P4M) that heat themself to sick temperatures (mine can reach about 85 degrees).
Comment 8 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-02-07 11:30:35 UTC
Typo.. not AS, but AC.
Comment 9 Karol Wojtaszek (RETIRED) gentoo-dev 2005-05-07 07:35:13 UTC
Added to portage, thanks.