[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 28cc28b7e1ecd2196aff7d2eb866a44f196bc100 Author: Matt Turner gentoo org> AuthorDate: Thu Apr 25 17:08:03 2024 + Commit: Matt Turner gentoo org> CommitDate: Thu Apr 25 18:45:48 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28cc28b7 sys-power/powertop: Remove empty global assignments Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/powertop-2.15.ebuild | 1 - sys-power/powertop/powertop-.ebuild | 1 - 2 files changed, 2 deletions(-) diff --git a/sys-power/powertop/powertop-2.15.ebuild b/sys-power/powertop/powertop-2.15.ebuild index b6e7162e3bef..91149b6a6d1b 100644 --- a/sys-power/powertop/powertop-2.15.ebuild +++ b/sys-power/powertop/powertop-2.15.ebuild @@ -7,7 +7,6 @@ EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"; if [[ ${PV} == "" ]] ; then GIT_ECLASS="git-r3" - SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="amd64 arm ~arm64 ppc sparc x86 ~amd64-linux ~x86-linux" diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index cc1eebabdca7..81d432e1ebaa 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -7,7 +7,6 @@ EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"; if [[ ${PV} == "" ]] ; then GIT_ECLASS="git-r3" - SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 3d5a2081588915f5e59f88c17218562474a649fb Author: Azamat H. Hackimov gmail com> AuthorDate: Mon Jul 10 20:41:51 2023 + Commit: Sam James gentoo org> CommitDate: Tue Aug 1 16:13:38 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d5a2081 sys-power/powertop: update HOMEPAGE Signed-off-by: Azamat H. Hackimov gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31825 Signed-off-by: Sam James gentoo.org> sys-power/powertop/powertop-2.15.ebuild | 2 +- sys-power/powertop/powertop-.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys-power/powertop/powertop-2.15.ebuild b/sys-power/powertop/powertop-2.15.ebuild index 25248074f70b..19578db2eb50 100644 --- a/sys-power/powertop/powertop-2.15.ebuild +++ b/sys-power/powertop/powertop-2.15.ebuild @@ -16,7 +16,7 @@ fi inherit autotools ${GIT_ECLASS} flag-o-matic linux-info DESCRIPTION="tool to diagnose issues with power consumption and power management" -HOMEPAGE="https://01.org/powertop/ https://github.com/fenrus75/powertop/"; +HOMEPAGE="https://github.com/fenrus75/powertop/"; LICENSE="GPL-2" SLOT="0" diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index bc423e970175..aa9953a49f73 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ fi inherit autotools ${GIT_ECLASS} linux-info DESCRIPTION="tool to diagnose issues with power consumption and power management" -HOMEPAGE="https://01.org/powertop/ https://github.com/fenrus75/powertop/"; +HOMEPAGE="https://github.com/fenrus75/powertop/"; LICENSE="GPL-2" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/files/, sys-power/powertop/
commit: 37ee174421b6f5279221551a764a9a05cbaa098a Author: Matt Turner gentoo org> AuthorDate: Thu Mar 2 01:18:52 2023 + Commit: Matt Turner gentoo org> CommitDate: Thu Mar 2 01:29:23 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37ee1744 sys-power/powertop: Drop old versions Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/Manifest| 1 - ...igure-Remove-AX-macros-from-configure.ac-.patch | 60 --- .../2.14-configure-Use-AX_REQUIRE_DEFINED.patch| 28 - sys-power/powertop/powertop-2.14.ebuild| 115 - 4 files changed, 204 deletions(-) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index fe088bdc7752..9f04e847a444 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,2 +1 @@ -DIST powertop-2.14.tar.gz 302578 BLAKE2B 5f53f81b01e83004f6436f497818d2a552b5e7ffda5007749aad415773adeab2a256aeffbacbf9e5fe803ff343a0c1954b5264aebdffa841bb70406b8b9611bc SHA512 f3e25901fb29405e0c8016643855a209cf9dba589fe9dd3e27c291d44699cebeb00dc8c7264c24436db08deb496759bd10cb52d9ebd5f831bbb99e30f20f DIST powertop-2.15.tar.gz 302891 BLAKE2B f554ee9499c78f1888ecd58a1a357bc6f29f53ae2d3bf6b2819d760afe901f5d5394665a2e6a3ecae9b48cbf9703532feb5c16da9bd3edd4f1d31fe12610a2da SHA512 de4ca3ea25697d2cd5f05c41c82c326ad3e2d21cbf38ddb9b3af40c0d862a70781ca45d9ef7b735ad6def0cb580e4fa153eb4a6e6598e204fc931b30d85ecf41 diff --git a/sys-power/powertop/files/2.14-Revert-configure-Remove-AX-macros-from-configure.ac-.patch b/sys-power/powertop/files/2.14-Revert-configure-Remove-AX-macros-from-configure.ac-.patch deleted file mode 100644 index 7f2b7820ff2f.. --- a/sys-power/powertop/files/2.14-Revert-configure-Remove-AX-macros-from-configure.ac-.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 2eb781ba822f2d57420400f648f6f531689c8c5d Mon Sep 17 00:00:00 2001 -From: David King -Date: Thu, 15 Apr 2021 11:37:24 +0100 -Subject: [PATCH 1/2] Revert "configure: Remove AX macros from configure.ac - file" - -This reverts commit 1e478d84f051ba56962a1214cb750b810379ac1d. - README.md| 4 ++-- - configure.ac | 9 + - 2 files changed, 11 insertions(+), 2 deletions(-) - -diff --git a/README.md b/README.md -index 1b17365..43bd5b2 100644 a/README.md -+++ b/README.md -@@ -26,7 +26,7 @@ Example packages to install in Ubuntu*: - - sudo apt install libpci-dev libnl-3-dev libnl-genl-3-dev gettext \ - libgettextpo-dev autopoint gettext libncurses5-dev libncursesw5-dev libtool-bin \ --dh-autoreconf pkg-config -+dh-autoreconf autoconf-archive pkg-config - - - ## Building PowerTOP -@@ -39,7 +39,7 @@ source files are modified. - To build PowerTOP from the cloned source, use the following commands: - - ./autogen.sh --./configure LDFLAGS='-pthread' -+./configure - make - - -diff --git a/configure.ac b/configure.ac -index 2571c5d..7eeeb9c 100644 a/configure.ac -+++ b/configure.ac -@@ -36,9 +36,18 @@ AC_PROG_LIBTOOL - AC_PROG_CC - AC_PROG_INSTALL - AM_PROG_CC_C_O -+AX_ADD_FORTIFY_SOURCE -+AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory]) - PKG_PROG_PKG_CONFIG - - # Checks for libraries. -+AX_PTHREAD([ -+LIBS="$PTHREAD_LIBS $LIBS" -+CFLAGS="$CFLAGS $PTHREAD_CFLAGS" -+CC="$PTHREAD_CC" -+ ], [ -+AC_MSG_ERROR([Could not configure pthreads support]) -+]) - - # Checks for header files. - AC_CHECK_HEADERS([ \ --- -2.32.0 - diff --git a/sys-power/powertop/files/2.14-configure-Use-AX_REQUIRE_DEFINED.patch b/sys-power/powertop/files/2.14-configure-Use-AX_REQUIRE_DEFINED.patch deleted file mode 100644 index f036bf73d619.. --- a/sys-power/powertop/files/2.14-configure-Use-AX_REQUIRE_DEFINED.patch +++ /dev/null @@ -1,28 +0,0 @@ -From e87357a35f376518c3663a2f5cac53e9c4917427 Mon Sep 17 00:00:00 2001 -From: David King -Date: Thu, 15 Apr 2021 11:45:13 +0100 -Subject: [PATCH 2/2] configure: Use AX_REQUIRE_DEFINED - -Require additional macros to be defined early, to avoid an aclocal -"too many loops" error when copying macros. - configure.ac | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 7eeeb9c..37c1304 100644 a/configure.ac -+++ b/configure.ac -@@ -29,6 +29,9 @@ AM_GNU_GETTEXT([external]) - AM_GNU_GETTEXT_VERSION([0.18.2]) - - m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) -+AX_REQUIRE_DEFINED([AX_ADD_FORTIFY_SOURCE]) -+AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX]) -+AX_REQUIRE_DEFINED([AX_PTHREAD]) - # Checks for programs. - AC_PROG_CPP - AC_PROG_CXX --- -2.32.0 - diff --git a/sys-power/powertop/powertop-2.14.ebuild b/sys-power/powertop/powertop-2.14.ebuild deleted file mode 100644 index 824c7e799309.. --- a/sys-power/powertop/powertop-2.14.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -EGIT_REPO_URI="https://github.com/fenrus75/
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: ba5c702478660e55979ec28ada7cd8e3716526ff Author: Arthur Zamarin gentoo org> AuthorDate: Sun Feb 26 19:28:09 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Feb 26 19:28:09 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba5c7024 sys-power/powertop: Stabilize 2.15 sparc, #896152 Signed-off-by: Arthur Zamarin gentoo.org> sys-power/powertop/powertop-2.15.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.15.ebuild b/sys-power/powertop/powertop-2.15.ebuild index 8d98dea2f7b2..25248074f70b 100644 --- a/sys-power/powertop/powertop-2.15.ebuild +++ b/sys-power/powertop/powertop-2.15.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm ~arm64 ppc ~sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 arm ~arm64 ppc sparc x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} flag-o-matic linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: b615382401e9deb47d031ed2db87a9ad54ed1d3a Author: Sam James gentoo org> AuthorDate: Fri Feb 24 10:01:24 2023 + Commit: Sam James gentoo org> CommitDate: Fri Feb 24 10:01:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6153824 sys-power/powertop: Stabilize 2.15 amd64, #896152 Signed-off-by: Sam James gentoo.org> sys-power/powertop/powertop-2.15.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.15.ebuild b/sys-power/powertop/powertop-2.15.ebuild index ea32a130c779..8d98dea2f7b2 100644 --- a/sys-power/powertop/powertop-2.15.ebuild +++ b/sys-power/powertop/powertop-2.15.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 arm ~arm64 ppc ~sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 arm ~arm64 ppc ~sparc x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} flag-o-matic linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 13cd8d44cae7c7f08ba68bbc52e1329010cc0e41 Author: Sam James gentoo org> AuthorDate: Fri Feb 24 09:29:05 2023 + Commit: Sam James gentoo org> CommitDate: Fri Feb 24 09:29:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13cd8d44 sys-power/powertop: Stabilize 2.15 x86, #896152 Signed-off-by: Sam James gentoo.org> sys-power/powertop/powertop-2.15.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.15.ebuild b/sys-power/powertop/powertop-2.15.ebuild index 680a6084cffb..ea32a130c779 100644 --- a/sys-power/powertop/powertop-2.15.ebuild +++ b/sys-power/powertop/powertop-2.15.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 arm ~arm64 ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~amd64 arm ~arm64 ppc ~sparc x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} flag-o-matic linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 8cc08b64e08af2ed4d7d9e8234f6a93887860be0 Author: Sam James gentoo org> AuthorDate: Fri Feb 24 09:21:37 2023 + Commit: Sam James gentoo org> CommitDate: Fri Feb 24 09:21:37 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cc08b64 sys-power/powertop: Stabilize 2.15 arm, #896152 Signed-off-by: Sam James gentoo.org> sys-power/powertop/powertop-2.15.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.15.ebuild b/sys-power/powertop/powertop-2.15.ebuild index 98137659dbc0..680a6084cffb 100644 --- a/sys-power/powertop/powertop-2.15.ebuild +++ b/sys-power/powertop/powertop-2.15.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~amd64 arm ~arm64 ppc ~sparc ~x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} flag-o-matic linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: fb8fe41b3d57a93d43d309b970140f334a87380c Author: Sam James gentoo org> AuthorDate: Fri Feb 24 09:21:36 2023 + Commit: Sam James gentoo org> CommitDate: Fri Feb 24 09:21:36 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb8fe41b sys-power/powertop: Stabilize 2.15 ppc, #896152 Signed-off-by: Sam James gentoo.org> sys-power/powertop/powertop-2.15.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-power/powertop/powertop-2.15.ebuild b/sys-power/powertop/powertop-2.15.ebuild index 4833a907c70d..98137659dbc0 100644 --- a/sys-power/powertop/powertop-2.15.ebuild +++ b/sys-power/powertop/powertop-2.15.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~amd64 ~arm ~arm64 ppc ~sparc ~x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} flag-o-matic linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 586a0333a5703eb759fa8472faf947074b3a74d0 Author: Matt Turner gentoo org> AuthorDate: Fri Nov 18 17:59:22 2022 + Commit: Matt Turner gentoo org> CommitDate: Fri Nov 18 18:00:00 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=586a0333 sys-power/powertop: Drop IUSE=unicode - and add append-lfs-flags Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/powertop-2.15.ebuild | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys-power/powertop/powertop-2.15.ebuild b/sys-power/powertop/powertop-2.15.ebuild index 4398073e6d2e..4833a907c70d 100644 --- a/sys-power/powertop/powertop-2.15.ebuild +++ b/sys-power/powertop/powertop-2.15.ebuild @@ -13,19 +13,19 @@ else KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" fi -inherit autotools ${GIT_ECLASS} linux-info +inherit autotools ${GIT_ECLASS} flag-o-matic linux-info DESCRIPTION="tool to diagnose issues with power consumption and power management" HOMEPAGE="https://01.org/powertop/ https://github.com/fenrus75/powertop/"; LICENSE="GPL-2" SLOT="0" -IUSE="nls unicode X" +IUSE="nls X" DEPEND=" dev-libs/libnl:3 sys-apps/pciutils - sys-libs/ncurses:=[unicode(+)?] + sys-libs/ncurses:=[unicode(+)] " BDEPEND=" @@ -108,6 +108,6 @@ src_prepare() { } src_configure() { - export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses) + append-lfs-flags econf $(use_enable nls) }
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 5e0b9d4bf1acfeb0b4465eb5949770b6f7df8d23 Author: Matt Turner gentoo org> AuthorDate: Thu Nov 17 18:39:07 2022 + Commit: Matt Turner gentoo org> CommitDate: Thu Nov 17 18:47:09 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e0b9d4b sys-power/powertop: Version bump to 2.15 Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/Manifest | 1 + sys-power/powertop/{powertop-.ebuild => powertop-2.15.ebuild} | 8 ++-- sys-power/powertop/powertop-.ebuild | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index 48905cdeb4b4..fe088bdc7752 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1 +1,2 @@ DIST powertop-2.14.tar.gz 302578 BLAKE2B 5f53f81b01e83004f6436f497818d2a552b5e7ffda5007749aad415773adeab2a256aeffbacbf9e5fe803ff343a0c1954b5264aebdffa841bb70406b8b9611bc SHA512 f3e25901fb29405e0c8016643855a209cf9dba589fe9dd3e27c291d44699cebeb00dc8c7264c24436db08deb496759bd10cb52d9ebd5f831bbb99e30f20f +DIST powertop-2.15.tar.gz 302891 BLAKE2B f554ee9499c78f1888ecd58a1a357bc6f29f53ae2d3bf6b2819d760afe901f5d5394665a2e6a3ecae9b48cbf9703532feb5c16da9bd3edd4f1d31fe12610a2da SHA512 de4ca3ea25697d2cd5f05c41c82c326ad3e2d21cbf38ddb9b3af40c0d862a70781ca45d9ef7b735ad6def0cb580e4fa153eb4a6e6598e204fc931b30d85ecf41 diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-2.15.ebuild similarity index 97% copy from sys-power/powertop/powertop-.ebuild copy to sys-power/powertop/powertop-2.15.ebuild index b0062714c6c4..4398073e6d2e 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-2.15.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"; @@ -39,6 +39,10 @@ RDEPEND=" virtual/libintl " +PATCHES=( + "${FILESDIR}"/${PN}-2.8-ncurses_tinfo.patch +) + pkg_setup() { CONFIG_CHECK=" ~X86_MSR diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index b0062714c6c4..bc423e970175 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 EGIT_REPO_URI="https://github.com/fenrus75/powertop.git";
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/, sys-power/powertop/files/
commit: 9b2a5e5d3b05a54a75c05e5954c0aba866e83310 Author: Matt Turner gentoo org> AuthorDate: Mon Jan 24 05:53:35 2022 + Commit: Matt Turner gentoo org> CommitDate: Mon Jan 24 05:55:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b2a5e5d sys-power/powertop: Drop old versions Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/Manifest| 1 - ...onfigure.ac-Use-PKG_PROG_PKG_CONFIG-macro.patch | 62 --- sys-power/powertop/powertop-2.13-r2.ebuild | 120 - 3 files changed, 183 deletions(-) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index 7509e164f2d7..48905cdeb4b4 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,2 +1 @@ -DIST powertop-2.13.tar.gz 303030 BLAKE2B 3c88e05f9889cc4b276bea3bc50a3a83228ca8efae278379a14fadc6104754f2837174e028bf9c5ded9f3af84ce6b8766ac3d24b6ae62b9b192c03fc3afdec11 SHA512 8ebeccd17b6f76d9e445382d9ce5b1c00ab2daf4f1e6e133c249bceb35ea582ca3e76da5415fd0b55a28b8a124655dc5ac7a18aaf2a3df955547d77495e59181 DIST powertop-2.14.tar.gz 302578 BLAKE2B 5f53f81b01e83004f6436f497818d2a552b5e7ffda5007749aad415773adeab2a256aeffbacbf9e5fe803ff343a0c1954b5264aebdffa841bb70406b8b9611bc SHA512 f3e25901fb29405e0c8016643855a209cf9dba589fe9dd3e27c291d44699cebeb00dc8c7264c24436db08deb496759bd10cb52d9ebd5f831bbb99e30f20f diff --git a/sys-power/powertop/files/0001-configure.ac-Use-PKG_PROG_PKG_CONFIG-macro.patch b/sys-power/powertop/files/0001-configure.ac-Use-PKG_PROG_PKG_CONFIG-macro.patch deleted file mode 100644 index c864020514e1.. --- a/sys-power/powertop/files/0001-configure.ac-Use-PKG_PROG_PKG_CONFIG-macro.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 311b88d2a078aa68b042dc37b416a9bdb3f650e5 Mon Sep 17 00:00:00 2001 -From: Ed Baker -Date: Thu, 3 Sep 2020 09:01:25 -0700 -Subject: [PATCH] configure.ac: Use PKG_PROG_PKG_CONFIG macro - -The goal of this commit is to fix an error encountered when building -2.13 on Chromium OS. -emerge-${board} powertop - - checking for libnl-3.0 >= 3.0 libnl-genl-3.0 >= 3.0... yes - checking for library containing inet_aton... none required - * pkg-config: ERROR: Do not call unprefixed tools directly. - * pkg-config: ERROR: For board tools, use `tc-export PKG_CONFIG` (or ${CHOST}-pkg-config). - * pkg-config: ERROR: For build-time-only tools, `tc-export BUILD_PKG_CONFIG` (or ${CBUILD}-pkg-config). - * python3 /mnt/data/chromiumos/chromite/bin/cros_sdk --enter --chrome_root=chrome_root - * `-python3 /mnt/data/chromiumos/chromite/bin/cros_sdk --enter --chrome_root=chrome_root - * `-bash - * `-emerge -b /usr/lib/python-exec/python3.6/emerge --root-deps powertop - * `-sandbox /usr/lib/portage/python3.6/ebuild.sh configure - * `-ebuild.sh /usr/lib/portage/python3.6/ebuild.sh configure - * `-ebuild.sh /usr/lib/portage/python3.6/ebuild.sh configure - * `-configure ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-cros-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/powertop-2.13 --htmldir=/usr/share/doc/powertop-2.13/html --with-sysroot=/build/volteer --libdir=/usr/lib64 --disable-nls - * `-pkg-config /build/volteer/tmp/portage/sys-power/powertop-2.13/temp/build-toolchain-wrappers/pkg-config --exists bash-completion - * `-pstree -a -A -s -l 10567 - * ERROR: sys-power/powertop-2.13::portage-stable failed (configure phase): - * Bad pkg-config [--exists bash-completion] invocation - - -The environment variable is populated for board specific tooling. -declare -x PKG_CONFIG="/build/volteer/build/bin/pkg-config" - -Signed-off-by: Ed Baker - configure.ac | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 8daa48d..f191197 100644 a/configure.ac -+++ b/configure.ac -@@ -38,6 +38,7 @@ AC_PROG_INSTALL - AM_PROG_CC_C_O - AX_ADD_FORTIFY_SOURCE - AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory]) -+PKG_PROG_PKG_CONFIG - - # Checks for libraries. - AX_PTHREAD([ -@@ -155,8 +156,8 @@ AC_SEARCH_LIBS([inet_aton], [resolv], [], [ - ], []) - - --AS_IF([`pkg-config --exists bash-completion`], [ -- bashcompletiondir=`pkg-config --variable=completionsdir --define-variable=prefix=${prefix} bash-completion` -+AS_IF([`${PKG_CONFIG} --exists bash-completion`], [ -+ bashcompletiondir=`${PKG_CONFIG} --variable=completionsdir --define-variable=prefix=${prefix} bash-completion` - ], [ - bashcompletiondir=${datadir}/bash-completion/completions - ]) --- -2.17.1 - diff --git a/sys-power/powertop/powertop-2.13-r2.ebuild b/sys-power/powertop/power
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 744f4776336387bbc12d29f48b8279e62f7bdfc3 Author: Sam James gentoo org> AuthorDate: Wed Oct 27 04:10:50 2021 + Commit: Sam James gentoo org> CommitDate: Wed Oct 27 04:10:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=744f4776 sys-power/powertop: Stabilize 2.14 arm, #819069 Signed-off-by: Sam James gentoo.org> sys-power/powertop/powertop-2.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.14.ebuild b/sys-power/powertop/powertop-2.14.ebuild index 028d79bd7b8..824c7e79930 100644 --- a/sys-power/powertop/powertop-2.14.ebuild +++ b/sys-power/powertop/powertop-2.14.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ppc sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 arm ~arm64 ppc sparc x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 627349041a577c0b3b62d31c263e90de6b81214b Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Oct 22 07:49:27 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Oct 22 07:49:27 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62734904 sys-power/powertop: sparc stable wrt bug #819069 Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> sys-power/powertop/powertop-2.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.14.ebuild b/sys-power/powertop/powertop-2.14.ebuild index 8a04f76ad74..028d79bd7b8 100644 --- a/sys-power/powertop/powertop-2.14.ebuild +++ b/sys-power/powertop/powertop-2.14.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ppc ~sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 ~arm ~arm64 ppc sparc x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: fa06c4db0e2174a903e0f4c4df36d9e95fdde334 Author: Sam James gentoo org> AuthorDate: Thu Oct 21 02:36:05 2021 + Commit: Sam James gentoo org> CommitDate: Thu Oct 21 02:36:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa06c4db sys-power/powertop: Stabilize 2.14 amd64, #819069 Signed-off-by: Sam James gentoo.org> sys-power/powertop/powertop-2.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.14.ebuild b/sys-power/powertop/powertop-2.14.ebuild index 378581ae5c2..0819e42ea94 100644 --- a/sys-power/powertop/powertop-2.14.ebuild +++ b/sys-power/powertop/powertop-2.14.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: a22b55750d006165178ed1d36a809020ddd58c76 Author: Sam James gentoo org> AuthorDate: Thu Oct 21 02:36:19 2021 + Commit: Sam James gentoo org> CommitDate: Thu Oct 21 02:36:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a22b5575 sys-power/powertop: Stabilize 2.14 x86, #819069 Signed-off-by: Sam James gentoo.org> sys-power/powertop/powertop-2.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.14.ebuild b/sys-power/powertop/powertop-2.14.ebuild index 0819e42ea94..77cd9d7e8bd 100644 --- a/sys-power/powertop/powertop-2.14.ebuild +++ b/sys-power/powertop/powertop-2.14.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 ~arm ~arm64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 15ee267a401f6fde0a1e647ff82bbb0b4013dd82 Author: Sam James gentoo org> AuthorDate: Thu Oct 21 02:36:44 2021 + Commit: Sam James gentoo org> CommitDate: Thu Oct 21 02:36:44 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15ee267a sys-power/powertop: Stabilize 2.14 ppc, #819069 Signed-off-by: Sam James gentoo.org> sys-power/powertop/powertop-2.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.14.ebuild b/sys-power/powertop/powertop-2.14.ebuild index 77cd9d7e8bd..8a04f76ad74 100644 --- a/sys-power/powertop/powertop-2.14.ebuild +++ b/sys-power/powertop/powertop-2.14.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 ~arm ~arm64 ppc ~sparc x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/files/, sys-power/powertop/
commit: f713e72a8e9558c9a00621f7fa1fd2eef29cf2b4 Author: Matt Turner gentoo org> AuthorDate: Thu Sep 9 23:51:39 2021 + Commit: Matt Turner gentoo org> CommitDate: Fri Sep 10 01:19:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f713e72a sys-power/powertop: Version bump to 2.14 Closes: https://bugs.gentoo.org/812140 Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/Manifest| 1 + ...igure-Remove-AX-macros-from-configure.ac-.patch | 60 ++ .../2.14-configure-Use-AX_REQUIRE_DEFINED.patch| 28 ++ .../{powertop-.ebuild => powertop-2.14.ebuild} | 9 ++-- sys-power/powertop/powertop-.ebuild| 3 -- 5 files changed, 95 insertions(+), 6 deletions(-) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index 98398aedba9..7509e164f2d 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1 +1,2 @@ DIST powertop-2.13.tar.gz 303030 BLAKE2B 3c88e05f9889cc4b276bea3bc50a3a83228ca8efae278379a14fadc6104754f2837174e028bf9c5ded9f3af84ce6b8766ac3d24b6ae62b9b192c03fc3afdec11 SHA512 8ebeccd17b6f76d9e445382d9ce5b1c00ab2daf4f1e6e133c249bceb35ea582ca3e76da5415fd0b55a28b8a124655dc5ac7a18aaf2a3df955547d77495e59181 +DIST powertop-2.14.tar.gz 302578 BLAKE2B 5f53f81b01e83004f6436f497818d2a552b5e7ffda5007749aad415773adeab2a256aeffbacbf9e5fe803ff343a0c1954b5264aebdffa841bb70406b8b9611bc SHA512 f3e25901fb29405e0c8016643855a209cf9dba589fe9dd3e27c291d44699cebeb00dc8c7264c24436db08deb496759bd10cb52d9ebd5f831bbb99e30f20f diff --git a/sys-power/powertop/files/2.14-Revert-configure-Remove-AX-macros-from-configure.ac-.patch b/sys-power/powertop/files/2.14-Revert-configure-Remove-AX-macros-from-configure.ac-.patch new file mode 100644 index 000..7f2b7820ff2 --- /dev/null +++ b/sys-power/powertop/files/2.14-Revert-configure-Remove-AX-macros-from-configure.ac-.patch @@ -0,0 +1,60 @@ +From 2eb781ba822f2d57420400f648f6f531689c8c5d Mon Sep 17 00:00:00 2001 +From: David King +Date: Thu, 15 Apr 2021 11:37:24 +0100 +Subject: [PATCH 1/2] Revert "configure: Remove AX macros from configure.ac + file" + +This reverts commit 1e478d84f051ba56962a1214cb750b810379ac1d. +--- + README.md| 4 ++-- + configure.ac | 9 + + 2 files changed, 11 insertions(+), 2 deletions(-) + +diff --git a/README.md b/README.md +index 1b17365..43bd5b2 100644 +--- a/README.md b/README.md +@@ -26,7 +26,7 @@ Example packages to install in Ubuntu*: + + sudo apt install libpci-dev libnl-3-dev libnl-genl-3-dev gettext \ + libgettextpo-dev autopoint gettext libncurses5-dev libncursesw5-dev libtool-bin \ +-dh-autoreconf pkg-config ++dh-autoreconf autoconf-archive pkg-config + + + ## Building PowerTOP +@@ -39,7 +39,7 @@ source files are modified. + To build PowerTOP from the cloned source, use the following commands: + + ./autogen.sh +-./configure LDFLAGS='-pthread' ++./configure + make + + +diff --git a/configure.ac b/configure.ac +index 2571c5d..7eeeb9c 100644 +--- a/configure.ac b/configure.ac +@@ -36,9 +36,18 @@ AC_PROG_LIBTOOL + AC_PROG_CC + AC_PROG_INSTALL + AM_PROG_CC_C_O ++AX_ADD_FORTIFY_SOURCE ++AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory]) + PKG_PROG_PKG_CONFIG + + # Checks for libraries. ++AX_PTHREAD([ ++LIBS="$PTHREAD_LIBS $LIBS" ++CFLAGS="$CFLAGS $PTHREAD_CFLAGS" ++CC="$PTHREAD_CC" ++ ], [ ++AC_MSG_ERROR([Could not configure pthreads support]) ++]) + + # Checks for header files. + AC_CHECK_HEADERS([ \ +-- +2.32.0 + diff --git a/sys-power/powertop/files/2.14-configure-Use-AX_REQUIRE_DEFINED.patch b/sys-power/powertop/files/2.14-configure-Use-AX_REQUIRE_DEFINED.patch new file mode 100644 index 000..f036bf73d61 --- /dev/null +++ b/sys-power/powertop/files/2.14-configure-Use-AX_REQUIRE_DEFINED.patch @@ -0,0 +1,28 @@ +From e87357a35f376518c3663a2f5cac53e9c4917427 Mon Sep 17 00:00:00 2001 +From: David King +Date: Thu, 15 Apr 2021 11:45:13 +0100 +Subject: [PATCH 2/2] configure: Use AX_REQUIRE_DEFINED + +Require additional macros to be defined early, to avoid an aclocal +"too many loops" error when copying macros. +--- + configure.ac | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 7eeeb9c..37c1304 100644 +--- a/configure.ac b/configure.ac +@@ -29,6 +29,9 @@ AM_GNU_GETTEXT([external]) + AM_GNU_GETTEXT_VERSION([0.18.2]) + + m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) ++AX_REQUIRE_DEFINED([AX_ADD_FORTIFY_SOURCE]) ++AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX]) ++AX_REQUIRE_DEFINED([AX_PTHREAD]) + # Checks for programs. + AC_PROG_CPP + AC_PROG_CXX +-- +2.32.0 + diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-2.14.ebuild similarity index 94% copy from sys-power/powertop/powertop-.ebuild copy to sys-power/powertop/powertop-2.14.ebuild index 92a8b30bd07..378581ae5c2 100644 --- a/sys-power/powertop/powertop-.ebu
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: f3f956bceabccc3e1d873ac7d60a27134505d3d9 Author: David Seifert gentoo org> AuthorDate: Sat Jul 17 21:30:40 2021 + Commit: David Seifert gentoo org> CommitDate: Sat Jul 17 21:30:40 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3f956bc sys-power/powertop: Add sys-libs/ncurses[unicode(+)] Signed-off-by: David Seifert gentoo.org> .../powertop/{powertop-2.13-r1.ebuild => powertop-2.13-r2.ebuild} | 4 ++-- sys-power/powertop/powertop-.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys-power/powertop/powertop-2.13-r1.ebuild b/sys-power/powertop/powertop-2.13-r2.ebuild similarity index 98% rename from sys-power/powertop/powertop-2.13-r1.ebuild rename to sys-power/powertop/powertop-2.13-r2.ebuild index ef1f63925d7..41279e9daac 100644 --- a/sys-power/powertop/powertop-2.13-r1.ebuild +++ b/sys-power/powertop/powertop-2.13-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -25,7 +25,7 @@ IUSE="nls unicode X" DEPEND=" dev-libs/libnl:3 sys-apps/pciutils - sys-libs/ncurses:=[unicode?] + sys-libs/ncurses:=[unicode(+)?] " BDEPEND=" diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index 04d3fef7a87..92a8b30bd07 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -25,7 +25,7 @@ IUSE="nls unicode X" DEPEND=" dev-libs/libnl:3 sys-apps/pciutils - sys-libs/ncurses:=[unicode?] + sys-libs/ncurses:=[unicode(+)?] " BDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 3acb052051e29ae6d89876541058c8cce4037711 Author: Matt Turner gentoo org> AuthorDate: Thu Sep 24 20:03:38 2020 + Commit: Matt Turner gentoo org> CommitDate: Thu Sep 24 20:04:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3acb0520 sys-power/powertop: Drop old versions Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/Manifest | 2 - sys-power/powertop/powertop-2.10.ebuild | 122 sys-power/powertop/powertop-2.11.ebuild | 118 -- 3 files changed, 242 deletions(-) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index 88069afa218..98398aedba9 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,3 +1 @@ -DIST powertop-2.11.tar.gz 307755 BLAKE2B 01723262922df5cc2ec63f6972b2a301f7efc4c701dfa3c08280dcdaa4b79f2d04503592f8c17e43d77df89e7f08695b0381f498671969fe4aa388578f732978 SHA512 bbe2882196f1b3ae39885d38dd86018576bfac5b5e8f16ea10c7dfd197197d0493ae4ce83c969417a4c4239c41dbcfada989063f14e2943c088a7489e43953b7 DIST powertop-2.13.tar.gz 303030 BLAKE2B 3c88e05f9889cc4b276bea3bc50a3a83228ca8efae278379a14fadc6104754f2837174e028bf9c5ded9f3af84ce6b8766ac3d24b6ae62b9b192c03fc3afdec11 SHA512 8ebeccd17b6f76d9e445382d9ce5b1c00ab2daf4f1e6e133c249bceb35ea582ca3e76da5415fd0b55a28b8a124655dc5ac7a18aaf2a3df955547d77495e59181 -DIST powertop-v2.10.tar.gz 722992 BLAKE2B 573f1f0ed40705d3463f6e6f76c67ae99127ab2541b851143dafa707ef1c2dab4127d27811b63ad27e6b002ea4efd39417297a0227996ad9b01141b6de733d41 SHA512 4219e7aadbeebdf6932c04f784434e4dd0f540bf4941d43c1830b1b5cad1f3928769b13897e24dd956b6bdee65fb1fbe902ee30685bca229b71e140d65367837 diff --git a/sys-power/powertop/powertop-2.10.ebuild b/sys-power/powertop/powertop-2.10.ebuild deleted file mode 100644 index a0784d08bd4..000 --- a/sys-power/powertop/powertop-2.10.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"; - -if [[ ${PV} == "" ]] ; then - GIT_ECLASS="git-r3" - SRC_URI="" -else - SRC_URI="https://01.org/sites/default/files/downloads/${PN}-v${PV}.tar.gz"; - KEYWORDS="amd64 arm ~arm64 ppc sparc x86 ~amd64-linux ~x86-linux" - MY_P="${PN}-v${PV}" - S="${WORKDIR}/${MY_P}" -fi - -inherit autotools ${GIT_ECLASS} linux-info - -DESCRIPTION="tool to diagnose issues with power consumption and power management" -HOMEPAGE="https://01.org/powertop/ https://github.com/fenrus75/powertop/"; - -LICENSE="GPL-2" -SLOT="0" -IUSE="nls unicode X" - -DEPEND=" - dev-libs/libnl:3 - sys-apps/pciutils - sys-libs/ncurses:=[unicode?] -" - -BDEPEND=" - virtual/pkgconfig - sys-devel/gettext -" -RDEPEND=" - ${DEPEND} - X? ( x11-apps/xset ) - virtual/libintl -" - -PATCHES=( - "${FILESDIR}"/${PN}-2.8-ncurses_tinfo.patch -) - -pkg_setup() { - CONFIG_CHECK=" - ~X86_MSR - ~DEBUG_FS - ~PERF_EVENTS - ~TRACEPOINTS - ~NO_HZ_IDLE - ~HIGH_RES_TIMERS - ~HPET_TIMER - ~CPU_FREQ_STAT - ~CPU_FREQ_GOV_ONDEMAND - ~FTRACE - ~BLK_DEV_IO_TRACE - ~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_IDLE="NO_HZ_IDLE 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_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 other config options" - ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function" - linux-info_pkg_setup - if linux_config_exists; then - if kernel_is -lt 3 7 0; then - if linux_chkconfig_present SND_HDA_INTEL; then - CONFIG_CHECK="~SND_HDA_POWER_SAVE" - ERROR_
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/files/, sys-power/powertop/
commit: 9c10cffe157f1251b5b9936e10d887a35a416647 Author: Ed Baker intel com> AuthorDate: Thu Sep 3 16:37:12 2020 + Commit: Matt Turner gentoo org> CommitDate: Thu Sep 24 17:05:08 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c10cffe powertop: Patch pkg-config calls Originally submitted as pull request at https://github.com/fenrus75/powertop/pull/68. Signed-off-by: Ed Baker intel.com> Closes: https://github.com/gentoo/gentoo/pull/17579 Signed-off-by: Matt Turner gentoo.org> ...onfigure.ac-Use-PKG_PROG_PKG_CONFIG-macro.patch | 62 ++ ...owertop-2.13.ebuild => powertop-2.13-r1.ebuild} | 1 + 2 files changed, 63 insertions(+) diff --git a/sys-power/powertop/files/0001-configure.ac-Use-PKG_PROG_PKG_CONFIG-macro.patch b/sys-power/powertop/files/0001-configure.ac-Use-PKG_PROG_PKG_CONFIG-macro.patch new file mode 100644 index 000..c864020514e --- /dev/null +++ b/sys-power/powertop/files/0001-configure.ac-Use-PKG_PROG_PKG_CONFIG-macro.patch @@ -0,0 +1,62 @@ +From 311b88d2a078aa68b042dc37b416a9bdb3f650e5 Mon Sep 17 00:00:00 2001 +From: Ed Baker +Date: Thu, 3 Sep 2020 09:01:25 -0700 +Subject: [PATCH] configure.ac: Use PKG_PROG_PKG_CONFIG macro + +The goal of this commit is to fix an error encountered when building +2.13 on Chromium OS. +emerge-${board} powertop + + checking for libnl-3.0 >= 3.0 libnl-genl-3.0 >= 3.0... yes + checking for library containing inet_aton... none required + * pkg-config: ERROR: Do not call unprefixed tools directly. + * pkg-config: ERROR: For board tools, use `tc-export PKG_CONFIG` (or ${CHOST}-pkg-config). + * pkg-config: ERROR: For build-time-only tools, `tc-export BUILD_PKG_CONFIG` (or ${CBUILD}-pkg-config). + * python3 /mnt/data/chromiumos/chromite/bin/cros_sdk --enter --chrome_root=chrome_root + * `-python3 /mnt/data/chromiumos/chromite/bin/cros_sdk --enter --chrome_root=chrome_root + * `-bash + * `-emerge -b /usr/lib/python-exec/python3.6/emerge --root-deps powertop + * `-sandbox /usr/lib/portage/python3.6/ebuild.sh configure + * `-ebuild.sh /usr/lib/portage/python3.6/ebuild.sh configure + * `-ebuild.sh /usr/lib/portage/python3.6/ebuild.sh configure + * `-configure ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-cros-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/powertop-2.13 --htmldir=/usr/share/doc/powertop-2.13/html --with-sysroot=/build/volteer --libdir=/usr/lib64 --disable-nls + * `-pkg-config /build/volteer/tmp/portage/sys-power/powertop-2.13/temp/build-toolchain-wrappers/pkg-config --exists bash-completion + * `-pstree -a -A -s -l 10567 + * ERROR: sys-power/powertop-2.13::portage-stable failed (configure phase): + * Bad pkg-config [--exists bash-completion] invocation + + +The environment variable is populated for board specific tooling. +declare -x PKG_CONFIG="/build/volteer/build/bin/pkg-config" + +Signed-off-by: Ed Baker +--- + configure.ac | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 8daa48d..f191197 100644 +--- a/configure.ac b/configure.ac +@@ -38,6 +38,7 @@ AC_PROG_INSTALL + AM_PROG_CC_C_O + AX_ADD_FORTIFY_SOURCE + AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory]) ++PKG_PROG_PKG_CONFIG + + # Checks for libraries. + AX_PTHREAD([ +@@ -155,8 +156,8 @@ AC_SEARCH_LIBS([inet_aton], [resolv], [], [ + ], []) + + +-AS_IF([`pkg-config --exists bash-completion`], [ +- bashcompletiondir=`pkg-config --variable=completionsdir --define-variable=prefix=${prefix} bash-completion` ++AS_IF([`${PKG_CONFIG} --exists bash-completion`], [ ++ bashcompletiondir=`${PKG_CONFIG} --variable=completionsdir --define-variable=prefix=${prefix} bash-completion` + ], [ + bashcompletiondir=${datadir}/bash-completion/completions + ]) +-- +2.17.1 + diff --git a/sys-power/powertop/powertop-2.13.ebuild b/sys-power/powertop/powertop-2.13-r1.ebuild similarity index 98% rename from sys-power/powertop/powertop-2.13.ebuild rename to sys-power/powertop/powertop-2.13-r1.ebuild index c3f8c053410..ef1f63925d7 100644 --- a/sys-power/powertop/powertop-2.13.ebuild +++ b/sys-power/powertop/powertop-2.13-r1.ebuild @@ -41,6 +41,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-2.8-ncurses_tinfo.patch + "${FILESDIR}"/0001-configure.ac-Use-PKG_PROG_PKG_CONFIG-macro.patch ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 276b7dfa937f5cdf5e4db8ccf4ed32590fd1d92b Author: Sam James gentoo org> AuthorDate: Mon Aug 31 22:35:25 2020 + Commit: Sam James gentoo org> CommitDate: Mon Aug 31 22:35:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=276b7dfa sys-power/powertop: Stabilize 2.13 ppc, #737484 Signed-off-by: Sam James gentoo.org> sys-power/powertop/powertop-2.13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.13.ebuild b/sys-power/powertop/powertop-2.13.ebuild index 2a324272186..c3f8c053410 100644 --- a/sys-power/powertop/powertop-2.13.ebuild +++ b/sys-power/powertop/powertop-2.13.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm ~arm64 ~ppc sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 arm ~arm64 ppc sparc x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 8db0cbd2ac726ef0841c14d033465d79e5deabcc Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Aug 17 12:03:02 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Aug 17 12:03:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8db0cbd2 sys-power/powertop: amd64 stable wrt bug #737484 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-power/powertop/powertop-2.13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.13.ebuild b/sys-power/powertop/powertop-2.13.ebuild index 4b0787875d9..2a324272186 100644 --- a/sys-power/powertop/powertop-2.13.ebuild +++ b/sys-power/powertop/powertop-2.13.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 arm ~arm64 ~ppc sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 arm ~arm64 ~ppc sparc x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: bc94fa418b6116b79d4b8354ca22303f224e4698 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Aug 17 10:01:46 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Aug 17 10:01:46 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc94fa41 sys-power/powertop: x86 stable wrt bug #737484 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> sys-power/powertop/powertop-2.13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.13.ebuild b/sys-power/powertop/powertop-2.13.ebuild index d8714bcf2e0..4b0787875d9 100644 --- a/sys-power/powertop/powertop-2.13.ebuild +++ b/sys-power/powertop/powertop-2.13.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 arm ~arm64 ~ppc sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~amd64 arm ~arm64 ~ppc sparc x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 649a8fea751d520b84825aebd7551aeee049e8eb Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Aug 17 09:59:13 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Aug 17 09:59:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=649a8fea sys-power/powertop: sparc stable wrt bug #737484 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> sys-power/powertop/powertop-2.13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.13.ebuild b/sys-power/powertop/powertop-2.13.ebuild index ef8a05dde9f..d8714bcf2e0 100644 --- a/sys-power/powertop/powertop-2.13.ebuild +++ b/sys-power/powertop/powertop-2.13.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~amd64 arm ~arm64 ~ppc sparc ~x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 904de73ca001cd1209c574d3ebd2f670aa128e9c Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Aug 17 09:56:49 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Aug 17 09:56:49 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=904de73c sys-power/powertop: arm stable wrt bug #737484 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> sys-power/powertop/powertop-2.13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.13.ebuild b/sys-power/powertop/powertop-2.13.ebuild index 23daa69f103..ef8a05dde9f 100644 --- a/sys-power/powertop/powertop-2.13.ebuild +++ b/sys-power/powertop/powertop-2.13.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~amd64 arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" fi inherit autotools ${GIT_ECLASS} linux-info
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 83d208b451266b2d05cfa6068200fc2f97144644 Author: Matt Turner gentoo org> AuthorDate: Sun Jul 12 21:38:53 2020 + Commit: Matt Turner gentoo org> CommitDate: Sun Jul 12 21:39:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83d208b4 sys-power/powertop: Depend on sys-devel/autoconf-archive Closes: https://bugs.gentoo.org/732170 Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/powertop-2.13.ebuild | 1 + sys-power/powertop/powertop-.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/sys-power/powertop/powertop-2.13.ebuild b/sys-power/powertop/powertop-2.13.ebuild index 3037572fdbe..23daa69f103 100644 --- a/sys-power/powertop/powertop-2.13.ebuild +++ b/sys-power/powertop/powertop-2.13.ebuild @@ -30,6 +30,7 @@ DEPEND=" BDEPEND=" virtual/pkgconfig + sys-devel/autoconf-archive >=sys-devel/gettext-0.20.2 " RDEPEND=" diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index b6c21806001..04d3fef7a87 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -30,6 +30,7 @@ DEPEND=" BDEPEND=" virtual/pkgconfig + sys-devel/autoconf-archive >=sys-devel/gettext-0.20.2 " RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 0662bbd1eaed9d7308522f099d244f829dcdcfd8 Author: Divagar Mohandass gmail com> AuthorDate: Wed Jul 8 21:12:36 2020 + Commit: Matt Turner gentoo org> CommitDate: Thu Jul 9 07:03:44 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0662bbd1 sys-power/powertop: Version bump to 2.13 Closes: https://github.com/gentoo/gentoo/pull/16642 Signed-off-by: Divagar Mohandass gmail.com> Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/Manifest | 1 + .../powertop/{powertop-.ebuild => powertop-2.13.ebuild} | 11 +-- sys-power/powertop/powertop-.ebuild | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index f033f60ac94..88069afa218 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,2 +1,3 @@ DIST powertop-2.11.tar.gz 307755 BLAKE2B 01723262922df5cc2ec63f6972b2a301f7efc4c701dfa3c08280dcdaa4b79f2d04503592f8c17e43d77df89e7f08695b0381f498671969fe4aa388578f732978 SHA512 bbe2882196f1b3ae39885d38dd86018576bfac5b5e8f16ea10c7dfd197197d0493ae4ce83c969417a4c4239c41dbcfada989063f14e2943c088a7489e43953b7 +DIST powertop-2.13.tar.gz 303030 BLAKE2B 3c88e05f9889cc4b276bea3bc50a3a83228ca8efae278379a14fadc6104754f2837174e028bf9c5ded9f3af84ce6b8766ac3d24b6ae62b9b192c03fc3afdec11 SHA512 8ebeccd17b6f76d9e445382d9ce5b1c00ab2daf4f1e6e133c249bceb35ea582ca3e76da5415fd0b55a28b8a124655dc5ac7a18aaf2a3df955547d77495e59181 DIST powertop-v2.10.tar.gz 722992 BLAKE2B 573f1f0ed40705d3463f6e6f76c67ae99127ab2541b851143dafa707ef1c2dab4127d27811b63ad27e6b002ea4efd39417297a0227996ad9b01141b6de733d41 SHA512 4219e7aadbeebdf6932c04f784434e4dd0f540bf4941d43c1830b1b5cad1f3928769b13897e24dd956b6bdee65fb1fbe902ee30685bca229b71e140d65367837 diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-2.13.ebuild similarity index 94% copy from sys-power/powertop/powertop-.ebuild copy to sys-power/powertop/powertop-2.13.ebuild index 39fc48dc78d..3037572fdbe 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-2.13.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -30,7 +30,7 @@ DEPEND=" BDEPEND=" virtual/pkgconfig - sys-devel/gettext + >=sys-devel/gettext-0.20.2 " RDEPEND=" ${DEPEND} @@ -38,6 +38,10 @@ RDEPEND=" virtual/libintl " +PATCHES=( + "${FILESDIR}"/${PN}-2.8-ncurses_tinfo.patch +) + pkg_setup() { CONFIG_CHECK=" ~X86_MSR @@ -102,6 +106,9 @@ src_prepare() { # Bug 599114 sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX])|' configure.ac || die + echo "\"${PV}\"" > version-short + echo "${PV}" > version-long + eautoreconf } diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index 39fc48dc78d..b6c21806001 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -30,7 +30,7 @@ DEPEND=" BDEPEND=" virtual/pkgconfig - sys-devel/gettext + >=sys-devel/gettext-0.20.2 " RDEPEND=" ${DEPEND}
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: f045388543c5ab4d2fda51b440d5ea43e4712656 Author: Matt Turner gentoo org> AuthorDate: Wed May 27 00:59:59 2020 + Commit: Matt Turner gentoo org> CommitDate: Wed May 27 01:10:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0453885 sys-power/powertop: Account for upstream changes Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/powertop-.ebuild | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index bf3642c77e9..39fc48dc78d 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -100,10 +100,7 @@ src_prepare() { default # Bug 599114 - sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX_11])|' configure.ac || die - - chmod +x scripts/version || die "Failed to make 'scripts/version' executable" - scripts/version || die "Failed to extract version information" + sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX])|' configure.ac || die eautoreconf }
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 67bed5cf9a26cd685ccf36f3503abac3a709bad2 Author: Matt Turner gentoo org> AuthorDate: Wed May 27 01:09:33 2020 + Commit: Matt Turner gentoo org> CommitDate: Wed May 27 01:10:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67bed5cf sys-power/powertop: Fix version string Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/powertop-2.11.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-power/powertop/powertop-2.11.ebuild b/sys-power/powertop/powertop-2.11.ebuild index 200e2c08f9f..e472b13d37e 100644 --- a/sys-power/powertop/powertop-2.11.ebuild +++ b/sys-power/powertop/powertop-2.11.ebuild @@ -106,8 +106,8 @@ src_prepare() { # Bug 599114 sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX_11])|' configure.ac || die - chmod +x scripts/version || die "Failed to make 'scripts/version' executable" - scripts/version || die "Failed to extract version information" + echo "\"${PV}\"" > version-short + echo "${PV}" > version-long eautoreconf }
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: b345b5d0c618bdcf8626c8ca3824a5801be9aa95 Author: Matt Turner gentoo org> AuthorDate: Sun Feb 23 17:53:38 2020 + Commit: Matt Turner gentoo org> CommitDate: Sun Feb 23 17:55:23 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b345b5d0 sys-power/powertop: Use tarballs from github The 2.11 tarball has a bizarre name, and we have to run eautoreconf anyway. Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/powertop-.ebuild | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index 165318e3ddd..bf3642c77e9 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -9,10 +9,8 @@ if [[ ${PV} == "" ]] ; then GIT_ECLASS="git-r3" SRC_URI="" else - SRC_URI="https://01.org/sites/default/files/downloads/${PN}-v${PV}.tar.gz"; + SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" - MY_P="${PN}-v${PV}" - S="${WORKDIR}/${MY_P}" fi inherit autotools ${GIT_ECLASS} linux-info @@ -104,10 +102,8 @@ src_prepare() { # Bug 599114 sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX_11])|' configure.ac || die - if [[ ${PV} == "" ]] ; then - chmod +x scripts/version || die "Failed to make 'scripts/version' executable" - scripts/version || die "Failed to extract version information" - fi + chmod +x scripts/version || die "Failed to make 'scripts/version' executable" + scripts/version || die "Failed to extract version information" eautoreconf }
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 0a66e2dc489de57066afff7ad6a0af9fdfd0f137 Author: Matt Turner gentoo org> AuthorDate: Sun Feb 23 17:39:56 2020 + Commit: Matt Turner gentoo org> CommitDate: Sun Feb 23 17:55:24 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a66e2dc sys-power/powertop: Version bump to 2.11 Closes: https://bugs.gentoo.org/710568 Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/Manifest | 1 + sys-power/powertop/powertop-2.11.ebuild | 118 2 files changed, 119 insertions(+) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index b1fe3aade12..f033f60ac94 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1 +1,2 @@ +DIST powertop-2.11.tar.gz 307755 BLAKE2B 01723262922df5cc2ec63f6972b2a301f7efc4c701dfa3c08280dcdaa4b79f2d04503592f8c17e43d77df89e7f08695b0381f498671969fe4aa388578f732978 SHA512 bbe2882196f1b3ae39885d38dd86018576bfac5b5e8f16ea10c7dfd197197d0493ae4ce83c969417a4c4239c41dbcfada989063f14e2943c088a7489e43953b7 DIST powertop-v2.10.tar.gz 722992 BLAKE2B 573f1f0ed40705d3463f6e6f76c67ae99127ab2541b851143dafa707ef1c2dab4127d27811b63ad27e6b002ea4efd39417297a0227996ad9b01141b6de733d41 SHA512 4219e7aadbeebdf6932c04f784434e4dd0f540bf4941d43c1830b1b5cad1f3928769b13897e24dd956b6bdee65fb1fbe902ee30685bca229b71e140d65367837 diff --git a/sys-power/powertop/powertop-2.11.ebuild b/sys-power/powertop/powertop-2.11.ebuild new file mode 100644 index 000..200e2c08f9f --- /dev/null +++ b/sys-power/powertop/powertop-2.11.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"; + +if [[ ${PV} == "" ]] ; then + GIT_ECLASS="git-r3" + SRC_URI="" +else + SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +inherit autotools ${GIT_ECLASS} linux-info + +DESCRIPTION="tool to diagnose issues with power consumption and power management" +HOMEPAGE="https://01.org/powertop/ https://github.com/fenrus75/powertop/"; + +LICENSE="GPL-2" +SLOT="0" +IUSE="nls unicode X" + +DEPEND=" + dev-libs/libnl:3 + sys-apps/pciutils + sys-libs/ncurses:=[unicode?] +" + +BDEPEND=" + virtual/pkgconfig + sys-devel/gettext +" +RDEPEND=" + ${DEPEND} + X? ( x11-apps/xset ) + virtual/libintl +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.8-ncurses_tinfo.patch +) + +pkg_setup() { + CONFIG_CHECK=" + ~X86_MSR + ~DEBUG_FS + ~PERF_EVENTS + ~TRACEPOINTS + ~NO_HZ_IDLE + ~HIGH_RES_TIMERS + ~HPET_TIMER + ~CPU_FREQ_STAT + ~CPU_FREQ_GOV_ONDEMAND + ~FTRACE + ~BLK_DEV_IO_TRACE + ~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_IDLE="NO_HZ_IDLE 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_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 other config options" + ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function" + linux-info_pkg_setup + if linux_config_exists; then + if kernel_is -lt 3 7 0; then + 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 + if kernel_is -lt 3 9 0; then + CONFIG_CHECK="~EVENT_POWER_TRACING_DEPRECATED" + ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_PO
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/files/
commit: fc6854ed667f0b5298ebb508eca9a0adf6052f39 Author: Matt Turner gentoo org> AuthorDate: Mon Jul 29 15:45:15 2019 + Commit: Matt Turner gentoo org> CommitDate: Mon Jul 29 15:48:54 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc6854ed sys-power/powertop: Restore mistakenly removed patch When cleaning up, I deleted the wrong patch and left the unused one in place. Closes: https://bugs.gentoo.org/690992 Signed-off-by: Matt Turner gentoo.org> .../files/powertop-2.8-ncurses_tinfo.patch | 41 sys-power/powertop/files/powertop-2.9-libc++.patch | 44 -- 2 files changed, 41 insertions(+), 44 deletions(-) diff --git a/sys-power/powertop/files/powertop-2.8-ncurses_tinfo.patch b/sys-power/powertop/files/powertop-2.8-ncurses_tinfo.patch new file mode 100644 index 000..97769fb6728 --- /dev/null +++ b/sys-power/powertop/files/powertop-2.8-ncurses_tinfo.patch @@ -0,0 +1,41 @@ +From e1295099f8b42670718ba875cb6749a90042293f Mon Sep 17 00:00:00 2001 +From: Zentaro Kavanagh +Date: Thu, 14 Jun 2018 13:13:37 -0700 +Subject: [PATCH] Fix configure to support ncurses w/ tinfo + +- The existing code checked for both ncursesw and ncurses and if + both were not found, NCURSES_LIBS was not set correctly. +- Removed redundant concatenation to $LIBS since the makefile.am + already maps NCURSES_LIBS into LIBS. +- Patch sent upstream to powertop mailing list [1] + +[1] - https://lists.01.org/pipermail/powertop/2018-June/002021.html +--- + configure.ac | 11 +++ + 1 file changed, 7 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index d6a15e1..c6ee50a 100644 +--- a/configure.ac b/configure.ac +@@ -110,10 +110,13 @@ AC_CHECK_FUNCS([ \ + + AC_SEARCH_LIBS([clock_gettime], [rt]) + +-PKG_CHECK_MODULES([NCURSES], [ncursesw ncurses], [LIBS="$LIBS $ncurses_LIBS"], [ +- AC_SEARCH_LIBS([delwin], [ncursesw ncurses], [], [ +- AC_MSG_ERROR([ncurses is required but was not found]) +- ], []) ++PKG_CHECK_MODULES([ncursesw], [ncursesw], ++ [NCURSES_CFLAGS="$ncursesw_CFLAGS"; NCURSES_LIBS="$ncursesw_LIBS"], [ ++ PKG_CHECK_MODULES([NCURSES], [ncurses], [], [ ++ AC_SEARCH_LIBS([delwin], [ncursesw ncurses], [], [ ++ AC_MSG_ERROR([ncurses is required but was not found]) ++ ]) ++ ]) + ]) + + has_libpci=0 +-- +2.18.0.rc1.242.g61856ae69a-goog + diff --git a/sys-power/powertop/files/powertop-2.9-libc++.patch b/sys-power/powertop/files/powertop-2.9-libc++.patch deleted file mode 100644 index d378280f3c6..000 --- a/sys-power/powertop/files/powertop-2.9-libc++.patch +++ /dev/null @@ -1,44 +0,0 @@ -https://github.com/fenrus75/powertop/commit/b9c431aad6cc5383c9571007469eee8e64ec85a6 - -From b9c431aad6cc5383c9571007469eee8e64ec85a6 Mon Sep 17 00:00:00 2001 -From: Manoj Gupta -Date: Sat, 4 Nov 2017 13:44:04 -0700 -Subject: [PATCH] Fix powertop build with libc++. - - header is not automatically included with libc++. -Add it explicitly to make powertop build with libc++. - -This fixes the following errors: -devices/gpu_rapl_device.cpp:35:14: error: use of undeclared identifier -'time'; did you mean 'tie'? -last_time = time(NULL); -^~~~ -devices/gpu_rapl_device.cpp:45:14: error:use of undeclared identifier -'time'; did you mean 'tie'? -last_time = time(NULL); -^~~~ - -parameters/learn.cpp:161:10: error: use of undeclared identifier -'time'; did you mean 'tie'? -start =time(NULL); -^~~~ - src/lib.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/lib.h b/src/lib.h -index b64bb0f5433f..6d85eb6e4b40 100644 a/src/lib.h -+++ b/src/lib.h -@@ -54,7 +54,7 @@ extern const char *kernel_function(uint64_t address); - - - -- -+#include - #include - using namespace std; - --- -2.15.1 -
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/files/, sys-power/powertop/
commit: c6efdbfc31406b5b076f5f6bc9532eeb5990576e Author: Matt Turner gentoo org> AuthorDate: Sun Jul 28 16:39:59 2019 + Commit: Matt Turner gentoo org> CommitDate: Sun Jul 28 16:40:27 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6efdbfc sys-power/powertop: Drop old versions Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/Manifest| 2 - .../files/powertop-2.8-ncurses_tinfo.patch | 41 --- sys-power/powertop/powertop-2.8.ebuild | 103 -- sys-power/powertop/powertop-2.9.ebuild | 119 - 4 files changed, 265 deletions(-) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index a75203dd1ab..b1fe3aade12 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,3 +1 @@ -DIST powertop-2.8.tar.gz 67 BLAKE2B 4259f462d36fe0cbb157859d6e1d3e1face67f7232fe8d4112d77f844b545f49e9cf486e21bcbc34f64ffb0c891c1864141784dde14e3a96647d6535641a840a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80 DIST powertop-v2.10.tar.gz 722992 BLAKE2B 573f1f0ed40705d3463f6e6f76c67ae99127ab2541b851143dafa707ef1c2dab4127d27811b63ad27e6b002ea4efd39417297a0227996ad9b01141b6de733d41 SHA512 4219e7aadbeebdf6932c04f784434e4dd0f540bf4941d43c1830b1b5cad1f3928769b13897e24dd956b6bdee65fb1fbe902ee30685bca229b71e140d65367837 -DIST powertop-v2.9.tar.gz 718763 BLAKE2B bb6ce789614397b02f0e9f1cb71585cb456c1428cc43e9fe1c4b3bc9f96171fede4c587410e78e58ad8d0b0f772549a93f454bcd1b521e6dd3c809a85dc3cf30 SHA512 783af538c44e3fae7215a5b4247eb32a72e02150b3f297e6b9777a450823dd30aca014601892c0e80937a366eed95b42b622c68161d53e905ad4fbcb574b26f5 diff --git a/sys-power/powertop/files/powertop-2.8-ncurses_tinfo.patch b/sys-power/powertop/files/powertop-2.8-ncurses_tinfo.patch deleted file mode 100644 index 97769fb6728..000 --- a/sys-power/powertop/files/powertop-2.8-ncurses_tinfo.patch +++ /dev/null @@ -1,41 +0,0 @@ -From e1295099f8b42670718ba875cb6749a90042293f Mon Sep 17 00:00:00 2001 -From: Zentaro Kavanagh -Date: Thu, 14 Jun 2018 13:13:37 -0700 -Subject: [PATCH] Fix configure to support ncurses w/ tinfo - -- The existing code checked for both ncursesw and ncurses and if - both were not found, NCURSES_LIBS was not set correctly. -- Removed redundant concatenation to $LIBS since the makefile.am - already maps NCURSES_LIBS into LIBS. -- Patch sent upstream to powertop mailing list [1] - -[1] - https://lists.01.org/pipermail/powertop/2018-June/002021.html - configure.ac | 11 +++ - 1 file changed, 7 insertions(+), 4 deletions(-) - -diff --git a/configure.ac b/configure.ac -index d6a15e1..c6ee50a 100644 a/configure.ac -+++ b/configure.ac -@@ -110,10 +110,13 @@ AC_CHECK_FUNCS([ \ - - AC_SEARCH_LIBS([clock_gettime], [rt]) - --PKG_CHECK_MODULES([NCURSES], [ncursesw ncurses], [LIBS="$LIBS $ncurses_LIBS"], [ -- AC_SEARCH_LIBS([delwin], [ncursesw ncurses], [], [ -- AC_MSG_ERROR([ncurses is required but was not found]) -- ], []) -+PKG_CHECK_MODULES([ncursesw], [ncursesw], -+ [NCURSES_CFLAGS="$ncursesw_CFLAGS"; NCURSES_LIBS="$ncursesw_LIBS"], [ -+ PKG_CHECK_MODULES([NCURSES], [ncurses], [], [ -+ AC_SEARCH_LIBS([delwin], [ncursesw ncurses], [], [ -+ AC_MSG_ERROR([ncurses is required but was not found]) -+ ]) -+ ]) - ]) - - has_libpci=0 --- -2.18.0.rc1.242.g61856ae69a-goog - diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild deleted file mode 100644 index 2ec905b8419..000 --- a/sys-power/powertop/powertop-2.8.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils linux-info autotools -SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.tar.gz"; -KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux" - -DESCRIPTION="tool that helps you find what software is using the most power" -HOMEPAGE="https://01.org/powertop/"; - -LICENSE="GPL-2" -SLOT="0" -IUSE="nls 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() { - CONFIG_CHECK=" - ~X86_MSR - ~DEBUG_FS - ~PERF_EVENTS - ~TRACEPOINTS - ~NO_HZ_IDLE - ~HIGH_RES_TIMERS - ~HPET_TIMER - ~CPU_FREQ_STAT - ~CPU_FREQ_GOV_ONDEMAND - ~FTRACE - ~BLK_DEV_IO_TRACE - ~TRACING - " - ERROR_KERN
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 3c4a4a8f966de513fcee9e01c00f4c00f0d2155e Author: Mikle Kolyada gentoo org> AuthorDate: Sun Jul 28 10:56:08 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Jul 28 10:56:08 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c4a4a8f sys-power/powertop: arm stable wrt bug #687758 Package-Manager: Portage-2.3.66, Repoman-2.3.16 RepoMan-Options: --include-arches="arm" Signed-off-by: Mikle Kolyada gentoo.org> sys-power/powertop/powertop-2.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.10.ebuild b/sys-power/powertop/powertop-2.10.ebuild index 7de8f42db8c..a0784d08bd4 100644 --- a/sys-power/powertop/powertop-2.10.ebuild +++ b/sys-power/powertop/powertop-2.10.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://01.org/sites/default/files/downloads/${PN}-v${PV}.tar.gz"; - KEYWORDS="amd64 ~arm ~arm64 ppc sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 arm ~arm64 ppc sparc x86 ~amd64-linux ~x86-linux" MY_P="${PN}-v${PV}" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: ca0665fe17e56c755e16d65d869310dd084989e8 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Jun 14 09:17:57 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Jun 14 09:17:57 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca0665fe sys-power/powertop: ppc stable wrt bug #687758 Signed-off-by: Agostino Sarubbo gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="ppc" sys-power/powertop/powertop-2.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.10.ebuild b/sys-power/powertop/powertop-2.10.ebuild index b022bb9f0ed..7de8f42db8c 100644 --- a/sys-power/powertop/powertop-2.10.ebuild +++ b/sys-power/powertop/powertop-2.10.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://01.org/sites/default/files/downloads/${PN}-v${PV}.tar.gz"; - KEYWORDS="amd64 ~arm ~arm64 ~ppc sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 ~arm ~arm64 ppc sparc x86 ~amd64-linux ~x86-linux" MY_P="${PN}-v${PV}" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: fc0b84347f5c9653c214481bb851cc7fbe71d899 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Jun 13 14:49:36 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Jun 13 14:49:36 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc0b8434 sys-power/powertop: amd64 stable wrt bug #687758 Signed-off-by: Agostino Sarubbo gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64" sys-power/powertop/powertop-2.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.10.ebuild b/sys-power/powertop/powertop-2.10.ebuild index 6c41a2d5380..b022bb9f0ed 100644 --- a/sys-power/powertop/powertop-2.10.ebuild +++ b/sys-power/powertop/powertop-2.10.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://01.org/sites/default/files/downloads/${PN}-v${PV}.tar.gz"; - KEYWORDS="~amd64 ~arm ~arm64 ~ppc sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 ~arm ~arm64 ~ppc sparc x86 ~amd64-linux ~x86-linux" MY_P="${PN}-v${PV}" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 4c14ddcb639f1b685c56f8a841698b37736c75f3 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Jun 11 06:14:24 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Jun 11 07:54:29 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c14ddcb sys-power/powertop: stable 2.10 for sparc, bug #687758 Signed-off-by: Rolf Eike Beer sf-mail.de> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="sparc" Signed-off-by: Sergei Trofimovich gentoo.org> sys-power/powertop/powertop-2.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.10.ebuild b/sys-power/powertop/powertop-2.10.ebuild index 53e804b48aa..6c41a2d5380 100644 --- a/sys-power/powertop/powertop-2.10.ebuild +++ b/sys-power/powertop/powertop-2.10.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://01.org/sites/default/files/downloads/${PN}-v${PV}.tar.gz"; - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc sparc x86 ~amd64-linux ~x86-linux" MY_P="${PN}-v${PV}" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: e01aa668646f9bbe75e49f2b81e85d2b438a93ff Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Jun 10 19:48:07 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Jun 10 19:50:19 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e01aa668 sys-power/powertop: x86 stable (bug #687758) Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Thomas Deutschmann gentoo.org> sys-power/powertop/powertop-2.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.10.ebuild b/sys-power/powertop/powertop-2.10.ebuild index 27089b70cb7..53e804b48aa 100644 --- a/sys-power/powertop/powertop-2.10.ebuild +++ b/sys-power/powertop/powertop-2.10.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://01.org/sites/default/files/downloads/${PN}-v${PV}.tar.gz"; - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux" MY_P="${PN}-v${PV}" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: be542cccd3ab6a1dcdfb954829c1717ddd8685e0 Author: Matt Turner gentoo org> AuthorDate: Thu Mar 28 03:55:40 2019 + Commit: Matt Turner gentoo org> CommitDate: Thu Mar 28 03:59:59 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be542ccc sys-power/powertop: Use pregenerated tarball The SRC_URI in v2.9 didn't work for v2.10 so I mistakely thought they'd just switched to github-generated tarballs. Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/Manifest | 2 +- sys-power/powertop/powertop-2.10.ebuild | 10 +++--- sys-power/powertop/powertop-.ebuild | 10 +++--- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index 97496d051b4..a75203dd1ab 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,3 +1,3 @@ -DIST powertop-2.10.tar.gz 296409 BLAKE2B 50a8881e8fedd66d144b6929bf077710050da264d1ff02f38bf5497b80d1038ee55434e3f731a970b92748ce3130a226ec85daf2f105fb10dcebd40355294c79 SHA512 ce7b5c4a5c80596c6a78f1c00c107a13dd3f0d9051c7c44333d18a0f0c050c8e148c8b251d59bd49341f20a6a19eb1f956902e8c57110251e9e4f608e0542357 DIST powertop-2.8.tar.gz 67 BLAKE2B 4259f462d36fe0cbb157859d6e1d3e1face67f7232fe8d4112d77f844b545f49e9cf486e21bcbc34f64ffb0c891c1864141784dde14e3a96647d6535641a840a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80 +DIST powertop-v2.10.tar.gz 722992 BLAKE2B 573f1f0ed40705d3463f6e6f76c67ae99127ab2541b851143dafa707ef1c2dab4127d27811b63ad27e6b002ea4efd39417297a0227996ad9b01141b6de733d41 SHA512 4219e7aadbeebdf6932c04f784434e4dd0f540bf4941d43c1830b1b5cad1f3928769b13897e24dd956b6bdee65fb1fbe902ee30685bca229b71e140d65367837 DIST powertop-v2.9.tar.gz 718763 BLAKE2B bb6ce789614397b02f0e9f1cb71585cb456c1428cc43e9fe1c4b3bc9f96171fede4c587410e78e58ad8d0b0f772549a93f454bcd1b521e6dd3c809a85dc3cf30 SHA512 783af538c44e3fae7215a5b4247eb32a72e02150b3f297e6b9777a450823dd30aca014601892c0e80937a366eed95b42b622c68161d53e905ad4fbcb574b26f5 diff --git a/sys-power/powertop/powertop-2.10.ebuild b/sys-power/powertop/powertop-2.10.ebuild index 200e2c08f9f..27089b70cb7 100644 --- a/sys-power/powertop/powertop-2.10.ebuild +++ b/sys-power/powertop/powertop-2.10.ebuild @@ -9,8 +9,10 @@ if [[ ${PV} == "" ]] ; then GIT_ECLASS="git-r3" SRC_URI="" else - SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://01.org/sites/default/files/downloads/${PN}-v${PV}.tar.gz"; KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + MY_P="${PN}-v${PV}" + S="${WORKDIR}/${MY_P}" fi inherit autotools ${GIT_ECLASS} linux-info @@ -106,8 +108,10 @@ src_prepare() { # Bug 599114 sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX_11])|' configure.ac || die - chmod +x scripts/version || die "Failed to make 'scripts/version' executable" - scripts/version || die "Failed to extract version information" + if [[ ${PV} == "" ]] ; then + chmod +x scripts/version || die "Failed to make 'scripts/version' executable" + scripts/version || die "Failed to extract version information" + fi eautoreconf } diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index bf3642c77e9..165318e3ddd 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -9,8 +9,10 @@ if [[ ${PV} == "" ]] ; then GIT_ECLASS="git-r3" SRC_URI="" else - SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://01.org/sites/default/files/downloads/${PN}-v${PV}.tar.gz"; KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + MY_P="${PN}-v${PV}" + S="${WORKDIR}/${MY_P}" fi inherit autotools ${GIT_ECLASS} linux-info @@ -102,8 +104,10 @@ src_prepare() { # Bug 599114 sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX_11])|' configure.ac || die - chmod +x scripts/version || die "Failed to make 'scripts/version' executable" - scripts/version || die "Failed to extract version information" + if [[ ${PV} == "" ]] ; then + chmod +x scripts/version || die "Failed to make 'scripts/version' executable" + scripts/version || die "Failed to extract version information" + fi eautoreconf }
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 8f60dc88c3835a6fe889c48fa82f268f9cbe1582 Author: Matt Turner gentoo org> AuthorDate: Wed Mar 27 21:53:29 2019 + Commit: Matt Turner gentoo org> CommitDate: Wed Mar 27 21:55:30 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f60dc88 sys-power/powertop: Version bump to 2.10 Closes: https://bugs.gentoo.org/679394 Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/Manifest | 1 + sys-power/powertop/powertop-2.10.ebuild | 118 2 files changed, 119 insertions(+) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index c0cd2b6155f..97496d051b4 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,2 +1,3 @@ +DIST powertop-2.10.tar.gz 296409 BLAKE2B 50a8881e8fedd66d144b6929bf077710050da264d1ff02f38bf5497b80d1038ee55434e3f731a970b92748ce3130a226ec85daf2f105fb10dcebd40355294c79 SHA512 ce7b5c4a5c80596c6a78f1c00c107a13dd3f0d9051c7c44333d18a0f0c050c8e148c8b251d59bd49341f20a6a19eb1f956902e8c57110251e9e4f608e0542357 DIST powertop-2.8.tar.gz 67 BLAKE2B 4259f462d36fe0cbb157859d6e1d3e1face67f7232fe8d4112d77f844b545f49e9cf486e21bcbc34f64ffb0c891c1864141784dde14e3a96647d6535641a840a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80 DIST powertop-v2.9.tar.gz 718763 BLAKE2B bb6ce789614397b02f0e9f1cb71585cb456c1428cc43e9fe1c4b3bc9f96171fede4c587410e78e58ad8d0b0f772549a93f454bcd1b521e6dd3c809a85dc3cf30 SHA512 783af538c44e3fae7215a5b4247eb32a72e02150b3f297e6b9777a450823dd30aca014601892c0e80937a366eed95b42b622c68161d53e905ad4fbcb574b26f5 diff --git a/sys-power/powertop/powertop-2.10.ebuild b/sys-power/powertop/powertop-2.10.ebuild new file mode 100644 index 000..200e2c08f9f --- /dev/null +++ b/sys-power/powertop/powertop-2.10.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"; + +if [[ ${PV} == "" ]] ; then + GIT_ECLASS="git-r3" + SRC_URI="" +else + SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +inherit autotools ${GIT_ECLASS} linux-info + +DESCRIPTION="tool to diagnose issues with power consumption and power management" +HOMEPAGE="https://01.org/powertop/ https://github.com/fenrus75/powertop/"; + +LICENSE="GPL-2" +SLOT="0" +IUSE="nls unicode X" + +DEPEND=" + dev-libs/libnl:3 + sys-apps/pciutils + sys-libs/ncurses:=[unicode?] +" + +BDEPEND=" + virtual/pkgconfig + sys-devel/gettext +" +RDEPEND=" + ${DEPEND} + X? ( x11-apps/xset ) + virtual/libintl +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.8-ncurses_tinfo.patch +) + +pkg_setup() { + CONFIG_CHECK=" + ~X86_MSR + ~DEBUG_FS + ~PERF_EVENTS + ~TRACEPOINTS + ~NO_HZ_IDLE + ~HIGH_RES_TIMERS + ~HPET_TIMER + ~CPU_FREQ_STAT + ~CPU_FREQ_GOV_ONDEMAND + ~FTRACE + ~BLK_DEV_IO_TRACE + ~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_IDLE="NO_HZ_IDLE 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_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 other config options" + ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function" + linux-info_pkg_setup + if linux_config_exists; then + if kernel_is -lt 3 7 0; then + 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
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: a9e004a57c1635db4ac86a643800a18b7d27a227 Author: Matt Turner gentoo org> AuthorDate: Wed Mar 27 21:51:30 2019 + Commit: Matt Turner gentoo org> CommitDate: Wed Mar 27 21:55:30 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9e004a5 sys-power/powertop: Take over maintainership Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/metadata.xml | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/sys-power/powertop/metadata.xml b/sys-power/powertop/metadata.xml index 1c481a1d6de..3046769ffad 100644 --- a/sys-power/powertop/metadata.xml +++ b/sys-power/powertop/metadata.xml @@ -1,8 +1,11 @@ http://www.gentoo.org/dtd/metadata.dtd";> - -zeroch...@gentoo.org -Rick Farina - + + matts...@gentoo.org + Matt Turner + + + fenrus75/powertop +
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: b28ddfaf282019d7af0d35f17aa80daf576fe7a2 Author: Matt Turner gentoo org> AuthorDate: Wed Mar 27 21:48:11 2019 + Commit: Matt Turner gentoo org> CommitDate: Wed Mar 27 21:55:30 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28ddfaf sys-power/powertop: Port to EAPI 7 Also fix bug 599114 (https://mail.gnome.org/archives/commits-list/2016-November/msg01707.html helped figure it out) Closes: https://bugs.gentoo.org/599114 Signed-off-by: Matt Turner gentoo.org> sys-power/powertop/powertop-.ebuild | 41 ++--- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index 62872e31be8..bf3642c77e9 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -1,39 +1,39 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=7 + +EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"; -inherit eutils linux-info if [[ ${PV} == "" ]] ; then - EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"; - inherit git-r3 autotools + GIT_ECLASS="git-r3" SRC_URI="" else - MY_P="${PN}-v${PV}" - SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${MY_P}.tar.gz"; - KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" - S="${WORKDIR}/${MY_P}" + SRC_URI="https://github.com/fenrus75/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~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/"; +inherit autotools ${GIT_ECLASS} linux-info + +DESCRIPTION="tool to diagnose issues with power consumption and power management" +HOMEPAGE="https://01.org/powertop/ https://github.com/fenrus75/powertop/"; LICENSE="GPL-2" SLOT="0" IUSE="nls unicode X" -COMMON_DEPEND=" +DEPEND=" dev-libs/libnl:3 sys-apps/pciutils sys-libs/ncurses:=[unicode?] " -DEPEND="${COMMON_DEPEND} +BDEPEND=" virtual/pkgconfig sys-devel/gettext " RDEPEND=" - ${COMMON_DEPEND} + ${DEPEND} X? ( x11-apps/xset ) virtual/libintl " @@ -98,11 +98,14 @@ pkg_setup() { src_prepare() { default - if [[ ${PV} == "" ]] ; then - chmod +x scripts/version || die "Failed to make 'scripts/version' executable" - scripts/version || die "Failed to extract version information" - eautoreconf - fi + + # Bug 599114 + sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX_11])|' configure.ac || die + + chmod +x scripts/version || die "Failed to make 'scripts/version' executable" + scripts/version || die "Failed to extract version information" + + eautoreconf } src_configure() {
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/, sys-power/powertop/files/
commit: b58dab88294efd16e05c66a751d606235b103dbf Author: Zentaro Kavanagh chromium org> AuthorDate: Thu Jun 14 20:40:54 2018 + Commit: Mike Frysinger gentoo org> CommitDate: Mon Jun 18 14:54:21 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b58dab88 sys-power/powertop: Support ncurses with tinfo - Patches the configure.ac to fix bug getting libs from pkg-config - Previous code matched only when both ncursesw and ncurses existed - Used wrong variable when concatenating to LIBS - Concatenating to LIBS was redundant anyway since it is done in makefile.am - Upstream patch sent to powertop mailing list [1] Url: https://lists.01.org/pipermail/powertop/2018-June/002021.html [1] .../files/powertop-2.8-ncurses_tinfo.patch | 41 ++ sys-power/powertop/powertop-2.8.ebuild | 11 +++--- sys-power/powertop/powertop-2.9.ebuild | 8 +++-- 3 files changed, 52 insertions(+), 8 deletions(-) diff --git a/sys-power/powertop/files/powertop-2.8-ncurses_tinfo.patch b/sys-power/powertop/files/powertop-2.8-ncurses_tinfo.patch new file mode 100644 index 000..97769fb6728 --- /dev/null +++ b/sys-power/powertop/files/powertop-2.8-ncurses_tinfo.patch @@ -0,0 +1,41 @@ +From e1295099f8b42670718ba875cb6749a90042293f Mon Sep 17 00:00:00 2001 +From: Zentaro Kavanagh +Date: Thu, 14 Jun 2018 13:13:37 -0700 +Subject: [PATCH] Fix configure to support ncurses w/ tinfo + +- The existing code checked for both ncursesw and ncurses and if + both were not found, NCURSES_LIBS was not set correctly. +- Removed redundant concatenation to $LIBS since the makefile.am + already maps NCURSES_LIBS into LIBS. +- Patch sent upstream to powertop mailing list [1] + +[1] - https://lists.01.org/pipermail/powertop/2018-June/002021.html +--- + configure.ac | 11 +++ + 1 file changed, 7 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index d6a15e1..c6ee50a 100644 +--- a/configure.ac b/configure.ac +@@ -110,10 +110,13 @@ AC_CHECK_FUNCS([ \ + + AC_SEARCH_LIBS([clock_gettime], [rt]) + +-PKG_CHECK_MODULES([NCURSES], [ncursesw ncurses], [LIBS="$LIBS $ncurses_LIBS"], [ +- AC_SEARCH_LIBS([delwin], [ncursesw ncurses], [], [ +- AC_MSG_ERROR([ncurses is required but was not found]) +- ], []) ++PKG_CHECK_MODULES([ncursesw], [ncursesw], ++ [NCURSES_CFLAGS="$ncursesw_CFLAGS"; NCURSES_LIBS="$ncursesw_LIBS"], [ ++ PKG_CHECK_MODULES([NCURSES], [ncurses], [], [ ++ AC_SEARCH_LIBS([delwin], [ncursesw ncurses], [], [ ++ AC_MSG_ERROR([ncurses is required but was not found]) ++ ]) ++ ]) + ]) + + has_libpci=0 +-- +2.18.0.rc1.242.g61856ae69a-goog + diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild index e0975e47ca8..2ec905b8419 100644 --- a/sys-power/powertop/powertop-2.8.ebuild +++ b/sys-power/powertop/powertop-2.8.ebuild @@ -3,7 +3,7 @@ EAPI="5" -inherit eutils linux-info +inherit eutils linux-info autotools SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.tar.gz"; KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux" @@ -91,11 +91,10 @@ pkg_setup() { } src_prepare() { - if [[ ${PV} == "" ]] ; then - eautoreconf - else - default - fi + epatch "${FILESDIR}"/${P}-ncurses_tinfo.patch + + # Call eautoreconf since ncurses patch touches configure.ac. + eautoreconf } src_configure() { diff --git a/sys-power/powertop/powertop-2.9.ebuild b/sys-power/powertop/powertop-2.9.ebuild index cf837648689..d9536ebd1e0 100644 --- a/sys-power/powertop/powertop-2.9.ebuild +++ b/sys-power/powertop/powertop-2.9.ebuild @@ -3,7 +3,7 @@ EAPI="6" -inherit eutils linux-info +inherit eutils linux-info autotools if [[ ${PV} == "" ]] ; then EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"; inherit git-r3 autotools @@ -40,6 +40,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}"/${P}-libc++.patch + "${FILESDIR}"/${PN}-2.8-ncurses_tinfo.patch ) pkg_setup() { @@ -105,8 +106,11 @@ src_prepare() { if [[ ${PV} == "" ]] ; then chmod +x scripts/version || die "Failed to make 'scripts/version' executable" scripts/version || die "Failed to extract version information" - eautoreconf fi + + # Call eautoreconf since ncurses patch touches configure.ac. + $(which aclocal) --install -Im4 2>/dev/null #599114 + eautoreconf } src_configure() {
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 7f5198e060a8e56f22f96692605ea86e231b4721 Author: Alex Bennée linaro org> AuthorDate: Fri May 18 09:25:24 2018 + Commit: Mart Raudsepp gentoo org> CommitDate: Mon Jun 4 18:57:09 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f5198e0 sys-power/powertop: add ~arm64 keyword sys-power/powertop/powertop-2.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.9.ebuild b/sys-power/powertop/powertop-2.9.ebuild index a6209f4b950..cf837648689 100644 --- a/sys-power/powertop/powertop-2.9.ebuild +++ b/sys-power/powertop/powertop-2.9.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then else MY_P="${PN}-v${PV}" SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${MY_P}.tar.gz"; - KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 arm ~arm64 ppc sparc x86 ~amd64-linux ~x86-linux" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: adabfe2142b9ff12af9daaca3a2251c4801a1c5b Author: Mikle Kolyada gentoo org> AuthorDate: Sat May 26 07:53:37 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat May 26 07:53:37 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adabfe21 sys-power/powertop: ppc stable wrt bug #651612 Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-power/powertop/powertop-2.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.9.ebuild b/sys-power/powertop/powertop-2.9.ebuild index 4435eff8355..a6209f4b950 100644 --- a/sys-power/powertop/powertop-2.9.ebuild +++ b/sys-power/powertop/powertop-2.9.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then else MY_P="${PN}-v${PV}" SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${MY_P}.tar.gz"; - KEYWORDS="amd64 arm ~ppc sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 9e2e600941349005d34b90cdc32d1b4007c06e15 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Apr 21 11:55:47 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Apr 21 11:55:47 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e2e6009 sys-power/powertop: arm stable wrt bug #651612 Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-power/powertop/powertop-2.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.9.ebuild b/sys-power/powertop/powertop-2.9.ebuild index 74ac81bb587..4435eff8355 100644 --- a/sys-power/powertop/powertop-2.9.ebuild +++ b/sys-power/powertop/powertop-2.9.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then else MY_P="${PN}-v${PV}" SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${MY_P}.tar.gz"; - KEYWORDS="amd64 ~arm ~ppc sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 arm ~ppc sparc x86 ~amd64-linux ~x86-linux" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: e89db8026e8f0e7050a6f6512372c640fca97e45 Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Apr 16 16:44:40 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Apr 16 18:35:28 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e89db802 sys-power/powertop: stable 2.9 for sparc Bug: https://bugs.gentoo.org/651612 Package-Manager: Portage-2.3.24, Repoman-2.3.6 RepoMan-Options: --include-arches="sparc" sys-power/powertop/powertop-2.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.9.ebuild b/sys-power/powertop/powertop-2.9.ebuild index f78a9b404c0..74ac81bb587 100644 --- a/sys-power/powertop/powertop-2.9.ebuild +++ b/sys-power/powertop/powertop-2.9.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then else MY_P="${PN}-v${PV}" SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${MY_P}.tar.gz"; - KEYWORDS="amd64 ~arm ~ppc ~sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 ~arm ~ppc sparc x86 ~amd64-linux ~x86-linux" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 18fadfe0350241a75aca9082458783cc87eb6504 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Apr 15 18:55:42 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Apr 15 18:57:54 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18fadfe0 sys-power/powertop: x86 stable (bug #651612) Package-Manager: Portage-2.3.28, Repoman-2.3.9 sys-power/powertop/powertop-2.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.9.ebuild b/sys-power/powertop/powertop-2.9.ebuild index 1ca9db17e9c..f78a9b404c0 100644 --- a/sys-power/powertop/powertop-2.9.ebuild +++ b/sys-power/powertop/powertop-2.9.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then else MY_P="${PN}-v${PV}" SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${MY_P}.tar.gz"; - KEYWORDS="amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 ~arm ~ppc ~sparc x86 ~amd64-linux ~x86-linux" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: b5b27aa64c909cbd5ffb2d2e5bed35fc7750d1b6 Author: Aaron Bauman gentoo org> AuthorDate: Sat Apr 14 17:44:48 2018 + Commit: Aaron Bauman gentoo org> CommitDate: Sat Apr 14 17:46:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5b27aa6 sys-power/powertop: amd64 stable Bug: https://bugs.gentoo.org/651612 Package-Manager: Portage-2.3.28, Repoman-2.3.9 sys-power/powertop/powertop-2.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.9.ebuild b/sys-power/powertop/powertop-2.9.ebuild index a46c1a302cb..1ca9db17e9c 100644 --- a/sys-power/powertop/powertop-2.9.ebuild +++ b/sys-power/powertop/powertop-2.9.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then else MY_P="${PN}-v${PV}" SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${MY_P}.tar.gz"; - KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" S="${WORKDIR}/${MY_P}" fi
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/, sys-power/powertop/files/
commit: 56d45d2e211908e6a4055c67d798c2a90395e77d Author: Mike Frysinger chromium org> AuthorDate: Wed Jan 24 23:34:54 2018 + Commit: Mike Frysinger gentoo org> CommitDate: Wed Jan 24 23:34:54 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56d45d2e sys-power/powertop: version bump to 2.9 #637342 sys-power/powertop/Manifest| 1 + sys-power/powertop/files/powertop-2.9-libc++.patch | 44 ++ .../{powertop-.ebuild => powertop-2.9.ebuild} | 10 - sys-power/powertop/powertop-.ebuild| 6 ++- 4 files changed, 57 insertions(+), 4 deletions(-) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index 25ec6b5378f..c0cd2b6155f 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1 +1,2 @@ DIST powertop-2.8.tar.gz 67 BLAKE2B 4259f462d36fe0cbb157859d6e1d3e1face67f7232fe8d4112d77f844b545f49e9cf486e21bcbc34f64ffb0c891c1864141784dde14e3a96647d6535641a840a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80 +DIST powertop-v2.9.tar.gz 718763 BLAKE2B bb6ce789614397b02f0e9f1cb71585cb456c1428cc43e9fe1c4b3bc9f96171fede4c587410e78e58ad8d0b0f772549a93f454bcd1b521e6dd3c809a85dc3cf30 SHA512 783af538c44e3fae7215a5b4247eb32a72e02150b3f297e6b9777a450823dd30aca014601892c0e80937a366eed95b42b622c68161d53e905ad4fbcb574b26f5 diff --git a/sys-power/powertop/files/powertop-2.9-libc++.patch b/sys-power/powertop/files/powertop-2.9-libc++.patch new file mode 100644 index 000..d378280f3c6 --- /dev/null +++ b/sys-power/powertop/files/powertop-2.9-libc++.patch @@ -0,0 +1,44 @@ +https://github.com/fenrus75/powertop/commit/b9c431aad6cc5383c9571007469eee8e64ec85a6 + +From b9c431aad6cc5383c9571007469eee8e64ec85a6 Mon Sep 17 00:00:00 2001 +From: Manoj Gupta +Date: Sat, 4 Nov 2017 13:44:04 -0700 +Subject: [PATCH] Fix powertop build with libc++. + + header is not automatically included with libc++. +Add it explicitly to make powertop build with libc++. + +This fixes the following errors: +devices/gpu_rapl_device.cpp:35:14: error: use of undeclared identifier +'time'; did you mean 'tie'? +last_time = time(NULL); +^~~~ +devices/gpu_rapl_device.cpp:45:14: error:use of undeclared identifier +'time'; did you mean 'tie'? +last_time = time(NULL); +^~~~ + +parameters/learn.cpp:161:10: error: use of undeclared identifier +'time'; did you mean 'tie'? +start =time(NULL); +^~~~ +--- + src/lib.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lib.h b/src/lib.h +index b64bb0f5433f..6d85eb6e4b40 100644 +--- a/src/lib.h b/src/lib.h +@@ -54,7 +54,7 @@ extern const char *kernel_function(uint64_t address); + + + +- ++#include + #include + using namespace std; + +-- +2.15.1 + diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-2.9.ebuild similarity index 94% copy from sys-power/powertop/powertop-.ebuild copy to sys-power/powertop/powertop-2.9.ebuild index 923a9055543..a46c1a302cb 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-2.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -9,8 +9,10 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools SRC_URI="" else - SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.tar.gz"; + MY_P="${PN}-v${PV}" + SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${MY_P}.tar.gz"; KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + S="${WORKDIR}/${MY_P}" fi DESCRIPTION="tool that helps you find what software is using the most power" @@ -36,6 +38,10 @@ RDEPEND=" virtual/libintl " +PATCHES=( + "${FILESDIR}"/${P}-libc++.patch +) + pkg_setup() { CONFIG_CHECK=" ~X86_MSR diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index 923a9055543..62872e31be8 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -9,8 +9,10 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools SRC_URI="" else - SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.tar.gz"; + MY_P="${PN}-v${PV}" + SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${MY_P}.tar.gz"; KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + S="${WORKDIR}/${MY_P}" fi DESCRIPTION="tool that helps you find what software is using the most power"
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 5356a6ae47841e901c95add5adee87dd49f2ba74 Author: Mike Frysinger gentoo org> AuthorDate: Wed Jan 24 23:24:37 2018 + Commit: Mike Frysinger gentoo org> CommitDate: Wed Jan 24 23:25:26 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5356a6ae sys-power/powertop: only check TIMER_STATS on https://bugs.gentoo.org/629908 sys-power/powertop/powertop-2.8.ebuild | 9 ++--- sys-power/powertop/powertop-.ebuild | 9 ++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild index ab67bbf8ed9..e0975e47ca8 100644 --- a/sys-power/powertop/powertop-2.8.ebuild +++ b/sys-power/powertop/powertop-2.8.ebuild @@ -45,7 +45,6 @@ pkg_setup() { ~CPU_FREQ_GOV_ONDEMAND ~FTRACE ~BLK_DEV_IO_TRACE - ~TIMER_STATS ~TRACING " ERROR_KERNEL_X86_MSR="X86_MSR is not enabled in the kernel, you almost certainly need it" @@ -58,8 +57,7 @@ pkg_setup() { 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_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_BLK_DEV_IO_TRACE="BLK_DEV_IO_TRACE needs to be turned on to enable other config options" ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function" linux-info_pkg_setup if linux_config_exists; then @@ -84,6 +82,11 @@ pkg_setup() { ERROR_KERNEL_PM="PM should be enabled in the kernel for full powertop function" check_extra_config fi + if kernel_is -lt 4 11; then + CONFIG_CHECK="~TIMER_STATS" + ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function" + check_extra_config + fi fi } diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index 8d4d40d26b9..923a9055543 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -49,7 +49,6 @@ pkg_setup() { ~CPU_FREQ_GOV_ONDEMAND ~FTRACE ~BLK_DEV_IO_TRACE - ~TIMER_STATS ~TRACING " ERROR_KERNEL_X86_MSR="X86_MSR is not enabled in the kernel, you almost certainly need it" @@ -62,8 +61,7 @@ pkg_setup() { 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_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_BLK_DEV_IO_TRACE="BLK_DEV_IO_TRACE needs to be turned on to enable other config options" ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function" linux-info_pkg_setup if linux_config_exists; then @@ -88,6 +86,11 @@ pkg_setup() { ERROR_KERNEL_PM="PM should be enabled in the kernel for full powertop function" check_extra_config fi + if kernel_is -lt 4 11; then + CONFIG_CHECK="~TIMER_STATS" + ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function" + check_extra_config + fi fi }
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/files/
commit: d8bd45c4b449e49f6582153f721a208308b0ee1d Author: Michael Weber gentoo org> AuthorDate: Mon Dec 11 10:36:16 2017 + Commit: Michael Weber gentoo org> CommitDate: Mon Dec 11 10:36:27 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8bd45c4 sys-power/powertop: Remove unreferenced patch from FILESDIR. Closes: https://github.com/gentoo/gentoo/pull/6475 Package-Manager: Portage-2.3.17, Repoman-2.3.6 sys-power/powertop/files/powertop-2.4-tinfo.patch | 11 --- 1 file changed, 11 deletions(-) diff --git a/sys-power/powertop/files/powertop-2.4-tinfo.patch b/sys-power/powertop/files/powertop-2.4-tinfo.patch deleted file mode 100644 index b965d8e06a5..000 --- a/sys-power/powertop/files/powertop-2.4-tinfo.patch +++ /dev/null @@ -1,11 +0,0 @@ a/configure.ac -+++ b/configure.ac -@@ -46,7 +46,7 @@ - AC_FUNC_STRTOD - AC_CHECK_FUNCS([fdatasync getpagesize gettimeofday memmove memset mkdir munmap pow realpath regcomp select setlocale socket sqrt strcasecmp strchr strdup strerror strncasecmp strstr strtoul strtoull]) - --AC_SEARCH_LIBS([delwin], [ncursesw ncurses], [], AC_MSG_ERROR([ncurses is required but was not found]), []) -+PKG_CHECK_MODULES(ncurses, ncurses, [LIBS="$LIBS $ncurses_LIBS"], AC_MSG_ERROR([ncurses is required but was not found])) - - has_libpci=0 - PKG_CHECK_MODULES([PCIUTILS], [libpci],[has_libpci=1],[
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: bf72c9fcc4e4c988901106dab6bc6e6e048a348c Author: Zero_Chaos gentoo org> AuthorDate: Mon Dec 4 15:14:05 2017 + Commit: Richard Farina gentoo org> CommitDate: Mon Dec 4 15:15:58 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf72c9fc sys-power/powertop: drop old 2.6 Package-Manager: Portage-2.3.16, Repoman-2.3.6 sys-power/powertop/Manifest| 1 - sys-power/powertop/powertop-2.6.ebuild | 106 - 2 files changed, 107 deletions(-) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index 65494a6cea1..25ec6b5378f 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,2 +1 @@ -DIST powertop-2.6.tar.gz 3024009 SHA256 3024c2b13c8f32cdac0b0ea9359eb5668dc9bd11776cf063481daa878533d1ee SHA512 7c44b9c49f74d0f415d0332b60629940e05cf1c9170a9a7b98427da630c25c0cc9c8ece49e059ec8c665847ff03fa8a341e0cf8f7ca792d889f2c52a39ddbb62 WHIRLPOOL eaa6e05d2fdb3050eb3a37f39fb5d760a8d3d91461b8c6f0ae825138080a0dd8a532e490a71246d62d2e340e3820b402d761a1331a6e7b6bc23db116c98cf0d9 DIST powertop-2.8.tar.gz 67 BLAKE2B 4259f462d36fe0cbb157859d6e1d3e1face67f7232fe8d4112d77f844b545f49e9cf486e21bcbc34f64ffb0c891c1864141784dde14e3a96647d6535641a840a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80 diff --git a/sys-power/powertop/powertop-2.6.ebuild b/sys-power/powertop/powertop-2.6.ebuild deleted file mode 100644 index 05849a56292..000 --- a/sys-power/powertop/powertop-2.6.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils linux-info autotools -if [[ ${PV} == "" ]] ; then - EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"; - inherit git-2 autotools - SRC_URI="" -else - SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${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/"; - -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 ) - -S="${WORKDIR}/${PN}" - -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 - ~FTRACE - ~BLK_DEV_IO_TRACE - ~TIMER_STATS - ~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_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_TRACING="TRACING should be enabled in the kernel for full powertop function" - linux-info_pkg_setup - if linux_config_exists; then - if kernel_is -lt 3 7 0; then - 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 - if kernel_is -lt 3 9 0; then -
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 3ce99f9ba8ace8b032fa5246f30bba09bfeab483 Author: Zero_Chaos gentoo org> AuthorDate: Mon Dec 4 15:15:29 2017 + Commit: Richard Farina gentoo org> CommitDate: Mon Dec 4 15:16:00 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ce99f9b sys-power/powertop: remove warning from dead code Package-Manager: Portage-2.3.16, Repoman-2.3.6 sys-power/powertop/powertop-2.8.ebuild | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild index d3d8039ade6..ab67bbf8ed9 100644 --- a/sys-power/powertop/powertop-2.8.ebuild +++ b/sys-power/powertop/powertop-2.8.ebuild @@ -4,14 +4,8 @@ EAPI="5" inherit eutils linux-info -if [[ ${PV} == "" ]] ; then - EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"; - inherit git-2 autotools - SRC_URI="" -else - SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.tar.gz"; - KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux" -fi +SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.tar.gz"; +KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux" DESCRIPTION="tool that helps you find what software is using the most power" HOMEPAGE="https://01.org/powertop/";
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: d33bfed43ddf700a7668f4abcd77e2649a92b6d2 Author: Zero_Chaos gentoo org> AuthorDate: Mon Dec 4 15:13:07 2017 + Commit: Richard Farina gentoo org> CommitDate: Mon Dec 4 15:15:56 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d33bfed4 sys-power/powertop: drop old and unused 1.x Package-Manager: Portage-2.3.16, Repoman-2.3.6 sys-power/powertop/Manifest | 3 +-- sys-power/powertop/powertop-1.13.ebuild | 43 - 2 files changed, 1 insertion(+), 45 deletions(-) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index 80fbb4f41e2..65494a6cea1 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,3 +1,2 @@ -DIST powertop-1.13.tar.gz 104675 SHA256 2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcdc58d98 SHA512 0c22a903da64798d987492336d57260372e03eab067ad94cf30b7640e9ee05e759a2fe9fa48fbdc35404cd2782b6b29d705e11e68452653b08f7f9df1a52be44 WHIRLPOOL 5ba44b84f49609f67c32563f75e20f6576c21a93fcb1ca99ebfe064475397602aa0f0fb9575e05b5a0290983791e7cf6ebae0139b39158b962e4b51027a6f5aa DIST powertop-2.6.tar.gz 3024009 SHA256 3024c2b13c8f32cdac0b0ea9359eb5668dc9bd11776cf063481daa878533d1ee SHA512 7c44b9c49f74d0f415d0332b60629940e05cf1c9170a9a7b98427da630c25c0cc9c8ece49e059ec8c665847ff03fa8a341e0cf8f7ca792d889f2c52a39ddbb62 WHIRLPOOL eaa6e05d2fdb3050eb3a37f39fb5d760a8d3d91461b8c6f0ae825138080a0dd8a532e490a71246d62d2e340e3820b402d761a1331a6e7b6bc23db116c98cf0d9 -DIST powertop-2.8.tar.gz 67 SHA256 a87b563f73106babfa3e74dcf92f252938c061e309ace20a361358bbfa579c5a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80 WHIRLPOOL 87b859b76395d6b1b380c7459b0d918713e94e8fc4ac40fde8b82f2112dec2df3caffb645b082cedd0bba5c232555de26e81fbe8dd3041875c32c864650ef132 +DIST powertop-2.8.tar.gz 67 BLAKE2B 4259f462d36fe0cbb157859d6e1d3e1face67f7232fe8d4112d77f844b545f49e9cf486e21bcbc34f64ffb0c891c1864141784dde14e3a96647d6535641a840a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80 diff --git a/sys-power/powertop/powertop-1.13.ebuild b/sys-power/powertop/powertop-1.13.ebuild deleted file mode 100644 index 2ed77ddd6c5..000 --- a/sys-power/powertop/powertop-1.13.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=3 - -inherit toolchain-funcs eutils - -DESCRIPTION="tool that helps you find what software is using the most power" -HOMEPAGE="http://www.lesswatts.org/projects/powertop/"; -SRC_URI="http://www.lesswatts.org/projects/powertop/download/${P}.tar.gz"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux" -IUSE="unicode" - -DEPEND="sys-libs/ncurses[unicode?] - sys-devel/gettext" -RDEPEND="sys-libs/ncurses[unicode?] - virtual/libintl - sys-apps/pciutils" - -src_prepare() { - sed -i '/${CFLAGS}/s:$: ${LDFLAGS}:' Makefile - use unicode || sed -i 's:-lncursesw:-lncurses:' Makefile -} - -src_configure() { - tc-export CC -} - -src_install() { - emake install DESTDIR="${ED}" || die - dodoc Changelog README - gunzip "${ED}"/usr/share/man/man1/powertop.1.gz -} - -pkg_postinst() { - echo - einfo "For PowerTOP to work best, use a Linux kernel with the" - einfo "tickless idle (NO_HZ) feature enabled (version 2.6.21 or later)" - echo -}
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 0f5699ab6cfef65ec62603c75eeb58f61ea39ba8 Author: David Hicks hicks id au> AuthorDate: Sat Jul 29 11:04:24 2017 + Commit: Michał Górny gentoo org> CommitDate: Sun Jul 30 09:15:51 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f5699ab sys-power/powertop: use HTTPS for GitHub Package-Manager: Portage-2.3.6, Repoman-2.3.3 sys-power/powertop/powertop-2.6.ebuild | 4 ++-- sys-power/powertop/powertop-2.8.ebuild | 2 +- sys-power/powertop/powertop-.ebuild | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys-power/powertop/powertop-2.6.ebuild b/sys-power/powertop/powertop-2.6.ebuild index 23edcfe3716..05849a56292 100644 --- a/sys-power/powertop/powertop-2.6.ebuild +++ b/sys-power/powertop/powertop-2.6.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" inherit eutils linux-info autotools if [[ ${PV} == "" ]] ; then - EGIT_REPO_URI="git://github.com/fenrus75/powertop.git" + EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"; inherit git-2 autotools SRC_URI="" else diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild index d206d473bc1..d3d8039ade6 100644 --- a/sys-power/powertop/powertop-2.8.ebuild +++ b/sys-power/powertop/powertop-2.8.ebuild @@ -5,7 +5,7 @@ EAPI="5" inherit eutils linux-info if [[ ${PV} == "" ]] ; then - EGIT_REPO_URI="git://github.com/fenrus75/powertop.git" + EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"; inherit git-2 autotools SRC_URI="" else diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index 69c60eb066c..8d4d40d26b9 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -5,7 +5,7 @@ EAPI="6" inherit eutils linux-info if [[ ${PV} == "" ]] ; then - EGIT_REPO_URI="git://github.com/fenrus75/powertop.git" + EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"; inherit git-r3 autotools SRC_URI="" else
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 67c474ad822b8c40640e65aceb1fe6dfbe6caa1f Author: Elias Probst eliasprobst eu> AuthorDate: Sun May 14 11:03:35 2017 + Commit: Michał Górny gentoo org> CommitDate: Sun Jun 4 15:27:00 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67c474ad sys-power/powertop: NO_HZ_IDLE replaces deprecated NO_HZ Kernel option Per docs, NO_HZ_IDLE has replaced old behavior of NO_HZ in 3.10. Bug: https://bugs.gentoo.org/575418 Closes: https://github.com/gentoo/gentoo/pull/4626 Package-Manager: Portage-2.3.5, Repoman-2.3.2 sys-power/powertop/powertop-2.8.ebuild | 4 ++-- sys-power/powertop/powertop-.ebuild | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild index 78d95298754..d206d473bc1 100644 --- a/sys-power/powertop/powertop-2.8.ebuild +++ b/sys-power/powertop/powertop-2.8.ebuild @@ -44,7 +44,7 @@ pkg_setup() { ~DEBUG_FS ~PERF_EVENTS ~TRACEPOINTS - ~NO_HZ + ~NO_HZ_IDLE ~HIGH_RES_TIMERS ~HPET_TIMER ~CPU_FREQ_STAT @@ -58,7 +58,7 @@ pkg_setup() { 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_NO_HZ_IDLE="NO_HZ_IDLE 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" diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index 5535e7a1d2e..69c60eb066c 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -42,7 +42,7 @@ pkg_setup() { ~DEBUG_FS ~PERF_EVENTS ~TRACEPOINTS - ~NO_HZ + ~NO_HZ_IDLE ~HIGH_RES_TIMERS ~HPET_TIMER ~CPU_FREQ_STAT @@ -56,7 +56,7 @@ pkg_setup() { 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_NO_HZ_IDLE="NO_HZ_IDLE 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"
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 31a833c982f1b80d29e52e7ef0bbc2b6ba7b207b Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Apr 17 07:58:56 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Apr 17 08:02:11 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31a833c9 sys-power/powertop: x86 stable wrt bug #614320 Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> sys-power/powertop/powertop-2.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild index 8a16c7e1813..6b7cd4d5cc4 100644 --- a/sys-power/powertop/powertop-2.8.ebuild +++ b/sys-power/powertop/powertop-2.8.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.tar.gz"; - KEYWORDS="amd64 arm ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 arm ppc ~sparc x86 ~amd64-linux ~x86-linux" fi DESCRIPTION="tool that helps you find what software is using the most power"
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 9d563689044e21364b81eeefd87ef6875fea9724 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Apr 5 12:54:18 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Apr 5 12:54:18 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d563689 sys-power/powertop: amd64 stable wrt bug #614320 Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-power/powertop/powertop-2.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild index 0fd176bd6f9..8a16c7e1813 100644 --- a/sys-power/powertop/powertop-2.8.ebuild +++ b/sys-power/powertop/powertop-2.8.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.tar.gz"; - KEYWORDS="~amd64 arm ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 arm ppc ~sparc ~x86 ~amd64-linux ~x86-linux" fi DESCRIPTION="tool that helps you find what software is using the most power"
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 0e2903f2ad84a708e7f20bb17baffc17dd222d9f Author: Michael Weber gentoo org> AuthorDate: Mon Apr 3 21:26:02 2017 + Commit: Michael Weber gentoo org> CommitDate: Mon Apr 3 21:26:32 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e2903f2 sys-power/powertop: arm ppc stable (bug 614320). Package-Manager: Portage-2.3.5, Repoman-2.3.2 RepoMan-Options: --include-arches="arm arm64 ppc ppc64" sys-power/powertop/powertop-2.8.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild index 117886a9ced..0fd176bd6f9 100644 --- a/sys-power/powertop/powertop-2.8.ebuild +++ b/sys-power/powertop/powertop-2.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then SRC_URI="" else SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.tar.gz"; - KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~amd64 arm ppc ~sparc ~x86 ~amd64-linux ~x86-linux" fi DESCRIPTION="tool that helps you find what software is using the most power"
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/files/
commit: efe9c99426cd527b5e9262717be118d2abfaf0dd Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Sun Feb 12 15:56:31 2017 + Commit: David Seifert gentoo org> CommitDate: Tue Feb 14 21:38:46 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe9c994 sys-power/powertop: remove unused patches/file Closes: https://github.com/gentoo/gentoo/pull/3936 sys-power/powertop/files/csstoh| 18 --- .../powertop/files/powertop-1.98-build-cc.patch| 28 .../files/powertop-1.98-build-libnl-3.patch| 27 sys-power/powertop/files/powertop-1.98-build.patch | 80 --- .../powertop/files/powertop-1.98-gcc-4.7.patch | 151 - .../powertop-2.2-cpu-add-new-Intel-cpuid.patch | 41 -- .../files/powertop-2.2-use-package_version.patch | 26 .../powertop/files/powertop-2.7-baytrail-msr.patch | 33 - .../powertop/files/powertop-2.7-braswell.patch | 81 --- .../powertop/files/powertop-2.7-broadwell.patch| 28 .../powertop/files/powertop-2.7-skylake-2.patch| 37 - .../powertop/files/powertop-2.7-skylake.patch | 58 12 files changed, 608 deletions(-) diff --git a/sys-power/powertop/files/csstoh b/sys-power/powertop/files/csstoh deleted file mode 100644 index 51d1ec1372..00 --- a/sys-power/powertop/files/csstoh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -in=$1 -out=$2 - -( -cat < "${out}" diff --git a/sys-power/powertop/files/powertop-1.98-build-cc.patch b/sys-power/powertop/files/powertop-1.98-build-cc.patch deleted file mode 100644 index 70beb81db3..00 --- a/sys-power/powertop/files/powertop-1.98-build-cc.patch +++ /dev/null @@ -1,28 +0,0 @@ -From e2a8efc2d349880833215ccbe9ac6cb80cdfe5d0 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Tue, 23 Aug 2011 18:03:38 -0400 -Subject: [PATCH] allow control over the build compiler - -Signed-off-by: Mike Frysinger - Makefile |3 ++- - 1 files changed, 2 insertions(+), 1 deletions(-) - -diff --git a/Makefile b/Makefile -index f637bfe..75e6e63 100644 a/Makefile -+++ b/Makefile -@@ -80,8 +80,9 @@ install: powertop - @(cd po/ && env LOCALESDIR=$(LOCALESDIR) DESTDIR=$(DESTDIR) $(MAKE) $@) - - -+BUILD_CC ?= gcc - csstoh: csstoh.c -- gcc -o csstoh csstoh.c -+ $(BUILD_CC) -o csstoh csstoh.c - - css.h: csstoh powertop.css - ./csstoh powertop.css css.h --- -1.7.6 - diff --git a/sys-power/powertop/files/powertop-1.98-build-libnl-3.patch b/sys-power/powertop/files/powertop-1.98-build-libnl-3.patch deleted file mode 100644 index bbe2b1c857..00 --- a/sys-power/powertop/files/powertop-1.98-build-libnl-3.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 21dcbd03507632c987e8c68b3efcf7b4a5d51147 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Wed, 18 Apr 2012 21:11:22 -0400 -Subject: [PATCH] use right libnl pkg-config name - -Signed-off-by: Mike Frysinger - Makefile |3 +-- - 1 files changed, 1 insertions(+), 2 deletions(-) - -diff --git a/Makefile b/Makefile -index 94ed2be..8a90b85 100644 a/Makefile -+++ b/Makefile -@@ -39,8 +39,7 @@ endif - - ifeq ($(NL3FOUND),Y) - CPPFLAGS += -DCONFIG_LIBNL20 --LIBS += -lnl-genl --NLLIBNAME = libnl-3.0 -+NLLIBNAME = libnl-genl-3.0 - endif - - ifeq ($(NLLIBNAME),) --- -1.7.8.5 - diff --git a/sys-power/powertop/files/powertop-1.98-build.patch b/sys-power/powertop/files/powertop-1.98-build.patch deleted file mode 100644 index 8f130fdace..00 --- a/sys-power/powertop/files/powertop-1.98-build.patch +++ /dev/null @@ -1,80 +0,0 @@ -From cafa47147fdc503103cda1e67e736ab95051e44a Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Tue, 23 Aug 2011 18:01:36 -0400 -Subject: [PATCH] use right flag names - -CFLAGS for the C compiler, CXXFLAGS for the C++ compiler, and -CPPFLAGS for preprocessor flags. - -Signed-off-by: Mike Frysinger - Makefile | 20 - 1 files changed, 12 insertions(+), 8 deletions(-) - -diff --git a/Makefile b/Makefile -index b0b6cb7..bf9b79a 100644 a/Makefile -+++ b/Makefile -@@ -2,9 +2,13 @@ all: powertop po/powertop.pot - - VERSION := 1.98 - --CFLAGS += -Wall -O2 -g -fno-omit-frame-pointer -fstack-protector -Wshadow -Wformat -D_FORTIFY_SOURCE=2 --CPPFLAGS += -Wall -O2 -g -fno-omit-frame-pointer --CXXFLAGS += -Wall -O2 -g -fno-omit-frame-pointer -fstack-protector -Wshadow -Wformat -D_FORTIFY_SOURCE=2 -+WFLAGS = -Wall -Wshadow -Wformat -+COMMON_FLAGS = -O2 -g -fno-omit-frame-pointer -fstack-protector -+CFLAGS ?= $(COMMON_FLAGS) -+CFLAGS += $(WFLAGS) -+CXXFLAGS ?= $(COMMON_FLAGS) -+CXXFLAGS += $(WFLAGS) -+CPPFLAGS += -D_FORTIFY_SOURCE=2 - PKG_CONFIG ?= pkg-config - - OBJS := lib.o main.o display.o html.o devlist.o -@@ -31,13 +35,13 @@ NLLIBNAME = libnl-1 - endif - - ifeq ($(NL2FOUND),Y) --CFLAGS += -DCONFIG_LIBNL20 -+CPPFLAGS += -DCONFIG_LIBNL20 - LIBS += -lnl-genl - NLLIBNAME = libnl-2.0 - endif - - ifeq ($(NL3FOUND),
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 0d66aec25c7d49561549007eec73e17bbe1d997b Author: Elias Probst eliasprobst eu> AuthorDate: Wed Aug 24 10:17:52 2016 + Commit: Göktürk Yüksek gentoo org> CommitDate: Sun Nov 20 16:53:49 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d66aec2 sys-power/powertop: generate version information for SCM build Also: - update header date - migrate to EAPI=6 and git-r3 eclass Package-Manager: portage-2.2.28 sys-power/powertop/powertop-.ebuild | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index a53eb03..0b5a0ba 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" +EAPI="6" inherit eutils linux-info if [[ ${PV} == "" ]] ; then EGIT_REPO_URI="git://github.com/fenrus75/powertop.git" - inherit git-2 autotools + inherit git-r3 autotools SRC_URI="" else SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.tar.gz"; @@ -37,8 +37,6 @@ RDEPEND=" virtual/libintl " -DOCS=( TODO README ) - pkg_setup() { CONFIG_CHECK=" ~X86_MSR @@ -95,10 +93,11 @@ pkg_setup() { } src_prepare() { + default if [[ ${PV} == "" ]] ; then + chmod +x scripts/version || die "Failed to make 'scripts/version' executable" + scripts/version || die "Failed to extract version information" eautoreconf - else - default fi }
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 643b6d5fc25c5e9ff767ceb6770677f3189fccd6 Author: Zero_Chaos gentoo org> AuthorDate: Wed Dec 2 17:50:55 2015 + Commit: Richard Farina gentoo org> CommitDate: Wed Dec 2 17:51:12 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=643b6d5f sys-power/powertop: readd removed version due to fatrace-0.4 needing it Package-Manager: portage-2.2.26 RepoMan-Options: --force sys-power/powertop/Manifest | 1 + sys-power/powertop/powertop-1.13.ebuild | 44 + 2 files changed, 45 insertions(+) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index 97831b9..80fbb4f 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,2 +1,3 @@ +DIST powertop-1.13.tar.gz 104675 SHA256 2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcdc58d98 SHA512 0c22a903da64798d987492336d57260372e03eab067ad94cf30b7640e9ee05e759a2fe9fa48fbdc35404cd2782b6b29d705e11e68452653b08f7f9df1a52be44 WHIRLPOOL 5ba44b84f49609f67c32563f75e20f6576c21a93fcb1ca99ebfe064475397602aa0f0fb9575e05b5a0290983791e7cf6ebae0139b39158b962e4b51027a6f5aa DIST powertop-2.6.tar.gz 3024009 SHA256 3024c2b13c8f32cdac0b0ea9359eb5668dc9bd11776cf063481daa878533d1ee SHA512 7c44b9c49f74d0f415d0332b60629940e05cf1c9170a9a7b98427da630c25c0cc9c8ece49e059ec8c665847ff03fa8a341e0cf8f7ca792d889f2c52a39ddbb62 WHIRLPOOL eaa6e05d2fdb3050eb3a37f39fb5d760a8d3d91461b8c6f0ae825138080a0dd8a532e490a71246d62d2e340e3820b402d761a1331a6e7b6bc23db116c98cf0d9 DIST powertop-2.8.tar.gz 67 SHA256 a87b563f73106babfa3e74dcf92f252938c061e309ace20a361358bbfa579c5a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80 WHIRLPOOL 87b859b76395d6b1b380c7459b0d918713e94e8fc4ac40fde8b82f2112dec2df3caffb645b082cedd0bba5c232555de26e81fbe8dd3041875c32c864650ef132 diff --git a/sys-power/powertop/powertop-1.13.ebuild b/sys-power/powertop/powertop-1.13.ebuild new file mode 100644 index 000..c9fcee0 --- /dev/null +++ b/sys-power/powertop/powertop-1.13.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit toolchain-funcs eutils + +DESCRIPTION="tool that helps you find what software is using the most power" +HOMEPAGE="http://www.lesswatts.org/projects/powertop/"; +SRC_URI="http://www.lesswatts.org/projects/powertop/download/${P}.tar.gz"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux" +IUSE="unicode" + +DEPEND="sys-libs/ncurses[unicode?] + sys-devel/gettext" +RDEPEND="sys-libs/ncurses[unicode?] + virtual/libintl + sys-apps/pciutils" + +src_prepare() { + sed -i '/${CFLAGS}/s:$: ${LDFLAGS}:' Makefile + use unicode || sed -i 's:-lncursesw:-lncurses:' Makefile +} + +src_configure() { + tc-export CC +} + +src_install() { + emake install DESTDIR="${ED}" || die + dodoc Changelog README + gunzip "${ED}"/usr/share/man/man1/powertop.1.gz +} + +pkg_postinst() { + echo + einfo "For PowerTOP to work best, use a Linux kernel with the" + einfo "tickless idle (NO_HZ) feature enabled (version 2.6.21 or later)" + echo +}
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: d1aa31281f7c20ba0974beea2e4301dc2b6648df Author: Zero_Chaos gentoo org> AuthorDate: Wed Dec 2 16:44:19 2015 + Commit: Richard Farina gentoo org> CommitDate: Wed Dec 2 16:50:15 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1aa3128 sys-power/powertop: cleanup old ebuilds Package-Manager: portage-2.2.26 sys-power/powertop/Manifest | 3 - sys-power/powertop/powertop-1.13.ebuild | 44 sys-power/powertop/powertop-2.5.ebuild| 110 -- sys-power/powertop/powertop-2.7-r1.ebuild | 104 sys-power/powertop/powertop-2.7-r2.ebuild | 108 - sys-power/powertop/powertop-2.7.ebuild| 104 6 files changed, 473 deletions(-) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index 7e22056..97831b9 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,5 +1,2 @@ -DIST powertop-1.13.tar.gz 104675 SHA256 2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcdc58d98 SHA512 0c22a903da64798d987492336d57260372e03eab067ad94cf30b7640e9ee05e759a2fe9fa48fbdc35404cd2782b6b29d705e11e68452653b08f7f9df1a52be44 WHIRLPOOL 5ba44b84f49609f67c32563f75e20f6576c21a93fcb1ca99ebfe064475397602aa0f0fb9575e05b5a0290983791e7cf6ebae0139b39158b962e4b51027a6f5aa -DIST powertop-2.5.tar.gz 635979 SHA256 8b2c08a555d79e1c428863470c41cb023971d74ba4801d80a05e35adeec23c0b SHA512 696629fb6f5d0164da3ec2b259780dc635abc661de859e5e908debd3872c9a82024c0cc2dd8210c4cd1cf5586bf4238e31c3af29266f6a8ed8d90b1d876f04d8 WHIRLPOOL 5940b15ea4c5f09809e9a8febc11b1abe680df04469d75889c3a0cc0935a8c9d578d1f7c4ecaf2507cda74d574696a61b3bef21c6e30e9c768c09abf03436bcf DIST powertop-2.6.tar.gz 3024009 SHA256 3024c2b13c8f32cdac0b0ea9359eb5668dc9bd11776cf063481daa878533d1ee SHA512 7c44b9c49f74d0f415d0332b60629940e05cf1c9170a9a7b98427da630c25c0cc9c8ece49e059ec8c665847ff03fa8a341e0cf8f7ca792d889f2c52a39ddbb62 WHIRLPOOL eaa6e05d2fdb3050eb3a37f39fb5d760a8d3d91461b8c6f0ae825138080a0dd8a532e490a71246d62d2e340e3820b402d761a1331a6e7b6bc23db116c98cf0d9 -DIST powertop-2.7.tar.gz 654329 SHA256 8d4b1490e2baad4467c0ded3c423db4472dcbf7b2dd8f8f2a928f54047c678ca SHA512 7a69bee4dd5330d9d5d6da9c47615337cdde27eb1eeb3ffc75297df1a61b5ced9f2ee94684680154e71c0c46fac72e5485cadf7a43e943d8087b1d7b4f33f59d WHIRLPOOL b2323b3222fa45ff1874cca9f2a3121aebd54d4dd9c89a31f7299fac15e30013ae3103f79759e86368efdba528eb3a2f166359cbe15d97022166abc16e6fddad DIST powertop-2.8.tar.gz 67 SHA256 a87b563f73106babfa3e74dcf92f252938c061e309ace20a361358bbfa579c5a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80 WHIRLPOOL 87b859b76395d6b1b380c7459b0d918713e94e8fc4ac40fde8b82f2112dec2df3caffb645b082cedd0bba5c232555de26e81fbe8dd3041875c32c864650ef132 diff --git a/sys-power/powertop/powertop-1.13.ebuild b/sys-power/powertop/powertop-1.13.ebuild deleted file mode 100644 index 359fb83..000 --- a/sys-power/powertop/powertop-1.13.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=3 - -inherit toolchain-funcs eutils - -DESCRIPTION="tool that helps you find what software is using the most power" -HOMEPAGE="http://www.lesswatts.org/projects/powertop/"; -SRC_URI="http://www.lesswatts.org/projects/powertop/download/${P}.tar.gz"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux" -IUSE="unicode" - -DEPEND="sys-libs/ncurses[unicode?] - sys-devel/gettext" -RDEPEND="sys-libs/ncurses[unicode?] - virtual/libintl - sys-apps/pciutils" - -src_prepare() { - sed -i '/${CFLAGS}/s:$: ${LDFLAGS}:' Makefile - use unicode || sed -i 's:-lncursesw:-lncurses:' Makefile -} - -src_configure() { - tc-export CC -} - -src_install() { - emake install DESTDIR="${ED}" || die - dodoc Changelog README - gunzip "${ED}"/usr/share/man/man1/powertop.1.gz -} - -pkg_postinst() { - echo - einfo "For PowerTOP to work best, use a Linux kernel with the" - einfo "tickless idle (NO_HZ) feature enabled (version 2.6.21 or later)" - echo -} diff --git a/sys-power/powertop/powertop-2.5.ebuild b/sys-power/powertop/powertop-2.5.ebuild deleted file mode 100644 index 238ac02..000 --- a/sys-power/powertop/powertop-2.5.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit eutils linux-info autotools -if [[ ${PV} == "" ]] ; 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
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 9677d2ed8f947fc845bc2c72f6cd56f35d51ab1f Author: Zero_Chaos gentoo org> AuthorDate: Wed Dec 2 17:00:10 2015 + Commit: Richard Farina gentoo org> CommitDate: Wed Dec 2 17:00:10 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9677d2ed sys-power/powertop: merge latest release and live ebuild Package-Manager: portage-2.2.26 sys-power/powertop/powertop-2.8.ebuild | 8 sys-power/powertop/powertop-.ebuild | 6 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild index 91a6287..a53eb03 100644 --- a/sys-power/powertop/powertop-2.8.ebuild +++ b/sys-power/powertop/powertop-2.8.ebuild @@ -94,6 +94,14 @@ pkg_setup() { fi } +src_prepare() { + if [[ ${PV} == "" ]] ; then + eautoreconf + else + default + fi +} + src_configure() { export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses) econf $(use_enable nls) diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index 53a9e0c..a53eb03 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -95,7 +95,11 @@ pkg_setup() { } src_prepare() { - eautoreconf + if [[ ${PV} == "" ]] ; then + eautoreconf + else + default + fi } src_configure() {
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 3239c3e815bf0e9f318dadc47c25a887ac071961 Author: Zero_Chaos gentoo org> AuthorDate: Wed Dec 2 16:46:10 2015 + Commit: Richard Farina gentoo org> CommitDate: Wed Dec 2 16:50:17 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3239c3e8 sys-power/powertop: fix live ebuild to match releases Package-Manager: portage-2.2.26 sys-power/powertop/powertop-.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index b3011ff..4a5c472 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -4,7 +4,7 @@ EAPI="5" -inherit eutils linux-info autotools +inherit eutils linux-info if [[ ${PV} == "" ]] ; then EGIT_REPO_URI="git://github.com/fenrus75/powertop.git" inherit git-2 autotools @@ -19,7 +19,7 @@ HOMEPAGE="https://01.org/powertop/"; LICENSE="GPL-2" SLOT="0" -IUSE="unicode X" +IUSE="nls unicode X" COMMON_DEPEND=" dev-libs/libnl:3 @@ -100,5 +100,5 @@ src_prepare() { src_configure() { export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses) - default + econf $(use_enable nls) }
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: 49fe96b4e40d44cb9b6f3b5a2defafd458f5a3ad Author: Zero_Chaos gentoo org> AuthorDate: Wed Dec 2 16:49:57 2015 + Commit: Richard Farina gentoo org> CommitDate: Wed Dec 2 16:50:19 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49fe96b4 sys-power/powertop: fix actual repoman issues Package-Manager: portage-2.2.26 sys-power/powertop/powertop-2.6.ebuild | 2 +- sys-power/powertop/powertop-2.8.ebuild | 2 +- sys-power/powertop/powertop-.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys-power/powertop/powertop-2.6.ebuild b/sys-power/powertop/powertop-2.6.ebuild index 482be30..1fcc8e1 100644 --- a/sys-power/powertop/powertop-2.6.ebuild +++ b/sys-power/powertop/powertop-2.6.ebuild @@ -24,7 +24,7 @@ IUSE="unicode X" COMMON_DEPEND=" dev-libs/libnl:3 sys-apps/pciutils - sys-libs/ncurses[unicode?] + sys-libs/ncurses:*[unicode?] " DEPEND="${COMMON_DEPEND} diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild index b558811..91a6287 100644 --- a/sys-power/powertop/powertop-2.8.ebuild +++ b/sys-power/powertop/powertop-2.8.ebuild @@ -24,7 +24,7 @@ IUSE="nls unicode X" COMMON_DEPEND=" dev-libs/libnl:3 sys-apps/pciutils - sys-libs/ncurses[unicode?] + sys-libs/ncurses:=[unicode?] " DEPEND="${COMMON_DEPEND} diff --git a/sys-power/powertop/powertop-.ebuild b/sys-power/powertop/powertop-.ebuild index 4a5c472..53a9e0c 100644 --- a/sys-power/powertop/powertop-.ebuild +++ b/sys-power/powertop/powertop-.ebuild @@ -24,7 +24,7 @@ IUSE="nls unicode X" COMMON_DEPEND=" dev-libs/libnl:3 sys-apps/pciutils - sys-libs/ncurses[unicode?] + sys-libs/ncurses:=[unicode?] " DEPEND="${COMMON_DEPEND}
[gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
commit: e04e64a094273ec1768537cdfad71e3ff5631d47 Author: Zero_Chaos gentoo org> AuthorDate: Wed Dec 2 16:42:52 2015 + Commit: Richard Farina gentoo org> CommitDate: Wed Dec 2 16:50:13 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e04e64a0 sys-power/powertop: version bump for bug #565832 thanks to Joe Konno Package-Manager: portage-2.2.26 sys-power/powertop/Manifest| 1 + sys-power/powertop/powertop-2.8.ebuild | 100 + 2 files changed, 101 insertions(+) diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index 611bb61..7e22056 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -2,3 +2,4 @@ DIST powertop-1.13.tar.gz 104675 SHA256 2bc866089496877dd26d2d316ad5763ab8ecb5e2 DIST powertop-2.5.tar.gz 635979 SHA256 8b2c08a555d79e1c428863470c41cb023971d74ba4801d80a05e35adeec23c0b SHA512 696629fb6f5d0164da3ec2b259780dc635abc661de859e5e908debd3872c9a82024c0cc2dd8210c4cd1cf5586bf4238e31c3af29266f6a8ed8d90b1d876f04d8 WHIRLPOOL 5940b15ea4c5f09809e9a8febc11b1abe680df04469d75889c3a0cc0935a8c9d578d1f7c4ecaf2507cda74d574696a61b3bef21c6e30e9c768c09abf03436bcf DIST powertop-2.6.tar.gz 3024009 SHA256 3024c2b13c8f32cdac0b0ea9359eb5668dc9bd11776cf063481daa878533d1ee SHA512 7c44b9c49f74d0f415d0332b60629940e05cf1c9170a9a7b98427da630c25c0cc9c8ece49e059ec8c665847ff03fa8a341e0cf8f7ca792d889f2c52a39ddbb62 WHIRLPOOL eaa6e05d2fdb3050eb3a37f39fb5d760a8d3d91461b8c6f0ae825138080a0dd8a532e490a71246d62d2e340e3820b402d761a1331a6e7b6bc23db116c98cf0d9 DIST powertop-2.7.tar.gz 654329 SHA256 8d4b1490e2baad4467c0ded3c423db4472dcbf7b2dd8f8f2a928f54047c678ca SHA512 7a69bee4dd5330d9d5d6da9c47615337cdde27eb1eeb3ffc75297df1a61b5ced9f2ee94684680154e71c0c46fac72e5485cadf7a43e943d8087b1d7b4f33f59d WHIRLPOOL b2323b3222fa45ff1874cca9f2a3121aebd54d4dd9c89a31f7299fac15e30013ae3103f79759e86368efdba528eb3a2f166359cbe15d97022166abc16e6fddad +DIST powertop-2.8.tar.gz 67 SHA256 a87b563f73106babfa3e74dcf92f252938c061e309ace20a361358bbfa579c5a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80 WHIRLPOOL 87b859b76395d6b1b380c7459b0d918713e94e8fc4ac40fde8b82f2112dec2df3caffb645b082cedd0bba5c232555de26e81fbe8dd3041875c32c864650ef132 diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild new file mode 100644 index 000..b558811 --- /dev/null +++ b/sys-power/powertop/powertop-2.8.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils linux-info +if [[ ${PV} == "" ]] ; then + EGIT_REPO_URI="git://github.com/fenrus75/powertop.git" + inherit git-2 autotools + SRC_URI="" +else + SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${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/"; + +LICENSE="GPL-2" +SLOT="0" +IUSE="nls 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() { + CONFIG_CHECK=" + ~X86_MSR + ~DEBUG_FS + ~PERF_EVENTS + ~TRACEPOINTS + ~NO_HZ + ~HIGH_RES_TIMERS + ~HPET_TIMER + ~CPU_FREQ_STAT + ~CPU_FREQ_GOV_ONDEMAND + ~FTRACE + ~BLK_DEV_IO_TRACE + ~TIMER_STATS + ~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_FTRACE="FTRACE needs to be turned on to enable BLK_DEV_IO_TR