Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: sof-bin-1.5.1
@ 2020-08-10  0:32 cinerea0
  2020-08-10  1:09 ` [PR REVIEW] " ericonr
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-10  0:32 UTC (permalink / raw)
  To: ml

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

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

https://github.com/cinerea0/void-packages sof-bin
https://github.com/void-linux/void-packages/pull/24181

New package: sof-bin-1.5.1
This commit adds `sof-bin`, a package requested in issue #24162 

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

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

From 8a3ad25eaa00c086a4a4698da079695c595c35f5 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@protonmail.com>
Date: Sun, 9 Aug 2020 20:29:01 -0400
Subject: [PATCH] New package: sof-bin-1.5.1

---
 srcpkgs/sof-bin/template | 42 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 srcpkgs/sof-bin/template

diff --git a/srcpkgs/sof-bin/template b/srcpkgs/sof-bin/template
new file mode 100644
index 00000000000..9af9c1b3aec
--- /dev/null
+++ b/srcpkgs/sof-bin/template
@@ -0,0 +1,42 @@
+# Template file for 'sof-bin'
+pkgname=sof-bin
+version=1.5.1
+revision=1
+archs="i686 x86_64"
+wrksrc=${pkgname}-stable-v${version}
+make_dirs="/usr/lib/firmware/intel/sof/intel-signed 0755 root root
+ /usr/lib/firmware/intel/sof/public-signed 0755 root root
+ /usr/lib/firmware/intel/sof-tplg 0755 root root"
+short_desc="Sound Open Firmware and topology binaries"
+maintainer="cinerea0 <cinerea0@protonmail.com>"
+license="custom:Intel, custom:NXP"
+homepage="https://thesofproject.github.io/latest/index.html"
+distfiles="https://github.com/thesofproject/sof-bin/archive/stable-v${version}.tar.gz"
+checksum=270125fb621b9919de4190f53a86de5dc1163dcf839c349f4b22724a5a9c1fb1
+
+do_install() {
+	local intel_path="lib/firmware/intel"
+	for f in ${intel_path}/sof/v${version}/*.{ldc,ri}; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof
+	done
+	for f in ${intel_path}/sof/v${version}/intel-signed/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof/intel-signed
+	done
+	for f in ${intel_path}/sof/v${version}/public-signed/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof/public-signed
+	done
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/sof-bdw-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-bdw.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/sof-byt-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-byt.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/sof-cht-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cht.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/intel-signed/sof-apl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-apl.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/intel-signed/sof-apl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-glk.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/intel-signed/sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cfl.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/intel-signed/sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cnl.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/intel-signed/sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cml.ri
+	ln -s ${DESTDIR}/usr/${intel_path}/sof/intel-signed/sof-icl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-icl.ri
+	for f in ${intel_path}/sof-tplg-v${version}/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof-tplg
+	done
+	vlicense LICENCE.Intel
+	vlicense LICENCE.NXP
+}

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

* Re: [PR REVIEW] New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
@ 2020-08-10  1:09 ` ericonr
  2020-08-10  1:09 ` ericonr
                   ` (21 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: ericonr @ 2020-08-10  1:09 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#discussion_r467652876

Comment:
`ln -s sof-bdw-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-bdw.ri`

Do this for all the commands below, where applicable, and, if possible, use a for loop.

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

* Re: [PR REVIEW] New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
  2020-08-10  1:09 ` [PR REVIEW] " ericonr
  2020-08-10  1:09 ` ericonr
@ 2020-08-10  1:09 ` ericonr
  2020-08-10  1:25 ` ericonr
                   ` (19 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: ericonr @ 2020-08-10  1:09 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#discussion_r467652934

Comment:
These directories already exist in the tarball. `make_dirs` is for empty directories that are cleaned when generating the tarball, and are instead created at package installation time.

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

* Re: [PR REVIEW] New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
  2020-08-10  1:09 ` [PR REVIEW] " ericonr
@ 2020-08-10  1:09 ` ericonr
  2020-08-10  1:09 ` ericonr
                   ` (20 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: ericonr @ 2020-08-10  1:09 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#discussion_r467653022

Comment:
Why is this limited? If it's only for x86 stuff, it should at least be `i686* x86_64*` to cover musl.

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

* Re: New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (2 preceding siblings ...)
  2020-08-10  1:09 ` ericonr
@ 2020-08-10  1:25 ` ericonr
  2020-08-10  1:56 ` [PR PATCH] [Updated] " cinerea0
                   ` (18 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: ericonr @ 2020-08-10  1:25 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#issuecomment-671129128

Comment:
Regarding the package naming, I do prefer `sof-firmware`, but I would wait for other opinions.

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

* Re: [PR PATCH] [Updated] New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (3 preceding siblings ...)
  2020-08-10  1:25 ` ericonr
@ 2020-08-10  1:56 ` cinerea0
  2020-08-10  1:57 ` [PR REVIEW] " cinerea0
                   ` (17 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-10  1:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/cinerea0/void-packages sof-bin
https://github.com/void-linux/void-packages/pull/24181

New package: sof-bin-1.5.1
This commit adds `sof-bin`, a package requested in issue #24162 

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

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

From 555a4f8735df1839cd7f94b9769d0b491062bdc2 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@protonmail.com>
Date: Sun, 9 Aug 2020 21:55:47 -0400
Subject: [PATCH] New package: sof-bin-1.5.1

---
 srcpkgs/sof-bin/template | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 srcpkgs/sof-bin/template

diff --git a/srcpkgs/sof-bin/template b/srcpkgs/sof-bin/template
new file mode 100644
index 00000000000..4d6d048242d
--- /dev/null
+++ b/srcpkgs/sof-bin/template
@@ -0,0 +1,36 @@
+# Template file for 'sof-bin'
+pkgname=sof-bin
+version=1.5.1
+revision=1
+archs="i686* x86_64*"
+wrksrc=${pkgname}-stable-v${version}
+short_desc="Sound Open Firmware and topology binaries"
+maintainer="cinerea0 <cinerea0@protonmail.com>"
+license="custom:Intel, custom:NXP"
+homepage="https://thesofproject.github.io/latest/index.html"
+distfiles="https://github.com/thesofproject/sof-bin/archive/stable-v${version}.tar.gz"
+checksum=270125fb621b9919de4190f53a86de5dc1163dcf839c349f4b22724a5a9c1fb1
+
+do_install() {
+	local intel_path="lib/firmware/intel"
+	for f in ${intel_path}/sof/v${version}/*.{ldc,ri}; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof
+	done
+	for f in ${intel_path}/sof/v${version}/intel-signed/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof/intel-signed
+	done
+	for f in ${intel_path}/sof/v${version}/public-signed/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof/public-signed
+	done
+	for arc in {bdw,byt,cht,apl,cnl,icl}; do
+        ln -s sof-${arc}-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-${arc}.ri
+    done
+	ln -s sof-apl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-glk.ri
+	ln -s sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cfl.ri
+	ln -s sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cml.ri
+	for f in ${intel_path}/sof-tplg-v${version}/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof-tplg
+	done
+	vlicense LICENCE.Intel
+	vlicense LICENCE.NXP
+}

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

* Re: [PR REVIEW] New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (4 preceding siblings ...)
  2020-08-10  1:56 ` [PR PATCH] [Updated] " cinerea0
@ 2020-08-10  1:57 ` cinerea0
  2020-08-10  2:00 ` cinerea0
                   ` (16 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-10  1:57 UTC (permalink / raw)
  To: ml

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

New review comment by cinerea0 on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#discussion_r467659140

Comment:
Ah, I misunderstood what the `make_dirs` variable was for. It's been removed.

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

* Re: [PR REVIEW] New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (5 preceding siblings ...)
  2020-08-10  1:57 ` [PR REVIEW] " cinerea0
@ 2020-08-10  2:00 ` cinerea0
  2020-08-10  2:01 ` cinerea0
                   ` (15 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-10  2:00 UTC (permalink / raw)
  To: ml

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

New review comment by cinerea0 on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#discussion_r467659676

Comment:
I've updated the template to use this format with a for loop. There are a couple where the architecture in the middle (bdw in your example) doesn't match the symlink, so I had to leave them out of the for loop.

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

* Re: [PR REVIEW] New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (6 preceding siblings ...)
  2020-08-10  2:00 ` cinerea0
@ 2020-08-10  2:01 ` cinerea0
  2020-08-10  2:07 ` cinerea0
                   ` (14 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-10  2:01 UTC (permalink / raw)
  To: ml

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

New review comment by cinerea0 on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#discussion_r467659749

Comment:
I honestly forgot musl existed while writing the template. It's been fixed.

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

* Re: New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (7 preceding siblings ...)
  2020-08-10  2:01 ` cinerea0
@ 2020-08-10  2:07 ` cinerea0
  2020-08-10  2:46 ` [PR PATCH] [Closed]: " cinerea0
                   ` (13 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-10  2:07 UTC (permalink / raw)
  To: ml

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

New comment by cinerea0 on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#issuecomment-671134771

Comment:
I decided on `sof-bin` because it complies with the normal naming conventions for Void packages, but I would also prefer it to be named `sof-firmware` because it better describes the package's contents.

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

* Re: [PR PATCH] [Closed]: New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (8 preceding siblings ...)
  2020-08-10  2:07 ` cinerea0
@ 2020-08-10  2:46 ` cinerea0
  2020-08-10  2:46 ` [PR PATCH] [Updated] " cinerea0
                   ` (12 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-10  2:46 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: sof-bin-1.5.1
https://github.com/void-linux/void-packages/pull/24181

Description:
This commit resolves #24162 by adding the package `sof-bin`.

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

* Re: [PR PATCH] [Updated] New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (9 preceding siblings ...)
  2020-08-10  2:46 ` [PR PATCH] [Closed]: " cinerea0
@ 2020-08-10  2:46 ` cinerea0
  2020-08-10  2:48 ` cinerea0
                   ` (11 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-10  2:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/cinerea0/void-packages sof-bin
https://github.com/void-linux/void-packages/pull/24181

New package: sof-bin-1.5.1
This commit resolves #24162 by adding the package `sof-bin`.

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

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



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

* Re: [PR PATCH] [Updated] New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (10 preceding siblings ...)
  2020-08-10  2:46 ` [PR PATCH] [Updated] " cinerea0
@ 2020-08-10  2:48 ` cinerea0
  2020-08-10  2:55 ` cinerea0
                   ` (10 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-10  2:48 UTC (permalink / raw)
  To: ml

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

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

https://github.com/cinerea0/void-packages sof-bin
https://github.com/void-linux/void-packages/pull/24181

New package: sof-bin-1.5.1
This commit resolves #24162 by adding the package `sof-bin`.

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

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

From 960f6c67d3c0652bc759a984ae6823312c29ad86 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@protonmail.com>
Date: Sun, 9 Aug 2020 22:47:28 -0400
Subject: [PATCH] New package: sof-bin-1.5.1

---
 srcpkgs/sof-bin/template | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 srcpkgs/sof-bin/template

diff --git a/srcpkgs/sof-bin/template b/srcpkgs/sof-bin/template
new file mode 100644
index 00000000000..0ffceb52c2d
--- /dev/null
+++ b/srcpkgs/sof-bin/template
@@ -0,0 +1,36 @@
+# Template file for 'sof-bin'
+pkgname=sof-bin
+version=1.5.1
+revision=1
+archs="i686* x86_64*"
+wrksrc=${pkgname}-stable-v${version}
+short_desc="Sound Open Firmware and topology binaries"
+maintainer="cinerea0 <cinerea0@protonmail.com>"
+license="custom:Intel, custom:NXP"
+homepage="https://thesofproject.github.io/latest/index.html"
+distfiles="https://github.com/thesofproject/sof-bin/archive/stable-v${version}.tar.gz"
+checksum=270125fb621b9919de4190f53a86de5dc1163dcf839c349f4b22724a5a9c1fb1
+
+do_install() {
+	local intel_path="lib/firmware/intel"
+	for f in ${intel_path}/sof/v${version}/*.{ldc,ri}; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof
+	done
+	for f in ${intel_path}/sof/v${version}/intel-signed/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof/intel-signed
+	done
+	for f in ${intel_path}/sof/v${version}/public-signed/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof/public-signed
+	done
+	for arc in {bdw,byt,cht,apl,cnl,icl}; do
+		ln -s sof-${arc}-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-${arc}.ri
+	done
+	ln -s sof-apl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-glk.ri
+	ln -s sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cfl.ri
+	ln -s sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cml.ri
+	for f in ${intel_path}/sof-tplg-v${version}/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof-tplg
+	done
+	vlicense LICENCE.Intel
+	vlicense LICENCE.NXP
+}

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

* Re: New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (11 preceding siblings ...)
  2020-08-10  2:48 ` cinerea0
@ 2020-08-10  2:55 ` cinerea0
  2020-08-10 14:10 ` sgn
                   ` (9 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-10  2:55 UTC (permalink / raw)
  To: ml

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

New comment by cinerea0 on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#issuecomment-671141904

Comment:
Sorry about that closing and re-opening; I forgot to actually commit my changes before pushing.

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

* Re: New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (12 preceding siblings ...)
  2020-08-10  2:55 ` cinerea0
@ 2020-08-10 14:10 ` sgn
  2020-08-10 15:42 ` [PR PATCH] [Updated] " cinerea0
                   ` (8 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: sgn @ 2020-08-10 14:10 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#issuecomment-671378601

Comment:
License is `BSD-3-Clause`, no?

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

* Re: [PR PATCH] [Updated] New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (13 preceding siblings ...)
  2020-08-10 14:10 ` sgn
@ 2020-08-10 15:42 ` cinerea0
  2020-08-10 16:01 ` cinerea0
                   ` (7 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-10 15:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/cinerea0/void-packages sof-bin
https://github.com/void-linux/void-packages/pull/24181

New package: sof-bin-1.5.1
This commit resolves #24162 by adding the package `sof-bin`.

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

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

From 32983c20b7c564f9dfc457397ed97e75da0b91a2 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@protonmail.com>
Date: Mon, 10 Aug 2020 11:42:26 -0400
Subject: [PATCH] New package: sof-bin-1.5.1

---
 srcpkgs/sof-bin/template | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 srcpkgs/sof-bin/template

diff --git a/srcpkgs/sof-bin/template b/srcpkgs/sof-bin/template
new file mode 100644
index 00000000000..1e1cb3f67bd
--- /dev/null
+++ b/srcpkgs/sof-bin/template
@@ -0,0 +1,35 @@
+# Template file for 'sof-bin'
+pkgname=sof-bin
+version=1.5.1
+revision=1
+archs="i686* x86_64*"
+wrksrc=${pkgname}-stable-v${version}
+short_desc="Sound Open Firmware and topology binaries"
+maintainer="cinerea0 <cinerea0@protonmail.com>"
+license="BSD-3-Clause"
+homepage="https://thesofproject.github.io/latest/index.html"
+distfiles="https://github.com/thesofproject/sof-bin/archive/stable-v${version}.tar.gz"
+checksum=270125fb621b9919de4190f53a86de5dc1163dcf839c349f4b22724a5a9c1fb1
+
+do_install() {
+	local intel_path="lib/firmware/intel"
+	for f in ${intel_path}/sof/v${version}/*.{ldc,ri}; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof
+	done
+	for f in ${intel_path}/sof/v${version}/intel-signed/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof/intel-signed
+	done
+	for f in ${intel_path}/sof/v${version}/public-signed/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof/public-signed
+	done
+	for arc in {bdw,byt,cht,apl,cnl,icl}; do
+		ln -s sof-${arc}-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-${arc}.ri
+	done
+	ln -s sof-apl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-glk.ri
+	ln -s sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cfl.ri
+	ln -s sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cml.ri
+	for f in ${intel_path}/sof-tplg-v${version}/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof-tplg
+	done
+	vlicense LICENCE.NXP
+}

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

* Re: New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (14 preceding siblings ...)
  2020-08-10 15:42 ` [PR PATCH] [Updated] " cinerea0
@ 2020-08-10 16:01 ` cinerea0
  2020-08-10 23:52 ` sgn
                   ` (6 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-10 16:01 UTC (permalink / raw)
  To: ml

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

New comment by cinerea0 on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#issuecomment-671442492

Comment:
@sgn You're correct, I got confused by the other licenses in the LICENCE.NXP file that refer to files that aren't installed by the package. By the way, what's your opinion on the `sof-bin` vs `sof-firmware` discussion above?

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

* Re: New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (15 preceding siblings ...)
  2020-08-10 16:01 ` cinerea0
@ 2020-08-10 23:52 ` sgn
  2020-08-11  1:32 ` [PR PATCH] [Updated] " cinerea0
                   ` (5 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: sgn @ 2020-08-10 23:52 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#issuecomment-671646178

Comment:
On 2020-08-10 09:01:28-0700, cinerea0 <notifications@github.com> wrote:
> By the way, what's your opinion on the `sof-bin` vs `sof-firmware` discussion above?

I prefer `sof-firmware`, but it's not a strong opinion :-p


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

* Re: [PR PATCH] [Updated] New package: sof-bin-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (16 preceding siblings ...)
  2020-08-10 23:52 ` sgn
@ 2020-08-11  1:32 ` cinerea0
  2020-08-11  1:40 ` New package: sof-firmware-1.5.1 cinerea0
                   ` (4 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-11  1:32 UTC (permalink / raw)
  To: ml

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

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

https://github.com/cinerea0/void-packages sof-bin
https://github.com/void-linux/void-packages/pull/24181

New package: sof-bin-1.5.1
This commit resolves #24162 by adding the package `sof-bin`.

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

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

From 270b9fa0042718ad4e849aa5f5d68c3f9b633126 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@protonmail.com>
Date: Mon, 10 Aug 2020 21:32:25 -0400
Subject: [PATCH] New package: sof-firmware-1.5.1

---
 srcpkgs/sof-firmware/template | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 srcpkgs/sof-firmware/template

diff --git a/srcpkgs/sof-firmware/template b/srcpkgs/sof-firmware/template
new file mode 100644
index 00000000000..00dfd262191
--- /dev/null
+++ b/srcpkgs/sof-firmware/template
@@ -0,0 +1,35 @@
+# Template file for 'sof-firmware'
+pkgname=sof-firmware
+version=1.5.1
+revision=1
+archs="i686* x86_64*"
+wrksrc=sof-bin-stable-v${version}
+short_desc="Sound Open Firmware and topology binaries"
+maintainer="cinerea0 <cinerea0@protonmail.com>"
+license="BSD-3-Clause"
+homepage="https://thesofproject.github.io/latest/index.html"
+distfiles="https://github.com/thesofproject/sof-bin/archive/stable-v${version}.tar.gz"
+checksum=270125fb621b9919de4190f53a86de5dc1163dcf839c349f4b22724a5a9c1fb1
+
+do_install() {
+	local intel_path="lib/firmware/intel"
+	for f in ${intel_path}/sof/v${version}/*.{ldc,ri}; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof
+	done
+	for f in ${intel_path}/sof/v${version}/intel-signed/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof/intel-signed
+	done
+	for f in ${intel_path}/sof/v${version}/public-signed/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof/public-signed
+	done
+	for arc in {bdw,byt,cht,apl,cnl,icl}; do
+		ln -s sof-${arc}-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-${arc}.ri
+	done
+	ln -s sof-apl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-glk.ri
+	ln -s sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cfl.ri
+	ln -s sof-cnl-v${version}.ri ${DESTDIR}/usr/${intel_path}/sof/sof-cml.ri
+	for f in ${intel_path}/sof-tplg-v${version}/*; do
+		vinstall ${f} 0644 /usr/${intel_path}/sof-tplg
+	done
+	vlicense LICENCE.NXP
+}

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

* Re: New package: sof-firmware-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (17 preceding siblings ...)
  2020-08-11  1:32 ` [PR PATCH] [Updated] " cinerea0
@ 2020-08-11  1:40 ` cinerea0
  2020-08-11  7:19 ` kotoko
                   ` (3 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: cinerea0 @ 2020-08-11  1:40 UTC (permalink / raw)
  To: ml

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

New comment by cinerea0 on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#issuecomment-671674716

Comment:
I decided to change it to `sof-firmware`. If the maintainers would like me to change it back to `sof-bin` before merging, just let me know.

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

* Re: New package: sof-firmware-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (18 preceding siblings ...)
  2020-08-11  1:40 ` New package: sof-firmware-1.5.1 cinerea0
@ 2020-08-11  7:19 ` kotoko
  2020-08-11 14:00 ` sgn
                   ` (2 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: kotoko @ 2020-08-11  7:19 UTC (permalink / raw)
  To: ml

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

New comment by kotoko on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#issuecomment-671775156

Comment:
As compromise it could be `sof-firmware-bin` ;)

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

* Re: New package: sof-firmware-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (19 preceding siblings ...)
  2020-08-11  7:19 ` kotoko
@ 2020-08-11 14:00 ` sgn
  2020-08-11 23:39 ` [PR PATCH] [Merged]: " Vaelatern
  2020-08-11 23:40 ` Vaelatern
  22 siblings, 0 replies; 24+ messages in thread
From: sgn @ 2020-08-11 14:00 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#issuecomment-671964291

Comment:
Ping me in 3 days for a merge if noone complains.

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

* Re: [PR PATCH] [Merged]: New package: sof-firmware-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (20 preceding siblings ...)
  2020-08-11 14:00 ` sgn
@ 2020-08-11 23:39 ` Vaelatern
  2020-08-11 23:40 ` Vaelatern
  22 siblings, 0 replies; 24+ messages in thread
From: Vaelatern @ 2020-08-11 23:39 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

New package: sof-firmware-1.5.1
https://github.com/void-linux/void-packages/pull/24181

Description:
This commit resolves #24162 by adding the package `sof-firmware`.

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

* Re: New package: sof-firmware-1.5.1
  2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
                   ` (21 preceding siblings ...)
  2020-08-11 23:39 ` [PR PATCH] [Merged]: " Vaelatern
@ 2020-08-11 23:40 ` Vaelatern
  22 siblings, 0 replies; 24+ messages in thread
From: Vaelatern @ 2020-08-11 23:40 UTC (permalink / raw)
  To: ml

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

New comment by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/pull/24181#issuecomment-672366120

Comment:
Saw your ask on IRC, looks good, so merged. Feel free to ping me in IRC for reviews.

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

end of thread, other threads:[~2020-08-11 23:40 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-10  0:32 [PR PATCH] New package: sof-bin-1.5.1 cinerea0
2020-08-10  1:09 ` [PR REVIEW] " ericonr
2020-08-10  1:09 ` ericonr
2020-08-10  1:09 ` ericonr
2020-08-10  1:25 ` ericonr
2020-08-10  1:56 ` [PR PATCH] [Updated] " cinerea0
2020-08-10  1:57 ` [PR REVIEW] " cinerea0
2020-08-10  2:00 ` cinerea0
2020-08-10  2:01 ` cinerea0
2020-08-10  2:07 ` cinerea0
2020-08-10  2:46 ` [PR PATCH] [Closed]: " cinerea0
2020-08-10  2:46 ` [PR PATCH] [Updated] " cinerea0
2020-08-10  2:48 ` cinerea0
2020-08-10  2:55 ` cinerea0
2020-08-10 14:10 ` sgn
2020-08-10 15:42 ` [PR PATCH] [Updated] " cinerea0
2020-08-10 16:01 ` cinerea0
2020-08-10 23:52 ` sgn
2020-08-11  1:32 ` [PR PATCH] [Updated] " cinerea0
2020-08-11  1:40 ` New package: sof-firmware-1.5.1 cinerea0
2020-08-11  7:19 ` kotoko
2020-08-11 14:00 ` sgn
2020-08-11 23:39 ` [PR PATCH] [Merged]: " Vaelatern
2020-08-11 23:40 ` Vaelatern

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