Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: ryzen_smu-dkms-0.1.5
@ 2024-01-15 23:01 inco-cc
  2024-01-15 23:26 ` [PR REVIEW] " classabbyamp
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: inco-cc @ 2024-01-15 23:01 UTC (permalink / raw)
  To: ml

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

There is a new 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: 2201 bytes --]

From 82e8be25a68f1ce5a8f17dbcd70c78c1a0810da7 Mon Sep 17 00:00:00 2001
From: Brandon Little <drinco@tutanota.de>
Date: Mon, 15 Jan 2024 17:35:07 -0500
Subject: [PATCH] New package: ryzen_smu-dkms-0.1.5

---
 srcpkgs/ryzen_smu-dkms/files/dkms.conf |  9 +++++++++
 srcpkgs/ryzen_smu-dkms/template        | 27 ++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100755 srcpkgs/ryzen_smu-dkms/files/dkms.conf
 create mode 100644 srcpkgs/ryzen_smu-dkms/template

diff --git a/srcpkgs/ryzen_smu-dkms/files/dkms.conf b/srcpkgs/ryzen_smu-dkms/files/dkms.conf
new file mode 100755
index 0000000000000..f26c7a66563b8
--- /dev/null
+++ b/srcpkgs/ryzen_smu-dkms/files/dkms.conf
@@ -0,0 +1,9 @@
+PACKAGE_NAME="ryzen_smu"
+PACKAGE_VERSION="0.1.5"
+AUTOINSTALL="yes"
+
+MAKE="make TARGET=${kernelver}"
+CLEAN="make clean"
+
+BUILT_MODULE_NAME[0]="ryzen_smu"
+DEST_MODULE_LOCATION[0]="/extra"
diff --git a/srcpkgs/ryzen_smu-dkms/template b/srcpkgs/ryzen_smu-dkms/template
new file mode 100644
index 0000000000000..e31d13539a11a
--- /dev/null
+++ b/srcpkgs/ryzen_smu-dkms/template
@@ -0,0 +1,27 @@
+# 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
+	vcopy Makefile usr/src/ryzen_smu-${version}
+	vcopy ${FILESDIR}/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
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR REVIEW] New package: ryzen_smu-dkms-0.1.5
  2024-01-15 23:01 [PR PATCH] New package: ryzen_smu-dkms-0.1.5 inco-cc
  2024-01-15 23:26 ` [PR REVIEW] " classabbyamp
@ 2024-01-15 23:26 ` classabbyamp
  2024-01-15 23:44 ` inco-cc
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2024-01-15 23:26 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/48227#discussion_r1452797612

Comment:
```suggestion
archs="x86_64*"
```

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR REVIEW] New package: ryzen_smu-dkms-0.1.5
  2024-01-15 23:01 [PR PATCH] New package: ryzen_smu-dkms-0.1.5 inco-cc
@ 2024-01-15 23:26 ` classabbyamp
  2024-01-15 23:26 ` classabbyamp
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2024-01-15 23:26 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/48227#discussion_r1452797796

Comment:
why not the one [in the repo](https://gitlab.com/leogx9r/ryzen_smu/-/blob/v0.1.5/dkms.conf)?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR REVIEW] New package: ryzen_smu-dkms-0.1.5
  2024-01-15 23:01 [PR PATCH] New package: ryzen_smu-dkms-0.1.5 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
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: inco-cc @ 2024-01-15 23:44 UTC (permalink / raw)
  To: ml

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

New review comment by inco-cc on void-packages repository

https://github.com/void-linux/void-packages/pull/48227#discussion_r1452804517

Comment:
It would error out when building with dkms. The [`@CFLGS@`](https://gitlab.com/leogx9r/ryzen_smu/-/blob/v0.1.5/Makefile#L42)/[`@VERSION@`](https://gitlab.com/leogx9r/ryzen_smu/-/blob/v0.1.5/Makefile#L43) substrings are supposed to be replaced in the `dkms-install` target, but the target isn't used.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR REVIEW] New package: ryzen_smu-dkms-0.1.5
  2024-01-15 23:01 [PR PATCH] New package: ryzen_smu-dkms-0.1.5 inco-cc
                   ` (2 preceding siblings ...)
  2024-01-15 23:44 ` inco-cc
@ 2024-01-15 23:53 ` classabbyamp
  2024-01-16  1:33 ` [PR PATCH] [Updated] " inco-cc
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2024-01-15 23:53 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/48227#discussion_r1452809030

Comment:
just replicate the seds with `vsed` then

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] New package: ryzen_smu-dkms-0.1.5
  2024-01-15 23:01 [PR PATCH] New package: ryzen_smu-dkms-0.1.5 inco-cc
                   ` (3 preceding siblings ...)
  2024-01-15 23:53 ` classabbyamp
@ 2024-01-16  1:33 ` inco-cc
  2024-01-16  1:43 ` sgn
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: inco-cc @ 2024-01-16  1:33 UTC (permalink / raw)
  To: ml

[-- 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: 1717 bytes --]

From af0859c37e929e1e971a5f2a6cb7bb2822fb526a Mon Sep 17 00:00:00 2001
From: Brandon Little <drinco@tutanota.de>
Date: Mon, 15 Jan 2024 17:35:07 -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 0000000000000..4951926213155
--- /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
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: ryzen_smu-dkms-0.1.5
  2024-01-15 23:01 [PR PATCH] New package: ryzen_smu-dkms-0.1.5 inco-cc
                   ` (4 preceding siblings ...)
  2024-01-16  1:33 ` [PR PATCH] [Updated] " inco-cc
@ 2024-01-16  1:43 ` sgn
  2024-01-16  1:52 ` inco-cc
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: sgn @ 2024-01-16  1:43 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/48227#issuecomment-1892950494

Comment:
Which kernel version was tested?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: ryzen_smu-dkms-0.1.5
  2024-01-15 23:01 [PR PATCH] New package: ryzen_smu-dkms-0.1.5 inco-cc
                   ` (5 preceding siblings ...)
  2024-01-16  1:43 ` sgn
@ 2024-01-16  1:52 ` inco-cc
  2024-02-15 19:22 ` [PR PATCH] [Updated] " inco-cc
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: inco-cc @ 2024-01-16  1:52 UTC (permalink / raw)
  To: ml

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

New comment by inco-cc on void-packages repository

https://github.com/void-linux/void-packages/pull/48227#issuecomment-1892956973

Comment:
6.6.11

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] New package: ryzen_smu-dkms-0.1.5
  2024-01-15 23:01 [PR PATCH] New package: ryzen_smu-dkms-0.1.5 inco-cc
                   ` (6 preceding siblings ...)
  2024-01-16  1:52 ` inco-cc
@ 2024-02-15 19:22 ` inco-cc
  2024-02-23 19:01 ` inco-cc
  2024-04-28 23:21 ` inco-cc
  9 siblings, 0 replies; 11+ messages in thread
From: inco-cc @ 2024-02-15 19:22 UTC (permalink / raw)
  To: ml

[-- 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
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] New package: ryzen_smu-dkms-0.1.5
  2024-01-15 23:01 [PR PATCH] New package: ryzen_smu-dkms-0.1.5 inco-cc
                   ` (7 preceding siblings ...)
  2024-02-15 19:22 ` [PR PATCH] [Updated] " inco-cc
@ 2024-02-23 19:01 ` inco-cc
  2024-04-28 23:21 ` inco-cc
  9 siblings, 0 replies; 11+ messages in thread
From: inco-cc @ 2024-02-23 19:01 UTC (permalink / raw)
  To: ml

[-- 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: 1688 bytes --]

From 2d4d76fc3564cad5185b8e23439d05eb7ece10e3 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..70ffd9e1905e2e
--- /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 <blittle@inco.cc>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/leogx9r/ryzen_smu"
+distfiles="${homepage}/-/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
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] New package: ryzen_smu-dkms-0.1.5
  2024-01-15 23:01 [PR PATCH] New package: ryzen_smu-dkms-0.1.5 inco-cc
                   ` (8 preceding siblings ...)
  2024-02-23 19:01 ` inco-cc
@ 2024-04-28 23:21 ` inco-cc
  9 siblings, 0 replies; 11+ messages in thread
From: inco-cc @ 2024-04-28 23:21 UTC (permalink / raw)
  To: ml

[-- 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: 1688 bytes --]

From 000177325d3fc7f801c6e44972c8b6b0c2aa1c4b 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..70ffd9e1905e2e
--- /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 <blittle@inco.cc>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/leogx9r/ryzen_smu"
+distfiles="${homepage}/-/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
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-04-28 23:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-15 23:01 [PR PATCH] New package: ryzen_smu-dkms-0.1.5 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 ` [PR PATCH] [Updated] " inco-cc
2024-02-23 19:01 ` inco-cc
2024-04-28 23:21 ` inco-cc

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).