Github messages for voidlinux
 help / color / mirror / Atom feed
From: Mek101 <Mek101@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Htop: enabled sensors support
Date: Tue, 29 Dec 2020 11:31:54 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27527@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 690 bytes --]

There is a new pull request by Mek101 against master on the void-packages repository

https://github.com/Mek101/void-packages patch-2
https://github.com/void-linux/void-packages/pull/27527

Htop: enabled sensors support
Enables optional sensors support via `libsensors`, see https://github.com/htop-dev/htop/issues/358

From what I've been able to gather, the `libsensors` lib is linked in only at [runtime](https://github.com/htop-dev/htop/blob/master/linux/LibSensors.c), therefore the temperature sensors will be enabled only in systems with `libsensors` and cause no issue on systems without.

A patch file from https://github.com/void-linux/void-packages/pull/27527.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-2-27527.patch --]
[-- Type: text/x-diff, Size: 828 bytes --]

From 185e37d3db54348586ddc94a36624a5732cf6645 Mon Sep 17 00:00:00 2001
From: Mek101 <34246799+Mek101@users.noreply.github.com>
Date: Tue, 29 Dec 2020 10:28:25 +0000
Subject: [PATCH] Enabled sensors support

Enables optional sensors support via libsensors
---
 srcpkgs/htop/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/htop/template b/srcpkgs/htop/template
index d57b6323f70..2f545e82050 100644
--- a/srcpkgs/htop/template
+++ b/srcpkgs/htop/template
@@ -3,7 +3,7 @@ pkgname=htop
 version=3.0.4
 revision=1
 build_style=gnu-configure
-configure_args="--enable-unicode --enable-cgroup --enable-taskstats"
+configure_args="--enable-unicode --enable-cgroup --enable-taskstats --enable-sensors"
 hostmakedepends="automake"
 makedepends="ncurses-devel"
 short_desc="Interactive process viewer"

             reply	other threads:[~2020-12-29 10:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-29 10:31 Mek101 [this message]
2020-12-30  6:30 ` [PR PATCH] [Closed]: Htop: enable " the-maldridge
2020-12-30  8:02 ` Mek101
2020-12-30  8:02 ` the-maldridge
2020-12-30 12:22 ` Mek101
2020-12-30 12:23 ` Mek101
2020-12-30 13:02 ` Duncaen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27527@inbox.vuxu.org \
    --to=mek101@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).