summaryrefslogtreecommitdiff
path: root/sys-power
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-23 00:11:31 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-23 00:11:31 +0100
commitbff543bb632933380da922cbfc07c67157d72d42 (patch)
treedf2e5eebc3dbd8e29153ab3a869b3be8d9be9f19 /sys-power
parent491d0101c89d81dec507f28215b3cb094800d600 (diff)
gentoo auto-resync : 23:06:2024 - 00:11:30
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/Manifest.gzbin5741 -> 5738 bytes
-rw-r--r--sys-power/pmtools/Manifest3
-rw-r--r--sys-power/pmtools/files/pmtools-20110323-r2-types.patch21
-rw-r--r--sys-power/pmtools/pmtools-20130209.ebuild54
-rw-r--r--sys-power/power-profiles-daemon/Manifest2
-rw-r--r--sys-power/power-profiles-daemon/power-profiles-daemon-0.21.ebuild2
6 files changed, 80 insertions, 2 deletions
diff --git a/sys-power/Manifest.gz b/sys-power/Manifest.gz
index 3e428c867887..1b0361a95467 100644
--- a/sys-power/Manifest.gz
+++ b/sys-power/Manifest.gz
Binary files differ
diff --git a/sys-power/pmtools/Manifest b/sys-power/pmtools/Manifest
index e34209a43560..1180000389d1 100644
--- a/sys-power/pmtools/Manifest
+++ b/sys-power/pmtools/Manifest
@@ -2,6 +2,9 @@ AUX pmtools-20071116-64bit.patch 673 BLAKE2B 97a4b621f3da20cbac3255fc7e0d34e0634
AUX pmtools-20100123-acpixtract-pmtools.patch 1822 BLAKE2B 6d7f7de1f2807ae5a2309aac553ee1e8ee818c866325fcc06ebdb233fcf98ab8d3c800da8380d6ed39ab020be4825cef486b54812574bb2b2487243d0ed1eb6c SHA512 82d86c85ab481c1aca191c67e825c0a0bd3467b7ef9b92dadbb3fa58e1cc131b10f6e88431c83ca7289c96a304c8a1d65f798280a9fe3300f1b1f998baa7b2ee
AUX pmtools-20100123-madt.patch 1191 BLAKE2B 46d74cafb71bea3a9c7391b3636da8d9dabda9f24fcf20ff0e9469e72cbdf44477a71a42b780f9d5ba442400381add000fce0fec588f37a62b72dce93475c546 SHA512 3984c4a26248a2b152009ab3703e3fd894abd8a12716aaa7f4913b8a8d922c2a60e7e987e401a0c93c56398b63c36013bcbf7b9c51d1c119f6aa7e67e2657594
AUX pmtools-20101124-cflags-ldflags.patch 1743 BLAKE2B 65216ce6a9a347c2bc85a4ea8b891ede00d5dd6564541188cb4641747525fff801b5d20a5e2d21c1a37250ffb61f85db11e3beff07cc1bfb1107264a60f650a2 SHA512 63342f0f1f630eeb74dbe45eddd92b4be4794b34d93f691442bb6a761798d25967d93c73389ef0abace8a285efb91677493996948a34e981959782f493963dc0
+AUX pmtools-20110323-r2-types.patch 505 BLAKE2B b73420ab47c8405f3b030a088dd85a45e75273ee8d5bcb7d95076ec6346972325f99fec3e76317206edc57520f630f8660037e2f45b8b62b09f679eb6f87e5f1 SHA512 3f823d2c05938bffaf572eddfccbf63a19580f86eb87b5088fbb5cbbbccb17fec4c1ee0835119f0e4da042265411237fb16091630a6b0e96d4599c9be1b19ef5
DIST pmtools-20110323.tar.gz 62002 BLAKE2B f1de2e266d72c8a69a61df0fc57bc0b27e9a4fc89f840e893b8fbb1bc93ec54dc5f502a1066d17d082341c99b829189911d558261409455fd1db368924fbea59 SHA512 81108c011b45c58c02013a3653c2d00bc2a9a9d80bf85438a193a4fed04a3fd2890d9cd4d64ab455e3e9c1613d35a6be59698395d9a27ca0a858e3935439bafd
+DIST pmtools-20130209.tar.gz 52952 BLAKE2B bf628f458f8bddb4dc7d18866026c0e45343c88686a57121a2bb5856c0816c90a85bb67636a77258530b18b8e4e72868d991eefb280741f60ac5ac8a90bbc75b SHA512 696af0967caed1ff51411c1bc5b01cbb300f465cb3c28d9d5b1d456d85a50d173a343e32a162fa1ea836f825365997c9bdf109595be737c7e01391b9d7ace6c5
EBUILD pmtools-20110323-r2.ebuild 1117 BLAKE2B 322346a0fa202855746c61230d9840b0ab762a46751733ca293418d498e49318a5e6f0c92998323e6342a090d46e356578b42f9916649efe1430d14d44068296 SHA512 372a9907346411c536965b0eec50ffb4a101d7c18553142685bb7362f762bb1d7655d57198a87b53168954ba390cdd020e3fb49377b602fd71c7eeb393be19fd
+EBUILD pmtools-20130209.ebuild 1258 BLAKE2B 2381ce867224d6c907b4cfddd609ef8ea874c40c20d53c96a1fd1fea9747a4c08ee7333ac94ad064fd73e1d62d639fc8489826bd1449ba8f3531cd5d2553dff4 SHA512 c1258e99b276ba10e7ee8acb0285902d72f954e15f33b9dedbc4b0312ef5ec70757627fe8558def00cc80a573029d497db15359398fa4a6e00b97867849e8b22
MISC metadata.xml 652 BLAKE2B 5febc6ed444adaba4435b2cdac7586c14f52301076308ff1f6b2e016db8a89aa78acb3d1a08a8dcee8fc8c2dcb5e4ed42c79a1500f06db9ed0af9d757fc8ff76 SHA512 4c34f011c78e8bd8a12b9f844954655c4c00379c95726b7249931d58c4e58c19071f82b75a7c5933657dcf7d23f5c3e38075862aab924a3036a613faa4d99ff2
diff --git a/sys-power/pmtools/files/pmtools-20110323-r2-types.patch b/sys-power/pmtools/files/pmtools-20110323-r2-types.patch
new file mode 100644
index 000000000000..bdff55d26315
--- /dev/null
+++ b/sys-power/pmtools/files/pmtools-20110323-r2-types.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/874702#c8
+--- pmtools-orig/madt/madt.c 2005-11-12 04:07:04.000000000 +1100
++++ pmtools/madt/madt.c 2024-06-06 12:04:59.554214977 +1000
+@@ -42,7 +42,7 @@
+ /* read standard input
+ * write decoded madt to standard output
+ */
+-get_next_entry(acpi_table_entry_header * entry_header)
++int get_next_entry(acpi_table_entry_header * entry_header)
+ {
+ size_t retval;
+
+@@ -53,7 +53,7 @@
+
+ u8 buffer[1024];
+
+-main()
++int main()
+ {
+ size_t retval;
+ struct acpi_table_madt *madt_header;
diff --git a/sys-power/pmtools/pmtools-20130209.ebuild b/sys-power/pmtools/pmtools-20130209.ebuild
new file mode 100644
index 000000000000..b0f2450048c8
--- /dev/null
+++ b/sys-power/pmtools/pmtools-20130209.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Collection of tools for ACPI and power management"
+HOMEPAGE="https://github.com/anyc/pmtools/"
+SRC_URI="https://github.com/anyc/pmtools/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc"
+
+# dev-lang/perl - RDEPEND for the pmtest tooling, which only works on much older kernels.
+RDEPEND="
+ >=sys-power/iasl-20090521
+"
+
+PATCHES=(
+ # All merged upstream in 20230209
+ #"${FILESDIR}"/${PN}-20100123-acpixtract-pmtools.patch
+ #"${FILESDIR}"/${PN}-20100123-madt.patch
+ #"${FILESDIR}"/${PN}-20071116-64bit.patch
+ #"${FILESDIR}"/${PN}-20101124-cflags-ldflags.patch
+
+ # New patches
+ "${FILESDIR}"/pmtools-20110323-r2-types.patch
+)
+
+src_prepare() {
+ default
+
+ # update version info
+ sed -i -e "s|20060324|20110323|" acpixtract/acpixtract.c || die
+
+ strip-unsupported-flags
+}
+
+src_compile() {
+ # respect user's LDFLAGS
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ newbin acpidump/acpidump acpidump-pmtools
+ newbin acpixtract/acpixtract acpixtract-pmtools
+ dobin madt/madt
+
+ dodoc README madt/README.madt
+ use doc && dodoc madt/APIC*
+}
diff --git a/sys-power/power-profiles-daemon/Manifest b/sys-power/power-profiles-daemon/Manifest
index 99e0e33866c7..e597ec15b05e 100644
--- a/sys-power/power-profiles-daemon/Manifest
+++ b/sys-power/power-profiles-daemon/Manifest
@@ -2,5 +2,5 @@ AUX power-profiles-daemon.initd 391 BLAKE2B dd75825711a868de7b6c996c67c332b80a36
DIST power-profiles-daemon-0.20.tar.bz2 58388 BLAKE2B f25bc2618441f53624567c4f40d9960b28bf46fb2098eb0e2098207149df3d4923a13c40d781885e37708bf896b537ccb969ec7a928669a3776722e5e58801cf SHA512 2236aac94dafbf6fd951f3bd44953f1a14bc7c5e55349307374d836e20377e1768dcf1250fa8dcf9f01d4eddea8ab64082881189b4e958fbfcd5e2e90d3e823a
DIST power-profiles-daemon-0.21.tar.bz2 63984 BLAKE2B 206c954272fb93b17a09e4108c74462d2524ef9160880ce59709504314fd38f413c7eb65ab4f0a085f6458b04f85b4833e0df3786f0aff08e7bdc0a3a65d8d2a SHA512 8038ff7c164bbcbeebc50c911f3129e79d4f8d63278bc674e10bf2920af0bc9b0b139d5a2e056889b0b7ec86df19cc7be3e8c84e70e777544e117ee7a036b375
EBUILD power-profiles-daemon-0.20.ebuild 1889 BLAKE2B c4af22424c74ec61a1cb0dfde6c45f17efdcb3676c284d1ac34ea0ceadd7e967327fc4332d37be4068d1371741071b92222b7ab14e557c4b6ce8b05879f53ccf SHA512 2cd22b57350fb2684fc96590d9ff8a0b38515d801d44ba744784f617d0e312462233409122bb598da84fbe1e7b95386e07840485ef562c45e538bb05a111a41f
-EBUILD power-profiles-daemon-0.21.ebuild 2608 BLAKE2B 1e8dbebcb3c0aefacc75952127a03ba4ecddb19483f4664e484eb2a67c5855063783c56d457b82699fe7cac70894fa125666d7c53060bb8efc34b31eb89e13f6 SHA512 55cd58a932b3f778efa0f5aa05619720de76bf057594957daa79015ecfeb9866241f411b574cb5303b3abbd587b2ba0b9e2f2ed22461553fb42e6f9ad29dcb99
+EBUILD power-profiles-daemon-0.21.ebuild 2615 BLAKE2B c665bb1f029dbe38a49a89a3de2fa06036d0a499494bccf4ae2637ecfc70808d15644172407dffae3d45626f04a07131598a16752441e49df07f444f0ceeeba6 SHA512 8f802a2f1926754a0027e7688d454f14e17415b105ff8c6fe86f53c004aadd493130052cb8889c17a07684f1742cff7e5e246713d6f4434127a362ef24fcafed
MISC metadata.xml 349 BLAKE2B 3d5b11de51426f4ba58d91ba184112dc8c2ca996eb68b55a1fee0ebd1c5f9a04369304ca1dc06adf67c936e429a5f4982352696a436768f86cdb59689d0c6f0a SHA512 a857194a96f8d2e3d639b93256e5c0518578aa2ff3e85e3a4c5f1293750e0d40a5637b3660199153bd25185b2cf548d0bd54c52a4f4a7673f44eb027653fcaec
diff --git a/sys-power/power-profiles-daemon/power-profiles-daemon-0.21.ebuild b/sys-power/power-profiles-daemon/power-profiles-daemon-0.21.ebuild
index c8ac68231b5b..fda723bbfe4a 100644
--- a/sys-power/power-profiles-daemon/power-profiles-daemon-0.21.ebuild
+++ b/sys-power/power-profiles-daemon/power-profiles-daemon-0.21.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://gitlab.freedesktop.org/upower/power-profiles-daemon/"
SRC_URI="https://gitlab.freedesktop.org/upower/${PN}/-/archive/${PV}/${P}.tar.bz2"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="bash-completion gtk-doc man selinux test zsh-completion"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"