mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
sys-power/thermald: [QA] Remove autotools-utils based ebuilds
Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -1,5 +1 @@
|
||||
DIST thermald-1.4.2.tar.gz 89080 BLAKE2B 7dd2b734c46e006570ce8cd3ac11d922bcba6dc40c50bc6b2f19ff21e709f686138433f7e17487af405830f0a72dc86d275f3699d97db8677c8c2b75509b7fae SHA512 373620679df7db242770ae2b5c6e2b9015cfb480539889c43b8f20f52faa139ea307985c8f7369daf14c41d987f7c5af4baecc9dd460ef63556ac982eb4bcd47
|
||||
DIST thermald-1.5.3.tar.gz 335067 BLAKE2B 209ef4e798ace8521f9164cf796cdf94efdd3c47ed71c18d52728070686ae10ad4d3c10d6c0a7bd727bfc6d834214d6876dcc406ce0877a903bbc175b40beec3 SHA512 aab4ade4dc50985cd5d45bcce6ea9b75cce22504eb113c86b8733c8be88a701c8812b8b0f3202f084a8128d50ec794ebe1c73312c0a5a5fd1dbc87eedf02df16
|
||||
DIST thermald-1.5.4.tar.gz 336768 BLAKE2B c56f091bf0034f794ad3aad16d5f9ed0480822d4505efbaed65c413621f3f5da74032da25cfbd9ea6fbb46656e1a9f1626ddab288486e104f013791e4c462ccc SHA512 c23b4aabc59f11fe93074459d8343f587275771268d9c71c871da6bb46d8533a46ab9ac0b495c22771d9064288872abfd3180e3bc92dbe5842cff53046e543d6
|
||||
DIST thermald-1.6.tar.gz 331682 BLAKE2B 2e8f18134f49cee618323438478b43b36454ebdeb9f50e972f3b4eefb4c01e40e01384e54c5c15d84e4d2ba9b7fd11f67fbe7b0839df2f2fc31bc42b200e1b85 SHA512 ddcd01dcd2f6b5666ffa16ba635734e4c146244b5df7c3f0deb8120f8ee7ebf1f4ee302d49db2b7e9a4950045650922977bd40bf6b38ccea9896f81e06df1d49
|
||||
DIST thermald-1.7.1.tar.gz 420725 BLAKE2B 99e176e978e56d453fe5ff409f048122d18b9c554ed3128dac1c704a61ab483ab3ca21c2c360d1dc763de9770f877948d62d8c2216072d23fa1b828913a8e766 SHA512 a78f8aa9ef0f3e3b57fc1ebbd7ad7e67985676ad7adf5b6a6d23e4aed4e2ccb8273fb67ccd9a2133f91f7f6b19f793c9ba68e41208aabde4248ca666061fe5e0
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
commit 14bf458675a735975c6b9bf7394682e93398a8e0
|
||||
Author: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
|
||||
Date: Tue Jul 14 17:46:45 2015 -0700
|
||||
|
||||
Fix regression in exit via dbus message
|
||||
|
||||
Terminate via dbus terminate message is broken. Fixed this.
|
||||
Thanks to Yixun Lan <yixun.lan@gmail.com> for finding this.
|
||||
|
||||
diff --git a/src/main.cpp b/src/main.cpp
|
||||
index 2cf4864..d692cf3 100644
|
||||
--- a/src/main.cpp
|
||||
+++ b/src/main.cpp
|
||||
@@ -50,7 +50,7 @@
|
||||
#define TD_DIST_VERSION PACKAGE_VERSION
|
||||
#endif
|
||||
|
||||
-extern int thd_dbus_server_init();
|
||||
+extern int thd_dbus_server_init(void (*exit_handler)(int));
|
||||
|
||||
// Default log level
|
||||
static int thd_log_level = G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL
|
||||
@@ -263,7 +263,7 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
if (dbus_enable)
|
||||
- thd_dbus_server_init();
|
||||
+ thd_dbus_server_init(sig_int_handler);
|
||||
|
||||
if (!no_daemon) {
|
||||
printf("Ready to serve requests: Daemonizing.. %d\n", thd_daemonize);
|
||||
diff --git a/src/thd_dbus_interface.cpp b/src/thd_dbus_interface.cpp
|
||||
index 021bce2..7926101 100644
|
||||
--- a/src/thd_dbus_interface.cpp
|
||||
+++ b/src/thd_dbus_interface.cpp
|
||||
@@ -187,8 +187,12 @@ gboolean thd_dbus_interface_get_current_preference(PrefObject *obj,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
+void (*thd_dbus_exit_callback)(int);
|
||||
gboolean thd_dbus_interface_terminate(PrefObject *obj, GError **error) {
|
||||
thd_engine->thd_engine_terminate();
|
||||
+ if (thd_dbus_exit_callback)
|
||||
+ thd_dbus_exit_callback(0);
|
||||
+
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -561,13 +565,15 @@ gboolean thd_dbus_interface_get_sensor_temperature(PrefObject *obj, int index,
|
||||
}
|
||||
|
||||
// Setup dbus server
|
||||
-int thd_dbus_server_init() {
|
||||
+int thd_dbus_server_init(void (*exit_handler)(int)) {
|
||||
DBusGConnection *bus;
|
||||
DBusGProxy *bus_proxy;
|
||||
GError *error = NULL;
|
||||
guint result;
|
||||
PrefObject *value_obj;
|
||||
|
||||
+ thd_dbus_exit_callback = exit_handler;
|
||||
+
|
||||
bus = dbus_g_bus_get(DBUS_BUS_SYSTEM, &error);
|
||||
if (error != NULL) {
|
||||
thd_log_error("Couldn't connect to session bus: %s:\n", error->message);
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
inherit autotools-utils systemd
|
||||
|
||||
DESCRIPTION="Thermal daemon for Intel architectures"
|
||||
HOMEPAGE="https://01.org/linux-thermal-daemon"
|
||||
SRC_URI="https://github.com/01org/thermal_daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
S=${WORKDIR}/thermal_daemon-${PV}
|
||||
|
||||
CDEPEND="dev-libs/dbus-glib
|
||||
dev-libs/libxml2"
|
||||
DEPEND="${CDEPEND}
|
||||
sys-apps/sed"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
DOCS=( thermal_daemon_usage.txt README.txt )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-terminate-r1.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-systemdsystemunitdir=$(systemd_get_unitdir)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
rm -rf "${D}"/etc/init || die
|
||||
doinitd "${FILESDIR}"/thermald
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
inherit autotools-utils systemd
|
||||
|
||||
DESCRIPTION="Thermal daemon for Intel architectures"
|
||||
HOMEPAGE="https://01.org/linux-thermal-daemon"
|
||||
SRC_URI="https://github.com/01org/thermal_daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
S=${WORKDIR}/thermal_daemon-${PV}
|
||||
|
||||
CDEPEND="dev-libs/dbus-glib
|
||||
dev-libs/libxml2"
|
||||
DEPEND="${CDEPEND}
|
||||
sys-apps/sed"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
DOCS=( thermal_daemon_usage.txt README.txt )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-systemdsystemunitdir=$(systemd_get_unitdir)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
rm -rf "${D}"/etc/init || die
|
||||
doinitd "${FILESDIR}"/thermald
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
inherit autotools-utils systemd
|
||||
|
||||
DESCRIPTION="Thermal daemon for Intel architectures"
|
||||
HOMEPAGE="https://01.org/linux-thermal-daemon"
|
||||
SRC_URI="https://github.com/01org/thermal_daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
S=${WORKDIR}/thermal_daemon-${PV}
|
||||
|
||||
CDEPEND="dev-libs/dbus-glib
|
||||
dev-libs/libxml2"
|
||||
DEPEND="${CDEPEND}
|
||||
sys-apps/sed"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
DOCS=( thermal_daemon_usage.txt README.txt )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-systemdsystemunitdir=$(systemd_get_unitdir)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
rm -rf "${D}"/etc/init || die
|
||||
doinitd "${FILESDIR}"/thermald
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
inherit autotools-utils systemd
|
||||
|
||||
DESCRIPTION="Thermal daemon for Intel architectures"
|
||||
HOMEPAGE="https://01.org/linux-thermal-daemon"
|
||||
SRC_URI="https://github.com/01org/thermal_daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
S=${WORKDIR}/thermal_daemon-${PV}
|
||||
|
||||
CDEPEND="dev-libs/dbus-glib
|
||||
dev-libs/libxml2"
|
||||
DEPEND="${CDEPEND}
|
||||
sys-apps/sed"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
DOCS=( thermal_daemon_usage.txt README.txt )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-systemdsystemunitdir=$(systemd_get_unitdir)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
rm -rf "${D}"/etc/init || die
|
||||
doinitd "${FILESDIR}"/thermald
|
||||
}
|
||||
Reference in New Issue
Block a user