diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2020-01-06 11:18:02 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-10 21:18:22 +0000 |
commit | 6593b950bbdaef6d7036ee08a8bb047692edf3e5 (patch) | |
tree | 235b97439a3f41c379b244fff5fcd89cf2158632 /meta/recipes-multimedia/alsa/alsa-lib/0001-configure.ac-remove-an-unnecessary-libtool-fix.patch | |
parent | fd61f30c2a723e497edc33902998d7b464e1efaf (diff) | |
download | poky-6593b950bbdaef6d7036ee08a8bb047692edf3e5.tar.gz |
alsa-lib: 1.1.9 -> 1.2.1.2
Changelogs:
https://alsa-project.org/wiki/Changes_v1.1.9_v1.2.1
https://alsa-project.org/wiki/Changes_v1.2.1_v1.2.1.1
https://alsa-project.org/wiki/Changes_v1.2.1.1_v1.2.1.2
This upgrade brings support for the new "UCM2" configuration format.
Another big change is that the UCM and topology configuration files were
moved to separate repositories, so those are removed from alsa-lib and
will need to be packaged separately.
The topology API was moved from libasound to a separate libatopology
library. This seems like a recipe for regressions for applications that
used to use libasound for the topology stuff, but I don't think there
are many applications in existence that use the topology API. I hope the
upstream knows what they are doing.
Patches added:
0001-configure.ac-remove-an-unnecessary-libtool-fix.patch
This fixes a failure during configure.
0001-ucm-Use-strncmp-to-avoid-access-out-of-boundary.patch
0002-ucm-return-always-at-least-NULL-if-no-list-is-availa.patch
Backports. I don't know if these are regression fixes, but since the UCM
code was heavily worked on in this upgrade, it seems likely that these
patches fix regressions.
0003-namehint-correct-the-args-check.patch
0004-namehint-improve-the-previous-patch-check-the-return.patch
Backports. A change in alsa-plugins caused a regression in the pulse
plugin, but that was actually due to a bug in alsa-lib, which is fixed
by these patches.
0005-ucm-Do-not-fail-to-parse-configs-on-cards-with-an-em.patch
Backport. Fixes a regression with some Intel hardware.
0001-Fix-alsa-sound-.h-for-external-programs.patch
0001-uapi-Move-typedefs-from-uapi-to-sound.patch
Backports. These fix build failures in alsa-tools.
I removed alsa-doc from PACKAGES, because no files were assigned to it.
(From OE-Core rev: 966890009b4dd81abb72534192c688dbd1195d00)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-lib/0001-configure.ac-remove-an-unnecessary-libtool-fix.patch')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-lib/0001-configure.ac-remove-an-unnecessary-libtool-fix.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib/0001-configure.ac-remove-an-unnecessary-libtool-fix.patch b/meta/recipes-multimedia/alsa/alsa-lib/0001-configure.ac-remove-an-unnecessary-libtool-fix.patch new file mode 100644 index 0000000000..4db4934fdc --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-lib/0001-configure.ac-remove-an-unnecessary-libtool-fix.patch | |||
@@ -0,0 +1,50 @@ | |||
1 | From 01cd8cb6d594d7a12c67d21d689ebe0e347469c0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Tanu Kaskinen <tanuk@iki.fi> | ||
3 | Date: Fri, 20 Dec 2019 09:26:12 +0200 | ||
4 | Subject: [PATCH] configure.ac: remove an unnecessary libtool fix | ||
5 | |||
6 | This code was added in commit 75d393a563efb578c79364a277087c6326267f52 | ||
7 | without explaining why. I assume it was a mistake, since it looks like | ||
8 | the libtool problem should have gone away a long time ago. The referenced | ||
9 | wiki page https://wiki.debian.org/RpathIssue says: | ||
10 | |||
11 | Since libtool 1.5.2 (released 2004-01-25), on Linux libtool no | ||
12 | longer sets RPATH for any directories in the dynamic linker search | ||
13 | path, so this should no longer be an issue unless upstream used a | ||
14 | really old version of libtool when creating their distribution | ||
15 | tarball. | ||
16 | |||
17 | This code caused problems in OpenEmbedded, where the libtool script is | ||
18 | named "x86_64-oe-linux-libtool" or similar rather than just "libtool", | ||
19 | so the sed command failed with a file not found error. Rather than | ||
20 | adapting the code to OpenEmbedded's peculiarities, it seems best to just | ||
21 | remove the unnecessary code altogether. | ||
22 | |||
23 | Upstream-Status: Submitted [https://github.com/alsa-project/alsa-lib/pull/19] | ||
24 | Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> | ||
25 | --- | ||
26 | configure.ac | 11 ----------- | ||
27 | 1 file changed, 11 deletions(-) | ||
28 | |||
29 | diff --git a/configure.ac b/configure.ac | ||
30 | index 119ef600..22a4a885 100644 | ||
31 | --- a/configure.ac | ||
32 | +++ b/configure.ac | ||
33 | @@ -764,14 +764,3 @@ test "$build_seq" = "yes" && echo "#include <alsa/seq.h>" >> include/asoundlib.h | ||
34 | test "$build_seq" = "yes" && echo "#include <alsa/seqmid.h>" >> include/asoundlib.h | ||
35 | test "$build_seq" = "yes" && echo "#include <alsa/seq_midi_event.h>" >> include/asoundlib.h | ||
36 | cat "$srcdir"/include/asoundlib-tail.h >> include/asoundlib.h | ||
37 | - | ||
38 | -dnl Taken from https://wiki.debian.org/RpathIssue | ||
39 | -case $host in | ||
40 | - *-*-linux-gnu) | ||
41 | - AC_MSG_RESULT([Fixing libtool for -rpath problems.]) | ||
42 | - sed < libtool > libtool-2 \ | ||
43 | - 's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' | ||
44 | - mv libtool-2 libtool | ||
45 | - chmod 755 libtool | ||
46 | - ;; | ||
47 | -esac | ||
48 | -- | ||
49 | 2.20.1 | ||
50 | |||