alsa-lib: bump to version 1.1.6
PATCH 1/2 alsa-lib: bump to version 1.1.6
Regenerate patches using git as patch 0002 didn't applied and the others were fuzzy.
--- package/alsa-lib/0001-no-mmu.patch | 40 +++++++++----- package/alsa-lib/0002-dlmisc.patch | 54 +++++++++---------- ...-conditional-enabling-of-libdl-in-m4.patch | 17 +++++- package/alsa-lib/alsa-lib.hash | 2 +- package/alsa-lib/alsa-lib.mk | 2 +- 5 files changed, 73 insertions(+), 42 deletions(-)
package/alsa-lib/0001-no-mmu.patch +28 -12
@@ -1,14 +1,27 @@ +From fac9e178f0d221c33efa579f54f6456156570088 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Krause?= <[email protected]> +Date: Fri, 13 Apr 2018 09:02:37 +0200 +Subject: [PATCH 1/3] no mmu +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + Don't use fork() on noMMU platforms -[Gustavo: update patch for 1.0.28] +[J?rg: update patch for 1.1.6] +Signed-off-by: J?rg Krause <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]> +--- + configure.ac | 2 ++ + src/pcm/pcm_direct.c | 10 +++++++++- + 2 files changed, 11 insertions(+), 1 deletion(-) -Index: alsa-lib-1.0.26/configure.ac -=================================================================== ---- alsa-lib-1.0.26.orig/configure.ac 2012-09-06 10:55:14.000000000 +0200 -+++ alsa-lib-1.0.26/configure.ac 2013-03-09 16:22:08.000000000 +0100 -@@ -66,6 +66,8 @@ - AM_CONDITIONAL(ALSA_HSEARCH_R, [test "x$HAVE_HSEARCH_R" != xyes]) +diff --git a/configure.ac b/configure.ac +index cce195ae..0c852434 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -51,6 +51,8 @@ dnl Checks for library functions. + AC_PROG_GCC_TRADITIONAL AC_CHECK_FUNCS([uselocale]) +AC_CHECK_FUNC([fork])
@@ -16,11 +29,11 @@ Index: alsa-lib-1.0.26/configure.ac SAVE_LIBRARY_VERSION AC_SUBST(LIBTOOL_VERSION_INFO) -Index: alsa-lib-1.0.26/src/pcm/pcm_direct.c -=================================================================== ---- alsa-lib-1.0.26.orig/src/pcm/pcm_direct.c 2012-09-06 10:55:14.000000000 +0200 -+++ alsa-lib-1.0.26/src/pcm/pcm_direct.c 2013-03-09 16:22:51.000000000 +0100 -@@ -424,13 +424,21 @@ +diff --git a/src/pcm/pcm_direct.c b/src/pcm/pcm_direct.c +index 2b07eff9..4dc3ea26 100644 +--- a/src/pcm/pcm_direct.c ++++ b/src/pcm/pcm_direct.c +@@ -431,13 +431,21 @@ int snd_pcm_direct_server_create(snd_pcm_direct_t *dmix) close(dmix->server_fd); return ret; }
@@ -43,3 +56,6 @@ Index: alsa-lib-1.0.26/src/pcm/pcm_direct.c if (ret == 0) server_job(dmix); _exit(EXIT_SUCCESS); +-- +2.17.0 +
package/alsa-lib/0002-dlmisc.patch +27 -27
83 lines not on this page · raw message
package/alsa-lib/0003-conditional-enabling-of-libdl-in-m4.patch +16 -1
@@ -1,3 +1,11 @@ +From b7aec21cdec1fc2c18c91ae47d54b3acf56ea378 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Krause?= <[email protected]> +Date: Fri, 13 Apr 2018 09:13:46 +0200 +Subject: [PATCH 3/3] conditional enabling of libdl in m4 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + alsa-lib: conditionally enable libdl in AM_PATH_ALSA m4 macro The AM_PATH_ALSA macro in utils/alsa.m4 unconditionally uses -ldl. This
@@ -8,11 +16,15 @@ Blackfin FLAT binaries. This patch updates the macro to check if dlopen is available, and use that result to conditionally add -ldl to the list of libraries. +[J?rg: update for 1.1.6] +Signed-off-by: J?rg Krause <[email protected]> Signed-off-by: Thomas De Schampheleire <[email protected]> - --- + utils/alsa.m4 | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/alsa.m4 b/utils/alsa.m4 +index e12310df..a5c5a292 100644 --- a/utils/alsa.m4 +++ b/utils/alsa.m4 @@ -44,6 +44,8 @@ if test "$alsa_inc_prefix" != "" ; then
@@ -33,3 +45,6 @@ diff --git a/utils/alsa.m4 b/utils/alsa.m4 LIBS="$ALSA_LIBS $LIBS" AC_MSG_RESULT($ALSA_LIBS) +-- +2.17.0 +
package/alsa-lib/alsa-lib.hash +1 -1
@@ -1,4 +1,4 @@ # Locally calculated -sha256 f4f68ad3c6da36b0b5241ac3c798a7a71e0e97d51f972e9f723b3f20a9650ae6 alsa-lib-1.1.5.tar.bz2 +sha256 5f2cd274b272cae0d0d111e8a9e363f08783329157e8dd68b3de0c096de6d724 alsa-lib-1.1.6.tar.bz2 sha256 a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7 COPYING sha256 bfe16cf823bcff261fc6a062c07ee96660e3c39678f42f39a788a68dbc234ced aserver/COPYING
package/alsa-lib/alsa-lib.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -ALSA_LIB_VERSION = 1.1.5 +ALSA_LIB_VERSION = 1.1.6 ALSA_LIB_SOURCE = alsa-lib-$(ALSA_LIB_VERSION).tar.bz2 ALSA_LIB_SITE = ftp://ftp.alsa-project.org/pub/lib ALSA_LIB_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (aserver)
Signature · 1 line
2.17.0
PATCH 2/2 alsa-utils: bump version to 1.1.6
--- package/alsa-utils/alsa-utils.hash | 2 +- package/alsa-utils/alsa-utils.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/alsa-utils/alsa-utils.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 320bd285e91db6e7fd7db3c9ec6f55b02f35449ff273c7844780ac6a5a3de2e8 alsa-utils-1.1.5.tar.bz2 +sha256 155caecc40b2220f686f34ba3655a53e3bdbc0586adb1056733949feaaf7d36e alsa-utils-1.1.6.tar.bz2 sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING
package/alsa-utils/alsa-utils.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -ALSA_UTILS_VERSION = 1.1.5 +ALSA_UTILS_VERSION = 1.1.6 ALSA_UTILS_SOURCE = alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2 ALSA_UTILS_SITE = ftp://ftp.alsa-project.org/pub/utils ALSA_UTILS_LICENSE = GPL-2.0
Signature · 1 line
2.17.0
Thomas Petazzoni
AppliedPATCH 2/2 alsa-utils: bump version to 1.1.6
Hello,
Quoted 5 lines · J?rg Krause
Signed-off-by J?rg Krause <[email protected]>--- package/alsa-utils/alsa-utils.hash | 2 +- package/alsa-utils/alsa-utils.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/2 alsa-lib: bump to version 1.1.6
In reply to Jörg KrauseHello,
Quoted 4 lines · J?rg Krause
Regenerate patches using git as patch 0002 didn't applied and the others were fuzzy.
Signed-off-by J?rg Krause <[email protected]>
I've applied, but I had to fix a few things in the patches. See below.
package/alsa-lib/0001-no-mmu.patch line 2
Quoted 7 lines
package/alsa-lib/0001-no-mmu.patch +2
-0@@ -1,14 +1,27 @@ +From fac9e178f0d221c33efa579f54f6456156570088 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Krause?= <[email protected]>
First, it's better to keep the original authorship. I.e me for patch 0001, Sonic Zhang for patch 0002, and Thomas DS for patch 0003. You can do this by using --author="..."
package/alsa-lib/0001-no-mmu.patch line 4
Quoted 2 lines
package/alsa-lib/0001-no-mmu.patch +2
-0+Date: Fri, 13 Apr 2018 09:02:37 +0200 +Subject: [PATCH 1/3] no mmu
I guess you've chosen those titles so that the name of the patch file generated by git format-patch remains the same. But I don't think that's really a requirement (that it stays the same) and a better commit title is more important I believe. Therefore, I've changed the title to "Don't use fork(= on noMMU platforms", which was already in the commit log.
Also, you should use "git format-patch -N" when generating patch series that go in packages, to avoid the 1/3, 2/3 and 3/3 numbering.
BTW, what about trying to submit those patches upstream ?
Anyway, as said above, I've applied to master after adjusting the patches. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com