GNU bug report logs - #61046
[PATCH 1/1] gnu: Add zenmonitor3 * gnu/package/linux.scm (zenmonitor3): New variable.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Steve George <steve@HIDDEN>; Keywords: patch; merged with #61045; dated Tue, 24 Jan 2023 21:35:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Merged 61045 61046. Request was from Steve George <steve@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Jan 2023 21:34:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 24 16:34:58 2023
Received: from localhost ([127.0.0.1]:57764 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pKQwT-0005Nq-Tl
	for submit <at> debbugs.gnu.org; Tue, 24 Jan 2023 16:34:58 -0500
Received: from lists.gnu.org ([209.51.188.17]:52754)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <steve@HIDDEN>) id 1pKQwS-0005Nj-IO
 for submit <at> debbugs.gnu.org; Tue, 24 Jan 2023 16:34:57 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <steve@HIDDEN>)
 id 1pKQwS-00012c-Bm
 for guix-patches@HIDDEN; Tue, 24 Jan 2023 16:34:56 -0500
Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <steve@HIDDEN>)
 id 1pKQwQ-0000Ox-Ju
 for guix-patches@HIDDEN; Tue, 24 Jan 2023 16:34:56 -0500
Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com)
 by mailtransmit04.runbox.com with esmtps (TLS1.2) tls
 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93)
 (envelope-from <steve@HIDDEN>)
 id 1pKQwO-00Eb8j-97; Tue, 24 Jan 2023 22:34:52 +0100
Received: from [10.9.9.73] (helo=submission02.runbox)
 by mailtransmit02.runbox with esmtp (Exim 4.86_2)
 (envelope-from <steve@HIDDEN>)
 id 1pKQwN-0000hG-W7; Tue, 24 Jan 2023 22:34:52 +0100
Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)]
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1)
 id 1pKQw9-0006WX-0z; Tue, 24 Jan 2023 22:34:37 +0100
From: Steve George <steve@HIDDEN>
To: Guix patches list <guix-patches@HIDDEN>
Subject: [PATCH 1/1] gnu: Add zenmonitor3 * gnu/package/linux.scm
 (zenmonitor3): New variable.
Date: Tue, 24 Jan 2023 21:34:04 +0000
Message-Id: <20230124213404.117503-2-steve@HIDDEN>
X-Mailer: git-send-email 2.39.1
In-Reply-To: <20230124213404.117503-1-steve@HIDDEN>
References: <20230124213404.117503-1-steve@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: permerror client-ip=2a0c:5a00:149::25;
 envelope-from=steve@HIDDEN; helo=mailtransmit04.runbox.com
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7,
 SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Tobias Geerinckx-Rice <me@HIDDEN>, Steve George <steve@HIDDEN>,
 Leo Famulari <leo@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

---

 gnu/packages/linux.scm | 49 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 250eacd076..2a590086ed 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6694,6 +6694,55 @@ (define-public x86-energy-perf-policy
 cpufreq sub-system is enabled or not.")
     (license license:gpl2)))
 
+(define-public zenmonitor3
+  (package
+    (name "zenmonitor3")
+    (version "2e68a31b0248699ec1f3caa1782d9b520222242a")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.exozy.me/a/zenmonitor3")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "18rwk2jm2zjh15hdwqszyga2g7cyifblch0bska3drlm7ivqi2hx"))))
+    (build-system gnu-build-system)
+    (native-inputs (list pkg-config))
+    (inputs (list glib gtk+ gnu-make ncurses polkit-duktape))
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (delete 'configure)
+                  (add-after 'build 'build-cli
+                    (lambda* (#:key make-flags #:allow-other-keys)
+                      (apply invoke "make" "build-cli" make-flags)))
+                  (add-after 'install 'install-cli
+                    (lambda* (#:key make-flags #:allow-other-keys)
+                      (apply invoke
+                             `("make" "install-cli"
+                               ,@make-flags))))
+                  (add-after 'install-cli 'install-polkit
+                    (lambda* (#:key inputs outputs #:allow-other-keys)
+                      (let* ((out (assoc-ref outputs "out")))
+                        (mkdir-p (string-append out "/share/applications"))
+                        (install-file "data/zenmonitor-root.desktop.in"
+                                      (string-append out "/share/applications"))
+                        (mkdir-p (string-append out "/share/polkit-1/actions"))
+                        (install-file "data/org.pkexec.zenmonitor.policy.in"
+                                      (string-append out
+                                       "/share/polkit-1/actions"))))))
+       #:tests? #f
+       #:make-flags (list (string-append "CC="
+                                         ,(cc-for-target))
+                          (string-append "PREFIX=" %output))))
+    (home-page "https://git.exozy.me/a/zenmonitor3")
+    (synopsis "Monitoring software for AMD Zen-based CPUs")
+    (description
+     "Graphical and CLI monitoring of CPU temperature, voltage, power
+and frequency on AMD Zen family CPUs.  Requires the zenpower3 and MSR
+kernel drivers.")
+    (license license:expat)))
+
 (define-public haveged
   (package
     (name "haveged")
-- 
2.39.1





Acknowledgement sent to Steve George <steve@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#61046; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 24 Jan 2023 21:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.