* [gentoo-commits] gentoo-x86 commit in sys-power/powertop: powertop-9999.ebuild powertop-2.3.ebuild ChangeLog
@ 2013-04-07 15:14 Richard Farina (zerochaos)
0 siblings, 0 replies; 4+ messages in thread
From: Richard Farina (zerochaos) @ 2013-04-07 15:14 UTC (permalink / raw
To: gentoo-commits
zerochaos 13/04/07 15:14:40
Modified: powertop-9999.ebuild ChangeLog
Added: powertop-2.3.ebuild
Log:
version bump for 2.3
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Revision Changes Path
1.18 sys-power/powertop/powertop-9999.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-9999.ebuild?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-9999.ebuild?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-9999.ebuild?r1=1.17&r2=1.18
Index: powertop-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- powertop-9999.ebuild 8 Mar 2013 06:16:03 -0000 1.17
+++ powertop-9999.ebuild 7 Apr 2013 15:14:40 -0000 1.18
@@ -1,8 +1,8 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v 1.17 2013/03/08 06:16:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v 1.18 2013/04/07 15:14:40 zerochaos Exp $
-EAPI="4"
+EAPI="5"
inherit eutils linux-info
if [[ ${PV} == "9999" ]] ; then
@@ -24,16 +24,17 @@
COMMON_DEPEND="
dev-libs/libnl:3
sys-apps/pciutils
- sys-devel/gettext
sys-libs/ncurses[unicode?]
"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
+ sys-devel/gettext
"
RDEPEND="
${COMMON_DEPEND}
X? ( x11-apps/xset )
+ virtual/libintl
"
DOCS=( TODO README )
1.77 sys-power/powertop/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/ChangeLog?rev=1.77&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/ChangeLog?rev=1.77&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/ChangeLog?r1=1.76&r2=1.77
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- ChangeLog 25 Mar 2013 16:30:32 -0000 1.76
+++ ChangeLog 7 Apr 2013 15:14:40 -0000 1.77
@@ -1,6 +1,12 @@
# ChangeLog for sys-power/powertop
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.76 2013/03/25 16:30:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.77 2013/04/07 15:14:40 zerochaos Exp $
+
+*powertop-2.3 (07 Apr 2013)
+
+ 07 Apr 2013; Rick Farina <zerochaos@gentoo.org> +powertop-2.3.ebuild,
+ powertop-9999.ebuild:
+ version bump for 2.3
*powertop-2.2-r2 (25 Mar 2013)
1.1 sys-power/powertop/powertop-2.3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild?rev=1.1&content-type=text/plain
Index: powertop-2.3.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild,v 1.1 2013/04/07 15:14:40 zerochaos Exp $
EAPI="5"
inherit eutils linux-info
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://github.com/fenrus75/powertop.git"
inherit git-2 autotools
SRC_URI=""
else
SRC_URI="https://01.org/powertop/sites/default/files/downloads/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
fi
DESCRIPTION="tool that helps you find what software is using the most power"
HOMEPAGE="https://01.org/powertop/ http://www.lesswatts.org/projects/powertop/"
LICENSE="GPL-2"
SLOT="0"
IUSE="unicode X"
COMMON_DEPEND="
dev-libs/libnl:3
sys-apps/pciutils
sys-libs/ncurses[unicode?]
"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
sys-devel/gettext
"
RDEPEND="
${COMMON_DEPEND}
X? ( x11-apps/xset )
virtual/libintl
"
DOCS=( TODO README )
pkg_setup() {
if linux_config_exists; then
CONFIG_CHECK="
~X86_MSR
~DEBUG_FS
~PERF_EVENTS
~TRACEPOINTS
~NO_HZ
~HIGH_RES_TIMERS
~HPET_TIMER
~CPU_FREQ_STAT
~CPU_FREQ_GOV_ONDEMAND
~USB_SUSPEND
~FTRACE
~BLK_DEV_IO_TRACE
~TIMER_STATS
~EVENT_POWER_TRACING_DEPRECATED
~TRACING
"
if kernel_is -lt 3 7 0; then
linux_chkconfig_present SND_HDA_INTEL && CONFIG_CHECK+="~SND_HDA_POWER_SAVE"
linux_chkconfig_present SND_HDA_INTEL && ERROR_KERNEL_SND_HDA_POWER_SAVE="SND_HDA_POWER_SAVE should be enabled in the kernel for full powertop function"
fi
ERROR_KERNEL_X86_MSR="X86_MSR is not enabled in the kernel, you almost certainly need it"
ERROR_KERNEL_DEBUG_FS="DEBUG_FS is not enabled in the kernel, you almost certainly need it"
ERROR_KERNEL_PERF_EVENTS="PERF_EVENTS should be enabled in the kernel for full powertop function"
ERROR_KERNEL_TRACEPOINTS="TRACEPOINTS should be enabled in the kernel for full powertop function"
ERROR_KERNEL_NO_HZ="NO_HZ should be enabled in the kernel for full powertop function"
ERROR_KERNEL_HIGH_RES_TIMERS="HIGH_RES_TIMERS should be enabled in the kernel for full powertop function"
ERROR_KERNEL_HPET_TIMER="HPET_TIMER should be enabled in the kernel for full powertop function"
ERROR_KERNEL_CPU_FREQ_STAT="CPU_FREQ_STAT should be enabled in the kernel for full powertop function"
ERROR_KERNEL_CPU_FREQ_GOV_ONDEMAND="CPU_FREQ_GOV_ONDEMAND should be enabled in the kernel for full powertop function"
ERROR_KERNEL_USB_SUSPEND="USB_SUSPEND should be enabled in the kernel for full powertop function"
ERROR_KERNEL_FTRACE="FTRACE needs to be turned on to enable BLK_DEV_IO_TRACE"
ERROR_KERNEL_BLK_DEV_IO_TRACE="BLK_DEV_IO_TRACE needs to be turned on to enable TIMER_STATS, TRACING and EVENT_POWER_TRACING_DEPRECATED"
ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function"
ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function"
linux-info_pkg_setup
else
ewarn "unable to find kernel config, all checks disabled"
fi
}
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
eautoreconf
fi
}
src_configure() {
export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses)
default
}
src_compile() {
#maintainer note: there is no csstoh dir in this version, any needed changes for cross are permitted
# This fixes cross-compiling. Please verify before deleting.
#emake -C src csstoh
#cp "${FILESDIR}"/csstoh src/ || die
emake
}
src_install() {
default
keepdir /var/cache/powertop
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-power/powertop: powertop-9999.ebuild powertop-2.3.ebuild ChangeLog
@ 2013-04-07 18:31 Richard Farina (zerochaos)
0 siblings, 0 replies; 4+ messages in thread
From: Richard Farina (zerochaos) @ 2013-04-07 18:31 UTC (permalink / raw
To: gentoo-commits
zerochaos 13/04/07 18:31:33
Modified: powertop-9999.ebuild powertop-2.3.ebuild ChangeLog
Log:
moving linux-info_pkg_setup in the hopes that it fixes bug 464792
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Revision Changes Path
1.20 sys-power/powertop/powertop-9999.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-9999.ebuild?rev=1.20&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-9999.ebuild?rev=1.20&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-9999.ebuild?r1=1.19&r2=1.20
Index: powertop-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- powertop-9999.ebuild 7 Apr 2013 18:03:55 -0000 1.19
+++ powertop-9999.ebuild 7 Apr 2013 18:31:33 -0000 1.20
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v 1.19 2013/04/07 18:03:55 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v 1.20 2013/04/07 18:31:33 zerochaos Exp $
EAPI="5"
@@ -40,6 +40,7 @@
DOCS=( TODO README )
pkg_setup() {
+ linux-info_pkg_setup
if linux_config_exists; then
CONFIG_CHECK="
~X86_MSR
@@ -77,7 +78,6 @@
ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function"
ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function"
- linux-info_pkg_setup
else
ewarn "unable to find kernel config, all checks disabled"
fi
1.2 sys-power/powertop/powertop-2.3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild?r1=1.1&r2=1.2
Index: powertop-2.3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- powertop-2.3.ebuild 7 Apr 2013 15:14:40 -0000 1.1
+++ powertop-2.3.ebuild 7 Apr 2013 18:31:33 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild,v 1.1 2013/04/07 15:14:40 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild,v 1.2 2013/04/07 18:31:33 zerochaos Exp $
EAPI="5"
@@ -40,6 +40,7 @@
DOCS=( TODO README )
pkg_setup() {
+ linux-info_pkg_setup
if linux_config_exists; then
CONFIG_CHECK="
~X86_MSR
@@ -77,7 +78,6 @@
ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function"
ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function"
- linux-info_pkg_setup
else
ewarn "unable to find kernel config, all checks disabled"
fi
1.79 sys-power/powertop/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/ChangeLog?rev=1.79&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/ChangeLog?rev=1.79&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/ChangeLog?r1=1.78&r2=1.79
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- ChangeLog 7 Apr 2013 18:03:55 -0000 1.78
+++ ChangeLog 7 Apr 2013 18:31:33 -0000 1.79
@@ -1,6 +1,10 @@
# ChangeLog for sys-power/powertop
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.78 2013/04/07 18:03:55 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.79 2013/04/07 18:31:33 zerochaos Exp $
+
+ 07 Apr 2013; Rick Farina <zerochaos@gentoo.org> powertop-2.3.ebuild,
+ powertop-9999.ebuild:
+ moving linux-info_pkg_setup in the hopes that it fixes bug 464792
07 Apr 2013; Rick Farina <zerochaos@gentoo.org> powertop-9999.ebuild:
fix build of live ebuild
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-power/powertop: powertop-9999.ebuild powertop-2.3.ebuild ChangeLog
@ 2013-04-08 1:47 Richard Farina (zerochaos)
0 siblings, 0 replies; 4+ messages in thread
From: Richard Farina (zerochaos) @ 2013-04-08 1:47 UTC (permalink / raw
To: gentoo-commits
zerochaos 13/04/08 01:47:55
Modified: powertop-9999.ebuild powertop-2.3.ebuild ChangeLog
Log:
bug #464792 has been a hotbed of possible improvements, hopefully this is an improvement
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Revision Changes Path
1.21 sys-power/powertop/powertop-9999.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-9999.ebuild?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-9999.ebuild?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-9999.ebuild?r1=1.20&r2=1.21
Index: powertop-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- powertop-9999.ebuild 7 Apr 2013 18:31:33 -0000 1.20
+++ powertop-9999.ebuild 8 Apr 2013 01:47:55 -0000 1.21
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v 1.20 2013/04/07 18:31:33 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v 1.21 2013/04/08 01:47:55 zerochaos Exp $
EAPI="5"
@@ -40,46 +40,47 @@
DOCS=( TODO README )
pkg_setup() {
+ CONFIG_CHECK="
+ ~X86_MSR
+ ~DEBUG_FS
+ ~PERF_EVENTS
+ ~TRACEPOINTS
+ ~NO_HZ
+ ~HIGH_RES_TIMERS
+ ~HPET_TIMER
+ ~CPU_FREQ_STAT
+ ~CPU_FREQ_GOV_ONDEMAND
+ ~USB_SUSPEND
+ ~FTRACE
+ ~BLK_DEV_IO_TRACE
+ ~TIMER_STATS
+ ~EVENT_POWER_TRACING_DEPRECATED
+ ~TRACING
+ "
+ ERROR_KERNEL_X86_MSR="X86_MSR is not enabled in the kernel, you almost certainly need it"
+ ERROR_KERNEL_DEBUG_FS="DEBUG_FS is not enabled in the kernel, you almost certainly need it"
+ ERROR_KERNEL_PERF_EVENTS="PERF_EVENTS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_TRACEPOINTS="TRACEPOINTS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_NO_HZ="NO_HZ should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_HIGH_RES_TIMERS="HIGH_RES_TIMERS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_HPET_TIMER="HPET_TIMER should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_CPU_FREQ_STAT="CPU_FREQ_STAT should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_CPU_FREQ_GOV_ONDEMAND="CPU_FREQ_GOV_ONDEMAND should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_USB_SUSPEND="USB_SUSPEND should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_FTRACE="FTRACE needs to be turned on to enable BLK_DEV_IO_TRACE"
+ ERROR_KERNEL_BLK_DEV_IO_TRACE="BLK_DEV_IO_TRACE needs to be turned on to enable TIMER_STATS, TRACING and EVENT_POWER_TRACING_DEPRECATED"
+ ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function"
linux-info_pkg_setup
if linux_config_exists; then
- CONFIG_CHECK="
- ~X86_MSR
- ~DEBUG_FS
- ~PERF_EVENTS
- ~TRACEPOINTS
- ~NO_HZ
- ~HIGH_RES_TIMERS
- ~HPET_TIMER
- ~CPU_FREQ_STAT
- ~CPU_FREQ_GOV_ONDEMAND
- ~USB_SUSPEND
- ~FTRACE
- ~BLK_DEV_IO_TRACE
- ~TIMER_STATS
- ~EVENT_POWER_TRACING_DEPRECATED
- ~TRACING
- "
if kernel_is -lt 3 7 0; then
- linux_chkconfig_present SND_HDA_INTEL && CONFIG_CHECK+="~SND_HDA_POWER_SAVE"
- linux_chkconfig_present SND_HDA_INTEL && ERROR_KERNEL_SND_HDA_POWER_SAVE="SND_HDA_POWER_SAVE should be enabled in the kernel for full powertop function"
+ if linux_chkconfig_present SND_HDA_INTEL; then
+ CONFIG_CHECK="~SND_HDA_POWER_SAVE"
+ ERROR_KERNEL_SND_HDA_POWER_SAVE="SND_HDA_POWER_SAVE should be enabled in the kernel for full powertop function"
+ fi
fi
- ERROR_KERNEL_X86_MSR="X86_MSR is not enabled in the kernel, you almost certainly need it"
- ERROR_KERNEL_DEBUG_FS="DEBUG_FS is not enabled in the kernel, you almost certainly need it"
- ERROR_KERNEL_PERF_EVENTS="PERF_EVENTS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_TRACEPOINTS="TRACEPOINTS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_NO_HZ="NO_HZ should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_HIGH_RES_TIMERS="HIGH_RES_TIMERS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_HPET_TIMER="HPET_TIMER should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_CPU_FREQ_STAT="CPU_FREQ_STAT should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_CPU_FREQ_GOV_ONDEMAND="CPU_FREQ_GOV_ONDEMAND should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_USB_SUSPEND="USB_SUSPEND should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_FTRACE="FTRACE needs to be turned on to enable BLK_DEV_IO_TRACE"
- ERROR_KERNEL_BLK_DEV_IO_TRACE="BLK_DEV_IO_TRACE needs to be turned on to enable TIMER_STATS, TRACING and EVENT_POWER_TRACING_DEPRECATED"
- ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function"
- else
- ewarn "unable to find kernel config, all checks disabled"
+ check_extra_config
fi
}
1.3 sys-power/powertop/powertop-2.3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild?r1=1.2&r2=1.3
Index: powertop-2.3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- powertop-2.3.ebuild 7 Apr 2013 18:31:33 -0000 1.2
+++ powertop-2.3.ebuild 8 Apr 2013 01:47:55 -0000 1.3
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild,v 1.2 2013/04/07 18:31:33 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild,v 1.3 2013/04/08 01:47:55 zerochaos Exp $
EAPI="5"
@@ -40,46 +40,47 @@
DOCS=( TODO README )
pkg_setup() {
+ CONFIG_CHECK="
+ ~X86_MSR
+ ~DEBUG_FS
+ ~PERF_EVENTS
+ ~TRACEPOINTS
+ ~NO_HZ
+ ~HIGH_RES_TIMERS
+ ~HPET_TIMER
+ ~CPU_FREQ_STAT
+ ~CPU_FREQ_GOV_ONDEMAND
+ ~USB_SUSPEND
+ ~FTRACE
+ ~BLK_DEV_IO_TRACE
+ ~TIMER_STATS
+ ~EVENT_POWER_TRACING_DEPRECATED
+ ~TRACING
+ "
+ ERROR_KERNEL_X86_MSR="X86_MSR is not enabled in the kernel, you almost certainly need it"
+ ERROR_KERNEL_DEBUG_FS="DEBUG_FS is not enabled in the kernel, you almost certainly need it"
+ ERROR_KERNEL_PERF_EVENTS="PERF_EVENTS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_TRACEPOINTS="TRACEPOINTS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_NO_HZ="NO_HZ should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_HIGH_RES_TIMERS="HIGH_RES_TIMERS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_HPET_TIMER="HPET_TIMER should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_CPU_FREQ_STAT="CPU_FREQ_STAT should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_CPU_FREQ_GOV_ONDEMAND="CPU_FREQ_GOV_ONDEMAND should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_USB_SUSPEND="USB_SUSPEND should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_FTRACE="FTRACE needs to be turned on to enable BLK_DEV_IO_TRACE"
+ ERROR_KERNEL_BLK_DEV_IO_TRACE="BLK_DEV_IO_TRACE needs to be turned on to enable TIMER_STATS, TRACING and EVENT_POWER_TRACING_DEPRECATED"
+ ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function"
linux-info_pkg_setup
if linux_config_exists; then
- CONFIG_CHECK="
- ~X86_MSR
- ~DEBUG_FS
- ~PERF_EVENTS
- ~TRACEPOINTS
- ~NO_HZ
- ~HIGH_RES_TIMERS
- ~HPET_TIMER
- ~CPU_FREQ_STAT
- ~CPU_FREQ_GOV_ONDEMAND
- ~USB_SUSPEND
- ~FTRACE
- ~BLK_DEV_IO_TRACE
- ~TIMER_STATS
- ~EVENT_POWER_TRACING_DEPRECATED
- ~TRACING
- "
if kernel_is -lt 3 7 0; then
- linux_chkconfig_present SND_HDA_INTEL && CONFIG_CHECK+="~SND_HDA_POWER_SAVE"
- linux_chkconfig_present SND_HDA_INTEL && ERROR_KERNEL_SND_HDA_POWER_SAVE="SND_HDA_POWER_SAVE should be enabled in the kernel for full powertop function"
+ if linux_chkconfig_present SND_HDA_INTEL; then
+ CONFIG_CHECK="~SND_HDA_POWER_SAVE"
+ ERROR_KERNEL_SND_HDA_POWER_SAVE="SND_HDA_POWER_SAVE should be enabled in the kernel for full powertop function"
+ fi
fi
- ERROR_KERNEL_X86_MSR="X86_MSR is not enabled in the kernel, you almost certainly need it"
- ERROR_KERNEL_DEBUG_FS="DEBUG_FS is not enabled in the kernel, you almost certainly need it"
- ERROR_KERNEL_PERF_EVENTS="PERF_EVENTS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_TRACEPOINTS="TRACEPOINTS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_NO_HZ="NO_HZ should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_HIGH_RES_TIMERS="HIGH_RES_TIMERS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_HPET_TIMER="HPET_TIMER should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_CPU_FREQ_STAT="CPU_FREQ_STAT should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_CPU_FREQ_GOV_ONDEMAND="CPU_FREQ_GOV_ONDEMAND should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_USB_SUSPEND="USB_SUSPEND should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_FTRACE="FTRACE needs to be turned on to enable BLK_DEV_IO_TRACE"
- ERROR_KERNEL_BLK_DEV_IO_TRACE="BLK_DEV_IO_TRACE needs to be turned on to enable TIMER_STATS, TRACING and EVENT_POWER_TRACING_DEPRECATED"
- ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
- ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function"
- else
- ewarn "unable to find kernel config, all checks disabled"
+ check_extra_config
fi
}
1.80 sys-power/powertop/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/ChangeLog?rev=1.80&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/ChangeLog?rev=1.80&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/ChangeLog?r1=1.79&r2=1.80
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- ChangeLog 7 Apr 2013 18:31:33 -0000 1.79
+++ ChangeLog 8 Apr 2013 01:47:55 -0000 1.80
@@ -1,6 +1,11 @@
# ChangeLog for sys-power/powertop
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.79 2013/04/07 18:31:33 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.80 2013/04/08 01:47:55 zerochaos Exp $
+
+ 08 Apr 2013; Rick Farina <zerochaos@gentoo.org> powertop-2.3.ebuild,
+ powertop-9999.ebuild:
+ bug #464792 has been a hotbed of possible improvements, hopefully this is an
+ improvement
07 Apr 2013; Rick Farina <zerochaos@gentoo.org> powertop-2.3.ebuild,
powertop-9999.ebuild:
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-power/powertop: powertop-9999.ebuild powertop-2.3.ebuild ChangeLog
@ 2013-04-08 3:12 Richard Farina (zerochaos)
0 siblings, 0 replies; 4+ messages in thread
From: Richard Farina (zerochaos) @ 2013-04-08 3:12 UTC (permalink / raw
To: gentoo-commits
zerochaos 13/04/08 03:12:19
Modified: powertop-9999.ebuild powertop-2.3.ebuild ChangeLog
Log:
more fixes, maybe this makes everyone happy? who knows
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Revision Changes Path
1.22 sys-power/powertop/powertop-9999.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-9999.ebuild?rev=1.22&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-9999.ebuild?rev=1.22&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-9999.ebuild?r1=1.21&r2=1.22
Index: powertop-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- powertop-9999.ebuild 8 Apr 2013 01:47:55 -0000 1.21
+++ powertop-9999.ebuild 8 Apr 2013 03:12:19 -0000 1.22
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v 1.21 2013/04/08 01:47:55 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v 1.22 2013/04/08 03:12:19 zerochaos Exp $
EAPI="5"
@@ -78,9 +78,9 @@
if linux_chkconfig_present SND_HDA_INTEL; then
CONFIG_CHECK="~SND_HDA_POWER_SAVE"
ERROR_KERNEL_SND_HDA_POWER_SAVE="SND_HDA_POWER_SAVE should be enabled in the kernel for full powertop function"
+ check_extra_config
fi
fi
- check_extra_config
fi
}
1.4 sys-power/powertop/powertop-2.3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild?r1=1.3&r2=1.4
Index: powertop-2.3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- powertop-2.3.ebuild 8 Apr 2013 01:47:55 -0000 1.3
+++ powertop-2.3.ebuild 8 Apr 2013 03:12:19 -0000 1.4
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild,v 1.3 2013/04/08 01:47:55 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild,v 1.4 2013/04/08 03:12:19 zerochaos Exp $
EAPI="5"
@@ -78,9 +78,9 @@
if linux_chkconfig_present SND_HDA_INTEL; then
CONFIG_CHECK="~SND_HDA_POWER_SAVE"
ERROR_KERNEL_SND_HDA_POWER_SAVE="SND_HDA_POWER_SAVE should be enabled in the kernel for full powertop function"
+ check_extra_config
fi
fi
- check_extra_config
fi
}
1.81 sys-power/powertop/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/ChangeLog?rev=1.81&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/ChangeLog?rev=1.81&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/powertop/ChangeLog?r1=1.80&r2=1.81
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- ChangeLog 8 Apr 2013 01:47:55 -0000 1.80
+++ ChangeLog 8 Apr 2013 03:12:19 -0000 1.81
@@ -1,6 +1,10 @@
# ChangeLog for sys-power/powertop
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.80 2013/04/08 01:47:55 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.81 2013/04/08 03:12:19 zerochaos Exp $
+
+ 08 Apr 2013; Rick Farina <zerochaos@gentoo.org> powertop-2.3.ebuild,
+ powertop-9999.ebuild:
+ more fixes, maybe this makes everyone happy? who knows
08 Apr 2013; Rick Farina <zerochaos@gentoo.org> powertop-2.3.ebuild,
powertop-9999.ebuild:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-08 3:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08 1:47 [gentoo-commits] gentoo-x86 commit in sys-power/powertop: powertop-9999.ebuild powertop-2.3.ebuild ChangeLog Richard Farina (zerochaos)
-- strict thread matches above, loose matches on Subject: below --
2013-04-08 3:12 Richard Farina (zerochaos)
2013-04-07 18:31 Richard Farina (zerochaos)
2013-04-07 15:14 Richard Farina (zerochaos)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox