Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 43339 Details for
Bug 70163
speedfreq needs some love
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
speedfreq-0.7.2-r3.ebuild.diff
speedfreq-0.7.2-r3.ebuild.diff (text/plain), 1.99 KB, created by
Dennis Nienhüser (RETIRED)
on 2004-11-05 06:57:31 UTC
(
hide
)
Description:
speedfreq-0.7.2-r3.ebuild.diff
Filename:
MIME Type:
Creator:
Dennis Nienhüser (RETIRED)
Created:
2004-11-05 06:57:31 UTC
Size:
1.99 KB
patch
obsolete
>--- /usr/portage/sys-apps/speedfreq/speedfreq-0.7.2-r2.ebuild 2004-10-09 11:31:36.000000000 +0200 >+++ speedfreq-0.7.2-r3.ebuild 2004-11-05 15:35:57.294681088 +0100 >@@ -1,6 +1,6 @@ > # Copyright 1999-2004 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/sys-apps/speedfreq/speedfreq-0.7.2-r2.ebuild,v 1.1 2004/10/09 09:31:36 cardoe Exp $ >+# $Header: $ > > inherit eutils > >@@ -10,7 +10,7 @@ > > LICENSE="GPL-1" > SLOT="0" >-KEYWORDS="~x86 ~ppc ~amd64" >+KEYWORDS="~x86" > IUSE="acpi" > > DEPEND="!ppc? ( acpi? ( sys-apps/acpid ) )" >@@ -54,23 +54,28 @@ > exeinto /etc/init.d ; newexe ${FILESDIR}/speedfreq.rc speedfreq > insinto /etc/conf.d ; newins ${FILESDIR}/speedfreq.conf speedfreq > dodoc README >- if use acpi ; then >- exeinto /etc/acpi >- newexe ${FILESDIR}/battery-new.sh battery.sh >+ if useq acpi ; then >+ exeinto /etc/acpi/events >+ newexe ${FILESDIR}/speedfreq_battery .speedfreq_battery > fi > } > > pkg_postinst() { >- if use acpi ; then >- echo >- einfo "A sample script for powercontrol has been placed in /etc/acpi/battery.sh" >- einfo "To use it add the following lines to your /etc/acpi/events/default" >- einfo " event=battery.*" >- einfo " action=/etc/acpi/battery.sh %e" >- einfo "Note that this only supports one battery at the time" >- echo >- einfo "Configuration should be done in /etc/conf.d/speedfreq" >- einfo "Make sure that you have sysfs mounted on /sys" >+ if useq acpi ; then > echo >+ einfo "A sample script for powercontrol has been placed in" >+ einfo "/etc/acpi/events/.speedfreq_battery" >+ einfo "It will automatically adapt CPU frequency to the power" >+ einfo "source, but it's not enabled by default." >+ einfo "To activate this feature, please run" >+ einfo >+ einfo "# cd /etc/acpi/events" >+ einfo "# ln -sf .speedfreq_battery speedfreq_battery" >+ einfo "# /etc/init.d/acpid restart" > fi >+ >+ echo >+ einfo "Configuration should be done in /etc/conf.d/speedfreq" >+ einfo "Make sure that you have sysfs mounted on /sys" >+ echo > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 70163
:
43339
|
43340
|
43341
|
43343
|
46077
|
46367
|
46368
|
46370
|
47371
|
47488
|
47490