Github messages for voidlinux
 help / color / mirror / Atom feed
From: Goorzhel <Goorzhel@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: zenpower-0.1.12
Date: Tue, 19 Jan 2021 02:08:30 +0100	[thread overview]
Message-ID: <20210119010830.bnT9dIpoUnpaLUpCato2XCcrpvgiEwJe967lO2Crf_o@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27962@inbox.vuxu.org>

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

There is an updated pull request by Goorzhel against master on the void-packages repository

https://github.com/Goorzhel/void-packages zenpower
https://github.com/void-linux/void-packages/pull/27962

New package: zenpower-0.1.12
You can see my debug results [here](https://github.com/ocerman/zenpower/issues/12#issuecomment-761528800).

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

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

From 93be4e8096d1c443b9de1b9b6547d31c898f4bae Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Sat, 16 Jan 2021 00:17:16 -0800
Subject: [PATCH] New package: zenpower-0.1.12

---
 srcpkgs/zenpower/files/blacklist-k10temp.conf |  2 ++
 srcpkgs/zenpower/template                     | 27 +++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 100644 srcpkgs/zenpower/files/blacklist-k10temp.conf
 create mode 100644 srcpkgs/zenpower/template

diff --git a/srcpkgs/zenpower/files/blacklist-k10temp.conf b/srcpkgs/zenpower/files/blacklist-k10temp.conf
new file mode 100644
index 00000000000..733dc6bcee5
--- /dev/null
+++ b/srcpkgs/zenpower/files/blacklist-k10temp.conf
@@ -0,0 +1,2 @@
+# Replaced by zenpower
+blacklist k10temp
diff --git a/srcpkgs/zenpower/template b/srcpkgs/zenpower/template
new file mode 100644
index 00000000000..9700eb8b049
--- /dev/null
+++ b/srcpkgs/zenpower/template
@@ -0,0 +1,27 @@
+# Template file for 'zenpower'
+pkgname=zenpower
+version=0.1.12
+revision=1
+depends="dkms"
+short_desc="Kernel driver for AMD Zen CPU temperature/power stats"
+maintainer="Antonio Gurgel <antonio@goorzhel.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/ocerman/zenpower"
+distfiles="https://github.com/ocerman/zenpower/archive/v${version}.tar.gz"
+checksum=fd25dffbc0f0139e167aa8adecc61ce200f0395c6778302e236b4043f125e77d
+
+dkms_modules="${pkgname} ${version}"
+
+do_install() {
+	local _dkms_root=usr/src/${pkgname}-${version}
+	vmkdir $_dkms_root
+	vcopy dkms.conf $_dkms_root
+	vcopy Makefile $_dkms_root
+	vcopy zenpower.c $_dkms_root
+	vdoc README.md
+
+	sed -i -e "s/@CFLGS@/${XBPS_CFLAGS}/" ${PKGDESTDIR}/$_dkms_root/dkms.conf
+	sed -i -e "s/@VERSION@/${version}/" ${PKGDESTDIR}/$_dkms_root/dkms.conf
+
+	vinstall ${FILESDIR}/blacklist-k10temp.conf 644 usr/lib/modprobe.d
+}

  parent reply	other threads:[~2021-01-19  1:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-16  8:22 [PR PATCH] " Goorzhel
2021-01-16  9:06 ` [PR PATCH] [Updated] " Goorzhel
2021-01-19  1:08 ` Goorzhel [this message]
2021-08-16 15:53 ` [PR PATCH] [Closed]: " Goorzhel

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=20210119010830.bnT9dIpoUnpaLUpCato2XCcrpvgiEwJe967lO2Crf_o@z \
    --to=goorzhel@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).