summaryrefslogtreecommitdiff
path: root/sys-power
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-05 21:17:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-05 21:17:31 +0100
commitdc7cbdfa65fd814b3b9aa3c56257da201109e807 (patch)
treec85d72f6f31f21f178069c9d41d41a7c1ff4b362 /sys-power
parent0706fc6986773f4e4d391deff4ad5143c464ea4e (diff)
gentoo resync : 05.04.2019
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/Manifest.gzbin5058 -> 5058 bytes
-rw-r--r--sys-power/powertop/Manifest6
-rw-r--r--sys-power/powertop/metadata.xml11
-rw-r--r--sys-power/powertop/powertop-2.10.ebuild122
-rw-r--r--sys-power/powertop/powertop-9999.ebuild33
-rw-r--r--sys-power/upower/Manifest2
-rw-r--r--sys-power/upower/upower-0.99.9-r1.ebuild2
7 files changed, 155 insertions, 21 deletions
diff --git a/sys-power/Manifest.gz b/sys-power/Manifest.gz
index 497b4fc5bd17..f14e167c7873 100644
--- a/sys-power/Manifest.gz
+++ b/sys-power/Manifest.gz
Binary files differ
diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest
index aa44112cba35..65f498c82c95 100644
--- a/sys-power/powertop/Manifest
+++ b/sys-power/powertop/Manifest
@@ -1,8 +1,10 @@
AUX powertop-2.8-ncurses_tinfo.patch 1385 BLAKE2B 1b11138ae9c8fc90236b421d733f8cf0edff843572cfbfececba0efed5dd2a154ca561692b42e087a1c75bc19966b71fde241a029f16b126074b7d857e8c4bf5 SHA512 f1f483c43355fc1c52d0d7b9ca8e01f71c371e4e77c275584afc9f7178985e0028d42ed675adc52a1ea014325c5aaaafe245fa9166c14326cf467bd92c274522
AUX powertop-2.9-libc++.patch 1182 BLAKE2B cad53198b44a1b402995207c33e33d06cec5f2994f3acb2b03fd81cbf78d5e7b85828fbbc1290b0308494fd29fd5c6b8b886bed7d206e530835db9d559963652 SHA512 ea4925df50118e0394e81a1eb18fc2559d7459065bc9e10978e60bd9ada0c757583b691cf98f4da07be9545163663cb993db72774ae3963b7873500767b86972
DIST powertop-2.8.tar.gz 670000 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
+EBUILD powertop-2.10.ebuild 3848 BLAKE2B 4f3e0e44f68c1736f7841ad8cff8a06106e105b62d74ea987abb9a408e55e60e523c0c3b15fb4c580969163331118742fc0090de69bb97f9ab28f3ba102d1569 SHA512 2b14d0b2df297b1e74d61b022f919695e0de450eaa8e1744a900b5745ef31bc4e8adb3029fe781f59c88c8e2e9be6fd76143c5b030456823a5fa97f06bbcc7c4
EBUILD powertop-2.8.ebuild 3422 BLAKE2B 930fac60030bb84531e5155d29356a5d4f815705f2a7c1504bf50f5269b4f4f71807f6bc638a51af536f2ce79524bce7f7fa4941e47b5acd5e53044fffc3ca72 SHA512 22361930726c8af0fc97f111c534fb3fa26abbafd9ebb4aa2f0d5cd0b8e0a9a05fc48e646439f890de8847be913f8ee5a55dfd2b4b9e83370bc6b516a45b04f4
EBUILD powertop-2.9.ebuild 3881 BLAKE2B 7069791fb24b1f0046ca14b930f7c33c3801c41a9f4c802293a502706bdcd907bba2a976cacee5934b52f4014b34fa336b07680fcbeadae69a1fc3f38eb7a7ee SHA512 8e881191b14e438c2a3164a17914419224dcd0b2f25ede1c863655652fb2e51495c7cba0687c62cd3ff57a0551c2719e39aae118708f09cb50f956fbbbd6fe6d
-EBUILD powertop-9999.ebuild 3663 BLAKE2B b020232c48201403e5467004745f82dad3f25231107b8bd6b227b257f20611a305545195a3ff89a7990a05f4cca3d73c761966af4d0b61b663118043fbf0e522 SHA512 9020b3bb5e59d05150cc8e3bc22f18d959c18c08db02256f1b06754a1a4293a04e400fe3d37b1a6910ff4f167221e2b37abf67a52d13d76a9c4941d7d6cbf8d7
-MISC metadata.xml 253 BLAKE2B 48f33288fc58b41b96f50af29bb4ce8989e714fa989ed445afc8933d1483e1026a019783805ad1b42399227819f461ed5c874df1c78c4bf144bccd07306ee995 SHA512 fad4a58e4c2a6eaa8bbbdc75e3995b5da53c9291f82480e35a9badfc1374bcc484663f2577790a46218be90d3b42bb45620297316c5493bc4a46af0dbd29189e
+EBUILD powertop-9999.ebuild 3790 BLAKE2B fb6238df26defce86bfd33d36eed9c160ba491f7457dbe708eaaa4511ce9cf007288af610dd57103e9d5eb80b43dbeb1fda74195b044e406ca3a46baf630053a SHA512 ce9caf68f29e9788fc7732bf091a85bf97fc42beacc8a1c80b4d31efcb051a342762aacd546e5a2d88e01ee4426d8513891a16fa22233bc184d62862de8f3db9
+MISC metadata.xml 328 BLAKE2B b0558a511f51fb77479976e60fde11b9cc46f85af935d78d060a53a1d5b1dc2611721e3c1451e3d23229cb8db0bd2bd9c6bb902c9b0fca8f57718f53f16032a8 SHA512 9d17013502d4a90d7c41493c2e69f7bc20bfd834f6f2caa5b105f9cc3045b87382393903c08a8e25bd75faaa9371e2d5c16d2521a90a89dd08697069ce8e8f5d
diff --git a/sys-power/powertop/metadata.xml b/sys-power/powertop/metadata.xml
index 1c481a1d6de1..3046769ffadd 100644
--- a/sys-power/powertop/metadata.xml
+++ b/sys-power/powertop/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>zerochaos@gentoo.org</email>
- <name>Rick Farina</name>
- </maintainer>
+ <maintainer type="person">
+ <email>mattst88@gentoo.org</email>
+ <name>Matt Turner</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">fenrus75/powertop</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/sys-power/powertop/powertop-2.10.ebuild b/sys-power/powertop/powertop-2.10.ebuild
new file mode 100644
index 000000000000..27089b70cb74
--- /dev/null
+++ b/sys-power/powertop/powertop-2.10.ebuild
@@ -0,0 +1,122 @@
+# 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} == "9999" ]] ; 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_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_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
+ check_extra_config
+ fi
+ if kernel_is -lt 3 19; then
+ CONFIG_CHECK="~PM_RUNTIME"
+ ERROR_KERNEL_PM_RUNTIME="PM_RUNTIME should be enabled in the kernel for full powertop function"
+ check_extra_config
+ else
+ CONFIG_CHECK="~PM"
+ 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
+}
+
+src_prepare() {
+ default
+
+ # Bug 599114
+ sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX_11])|' configure.ac || die
+
+ if [[ ${PV} == "9999" ]] ; then
+ chmod +x scripts/version || die "Failed to make 'scripts/version' executable"
+ scripts/version || die "Failed to extract version information"
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses)
+ econf $(use_enable nls)
+}
diff --git a/sys-power/powertop/powertop-9999.ebuild b/sys-power/powertop/powertop-9999.ebuild
index 62872e31be8e..165318e3ddd1 100644
--- a/sys-power/powertop/powertop-9999.ebuild
+++ b/sys-power/powertop/powertop-9999.ebuild
@@ -1,39 +1,41 @@
-# 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} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"
- inherit git-r3 autotools
+ 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}"
- 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"
-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 +100,16 @@ pkg_setup() {
src_prepare() {
default
+
+ # Bug 599114
+ sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX_11])|' configure.ac || die
+
if [[ ${PV} == "9999" ]] ; then
chmod +x scripts/version || die "Failed to make 'scripts/version' executable"
scripts/version || die "Failed to extract version information"
- eautoreconf
fi
+
+ eautoreconf
}
src_configure() {
diff --git a/sys-power/upower/Manifest b/sys-power/upower/Manifest
index f44b20b942c4..b38de0e8eb87 100644
--- a/sys-power/upower/Manifest
+++ b/sys-power/upower/Manifest
@@ -5,6 +5,6 @@ AUX upower-0.99.9-pending-charge2.patch 2016 BLAKE2B 87a3078acf6c95dd8237f894aa2
DIST upower-0.99.8.tar.xz 448664 BLAKE2B e101e7d1b2aede77c1ed2da1fd23b87a95ccac8d901bd8d1f8bebcd5de7052a66f1840cf578a48453538e166aae56ef4bc6d3a2b85f7ba148ecac5cc0a486809 SHA512 dfd2960cae382195dfc7a703a02af298d9de55bc626cde2a1f97e7983842191ba9d99eb2044190214e792539e7d6c9d8e00b5aed17e5e86b04544e9ab90278b1
DIST upower-0.99.9.tar.xz 448408 BLAKE2B 5fa2436f33c94cffb736d8e3fad433acf58954cf06ccd403a0361214be5afc45d79ea279f3c5c48dcd58b92ccaf995777c95987d1749fd8c8c8958317e439570 SHA512 45eb587b0e5ffcce88bad8c56bc5efa30559748913016a55d58313280f5159378e5fbb4a9842c3a6409257bb97822d235f96b03704268b8471455c93eb05fe2f
EBUILD upower-0.99.8-r1.ebuild 2372 BLAKE2B 05870dca284b3a0288fbd8bdaf1509fb7c099d56a6f5c55adf60046c1c80645e3e3aa08534fdb89ed5d3c480b61bac7291dff487fe5a8d831634b5c3053c878a SHA512 8997f794ece5ccd9ec617e8ba1747abecfa5d0273fb9a6c3dd82c357a12a545e6239c0fa1d6bd8f0a0936f0e9f9664ea4e97ac0162ca9209716f3763a6edecad
-EBUILD upower-0.99.9-r1.ebuild 2360 BLAKE2B 15cf585d54d1826b14571c4a0f723d3a3836736d0d8a830dd303243e2cda0f61ddfe96860bc88e8a3e3077450da37ee768ecacf0479b09446f9861edcf7677b2 SHA512 31cbebe95a69271f104d10c61035cb51e18cf4fbf98c6d55c1c7930d84b6ee183e1b0b9c9d919e9531c752fead0caa31233b2abb2abe2a8fa3901af90a03a9aa
+EBUILD upower-0.99.9-r1.ebuild 2354 BLAKE2B 212c8cbd6ac9b0a8f92db65c3865c614819814663103f9a0ac004157fb6e705e2fd1d22627fc8c79049f60e4f447b81a8ab8973c67374ec26254a81423bc11af SHA512 b25ac8b0149ae86ae05e69b029f5996dab8b4b757156b6cf325850cad2672ecdb775818699b4a29e897e1c65d0301af1783eb8cd9385202a55ec3f3c5402a5d8
EBUILD upower-0.99.9.ebuild 2174 BLAKE2B d2397d31fe8c5134f5eb2dbe20662de6e94428c3b59384ebf5797bf9042a37e6af1af74487a1d908199f4ad0de603bec0e7a0fd17d9d02bc98e6f7290ba2b2bd SHA512 327131fb34743dfc992fad6ca1144021afa3954dcc7b7f02bb483ead32a780d9bb5b9f693bdcd3fc47cd0a9079e1333ffc4df431d11d26a8188045e936d33f8a
MISC metadata.xml 228 BLAKE2B 6b6559027915d8578c02e363cc855e812c338acf7716fe4108a8b85c09152a086cb578e7361f4613a44e8b550d7e205ff43aea39dd9488951fa18c6e15042278 SHA512 4f5e63f918a0f8790db49c5b12173c673f86935f00796a04acfed573f618379b73b05b1869941e11f881fe69d4958f5287ce815fd710eadb6ac9f2680894caae
diff --git a/sys-power/upower/upower-0.99.9-r1.ebuild b/sys-power/upower/upower-0.99.9-r1.ebuild
index c154b148365d..8ffe85c2cd2e 100644
--- a/sys-power/upower/upower-0.99.9-r1.ebuild
+++ b/sys-power/upower/upower-0.99.9-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://gitlab.freedesktop.org/upower/upower/uploads/${COMMIT}/${P}.tar
LICENSE="GPL-2"
SLOT="0/3" # based on SONAME of libupower-glib.so
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sparc x86 ~x86-fbsd"
# gtk-doc files are not available as prebuilt in the tarball
IUSE="doc +introspection ios kernel_FreeBSD kernel_linux selinux"