Github messages for voidlinux
 help / color / mirror / Atom feed
From: inco-cc <inco-cc@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: ryzen_smu-dkms-0.1.5
Date: Thu, 15 Feb 2024 20:22:09 +0100	[thread overview]
Message-ID: <20240215192209.6C20A28A65@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48227@inbox.vuxu.org>

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

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

https://github.com/inco-cc/void-packages ryzen_smu-dkms
https://github.com/void-linux/void-packages/pull/48227

New package: ryzen_smu-dkms-0.1.5
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64

This module is required for [RyzenAdj](https://github.com/void-linux/void-packages/tree/master/srcpkgs/RyzenAdj) to access the SMU on AMD Ryzen processors.

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

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

From 8d7c43032dee6a994220a9153632308228389481 Mon Sep 17 00:00:00 2001
From: Brandon Little <blittle@inco.cc>
Date: Sun, 11 Feb 2024 22:54:48 -0500
Subject: [PATCH] New package: ryzen_smu-dkms-0.1.5

---
 srcpkgs/ryzen_smu-dkms/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/ryzen_smu-dkms/template

diff --git a/srcpkgs/ryzen_smu-dkms/template b/srcpkgs/ryzen_smu-dkms/template
new file mode 100644
index 00000000000000..49519262131553
--- /dev/null
+++ b/srcpkgs/ryzen_smu-dkms/template
@@ -0,0 +1,28 @@
+# Template file for 'ryzen_smu-dkms'
+pkgname=ryzen_smu-dkms
+version=0.1.5
+revision=1
+archs="x86_64*"
+depends="dkms"
+short_desc="Kernel driver to provide SMU access for AMD Ryzen processors"
+maintainer="Brandon Little <drinco@tutanota.de>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/leogx9r/ryzen_smu"
+distfiles="https://gitlab.com/leogx9r/ryzen_smu/-/archive/v${version}/ryzen_smu-v${version}.tar.gz"
+checksum=25c7e6885b14fcad27430aa3fa273009c889794158d94f1b3040ad432b94d037
+dkms_modules="ryzen_smu ${version}"
+
+do_install() {
+	vmkdir usr/src/ryzen_smu-${version}
+	vmkdir usr/src/ryzen_smu-${version}/lib
+	vmkdir usr/src/ryzen_smu-${version}/userspace
+	vsed -i dkms.conf -e "s/@CFLGS@//" -e "s/@VERSION@/${version}/"
+	vcopy Makefile usr/src/ryzen_smu-${version}
+	vcopy dkms.conf usr/src/ryzen_smu-${version}
+	vcopy *.c usr/src/ryzen_smu-${version}
+	vcopy *.h usr/src/ryzen_smu-${version}
+	vcopy lib/*.c usr/src/ryzen_smu-${version}/lib
+	vcopy lib/*.h usr/src/ryzen_smu-${version}/lib
+	vcopy userspace/Makefile usr/src/ryzen_smu-${version}/userspace
+	vcopy userspace/*.c usr/src/ryzen_smu-${version}/userspace
+}

  parent reply	other threads:[~2024-02-15 19:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-15 23:01 [PR PATCH] " inco-cc
2024-01-15 23:26 ` [PR REVIEW] " classabbyamp
2024-01-15 23:26 ` classabbyamp
2024-01-15 23:44 ` inco-cc
2024-01-15 23:53 ` classabbyamp
2024-01-16  1:33 ` [PR PATCH] [Updated] " inco-cc
2024-01-16  1:43 ` sgn
2024-01-16  1:52 ` inco-cc
2024-02-15 19:22 ` inco-cc [this message]
2024-02-23 19:01 ` [PR PATCH] [Updated] " inco-cc
2024-04-28 23:21 ` inco-cc

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=20240215192209.6C20A28A65@inbox.vuxu.org \
    --to=inco-cc@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).