From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9DA2615802F for ; Mon, 20 Mar 2023 00:59:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2962E069C; Mon, 20 Mar 2023 00:59:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E25AE069C for ; Mon, 20 Mar 2023 00:59:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0AC9335D6E for ; Mon, 20 Mar 2023 00:59:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B0DF804 for ; Mon, 20 Mar 2023 00:59:48 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1679273969.40520ff8732783f898bd7a0c2c16b3c029bbb3b2.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/thermald/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-power/thermald/thermald-2.5.1.ebuild sys-power/thermald/thermald-2.5.2.ebuild X-VCS-Directories: sys-power/thermald/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 40520ff8732783f898bd7a0c2c16b3c029bbb3b2 X-VCS-Branch: master Date: Mon, 20 Mar 2023 00:59:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 355085e3-2cc4-435c-976a-62de93714f0d X-Archives-Hash: d9046f4ea99a38c753f4295fd57e03ea commit: 40520ff8732783f898bd7a0c2c16b3c029bbb3b2 Author: Yixun Lan gentoo org> AuthorDate: Mon Mar 20 00:58:08 2023 +0000 Commit: Yixun Lan gentoo org> CommitDate: Mon Mar 20 00:59:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40520ff8 sys-power/thermald: warn missing kernel feature Closes: https://bugs.gentoo.org/902153 Signed-off-by: Yixun Lan gentoo.org> sys-power/thermald/thermald-2.5.1.ebuild | 6 ++++-- sys-power/thermald/thermald-2.5.2.ebuild | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/sys-power/thermald/thermald-2.5.1.ebuild b/sys-power/thermald/thermald-2.5.1.ebuild index 97ae4f71f839..bcc7f1b46b8a 100644 --- a/sys-power/thermald/thermald-2.5.1.ebuild +++ b/sys-power/thermald/thermald-2.5.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools out-of-source systemd +inherit autotools linux-info out-of-source systemd DESCRIPTION="Thermal daemon for Intel architectures" HOMEPAGE="https://github.com/intel/thermal_daemon" @@ -28,6 +28,8 @@ DEPEND="${RDEPEND} 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 "/group=/s/power/wheel/g" \ data/org.freedesktop.thermald.conf || die diff --git a/sys-power/thermald/thermald-2.5.2.ebuild b/sys-power/thermald/thermald-2.5.2.ebuild index b5ef42067b32..a4a0727b15bf 100644 --- a/sys-power/thermald/thermald-2.5.2.ebuild +++ b/sys-power/thermald/thermald-2.5.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools out-of-source systemd +inherit autotools linux-info out-of-source systemd DESCRIPTION="Thermal daemon for Intel architectures" HOMEPAGE="https://github.com/intel/thermal_daemon" @@ -28,6 +28,8 @@ DEPEND="${RDEPEND} 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 "/group=/s/power/wheel/g" \ data/org.freedesktop.thermald.conf || die