alsa updates
v3 cover alsa updates
From: Michael Opdenacker <[email protected]>
Changes in V3
- Add missing Signed-off-by information for two commits (reported by patchtest)
Changes in V2
- Fix the commit title for the alsa-tools update
We updated from version 1.2.5, not 1.2.10
Michael Opdenacker (4):
alsa-lib: upgrade 1.2.10 -> 1.2.11
alsa-tools: upgrade 1.2.5 -> 1.2.11
alsa-ucm-conf: upgrade 1.2.10 -> 1.2.11
alsa-utils: upgrade 1.2.10 -> 1.2.11
...STRING-macro-outside-PIC-ifdef-block.patch | 52 -------------------
...topology-correct-version-script-path.patch | 38 ++++++++++++++
...{alsa-lib_1.2.10.bb => alsa-lib_1.2.11.bb} | 4 +-
...sa-tools_1.2.5.bb => alsa-tools_1.2.11.bb} | 2 +-
...conf_1.2.10.bb => alsa-ucm-conf_1.2.11.bb} | 2 +-
...nhlt-dmic-info.c-include-sys-types.h.patch | 31 -----------
.../0001-topology.c-include-locale.h.patch | 31 -----------
...a-utils_1.2.10.bb => alsa-utils_1.2.11.bb} | 4 +-
8 files changed, 43 insertions(+), 121 deletions(-)
delete mode 100644 meta/recipes-multimedia/alsa/alsa-lib/0001-global.h-move-__STRING-macro-outside-PIC-ifdef-block.patch
create mode 100644 meta/recipes-multimedia/alsa/alsa-lib/0001-topology-correct-version-script-path.patch
rename meta/recipes-multimedia/alsa/{alsa-lib_1.2.10.bb => alsa-lib_1.2.11.bb} (89%)
rename meta/recipes-multimedia/alsa/{alsa-tools_1.2.5.bb => alsa-tools_1.2.11.bb} (97%)
rename meta/recipes-multimedia/alsa/{alsa-ucm-conf_1.2.10.bb => alsa-ucm-conf_1.2.11.bb} (89%)
delete mode 100644 meta/recipes-multimedia/alsa/alsa-utils/0001-nhlt-nhlt-dmic-info.c-include-sys-types.h.patch
delete mode 100644 meta/recipes-multimedia/alsa/alsa-utils/0001-topology.c-include-locale.h.patch
rename meta/recipes-multimedia/alsa/{alsa-utils_1.2.10.bb => alsa-utils_1.2.11.bb} (96%)Signature · 1 line
2.34.1
PATCH v3 1/4 alsa-lib: upgrade 1.2.10 -> 1.2.11
From: Michael Opdenacker <[email protected]>
- Upstream release update
See https://www.alsa-project.org/wiki/Detailed_changes_v1.2.10_v1.2.11
- Remove merged patch
- Add new patch merged after the release
---
...STRING-macro-outside-PIC-ifdef-block.patch | 52 -------------------
...topology-correct-version-script-path.patch | 38 ++++++++++++++
...{alsa-lib_1.2.10.bb => alsa-lib_1.2.11.bb} | 4 +-
3 files changed, 40 insertions(+), 54 deletions(-)
delete mode 100644 meta/recipes-multimedia/alsa/alsa-lib/0001-global.h-move-__STRING-macro-outside-PIC-ifdef-block.patch
create mode 100644 meta/recipes-multimedia/alsa/alsa-lib/0001-topology-correct-version-script-path.patch
rename meta/recipes-multimedia/alsa/{alsa-lib_1.2.10.bb => alsa-lib_1.2.11.bb} (89%)meta/recipes-multimedia/alsa/alsa-lib/0001-global.h-move-__STRING-macro-outside-PIC-ifdef-block.patch deleted +0 -52
@@ -1,52 +0,0 @@ -From 10bd599970acc71c92f85eb08943eb8d3d702a9c Mon Sep 17 00:00:00 2001 -From: Michael Opdenacker <[email protected]> -Date: Wed, 6 Sep 2023 15:16:44 +0200 -Subject: [PATCH] global.h: move __STRING() macro outside !PIC ifdef block - -From: Jaroslav Kysela <[email protected]> - -It solves the musl libc compilation issue. - -control.c: In function 'snd_ctl_open_conf': -../../include/global.h:98:36: warning: implicit declaration of function '__STRING' [-Wimplicit-function-declaratio] - 98 | #define SND_DLSYM_VERSION(version) __STRING(version) - | ^~~~~~~~ - -Fixes: https://github.com/alsa-project/alsa-lib/issues/350 -Upstream-Status: Backport [https://github.com/alsa-project/alsa-lib/commit/10bd599970acc71c92f85eb08943eb8d3d702a9c] -Signed-off-by: Jaroslav Kysela <[email protected]> ---- - include/global.h | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/include/global.h b/include/global.h -index dfe9bc2b..3ecaeee8 100644 ---- a/include/global.h -+++ b/include/global.h -@@ -51,6 +51,11 @@ const char *snd_asoundlib_version(void); - #define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) - #endif - -+#ifndef __STRING -+/** \brief Return 'x' argument as string */ -+#define __STRING(x) #x -+#endif -+ - #ifdef PIC /* dynamic build */ - - /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */ -@@ -71,11 +76,6 @@ struct snd_dlsym_link { - - extern struct snd_dlsym_link *snd_dlsym_start; - --#ifndef __STRING --/** \brief Return 'x' argument as string */ --#define __STRING(x) #x --#endif -- - /** \hideinitializer \brief Helper macro for #SND_DLSYM_BUILD_VERSION. */ - #define __SND_DLSYM_VERSION(prefix, name, version) _ ## prefix ## name ## version - /** --- -2.34.1 -
meta/recipes-multimedia/alsa/alsa-lib/0001-topology-correct-version-script-path.patch new file +38 -0
@@ -0,0 +1,38 @@ +From 2a736a0d2543f206fd2653aaae8a08a4c42eb917 Mon Sep 17 00:00:00 2001 +From: Michael Opdenacker <[email protected]> +Date: Tue, 30 Jan 2024 14:24:25 +0100 +Subject: [PATCH] topology: correct version script path + +From: Jan Palus <[email protected]> + +contrary to libasound, version script for libatopology is a regular +source file. while it's often the case that $(builddir) and $(srcdir) +point to the same directory, they don't always have to. therefore path +needs to point explicitly to $(srcdir) for Versions script in topology + +Closes: https://github.com/alsa-project/alsa-lib/pull/383 +Fixes: GH-382 +Fixes: dc7da761f3a2 ("topology: separate Versions linker script") +Signed-off-by: Jan Palus <[email protected]> +Signed-off-by: Jaroslav Kysela <[email protected]> +Upstream-Status: Backport [https://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=2a736a0d2543f206fd2653aaae8a08a4c42eb917] +--- + src/topology/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/topology/Makefile.am b/src/topology/Makefile.am +index 04299588..e0b78373 100644 +--- a/src/topology/Makefile.am ++++ b/src/topology/Makefile.am +@@ -2,7 +2,7 @@ EXTRA_DIST = Versions + COMPATNUM=@LIBTOOL_VERSION_INFO@ + + if VERSIONED_SYMBOLS +-VSYMS = -Wl,--version-script=Versions ++VSYMS = -Wl,--version-script=$(srcdir)/Versions + else + VSYMS = + endif +-- +2.34.1 +
meta/recipes-multimedia/alsa/alsa-lib_1.2.11.bb renamed from meta/recipes-multimedia/alsa/alsa-lib_1.2.10.bb +2 -2
@@ -10,9 +10,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \ " SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2 \ - file://0001-global.h-move-__STRING-macro-outside-PIC-ifdef-block.patch \ + file://0001-topology-correct-version-script-path.patch \ " -SRC_URI[sha256sum] = "c86a45a846331b1b0aa6e6be100be2a7aef92efd405cf6bac7eef8174baa920e" +SRC_URI[sha256sum] = "9f3f2f69b995f9ad37359072fbc69a3a88bfba081fc83e9be30e14662795bb4d" inherit autotools pkgconfig
Signature · 1 line
2.34.1
PATCH v3 2/4 alsa-tools: upgrade 1.2.5 -> 1.2.11
In reply to [email protected]From: Michael Opdenacker <[email protected]>
- Upstream release update
See https://www.alsa-project.org/wiki/Detailed_changes_v1.2.10_v1.2.11
---
Changes in V2:
- Fix commit title, correcting updated version for alsa-tools
---
.../alsa/{alsa-tools_1.2.5.bb => alsa-tools_1.2.11.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/alsa/{alsa-tools_1.2.5.bb => alsa-tools_1.2.11.bb} (97%)meta/recipes-multimedia/alsa/alsa-tools_1.2.11.bb renamed from meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb +1 -1
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=59530bdf33659b29e73d4adb9f9f65 SRC_URI = "https://www.alsa-project.org/files/pub/tools/${BP}.tar.bz2" -SRC_URI[sha256sum] = "35a71027a01f4d7de4722e223520e940de68b3c570b6c671691567ae28f9893e" +SRC_URI[sha256sum] = "0915c9634a502fd3655ca9c574d259bc9e79983d91d45aeacff6f3c00f8ae3e9" inherit autotools-brokensep pkgconfig # brokensep as as10k1 (and probably more) fail out of tree
Signature · 1 line
2.34.1
Re: [OE-core] [PATCH v3 2/4] alsa-tools: upgrade 1.2.5 -> 1.2.11
FYI this fails to build with clang compiler
https://errors.yoctoproject.org/Errors/Details/752555/
Quoted 45 lines · Michael Opdenacker via lists.openembedded.org
From: Michael Opdenacker <[email protected]>
- Upstream release update
See https://www.alsa-project.org/wiki/Detailed_changes_v1.2.10_v1.2.11---
Changes in V2:
- Fix commit title, correcting updated version for alsa-toolsSigned-off-by Michael Opdenacker <[email protected]>--- .../alsa/{alsa-tools_1.2.5.bb => alsa-tools_1.2.11.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-multimedia/alsa/{alsa-tools_1.2.5.bb => alsa-tools_1.2.11.bb} (97%)meta/recipes-multimedia/alsa/alsa-tools_1.2.11.bb renamed from meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb +1
-2@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=59530bdf33659b29e73d4adb9f9f65 SRC_URI = "https://www.alsa-project.org/files/pub/tools/${BP}.tar.bz2" -SRC_URI[sha256sum] = "35a71027a01f4d7de4722e223520e940de68b3c570b6c671691567ae28f9893e" +SRC_URI[sha256sum] = "0915c9634a502fd3655ca9c574d259bc9e79983d91d45aeacff6f3c00f8ae3e9" inherit autotools-brokensep pkgconfig # brokensep as as10k1 (and probably more) fail out of tree --2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#195116): https://lists.openembedded.org/g/openembedded-core/message/195116
Mute This Topic: https://lists.openembedded.org/mt/104235728/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH v3 2/4] alsa-tools: upgrade 1.2.5 -> 1.2.11
Hi Khem,
Quoted 2 lines · Khem Raj
FYI this fails to build with clang compiler
https://errors.yoctoproject.org/Errors/Details/752555/
Interesting, thanks!
Sounds like an opportunity to improve the upstream code, and to use meta-clang as well :) Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH v3 3/4 alsa-ucm-conf: upgrade 1.2.10 -> 1.2.11
In reply to [email protected]From: Michael Opdenacker <[email protected]>
- Upstream release update
See https://www.alsa-project.org/wiki/Detailed_changes_v1.2.10_v1.2.11
---
.../alsa/{alsa-ucm-conf_1.2.10.bb => alsa-ucm-conf_1.2.11.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/alsa/{alsa-ucm-conf_1.2.10.bb => alsa-ucm-conf_1.2.11.bb} (89%)meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.11.bb renamed from meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.10.bb +1 -1
@@ -8,7 +8,7 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=20d74d74db9741697903372ad001d3b4" SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2" -SRC_URI[sha256sum] = "9c21e3f01ff00baa758df17e867cd36e24ebb41a6bec49737e99105e16f2ae97" +SRC_URI[sha256sum] = "387c01cf30e2a1676d7b8f72b2681cf219abca70dd1ec2a9e33add5bf3feae81" # Something went wrong at upstream tarballing inherit allarch
Signature · 1 line
2.34.1
PATCH v3 4/4 alsa-utils: upgrade 1.2.10 -> 1.2.11
In reply to [email protected]From: Michael Opdenacker <[email protected]>
- Upstream release upgrade
See https://www.alsa-project.org/wiki/Detailed_changes_v1.2.10_v1.2.11
- Remove merged patches
---
...nhlt-dmic-info.c-include-sys-types.h.patch | 31 -------------------
.../0001-topology.c-include-locale.h.patch | 31 -------------------
...a-utils_1.2.10.bb => alsa-utils_1.2.11.bb} | 4 +--
3 files changed, 1 insertion(+), 65 deletions(-)
delete mode 100644 meta/recipes-multimedia/alsa/alsa-utils/0001-nhlt-nhlt-dmic-info.c-include-sys-types.h.patch
delete mode 100644 meta/recipes-multimedia/alsa/alsa-utils/0001-topology.c-include-locale.h.patch
rename meta/recipes-multimedia/alsa/{alsa-utils_1.2.10.bb => alsa-utils_1.2.11.bb} (96%)meta/recipes-multimedia/alsa/alsa-utils/0001-nhlt-nhlt-dmic-info.c-include-sys-types.h.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From 35a3382f3818d29b60f4c888e338189a4d93d0e5 Mon Sep 17 00:00:00 2001 -From: Michael Opdenacker <[email protected]> -Date: Tue, 19 Sep 2023 11:47:50 +0200 -Subject: [PATCH] nhlt/nhlt-dmic-info.c: include sys/types.h - -To fix an issue compiling with the musl C library: -nhlt-dmic-info.c: error: unknown type name 'u_int8_t' - -https://github.com/alsa-project/alsa-utils/issues/238 - -Upstream-Status: Backport [https://github.com/alsa-project/alsa-utils/commit/0925ad7f09b2dc77015784f9ac2f5e34dd0dd5c3] -Signed-off-by: Michael Opdenacker <[email protected]> ---- - nhlt/nhlt-dmic-info.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/nhlt/nhlt-dmic-info.c b/nhlt/nhlt-dmic-info.c -index 3f6c64d..331555a 100644 ---- a/nhlt/nhlt-dmic-info.c -+++ b/nhlt/nhlt-dmic-info.c -@@ -33,6 +33,7 @@ - #include <fcntl.h> - #include <getopt.h> - #include <sys/stat.h> -+#include <sys/types.h> - #include <arpa/inet.h> - - int debug = 0; --- -2.34.1 -
meta/recipes-multimedia/alsa/alsa-utils/0001-topology.c-include-locale.h.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From d8a8a9affd5726827ef3995652248595b4a8c87e Mon Sep 17 00:00:00 2001 -From: Michael Opdenacker <[email protected]> -Date: Tue, 19 Sep 2023 11:27:46 +0200 -Subject: [PATCH] topology.c: include locale.h - -To fix an issue compiling with the musl C library: -topology.c: error: 'LC_ALL' undeclared - -https://github.com/alsa-project/alsa-utils/issues/239 - -Upstream-Status: Backport [https://github.com/alsa-project/alsa-utils/commit/8c229270f6bae83b705a03714c46067a7aa57b02] -Signed-off-by: Michael Opdenacker <[email protected]> ---- - topology/topology.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/topology/topology.c b/topology/topology.c -index 1840ffe..5d03a8b 100644 ---- a/topology/topology.c -+++ b/topology/topology.c -@@ -32,6 +32,7 @@ - #include <sys/stat.h> - #include <getopt.h> - #include <assert.h> -+#include <locale.h> - - #include <alsa/asoundlib.h> - #include <alsa/topology.h> --- -2.34.1 -
meta/recipes-multimedia/alsa/alsa-utils_1.2.11.bb renamed from meta/recipes-multimedia/alsa/alsa-utils_1.2.10.bb +1 -3
@@ -25,10 +25,8 @@ PACKAGECONFIG[manpages] = "--enable-xmlto, --disable-xmlto, xmlto-native docbook # alsa-utils specified in SRC_URI due to alsa-utils-scripts recipe SRC_URI = "https://www.alsa-project.org/files/pub/utils/alsa-utils-${PV}.tar.bz2 \ - file://0001-topology.c-include-locale.h.patch \ - file://0001-nhlt-nhlt-dmic-info.c-include-sys-types.h.patch \ " -SRC_URI[sha256sum] = "104b62ec7f02a7ce16ca779f4815616df1cc21933503783a9107b5944f83063a" +SRC_URI[sha256sum] = "9ac6ca3a883f151e568dcf979b8d2e5cbecc51b819bb0e6bb8a2e9b34cc428a7" # On build machines with python-docutils (not python3-docutils !!) installed # rst2man (not rst2man.py) is detected and compile fails with
Signature · 1 line
2.34.1