diff options
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/Manifest.gz | bin | 5390 -> 5395 bytes | |||
-rw-r--r-- | sys-power/acpi_call/Manifest | 2 | ||||
-rw-r--r-- | sys-power/acpi_call/acpi_call-1.1.0-r3.ebuild | 32 | ||||
-rw-r--r-- | sys-power/acpi_call/acpi_call-1.1.0-r4.ebuild | 36 | ||||
-rw-r--r-- | sys-power/pm-utils/Manifest | 1 | ||||
-rw-r--r-- | sys-power/pm-utils/pm-utils-1.4.1-r6.ebuild | 93 | ||||
-rw-r--r-- | sys-power/powertop/Manifest | 7 | ||||
-rw-r--r-- | sys-power/powertop/files/0001-configure.ac-Use-PKG_PROG_PKG_CONFIG-macro.patch | 62 | ||||
-rw-r--r-- | sys-power/powertop/powertop-2.10.ebuild | 122 | ||||
-rw-r--r-- | sys-power/powertop/powertop-2.11.ebuild | 118 | ||||
-rw-r--r-- | sys-power/powertop/powertop-2.13-r1.ebuild (renamed from sys-power/powertop/powertop-2.13.ebuild) | 1 | ||||
-rw-r--r-- | sys-power/suspend/Manifest | 2 | ||||
-rw-r--r-- | sys-power/suspend/suspend-1.0_p20200924.ebuild | 59 |
13 files changed, 126 insertions, 409 deletions
diff --git a/sys-power/Manifest.gz b/sys-power/Manifest.gz Binary files differindex a000fb60a475..79293f0fecca 100644 --- a/sys-power/Manifest.gz +++ b/sys-power/Manifest.gz diff --git a/sys-power/acpi_call/Manifest b/sys-power/acpi_call/Manifest index cdc7f891eba6..d7a688ae2040 100644 --- a/sys-power/acpi_call/Manifest +++ b/sys-power/acpi_call/Manifest @@ -6,8 +6,6 @@ AUX acpi_call-3.17-linux-4.14.patch 341 BLAKE2B 8402c22a3f016f8b2b00805f6ce1db3b AUX acpi_call-3.17-linux-5.6.patch 1002 BLAKE2B ac5ddd5a3375aff549117cb0410d1a3d0468e07f11eb9456b89809e2d6481ab0f63a33d4b5447a8de868ee3aa3b908ea1530b2ba59a9f551c59a5839f46b8220 SHA512 31aba84449ea18511914c7bc05124cbeefbb51ce34736b84b0bf83bf7f6ab9dc3d6df74e2f87ac09d7a6117f9839573b6602c0f94e8b56184af7695d9a4db389 DIST acpi_call-1.1.0.tar.gz 10470 BLAKE2B 000c5e6f1eb968bdea3d8dfb6d6bf7b18daffe8baa75ff32e8c6c4b98cafe0a72a67a65a17994a1c8efa16f528bdfbf2b27686a146730c319a5195dfa9ec0d51 SHA512 d5cf13c15f9057e3a27aaacfee6dcdb17b6a79194bdc8fd57b8140c07a532e2e58151bea881aa158c1183ac3bbe89f83fcfc2279ffd9e945a72331b6ddbf2c70 DIST acpi_call-3.17.tar.gz 10470 BLAKE2B e1a4912f4b92532aa8496e668541975b7e563dfd7613d41f33503d5eecad786b84ba98b205f27c4a4fbd3b37b034a467cf7c9a73f2995539d2117f50751df682 SHA512 39f8f924995ba4e5490e93f03c33db083ced224699b1028102294b2cc99edebd1eea04d33b50beed9dea86939c124682ef8d013c990d5611471b104be3200cb1 -EBUILD acpi_call-1.1.0-r3.ebuild 708 BLAKE2B 464a13863e5540b2cf702d7ab51dec1d15b5b400456594310661de9a757b83810d1577b978783ae385bed69ba2d22f539ef42700e4b544b58b532138dade486c SHA512 83848672df330912eede86df9025be30a3100e73fea3227ef84a68a11ee56de07f0a604c8dd8d3485723a6f78877f6fd953a6a27c273c459296f1566ac0974ef -EBUILD acpi_call-1.1.0-r4.ebuild 778 BLAKE2B b437b750c540d2348bdf13094d23a9c38a34c83984f1b7e47b436ee9977533e583246090bf9dc3c5353c2935885e58470e2d4635136d5cd2d534f53ad91588d3 SHA512 d806686711e0103bd4245aaa8d0dcb9ff0964f391c6935f5c1425a443bfe8cd8ff82ca27e8ff9c0e6ed0d5a87145b2feb706b3d2fb5a5a2eaf0f6e9f93346a74 EBUILD acpi_call-1.1.0-r5.ebuild 832 BLAKE2B fa8a5377ffd2d5e7f9b2b2ac86b1709c5630f6720023e73a6bf598962a7b63011b75d94e25a108c216a6121e92918217c527d638fcdceca7d3af48ff9d136e67 SHA512 a29a162870bacf966f8036fd2c079803ad2037798c5ee9b06dcf1f5e550cbdfc4387538a477ad90d5a7fc7a98d407e6575287146e77cc2628b3236cb7123b201 EBUILD acpi_call-3.17-r2.ebuild 808 BLAKE2B 35076a597e1fc879b8d11d0a121cd01a43c8fdb6774c00de9eb9b32ebe3a58130fd3b207af8fd7fe54fa70005c7a5c0567d705aeaad95fb3ab1f0c9b8f0276f4 SHA512 1e9e521ea51e0ebc9863d963dea0310d34ad1a47afa23eca29cf7c8492347799ae73d21881c61836b80c29e5faa92c8ef7de3689a530ef87a7614a2efd23ee5e EBUILD acpi_call-9999.ebuild 685 BLAKE2B c562b75f62f68ebf5df42851fd8d330aaa86416dfa1fcf695ae278e15890505dbdb2cb463afd18e4c38eb721a4d37613488c92427c727f0115cdbc3ed9814414 SHA512 fec83bf1b8af54c3c0f0dc66ed373da4d6f40ec97ccaaa2d85b4e069d9ad4ae34af5c41db9369881f5d0cd6be46683e0d29decd81c2e88a8b7a001eb00807a16 diff --git a/sys-power/acpi_call/acpi_call-1.1.0-r3.ebuild b/sys-power/acpi_call/acpi_call-1.1.0-r3.ebuild deleted file mode 100644 index fb33317d196b..000000000000 --- a/sys-power/acpi_call/acpi_call-1.1.0-r3.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit linux-info linux-mod - -if [ "${PV}" = "9999" ]; then - inherit git-2 - EGIT_REPO_URI="https://github.com/mkottman/acpi_call.git" - KEYWORDS="" -else - inherit vcs-snapshot - SRC_URI="https://github.com/mkottman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -DESCRIPTION="A kernel module that enables you to call ACPI methods" -HOMEPAGE="https://github.com/mkottman/acpi_call" - -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -CONFIG_CHECK="ACPI" -MODULE_NAMES="acpi_call(misc:${S})" -BUILD_TARGETS="default" - -src_compile() { - BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}" - linux-mod_src_compile -} diff --git a/sys-power/acpi_call/acpi_call-1.1.0-r4.ebuild b/sys-power/acpi_call/acpi_call-1.1.0-r4.ebuild deleted file mode 100644 index 2c15af2d8fe2..000000000000 --- a/sys-power/acpi_call/acpi_call-1.1.0-r4.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils linux-info linux-mod - -if [ "${PV}" = "9999" ]; then - inherit git-2 - EGIT_REPO_URI="https://github.com/mkottman/acpi_call.git" - KEYWORDS="" -else - inherit vcs-snapshot - SRC_URI="https://github.com/mkottman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -DESCRIPTION="A kernel module that enables you to call ACPI methods" -HOMEPAGE="https://github.com/mkottman/acpi_call" - -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -CONFIG_CHECK="ACPI" -MODULE_NAMES="acpi_call(misc:${S})" -BUILD_TARGETS="default" - -src_prepare() { - epatch "${FILESDIR}/${P}-linux-3.17.patch" -} - -src_compile() { - BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}" - linux-mod_src_compile -} diff --git a/sys-power/pm-utils/Manifest b/sys-power/pm-utils/Manifest index 23c067598d6d..eb9e37c82851 100644 --- a/sys-power/pm-utils/Manifest +++ b/sys-power/pm-utils/Manifest @@ -15,6 +15,5 @@ AUX power.d/pci_devices 1391 BLAKE2B 5da4f067b6b7e6d6905fb719cdbead8abf65d347ea3 AUX power.d/usb_bluetooth 1121 BLAKE2B abcd8ab1e9b455dacadd5ca9627a63e9bb61c6c49912d644283c299c10171d27b684d48166058f64e1a2ebdb24f04492bf728015e3e9f33f7612da3c8d903e13 SHA512 b96abfdb8745f320ac3f1f368d1095195c68b0a56270aea4c5ad61e913ddc1641c5b5e1aadc6225d78f88956c4ffb2a396e031de02b9ecced09fac09765701bf AUX sleep.d/50unload_alx 316 BLAKE2B b674a3b9480c77836dc7137dedd4639704b428a6109f7e13971ef45ee328e157c7b4304e12ed0e022298c68d6fc4d2aafbb2da4a5b50d27366e6991ff027320b SHA512 64e7f77088a6157c90024d26ae6afde40abffc17d8ec2775e6a4ed17fac6c6fc1787c9f1b02cd0f4cd9e18dd74502f84e894006875b7dcacc39e509b3e0d86b0 DIST pm-utils-1.4.1.tar.gz 208687 BLAKE2B dde7992acf1b28378021f4bd433a8e08c37bb35035af19d8b811cf8a22c141ded5cc02caf3e2ffd7119592eefcd941e4ddebb0dfbe715007788ea201cb96d073 SHA512 5bc9479fe75f120aee136befeb24c8d7d85f61410b551177ed61fd1b4ea9cce7989796b067e357ea93b44b4ae9f66311687066f188236c5efdfd3750695a8017 -EBUILD pm-utils-1.4.1-r6.ebuild 2914 BLAKE2B 7010fb2a2225ee2e82d513f82d44bf771462ad88da12c229de36da0f0c5f235ce3b8b08aa65ac64b696b0de4d47fb9af31abfec63105f87c38274435b4649ff2 SHA512 80440890a8cf4245984ba20146b756b1677ed07b396604d16fcd30ebe32ac28e563456c6b40b6c2cec7a558e922170e3a6c39d6fa2fb8870469a3d0797380433 EBUILD pm-utils-1.4.1-r7.ebuild 2958 BLAKE2B d6682a59f2bfee19428292a17f27ab3460075a23907f5323ed4bb691a59bf8a0a7ff8a8f051f120ac31828dc1642c51761b49db55df6bf891c4d3affd42b05c8 SHA512 731c270de8041ee0165557544a364de70a7ca1773886b8373e571aa623b2ea9978b7e95556829b0d04e0f78b7c49925dd0d37a250b831782c4b6c5d8f1e2920a MISC metadata.xml 321 BLAKE2B 17786e84c4ddae5272489e8238655805099de241a1ffa04c985434d4a35c902d2f5a39c8a288dc1c35d6c4d54167d4ccf8439982faee55418ff8872e2ca6aac6 SHA512 8bbd7192ac92567bef9234c1725dd9abd12fbb2809d961d0f6690f05b9477e0d07ef6056a516b1eddb1c533c6b80560c9924d74f1e2fe57f682ca1e622354563 diff --git a/sys-power/pm-utils/pm-utils-1.4.1-r6.ebuild b/sys-power/pm-utils/pm-utils-1.4.1-r6.ebuild deleted file mode 100644 index 7f54b68cd96f..000000000000 --- a/sys-power/pm-utils/pm-utils-1.4.1-r6.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils multilib - -DESCRIPTION="Suspend and hibernation utilities" -HOMEPAGE="https://pm-utils.freedesktop.org/" -SRC_URI="https://pm-utils.freedesktop.org/releases/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ppc64 s390 sparc x86" -IUSE="alsa debug ntp video_cards_intel video_cards_radeon" - -vbetool="!video_cards_intel? ( sys-apps/vbetool )" -RDEPEND="!<app-laptop/laptop-mode-tools-1.55-r1 - !sys-power/powermgmt-base[-pm-utils(+)] - sys-apps/dbus - >=sys-apps/util-linux-2.13 - sys-power/pm-quirks - alsa? ( media-sound/alsa-utils ) - ntp? ( || ( net-misc/ntp net-misc/openntpd ) ) - amd64? ( ${vbetool} ) - x86? ( ${vbetool} ) - video_cards_radeon? ( app-laptop/radeontool )" -DEPEND="${RDEPEND}" - -DOCS="AUTHORS ChangeLog NEWS pm/HOWTO* README* TODO" - -src_prepare() { - local ignore="01grub" - use ntp || ignore+=" 90clock" - - use debug && echo 'PM_DEBUG="true"' > "${T}"/gentoo - echo "HOOK_BLACKLIST=\"${ignore}\"" >> "${T}"/gentoo - - epatch \ - "${FILESDIR}"/${PV}-bluetooth-sync.patch \ - "${FILESDIR}"/${PV}-disable-sata-alpm.patch \ - "${FILESDIR}"/${PV}-fix-intel-audio-powersave-hook.patch \ - "${FILESDIR}"/${PV}-logging-append.patch \ - "${FILESDIR}"/${PV}-fix-alpm-typo.patch \ - "${FILESDIR}"/${PV}-inhibit-on-right-status.patch \ - "${FILESDIR}"/${PV}-ignore-led-failure.patch \ - "${FILESDIR}"/${PV}-run-hook-logging.patch \ - "${FILESDIR}"/${PV}-suspend-hybrid.patch \ - "${FILESDIR}"/${PV}-uswsusp-hibernate-mode.patch \ - "${FILESDIR}"/${PV}-xfs_buffer_arguments.patch -} - -src_configure() { - econf --disable-doc -} - -src_install() { - default - doman man/*.{1,8} - - # Remove duplicate documentation install - rm -r "${ED}"/usr/share/doc/${PN} - - insinto /etc/pm/config.d - doins "${T}"/gentoo - - insinto /etc/logrotate.d - newins "${FILESDIR}"/${PN}.logrotate ${PN} #408091 - - exeinto /usr/$(get_libdir)/${PN}/sleep.d - doexe "${FILESDIR}"/sleep.d/50unload_alx - - exeinto /usr/$(get_libdir)/${PN}/power.d - doexe "${FILESDIR}"/power.d/{pci_devices,usb_bluetooth} - - # No longer required with current networkmanager (rm -f from debian/rules) - rm -f "${ED}"/usr/$(get_libdir)/${PN}/sleep.d/55NetworkManager - - # No longer required with current kernels (rm -f from debian/rules) - rm -f "${ED}"/usr/$(get_libdir)/${PN}/sleep.d/49bluetooth - - # Punt HAL related file wrt #401257 (rm -f from debian/rules) - rm -f "${ED}"/usr/$(get_libdir)/${PN}/power.d/hal-cd-polling - - # Punt hooks which have shown to not reduce, or even increase power usage - # (rm -f from debian rules) - rm -f "${ED}"/usr/$(get_libdir)/${PN}/power.d/{journal-commit,readahead} - - # Remove hooks which are not stable enough yet (rm -f from debian/rules) - rm -f "${ED}"/usr/$(get_libdir)/${PN}/power.d/harddrive - - # Change to executable (chmod +x from debian/rules) - fperms +x /usr/$(get_libdir)/${PN}/defaults -} diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index b96d88ad9fb0..aa94afb9f1b2 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,9 +1,6 @@ +AUX 0001-configure.ac-Use-PKG_PROG_PKG_CONFIG-macro.patch 3100 BLAKE2B e432205a6145f4f7efbe3dac7626b97b73bd4c9db6f639fb401494a38540025dcde40fe53464ed15057a5c67e4da5786a4a57b24e549a739c8a758d88654ab50 SHA512 79ca53f0c4ba9d37dd0a6b6bbfcac39651f658b0288aa33b941ae5bfc15cbf520ec197a6fe4230417385fc726723ef79f99a0728bda83eab96907391ebaaea32 AUX powertop-2.8-ncurses_tinfo.patch 1385 BLAKE2B 1b11138ae9c8fc90236b421d733f8cf0edff843572cfbfececba0efed5dd2a154ca561692b42e087a1c75bc19966b71fde241a029f16b126074b7d857e8c4bf5 SHA512 f1f483c43355fc1c52d0d7b9ca8e01f71c371e4e77c275584afc9f7178985e0028d42ed675adc52a1ea014325c5aaaafe245fa9166c14326cf467bd92c274522 -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 -EBUILD powertop-2.10.ebuild 3843 BLAKE2B f0d637015c7ed1dbf8f69c619630dcf7ea3a0a6fe1a9698da2dda5274a28d054c88ac884b8a7c6ca312c1bca4a582da6e008476a548592fdf60ad357083b85b0 SHA512 c9f56ee6c4d33ad52d4774ffc96b791f7c82c677aa5e439a84c9ee7d4e7c6205163b7ede16c3e30cf10bbee3835fd16d6cbd7aa5c955c8a303f5830842c2d494 -EBUILD powertop-2.11.ebuild 3690 BLAKE2B 145b1787828fc13066f4e076e311b39e5ac22ea990591fe5817b6410d6b16e5c686b9d2c1fe839e9e20653dc920eaaadfc98529d40f523f38f1a9c6ca00ffe7b SHA512 e13aa9b1cef15c80f5f69a9c51bcb286a2211c4c5161b281cb4e879fc970bb7e607a829c987093c1f8b9087f6dbaa2a7649eb905496875220f99e19bf5f03786 -EBUILD powertop-2.13.ebuild 3719 BLAKE2B f4f9d0554bc4eee892f13a5fa3f733befcd0555af4366345745c7967393abc0e1138dc3b0d4bcf25e78902d55ce9785c5510cee4a207d9d57258ae9ab2a94401 SHA512 49f66a7edd7671af9a683fa6a219aac16d493bebb2779315b9379c3af178832eb83af1b06aab122fe1a1a8ad4473998c3e1e2d5f3b7d662a4952f992ebe767fa +EBUILD powertop-2.13-r1.ebuild 3788 BLAKE2B 4e985b40055bb591c25cb86deb59e5fe53db94c6486857f118000752b6a8764fda314f4c5d4b75e1b3e3877f5e3dac931cf0a9f06fcff44f6afb989cf5fdb29f SHA512 5d1ccd173b788818f5a9f2473cbaa91af89771d206e4726e8873717611240cbf4e2a6ce5c187ba46db0da0edb73c9d9fbca494841abbaceb8e419af6e788a9a0 EBUILD powertop-9999.ebuild 3602 BLAKE2B b52644b5010edb0cbad9a339a75edaca4ec98188da83ab5c4c16cd85e3cec5ef8613a5fe5622cfc1d0c43654b9073372e6a63fce14d54bfd1c22792181ae9ea3 SHA512 3e918cf6c3012fba1ba5acc486c5bd8c0791f8ff1dc6c4d139c1acb0b7a9cd319a7b50c9b1808ddfafafcf591ac9a0c9d81ee58c115a99b4be5045a553437338 MISC metadata.xml 328 BLAKE2B b0558a511f51fb77479976e60fde11b9cc46f85af935d78d060a53a1d5b1dc2611721e3c1451e3d23229cb8db0bd2bd9c6bb902c9b0fca8f57718f53f16032a8 SHA512 9d17013502d4a90d7c41493c2e69f7bc20bfd834f6f2caa5b105f9cc3045b87382393903c08a8e25bd75faaa9371e2d5c16d2521a90a89dd08697069ce8e8f5d 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 000000000000..c864020514e1 --- /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 <edward.baker@intel.com> +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 + <snip> + 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 +<snip> + +The environment variable is populated for board specific tooling. +declare -x PKG_CONFIG="/build/volteer/build/bin/pkg-config" + +Signed-off-by: Ed Baker <edward.baker@intel.com> +--- + 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.10.ebuild b/sys-power/powertop/powertop-2.10.ebuild deleted file mode 100644 index a0784d08bd46..000000000000 --- 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} == "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-2.11.ebuild b/sys-power/powertop/powertop-2.11.ebuild deleted file mode 100644 index e472b13d37e0..000000000000 --- a/sys-power/powertop/powertop-2.11.ebuild +++ /dev/null @@ -1,118 +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} == "9999" ]] ; 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_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 - - echo "\"${PV}\"" > version-short - echo "${PV}" > version-long - - eautoreconf -} - -src_configure() { - export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses) - econf $(use_enable nls) -} diff --git a/sys-power/powertop/powertop-2.13.ebuild b/sys-power/powertop/powertop-2.13-r1.ebuild index c3f8c0534105..ef1f63925d7c 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() { diff --git a/sys-power/suspend/Manifest b/sys-power/suspend/Manifest index 951f2896ea0b..bb89b0eefabc 100644 --- a/sys-power/suspend/Manifest +++ b/sys-power/suspend/Manifest @@ -1,4 +1,6 @@ DIST suspend-1.0_p20120915.tar.xz 111080 BLAKE2B 99eea1d9808219373501001f0af90973c9176c1b19d62bff7be26886b11ebb514134b68434e9b453146ef1a4af2c4cc8e26326b956a1b2378c38c100638af17c SHA512 bb714b4a7c0f5749c4b711a5c38ca5d8cb5078176a75387957123f75cfe8348adc3aa4e96335eb65c14ad1dd2f99fd6dbca3b415525dd39b3c547f9b13b775be DIST suspend-1.0_p20190605.patch.xz 6224 BLAKE2B 0eefbef5a8d777590f69c85b02edb5575a357b373b78d94846e2c2bd59430cbd55af59ee0e676faa7f60388cb3910adb2182dedadb1fdc1df38a409411ea2df1 SHA512 cf576a029b35306368cbdabb9863965e055198920b86eab7205083f3502ae69ec3e8a4267fb6ceaaf1560a8bdb0c59543453f1baad4758c8adc4ac4ae92736bc +DIST suspend-1.0_p20200924.patch.xz 6664 BLAKE2B 8a0529859cfd1a19f52fb46f306111ec4e520c9678113fd7c5ad12ada85bed89fedeeafee5145f11f07ef8dac1c6c1ae0ff2d6c6d6f794c268759d70895b1af9 SHA512 27c7cfcf2b2a0f8ccafd4c0020c1dce3aa1df352adac81ba5f24b76381a833f10621f7ae58e55c7c3d41f41ba63a38aa818454edaa32ad1f0fdc6db45b5bfe73 EBUILD suspend-1.0_p20190605.ebuild 1236 BLAKE2B 58de9f7d775ea9a68f7195816286b699ec0a2030b1cd019436e28cce341a0bdbf65655746dfe6f6b8f230db0e6fa4188e4a5a94e786cf61229fd2dbc9bfddefe SHA512 75764d08c169246882f1e177a327fa12f842c931b215af2de76d80039e42c7054be9ced7aeab4d7ecee9c311d5d913e5306595229faec1ce149c7739b43b3673 +EBUILD suspend-1.0_p20200924.ebuild 1238 BLAKE2B 4c8bc35b42b7a1421e315a20caa017b6c5603c5570c0703e39b27fc03be99e326789576875f737071e53934e0defd751036dd2f166ba47167c6b13e5621e4ecd SHA512 1af36494afcf26e6e06aadf0623fb88ecc64216a92d72851433a6a326ea1633eb2472cd3fdc71fe6e5162926cae966032f9e44096bb7ea04f859b7de1b8d3b03 MISC metadata.xml 471 BLAKE2B 2ea30120686624747556b6498973fbd771c5d58ef822daa17f2f162ca212631b2657a0d2c8ac07e25f654e478f1be70c7fcf256112fbf54fe5adc1dc565509e8 SHA512 e357c0bf04493ca74cd36d4f3d5781c3d03afd24cad914a0fab8149c99a5543bc4dddee538d235147ea3b73a8ba081e16badde28bf10af52b2cb99eb89c19f4a diff --git a/sys-power/suspend/suspend-1.0_p20200924.ebuild b/sys-power/suspend/suspend-1.0_p20200924.ebuild new file mode 100644 index 000000000000..e40e3e8d371b --- /dev/null +++ b/sys-power/suspend/suspend-1.0_p20200924.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +BASE_PV="1.0_p20120915" + +DESCRIPTION="Userspace Software Suspend and S2Ram" +HOMEPAGE="http://suspend.sourceforge.net +https://github.com/bircoph/suspend" +SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${PN}-${BASE_PV}.tar.xz + https://dev.gentoo.org/~bircoph/patches/${P}.patch.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="crypt +lzo threads" + +RDEPEND=" + dev-libs/libx86 + >=sys-apps/pciutils-2.2.4 + crypt? ( + >=dev-libs/libgcrypt-1.6.3:0[static-libs] + dev-libs/libgpg-error[static-libs] ) + lzo? ( >=dev-libs/lzo-2[static-libs] ) " +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-lang/perl-5.10 + virtual/pkgconfig" + +S="${WORKDIR}/${PN}" + +PATCHES=( "${WORKDIR}/${P}.patch" ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --disable-fbsplash \ + $(use_enable crypt encrypt) \ + $(use_enable lzo compress) \ + $(use_enable threads) +} + +src_install() { + dodir etc + emake DESTDIR="${D}" install + rm "${D}/usr/share/doc/${PF}"/COPYING* || die +} + +pkg_postinst() { + elog "In order to make this package work with genkernel see:" + elog "https://bugs.gentoo.org/show_bug.cgi?id=156445" +} |