mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sys-power/thermald: drop 2.5.4-r1, 2.5.6
Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST thermald-2.5.4.tar.gz 179202 BLAKE2B 945466ee90e61b4c59105f6f0d5b011b9cad9a9613ec5ac1f9e8d2ec1d75bc21e1685e7c8f165f5f4f46736d0b862a149b1e1444500d64aa1429d97db85209ac SHA512 7e73e7860ca6df22862db5fad1d8ab75361deac9cb3631da2950b02f366febd78a93c81afe93af396c9be2a809e8be8c764b0d3183b545e051f3ec7b9d9dd078
|
||||
DIST thermald-2.5.6.tar.gz 182768 BLAKE2B cc6249d5e0a3b5961776ed9ac888d1468acbb2aad49f63f99bf6e3289227f786ab3cc11b6122e702ca67f898b6d6b25c4e58c2ba1ba4aad1a38e6b74eaaf950f SHA512 d039e4bd4ed203caf786c8090c27910b5b5f3886e8e4d160d6347bb2b8c1d6aaaca14958ee91ad4aedb02e67f8a6403805719bf07d55f03fe1f28f3e4378ae73
|
||||
DIST thermald-2.5.7.tar.gz 182761 BLAKE2B d812e1a7e0b55dd5d06ff491183ad0061acb79d2c80a6a248456821676bd3728e28a5d6b23d8fe2565ca8424830f095de8595e85bdfc514f17418af50d7e7284 SHA512 49699eb2a3f3d1197e680a39ecba767a1f11a5d4209671d30152f1e126f7c48b650909c4dd90c496a7857b0fa9ad6fc8c5a849413a8e544b3d5f62d8acfc8268
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
diff --git a/src/acpi_thermal_rel_ioct.h b/src/acpi_thermal_rel_ioct.h
|
||||
index dd045a9..9b12a69 100644
|
||||
--- a/src/acpi_thermal_rel_ioct.h
|
||||
+++ b/src/acpi_thermal_rel_ioct.h
|
||||
@@ -34,17 +34,14 @@
|
||||
#define ACPI_THERMAL_GET_ART _IOR(ACPI_THERMAL_MAGIC, 6, unsigned long)
|
||||
|
||||
/*
|
||||
- * ACPI_THERMAL_GET_PSVT_REV = Revision number
|
||||
- * identifies limit type: 1=true proportional limit, 2=depth limit
|
||||
* ACPI_THERMAL_GET_PSVT_COUNT = Number of PSVT entries
|
||||
* ACPI_THERMAL_GET_PSVT_LEN = Total return data size (PSVT count x each
|
||||
* PSVT entry size)
|
||||
* ACPI_THERMAL_GET_PSVT = Get the data as an array of psvt_objects
|
||||
*/
|
||||
-#define ACPI_THERMAL_GET_PSVT_REV _IOR(ACPI_THERMAL_MAGIC, 7, unsigned long)
|
||||
-#define ACPI_THERMAL_GET_PSVT_LEN _IOR(ACPI_THERMAL_MAGIC, 8, unsigned long)
|
||||
-#define ACPI_THERMAL_GET_PSVT_COUNT _IOR(ACPI_THERMAL_MAGIC, 9, unsigned long)
|
||||
-#define ACPI_THERMAL_GET_PSVT _IOR(ACPI_THERMAL_MAGIC, 10, unsigned long)
|
||||
+#define ACPI_THERMAL_GET_PSVT_LEN _IOR(ACPI_THERMAL_MAGIC, 7, unsigned long)
|
||||
+#define ACPI_THERMAL_GET_PSVT_COUNT _IOR(ACPI_THERMAL_MAGIC, 8, unsigned long)
|
||||
+#define ACPI_THERMAL_GET_PSVT _IOR(ACPI_THERMAL_MAGIC, 9, unsigned long)
|
||||
|
||||
#ifndef __KERNEL__
|
||||
#define u64 unsigned long long
|
||||
@@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools linux-info out-of-source systemd
|
||||
|
||||
DESCRIPTION="Thermal daemon for Intel architectures"
|
||||
HOMEPAGE="https://github.com/intel/thermal_daemon"
|
||||
SRC_URI="https://github.com/intel/thermal_daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/dbus-glib:=
|
||||
dev-libs/glib:=
|
||||
dev-libs/libxml2:=
|
||||
dev-libs/libevdev
|
||||
sys-power/upower
|
||||
sys-apps/dbus:="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc
|
||||
dev-util/glib-utils"
|
||||
|
||||
S=${WORKDIR}/thermal_daemon-${PV}
|
||||
DOCS=( thermal_daemon_usage.txt README.txt )
|
||||
|
||||
CONFIG_CHECK="~PERF_EVENTS_INTEL_RAPL ~X86_INTEL_PSTATE ~INTEL_POWERCLAMP ~INT340X_THERMAL ~ACPI_THERMAL_REL ~INT3406_THERMAL"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-ioctl.patch" )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/tdrundir/s@\$localstatedir/run@\$runstatedir@' \
|
||||
configure.ac || die
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
my_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--disable-werror \
|
||||
--runstatedir="${EPREFIX}"/run \
|
||||
--with-dbus-power-group=wheel \
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
}
|
||||
|
||||
my_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
rm -rf "${ED}"/etc/init || die
|
||||
doinitd "${FILESDIR}"/thermald
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools linux-info out-of-source systemd
|
||||
|
||||
DESCRIPTION="Thermal daemon for Intel architectures"
|
||||
HOMEPAGE="https://github.com/intel/thermal_daemon"
|
||||
SRC_URI="https://github.com/intel/thermal_daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/dbus-glib:=
|
||||
dev-libs/glib:=
|
||||
dev-libs/libxml2:=
|
||||
dev-libs/libevdev
|
||||
sys-power/upower
|
||||
sys-apps/dbus:="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc
|
||||
dev-util/glib-utils"
|
||||
|
||||
S=${WORKDIR}/thermal_daemon-${PV}
|
||||
DOCS=( thermal_daemon_usage.txt README.txt )
|
||||
|
||||
CONFIG_CHECK="~PERF_EVENTS_INTEL_RAPL ~X86_INTEL_PSTATE ~INTEL_POWERCLAMP ~INT340X_THERMAL ~ACPI_THERMAL_REL ~INT3406_THERMAL"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/tdrundir/s@\$localstatedir/run@\$runstatedir@' \
|
||||
configure.ac || die
|
||||
|
||||
sed -i -e 's@\$(AM_V_GEN) glib-compile-resources@cd \$(top_srcdir) \&\& &@' \
|
||||
Makefile.am || die
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
my_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--disable-werror \
|
||||
--runstatedir="${EPREFIX}"/run \
|
||||
--with-dbus-power-group=wheel \
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
}
|
||||
|
||||
my_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
rm -rf "${ED}"/etc/init || die
|
||||
doinitd "${FILESDIR}"/thermald
|
||||
}
|
||||
Reference in New Issue
Block a user