From b24bd25253fe093f722ab576d29fdc41d04cb1ee Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 2 Aug 2019 19:14:55 +0100 Subject: gentoo resync : 02.08.2019 --- sys-power/Manifest.gz | Bin 5073 -> 5071 bytes sys-power/acpilight/Manifest | 6 +- sys-power/acpilight/acpilight-1.0.ebuild | 39 ------- sys-power/acpilight/acpilight-1.2.ebuild | 54 +++++++++ sys-power/acpilight/metadata.xml | 2 +- sys-power/iasl/Manifest | 6 +- sys-power/iasl/iasl-20160729.ebuild | 127 -------------------- sys-power/iasl/iasl-20190703.ebuild | 128 +++++++++++++++++++++ sys-power/nut/Manifest | 2 +- sys-power/nut/nut-2.7.4-r3.ebuild | 2 +- sys-power/powertop/Manifest | 7 +- sys-power/powertop/files/powertop-2.9-libc++.patch | 44 ------- sys-power/powertop/powertop-2.10.ebuild | 2 +- sys-power/powertop/powertop-2.8.ebuild | 103 ----------------- sys-power/powertop/powertop-2.9.ebuild | 119 ------------------- 15 files changed, 193 insertions(+), 448 deletions(-) delete mode 100644 sys-power/acpilight/acpilight-1.0.ebuild create mode 100644 sys-power/acpilight/acpilight-1.2.ebuild delete mode 100644 sys-power/iasl/iasl-20160729.ebuild create mode 100644 sys-power/iasl/iasl-20190703.ebuild delete mode 100644 sys-power/powertop/files/powertop-2.9-libc++.patch delete mode 100644 sys-power/powertop/powertop-2.8.ebuild delete mode 100644 sys-power/powertop/powertop-2.9.ebuild (limited to 'sys-power') diff --git a/sys-power/Manifest.gz b/sys-power/Manifest.gz index b2ccf650aae8..1543ca78d8d1 100644 Binary files a/sys-power/Manifest.gz and b/sys-power/Manifest.gz differ diff --git a/sys-power/acpilight/Manifest b/sys-power/acpilight/Manifest index 3622820a8e6b..d580b4156b74 100644 --- a/sys-power/acpilight/Manifest +++ b/sys-power/acpilight/Manifest @@ -1,7 +1,7 @@ AUX acpilight.confd 269 BLAKE2B 196245bd083f89d9d975a81aaaf66d0422655cd6a5f575c2cbb898747c92bdb888f8123dbf8ddf34089be2547d39e33508119065ffb97c26f9d1d3915bee8bb2 SHA512 28e513dbcaa30cec4d2f876c244766037eb6e94ff660ff2caf9cb955f40c710ea750cac73eb5e3890b42904227ccbd7f6c3e2595c2496e54d3339d6afdd0ffb0 AUX acpilight.initd 742 BLAKE2B bc2ad5027cd9e5c9f8d0d55e249117f7f59ad587522d21ea2baf69e45a884df242d46cb3001ef46ef63c1e1f87a18bc5c05d4facf1e9d72d4b596926e9a6b69b SHA512 9fe648ea994eeb9baa294226b55bd6230cb2b28952f651755da622278539fc071527e3aa2425e26687bb8065ef2e372ab93d7090532dbf3208ccac8519f01fca -DIST acpilight-1.0.tar.gz 16452 BLAKE2B 6594612a25974d33d845b9b0dec4ad0a105ea7da0b24dd540385d5a3751058d9b23afe58600082095c041c86cb477f671fcf4bc7f760869f7290e9e62c8c3124 SHA512 f7913f7ebf6cbde95a42165d8bfa237be03d90fc097164b971c92721cc76f1260a6a607d85f3ecb05ec482019f0ed7f0827a473608daf39b0d05b37c1d228a8a DIST acpilight-v1.1.tar.gz 17583 BLAKE2B 9505d0b2e1eb6e311b3be7938c455dcca399b2a644856f57593be4da56b637445b796f16300540436645b4dc660f7330b63ff3eecf93ecb49b366d152d5c5faf SHA512 af10a538fec83315aaec3837647622ecea41cb936d38667e4e70689a2b8a968a786fc9ad2be136d5799fa091f07614886decc9044e71aec1e64765e90ddae439 -EBUILD acpilight-1.0.ebuild 1008 BLAKE2B b092b02ea4a9976a11fd462480f2dab442cd1b5f4672d3da9d031ccc91525b86c746fb7b2d1cd70d835b6a4c22a3f31161bdfbebbfc50906079f260e1960e419 SHA512 ec38b355f26aaad4c00820b45047312fb0759a0f93d41a909c14f5d82e762fa822aebfc3ddaa06a918239d6dcde26731511987677ee0ff1f029a75c349deec67 +DIST acpilight-v1.2.tar.gz 18068 BLAKE2B 469fd12c0a24b152681d73add559733a294f8a0848f46d0d3a1e209dea2ad3b180294677a8d84a82387ec34b00bbfda85a10f447fe22b81a3c51225cdce14051 SHA512 ef634ec0f315fe94dca138f1b9231f320b93340db3365ab9a09cf898fe4691f70573041bcb04563d760f1201000ea3ff11ab5dad3bfffddf3d3070dedb5732d7 EBUILD acpilight-1.1.ebuild 1484 BLAKE2B 3c9f5ebbe3217e90529dc824a74871c6e5c38983a8658345417cf63d06635ba5e49d219a93351440c61d5217f593074d1a3004148863389f1dea569dee7819b6 SHA512 ef352987197e35bf8306348b18f5c7e067413aced2364e1433e69e0e6e9e2a9310f8950cd27ea3a292fac1b3816be3a8c507c9a1232c66007d6565afeee709c8 -MISC metadata.xml 337 BLAKE2B 7888981587ed09568a184afbfd7133b628495b425a39754634ffc71296c11087c4c2406e616a7bb8e5c4078e56dcb416785b6729159a20bed750110c8dc8c5d2 SHA512 4f183fd6e3292302ca589c466292f6222e6980a72a11ff7b82fefc293d3d37902b79439f1f044ec44a88dfa5675f769b2f39e44005e57bfa3e1ed132ff451cd4 +EBUILD acpilight-1.2.ebuild 1518 BLAKE2B 6f444898006ecf03130e5f2ba000516d334288de2179b579b5137d0cab39167dac2666fb0140d14ae03ae4a4266f146a49b1b68838595c8fe636775b1270b057 SHA512 d64c07de06de79ad1712070e7f36040c55dc9523bb8928fce0b2d14ab151d639197c1a795f843882639c7c9747a78acf9874284bd3b667d2b25310d0f77a8451 +MISC metadata.xml 337 BLAKE2B ad7ecd612b078bad830f6f10efaca7f41b7b5ef1d290799ce4c2dbd5489076c5c0fc3500e0c64bc3f00f448f80a1eedb9737c967258bbea5e105a85d7e4b8749 SHA512 6f624eadeaad1f4a440a2663ac9672cd6a36dbb668d11bcdb621aa5ddb739632c8bc74bbbde9905adf023618a9432a26bfec4f6861f5e4ba6167a0c2658dacd0 diff --git a/sys-power/acpilight/acpilight-1.0.ebuild b/sys-power/acpilight/acpilight-1.0.ebuild deleted file mode 100644 index 4e09faee8395..000000000000 --- a/sys-power/acpilight/acpilight-1.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_5 ) - -inherit python-r1 udev - -DESCRIPTION="Replacement for xbacklight that uses the ACPI interface to set brightness" -HOMEPAGE="https://github.com/wavexx/acpilight/" -SRC_URI="https://github.com/wavexx/acpilight/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="virtual/udev - ${PYTHON_DEPS} - !x11-apps/xbacklight" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -DOCS=( README.rst ) - -src_install() { - python_foreach_impl python_doscript xbacklight - udev_dorules "${S}"/90-backlight.rules - doman xbacklight.1 - einstalldocs -} - -pkg_postinst() { - udev_reload - einfo - elog "To use the xbacklight binary as a regular user, you must be a part of the video group" - einfo - elog "If this utility does not find any backlights to manipulate," - elog "verify you have kernel support on the device and display driver enabled." - einfo -} diff --git a/sys-power/acpilight/acpilight-1.2.ebuild b/sys-power/acpilight/acpilight-1.2.ebuild new file mode 100644 index 000000000000..6bd7e47a9b63 --- /dev/null +++ b/sys-power/acpilight/acpilight-1.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_5 python3_6 python3_7 ) + +inherit python-r1 udev + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Replacement for xbacklight that uses the ACPI interface to set brightness" +HOMEPAGE="https://gitlab.com/wavexx/acpilight/" +SRC_URI="https://gitlab.com/wavexx/acpilight/-/archive/v${PV}/${MY_P}.tar.gz" +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}/${MY_P}" + +RDEPEND="virtual/udev + acct-group/video + ${PYTHON_DEPS} + !x11-apps/xbacklight" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +DOCS=( README.rst NEWS.rst ) + +# Disable Makefile that installs by default +src_compile() { :; } + +src_install() { + python_foreach_impl python_doscript xbacklight + udev_dorules "${S}"/90-backlight.rules + doman xbacklight.1 + einstalldocs + newinitd "${FILESDIR}"/acpilight.initd acpilight + newconfd "${FILESDIR}"/acpilight.confd acpilight +} + +pkg_postinst() { + udev_reload + einfo + elog "To use the xbacklight binary as a regular user, you must be a part of the video group" + einfo + elog "If this utility does not find any backlights to manipulate," + elog "verify you have kernel support on the device and display driver enabled." + einfo + elog "To take advantage of the OpenRC init script, and automate the process of" + elog "saving and restoring the brightness level you should add acpilight" + elog "to the boot runlevel. You can do this as root like so:" + elog "# rc-update add acpilight boot" + einfo +} diff --git a/sys-power/acpilight/metadata.xml b/sys-power/acpilight/metadata.xml index f5072a8cbd34..8d3a1b7e5808 100644 --- a/sys-power/acpilight/metadata.xml +++ b/sys-power/acpilight/metadata.xml @@ -6,6 +6,6 @@ Brian Evans - wavexx/acpilight + wavexx/acpilight diff --git a/sys-power/iasl/Manifest b/sys-power/iasl/Manifest index 22dcc1bd9a94..ba27e8eb8662 100644 --- a/sys-power/iasl/Manifest +++ b/sys-power/iasl/Manifest @@ -1,12 +1,12 @@ AUX iasl-20140214-nostrip.patch 253 BLAKE2B 744ae94cdf798b4d0b593de3e69d408c61b720aebfd385aa2e22929530a8ef84aba92b4484fd2c35cb5c51e15e75e4d8bafcf3c9339b63ca54746db1c30835ad SHA512 1379fa71c03d880b53ed1ed34ec925d5e94fe6f636f86cfdbb5a1e65a1c6a82fb99a42b991be154c018da9eaaa70c7443fa4b5ca38eb03fe5cec4f0de1dd6364 AUX iasl-20140828-locale.patch 349 BLAKE2B b435e40f257103acfaa8f74c8dd5ed66850ce53e3c7577ce59e1773b738dfaff89c58dbdb4517a0213b9b8c1ab4cbdcdf78e2dbe3c0a4857cf4f91b437b23cb9 SHA512 311c20b7d5cdc7e3ce5e2a84e508eb898cd506efa720d1e4bb017ff0b34d786ffed30168b7dcf16b4bee988702d00258289e5e320e0a3bb3cf630a1a71145640 -DIST acpica-unix-20160729.tar.gz 1556095 BLAKE2B 2785d343d7aa0e3cce83d762bb70f8a7e76221da5d0e803eac3253b4a26dcaf852e114eadf811f387c7c040aeeb794de8cae37c47d8c29968f8cd0a0d76ed4b6 SHA512 37b0439b03e8d811c8b14d0c7c89471989227fb78b462f585c6290431afecc5b258073e568dde8dc982fa959ebce4b4d51589ea997f0066e66d4785ce185ccf2 DIST acpica-unix-20180810.tar.gz 1797634 BLAKE2B 66b1c53874a7fa898fb042d0aac6001e623bb056ef17de46fc5a8e3ee5667178c47b5d8ecec194ebd8d2b0bdf947b5c85a1874c5d11a9ba3307a85418856ebdb SHA512 f37d8e0f1393b87cbfd9c6607104b05f85386583e4e5a5bcdbd2f049c122592a53e7cd56fe7da75e93bf3a424921fbc9291e7a39e06de80e6403abe042f869cd DIST acpica-unix-20190215.tar.gz 1809671 BLAKE2B aff312636ff0f38e7708a251daad84689cb64abd0dd241d57063b5e229c50a3a8bd3e509c2fe9918da4ab9179b07d2207e01eb7c9f94670d0758eec73bb2714b SHA512 7a469097d82721ea55f86eeefa2a67fc6be6b3d2e0382bb830f64c7daf7d99e2bce60011fb68e54b3891939b1fed91da03de9d19c2d4020d3412656cce2c09b0 -DIST acpitests-unix-20160729.tar.gz 1829061 BLAKE2B 8dacb39c477ff8ba8b68a3f061b74e90a128a90eb287b9febd57d6871ff0878dfe2eaf616d9881af2b0bca6c8db57d48711ad9009c6ceb1ceba321bed182a51c SHA512 bf6073092a0dfb208f1d4b13ff3a3c5335be8e1326b1e58acd41def1a402ab0d843600f616019d1dde6593db8c53c6876bd9d489360fe98c6a7bee95d9215600 +DIST acpica-unix-20190703.tar.gz 1845874 BLAKE2B bc217c40c1154fd562f28e0eb22e8bf664c3ae451e7087e046845623beebc7422d1629a21fed61a82e31c89b3040427fd524bfcde562873cc42191f44f88e6ad SHA512 f687f407aaa14684e5d09d21a2e3c197c490b710a633bca491412875f8dfa9164ba5c2c8531946f82713c24d32f47ff4ea3c108c7c124adb83a69e19a6b31163 DIST acpitests-unix-20180810.tar.gz 2093850 BLAKE2B 519ce7807026dc11617ed9c34f294600ddae77a57a1fb76220da50da1bee56975373d583d51dfcdd81c8ccba3d5e735167b831bdb4669ab9cb2a1d9753d9261d SHA512 36c2527e8d670ccfb9a537b4944cfb8432c9638c1427e3c59f614c2ca43a66089228ecb74392301a07f266870e2d79bf0e2c671c6c7af06a4683bf97ac01ba54 DIST acpitests-unix-20190215.tar.gz 2094957 BLAKE2B 3a31ae398650a1dc3ac70843c43868a35501cbe0376d1d2437a3568aad1fb63b3d83270653c009885b014894c69dcfff075bbf5d18290220067bcd1804a38097 SHA512 80060a61c80b01231b10e04dd65c2ab41d42824c439152cf128328890cee39ef597dc3f5bc535db4566cb322394bfce2760e1835df781d699818049cad5a4419 -EBUILD iasl-20160729.ebuild 3387 BLAKE2B 3caecded7550e0240e4a1ba5936f41475aad9221579bf2abb4e5a12088b3452aea512a718048015b820b5e4d4ac05bf4fab5b1ce0b81db34472e906364cda9a8 SHA512 5ec2719cf0f45344613cb0b5d5fee9e551ada4d44c8e65ef5bc7b241fa49bf910fe711abbf5e1f6a8d136f3aeb182430e8362e519091eac2acc520fc1c93c0ba +DIST acpitests-unix-20190703.tar.gz 2009568 BLAKE2B 3d1a527c55a94390381e33a46111bed7ecd3761627b87e24d9345b0d38d9fbd32c371adab3f19a0ca05a99c4532491bc9b466805e231a5ecd8c7a6af346577fb SHA512 d9bab56198dc00fc11b50a199035eb9dc164c226441cd00e163ecd6362d399a50058afa7582f86e62a085b990772995fc10e077581a3b04a6c6b2e95e055f167 EBUILD iasl-20180810.ebuild 3423 BLAKE2B f530aae1080c037eebf50405482ed966ecfe476c13077c25e75ce41a3a9cc95401f84eaf1f80a0d63249d3619b0b626acf7381e3c0237b60c4035578e817b658 SHA512 a9860a14647b2e1309795ccd3f844036a176c0c2282f805b7617cbdbcb9dd740aee814fa57717fbb945c241a2e8bb2824b90fcfad9559d1526d408ee0aca6f75 EBUILD iasl-20190215.ebuild 3426 BLAKE2B d9f29d91fa78afd4326e09b395ca5317876e5d7cdd3e864844fdac3d0e7c6e54329cae1b81e71bfbcfd33c6e9d17495375f0c5b2aa2fa5739ed5a62ea5b07100 SHA512 6ed5c6a81b3dc42318fc627cd41fe98c4c9a48f551e142bac9da61099b9562714c725c14085911fb1561c15fd764e9c64ad4d05ede7251406e2e45a249585a0e +EBUILD iasl-20190703.ebuild 3426 BLAKE2B d9f29d91fa78afd4326e09b395ca5317876e5d7cdd3e864844fdac3d0e7c6e54329cae1b81e71bfbcfd33c6e9d17495375f0c5b2aa2fa5739ed5a62ea5b07100 SHA512 6ed5c6a81b3dc42318fc627cd41fe98c4c9a48f551e142bac9da61099b9562714c725c14085911fb1561c15fd764e9c64ad4d05ede7251406e2e45a249585a0e MISC metadata.xml 330 BLAKE2B 4c0218788685cc36fddf5d759c091898a71c01bf22e9e7995d1f5da37cd0508c961895b4265bda462062676f3e722205f0a6b10f64db718110f7afe8f088d136 SHA512 4d7760ec82f64ce49478c359b32aa100ca9778471033741b7fd89905d075b3a067fda413c6dcc5115d7755d0ab6cd9d30a848ff674f1c83ef6205c51ec501a65 diff --git a/sys-power/iasl/iasl-20160729.ebuild b/sys-power/iasl/iasl-20160729.ebuild deleted file mode 100644 index 9749052dfcab..000000000000 --- a/sys-power/iasl/iasl-20160729.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs flag-o-matic eutils - -MY_PN=acpica-unix -MY_P=${MY_PN}-${PV} -MY_TESTS_P=${MY_PN/ca/tests}-${PV} -DESCRIPTION="Intel ACPI Source Language (ASL) compiler" -HOMEPAGE="https://www.acpica.org/downloads/" -SRC_URI="http://www.acpica.org/sites/acpica/files/${MY_P}.tar.gz - test? ( http://www.acpica.org/sites/acpica/files/${MY_TESTS_P}.tar.gz )" - -LICENSE="iASL" -SLOT="0" -KEYWORDS="amd64 ppc x86 ~amd64-fbsd ~x86-fbsd" -IUSE="test" - -DEPEND="sys-devel/bison - sys-devel/flex" -RDEPEND="" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - if use test && has test ${FEATURES}; then - ewarn 'You have selected USE="test". This will install the test results' - ewarn "into /usr/share/${PF}/, compressed as a tarball." - ewarn 'The tests themselves will only rarely die, but the test results' - ewarn 'are interesting for arch testing. The tests may take quite some' - ewarn 'time to complete.' - fi -} - -PATCHES=( - "${FILESDIR}/${PN}-20140828-locale.patch" - "${FILESDIR}/${PN}-20140214-nostrip.patch" -) - -src_prepare() { - default - - find "${S}" -type f -name 'Makefile*' -print0 | \ - xargs -0 -I '{}' \ - sed -r -e 's:-\::g' -i '{}' \ - || die - - # BITS is tied to ARCH - please set appropriately if you add new keywords - if [[ $ARCH == @(amd64|amd64-fbsd) ]] ; then - export BITS=64 - else - export BITS=32 - fi -} - -src_configure() { - : -} - -src_compile() { - cd generate/unix || die - emake BITS=${BITS} -} - -src_test() { - aslts_test - #aapits_test - #The aapits test currently fails, missing include probably. -} - -src_install() { - cd generate/unix || die - emake install DESTDIR="${D}" BITS=${BITS} - default_src_install - #local bin - #for bin in $(<"${T}"/binlist) ; do - # dobin "${T}"/${bin} - #done - dodoc "${S}"/changes.txt - newdoc "${S}"/source/compiler/readme.txt compiler-readme.txt - newdoc "${S}"/generate/unix/readme.txt unix-readme.txt - newdoc "${S}"/generate/lint/readme.txt lint-readme.txt - newdoc "${S}"/source/compiler/new_table.txt compiler-new_table.txt - - if use test && has test ${FEATURES}; then - tb="${T}"/testresults.tar.bz2 - export ASLTSDIR="$(<"${T}"/asltdir)" - ebegin "Creating Test Tarball" - tar -cjf "${tb}" -C "${ASLTSDIR}"/tmp/RESULTS . || die "tar failed" - eend $? - dodir /usr/share/${PF} - insinto /usr/share/${PF} - doins ${tb} - fi - -} - -aslts_test() { - export ASL="${S}"/generate/unix/bin/iasl \ - acpiexec="${S}"/generate/unix/bin/acpiexec \ - ASLTSDIR="${WORKDIR}/${MY_TESTS_P}"/tests/aslts - export PATH="${PATH}:${ASLTSDIR}/bin" - echo "$ASLTSDIR" >"${T}"/asltdir - cd "${ASLTSDIR}" || die - edos2unix $(find . -type 'f') - make install || die "make install aslts test failed" - chmod +x $(find bin/ ! -regex 'ERROR_OPCODES|HOW_TO_USE|README' ) || die "chmod bin +x failed" - - #The below Do commands runs the tests twice and then dies if the results aren't - #Identical. - Do 1 || die "failed Do 1" - Do 2 || die "failed Do 2" -} - -aapits_test() { - mv "${WORKDIR}/${MY_TESTS_P}/tests/aapits" "${S}/tools/" || die "mv failed" - cd "${S}/tools/aapits" || die "cannot find ${S}/tools/aapits" - edos2unix $(find . -type 'f') - chmod +x $(find bin/ | sed -r -e '/\/[A-Z_]+$/d') || die "chmod bin +x failed" - make || die "make in aapits failed" - cd asl || die "cd asl failed" - make || die "make in asl failed" - cd ../bin || die - ./aapitsrun || die "aapitsrun failed" -} diff --git a/sys-power/iasl/iasl-20190703.ebuild b/sys-power/iasl/iasl-20190703.ebuild new file mode 100644 index 000000000000..edd9ba4e0f01 --- /dev/null +++ b/sys-power/iasl/iasl-20190703.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs flag-o-matic + +MY_PN=acpica-unix +MY_P="${MY_PN}-${PV}" +MY_TESTS_P="${MY_PN/ca/tests}-${PV}" +DESCRIPTION="Intel ACPI Source Language (ASL) compiler" +HOMEPAGE="https://www.acpica.org/downloads/" +SRC_URI="http://www.acpica.org/sites/acpica/files/${MY_P}.tar.gz + test? ( http://www.acpica.org/sites/acpica/files/${MY_TESTS_P}.tar.gz )" + +LICENSE="iASL" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="test" + +DEPEND="sys-devel/bison + sys-devel/flex" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if use test && has test ${FEATURES}; then + ewarn 'You have selected USE="test". This will install the test results' + ewarn "into /usr/share/${PF}/, compressed as a tarball." + ewarn 'The tests themselves will only rarely die, but the test results' + ewarn 'are interesting for arch testing. The tests may take quite some' + ewarn 'time to complete.' + fi +} + +PATCHES=( + "${FILESDIR}/${PN}-20140828-locale.patch" + "${FILESDIR}/${PN}-20140214-nostrip.patch" +) + +src_prepare() { + default + + find "${S}" -type f -name 'Makefile*' -print0 | \ + xargs -0 -I '{}' \ + sed -r -e 's:-\::g' -i '{}' \ + || die + + # BITS is tied to ARCH - please set appropriately if you add new keywords + if [[ $ARCH == @(amd64|amd64-fbsd) ]] ; then + export BITS=64 + else + export BITS=32 + fi +} + +src_configure() { + : +} + +src_compile() { + cd generate/unix || die + emake BITS=${BITS} +} + +src_test() { + aslts_test + #The aapits test currently fails, missing include probably. + #aapits_test +} + +src_install() { + cd generate/unix || die + emake install DESTDIR="${D}" BITS=${BITS} + default + #local bin + #for bin in $(<"${T}"/binlist) ; do + # dobin "${T}"/${bin} + #done + dodoc "${S}"/changes.txt + newdoc "${S}"/source/compiler/readme.txt compiler-readme.txt + newdoc "${S}"/generate/unix/readme.txt unix-readme.txt + newdoc "${S}"/generate/lint/readme.txt lint-readme.txt + newdoc "${S}"/source/compiler/new_table.txt compiler-new_table.txt + + if use test && has test ${FEATURES}; then + tb="${T}"/testresults.tar.bz2 + export ASLTSDIR="$(<"${T}"/asltdir)" + ebegin "Creating Test Tarball" + tar -cjf "${tb}" -C "${ASLTSDIR}"/tmp/RESULTS . || die "tar failed" + eend $? + dodir /usr/share/${PF} + insinto /usr/share/${PF} + doins ${tb} + fi + +} + +aslts_test() { + export ASL="${S}"/generate/unix/bin/iasl \ + acpibin="${S}"/generate/unix/bin/acpibin \ + acpiexec="${S}"/generate/unix/bin/acpiexec \ + ASLTSDIR="${WORKDIR}/${MY_TESTS_P}"/tests/aslts + export PATH="${PATH}:${ASLTSDIR}/bin" + echo "$ASLTSDIR" >"${T}"/asltdir + cd "${ASLTSDIR}" || die + edos2unix $(find . -type 'f') + make install || die "make install aslts test failed" + chmod +x $(find bin/ ! -regex 'ERROR_OPCODES|HOW_TO_USE|README' ) || die "chmod bin +x failed" + + #The below Do commands runs the tests twice and then dies if the results aren't + #Identical. + Do 1 || die "failed Do 1" + Do 2 || die "failed Do 2" +} + +aapits_test() { + mv "${WORKDIR}/${MY_TESTS_P}/tests/aapits" "${S}/tools/" || die "mv failed" + cd "${S}/tools/aapits" || die "cannot find ${S}/tools/aapits" + edos2unix $(find . -type 'f') + chmod +x $(find bin/ | sed -r -e '/\/[A-Z_]+$/d') || die "chmod bin +x failed" + make || die "make in aapits failed" + cd asl || die "cd asl failed" + make || die "make in asl failed" + cd ../bin || die + ./aapitsrun || die "aapitsrun failed" +} diff --git a/sys-power/nut/Manifest b/sys-power/nut/Manifest index 9d65d5423b45..dafb5b569754 100644 --- a/sys-power/nut/Manifest +++ b/sys-power/nut/Manifest @@ -12,5 +12,5 @@ AUX nut.powerfail.initd 1306 BLAKE2B 9e9c6eb40c6a313ad625136523de730a75b81184133 DIST nut-2.7.4.tar.gz 2509831 BLAKE2B 367c687efd739150898a14c700d5fddbe22bf926522923e1842011ec49b67d6638620500c4eda50291feb474cc6eef39fff63764cb3e0fad5898abee981f8308 SHA512 320c4aff85d8a370c5eff77d33924fdfc3caf6a250620693cdd5bf3336b3a80d8a207488eee841bcf8b72fbad68fda4c074e63b99c56e7886716fc934122d11a EBUILD nut-2.7.4-r1.ebuild 9000 BLAKE2B 53cf51da6aaa6d9655b9fe68a2eeab13c53ce284fbd09b7fc5aee790220cc32a5d9c11ef50b31cae409ec034609e5e2ad7ab2d3f95db4f8fe6b38f69a4123968 SHA512 3fa055f36890e108ac31cd2cb79598a58c926ac887022c3871e7e31461b843b74744c064008afdb7e936c6b19c675881f6f53742479f5f5f070efe1167447807 EBUILD nut-2.7.4-r2.ebuild 9713 BLAKE2B 3b462c773f1cf6e38908ef483413e1db0cfb68c07530451ecefb2112754ffaa35fba6f8954840cdb6a19179219ddde4f75f116fd00aa2813279176195514f478 SHA512 395aaf5b94fc9a8fe127113fdf5f137fe75b868eaa4dab57d4493f0286fa69898053ff07964308c1c002f6143d84567e1d48dd66774c0e6651df19fc7777367e -EBUILD nut-2.7.4-r3.ebuild 9754 BLAKE2B fda03366330f735699b2e3e8cf7068384c00be29b030ade62268e2e4a83bd36c87a8ea85b0ef3ee130e5dd728ba6576ac1c14ebc328b1faa2576431a971ed527 SHA512 e87ea3e3370a8b21c8ba7e1c60a73812b6d0a0bd7f19a6a89f8a3516441da6f42cb083f8154bdba671a084bc7d0ca94ede5751b6429033769baa50338d7bb30a +EBUILD nut-2.7.4-r3.ebuild 9753 BLAKE2B 2d4634c926447a58f582ca85bf4829fb716c78b100bbe301bec21ba47588abd500e836431fdf4d0fd0e2577de74c8df5d8f2a853937f262cc4f05a0e1ecea1b1 SHA512 423a0c5e6e19db013678fe9403571a94f7c0619ae6241d0aa4c81f762fd44f0289337605094b8875f5f9d04585828f5015c1c59ae7d89e1e4f665c786081427b MISC metadata.xml 5178 BLAKE2B 4fd7fd1ac52507faf24113bd583784bb1c14b37e6b68cd9b670580262e05d82992cb87ce3d5b9573ffed35ada17fe0399cc1437ad503b7c1d49cd781be01bad9 SHA512 d94f262b166977866e94b7a81b8c625fc78bbd0861ef04de4dc8124773c5f2374999d9cdbc1c82b7fa258548b6b2d9a5f4db1647cf3e106a09ce7049f510b3b0 diff --git a/sys-power/nut/nut-2.7.4-r3.ebuild b/sys-power/nut/nut-2.7.4-r3.ebuild index 84fcf9f8c400..b146001d907e 100644 --- a/sys-power/nut/nut-2.7.4-r3.ebuild +++ b/sys-power/nut/nut-2.7.4-r3.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://www.networkupstools.org/" SRC_URI="https://networkupstools.org/source/${PV%.*}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x86-fbsd" +KEYWORDS="amd64 arm ppc ppc64 x86 ~x86-fbsd" IUSE="cgi gui ipmi snmp +usb selinux ssl tcpd xml zeroconf" REQUIRED_USE="gui? ( ${PYTHON_REQUIRED_USE} )" diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index 166931e17c19..9fc2c2471bc7 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,10 +1,5 @@ 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 3844 BLAKE2B 52ddcdae27d25a83b5d96935ed6fbb6cc3d4f3c53c435183f7be6e413eefce5fbc86b0d50ac509e6076fd80f857d28400b77a7413a74e69e38fd904cadc0ab79 SHA512 c738724777ec7103e7503d08b9ba86cb21180e0a397a9edfbe030100f95de5fa8a6c33b4137a063dfd470a7975aba8871c7cff67667a4a515ab19502dfc0dd15 -EBUILD powertop-2.8.ebuild 3422 BLAKE2B 930fac60030bb84531e5155d29356a5d4f815705f2a7c1504bf50f5269b4f4f71807f6bc638a51af536f2ce79524bce7f7fa4941e47b5acd5e53044fffc3ca72 SHA512 22361930726c8af0fc97f111c534fb3fa26abbafd9ebb4aa2f0d5cd0b8e0a9a05fc48e646439f890de8847be913f8ee5a55dfd2b4b9e83370bc6b516a45b04f4 -EBUILD powertop-2.9.ebuild 3881 BLAKE2B 7069791fb24b1f0046ca14b930f7c33c3801c41a9f4c802293a502706bdcd907bba2a976cacee5934b52f4014b34fa336b07680fcbeadae69a1fc3f38eb7a7ee SHA512 8e881191b14e438c2a3164a17914419224dcd0b2f25ede1c863655652fb2e51495c7cba0687c62cd3ff57a0551c2719e39aae118708f09cb50f956fbbbd6fe6d +EBUILD powertop-2.10.ebuild 3843 BLAKE2B f0d637015c7ed1dbf8f69c619630dcf7ea3a0a6fe1a9698da2dda5274a28d054c88ac884b8a7c6ca312c1bca4a582da6e008476a548592fdf60ad357083b85b0 SHA512 c9f56ee6c4d33ad52d4774ffc96b791f7c82c677aa5e439a84c9ee7d4e7c6205163b7ede16c3e30cf10bbee3835fd16d6cbd7aa5c955c8a303f5830842c2d494 EBUILD powertop-9999.ebuild 3790 BLAKE2B fb6238df26defce86bfd33d36eed9c160ba491f7457dbe708eaaa4511ce9cf007288af610dd57103e9d5eb80b43dbeb1fda74195b044e406ca3a46baf630053a SHA512 ce9caf68f29e9788fc7732bf091a85bf97fc42beacc8a1c80b4d31efcb051a342762aacd546e5a2d88e01ee4426d8513891a16fa22233bc184d62862de8f3db9 MISC metadata.xml 328 BLAKE2B b0558a511f51fb77479976e60fde11b9cc46f85af935d78d060a53a1d5b1dc2611721e3c1451e3d23229cb8db0bd2bd9c6bb902c9b0fca8f57718f53f16032a8 SHA512 9d17013502d4a90d7c41493c2e69f7bc20bfd834f6f2caa5b105f9cc3045b87382393903c08a8e25bd75faaa9371e2d5c16d2521a90a89dd08697069ce8e8f5d 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 d378280f3c68..000000000000 --- 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 - diff --git a/sys-power/powertop/powertop-2.10.ebuild b/sys-power/powertop/powertop-2.10.ebuild index 7de8f42db8cb..a0784d08bd46 100644 --- a/sys-power/powertop/powertop-2.10.ebuild +++ b/sys-power/powertop/powertop-2.10.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; 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 diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild deleted file mode 100644 index 2ec905b8419f..000000000000 --- 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_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() { - epatch "${FILESDIR}"/${P}-ncurses_tinfo.patch - - # Call eautoreconf since ncurses patch touches configure.ac. - eautoreconf -} - -src_configure() { - export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses) - econf $(use_enable nls) -} diff --git a/sys-power/powertop/powertop-2.9.ebuild b/sys-power/powertop/powertop-2.9.ebuild deleted file mode 100644 index d9536ebd1e01..000000000000 --- a/sys-power/powertop/powertop-2.9.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit eutils linux-info autotools -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/fenrus75/powertop.git" - inherit git-r3 autotools - 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 ~arm64 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/" - -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 -" - -PATCHES=( - "${FILESDIR}"/${P}-libc++.patch - "${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 - if [[ ${PV} == "9999" ]] ; then - chmod +x scripts/version || die "Failed to make 'scripts/version' executable" - scripts/version || die "Failed to extract version information" - fi - - # Call eautoreconf since ncurses patch touches configure.ac. - $(which aclocal) --install -Im4 2>/dev/null #599114 - eautoreconf -} - -src_configure() { - export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses) - econf $(use_enable nls) -} -- cgit v1.2.3