Skip to contentSkip to conversation

ALSA upgrades

PATCH In review Cristian Iorga 2 participants 5 messages Aug 29, 2014 – Aug 31, 2014

lore
Share & tools
lore
#0 lore raw

cover ALSA upgrades

The following changes since commit fe2e53ba30ba679c038bd5b48b9a91a41af4c49e:

bitbake: toaster: create Build methods for calculating progress and ETA (2014-08-29 13:56:50 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ciorga/PU2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ciorga/PU2

Cristian Iorga (3):
alsa-lib: upgrade to 1.0.28
alsa-tools: upgrade to 1.0.28
alsa-utils: upgrade to 1.0.28

 .../Check-if-wordexp-function-is-supported.patch   | 31 +++++-----
 ...-iatomic.h-functions-definitions-for-mips.patch | 68 ----------------------
 .../{alsa-lib_1.0.27.2.bb => alsa-lib_1.0.28.bb}   |  7 +--
 .../alsa/alsa-tools/mips_has_no_io_h.patch         | 16 -----
 .../{alsa-tools_1.0.27.bb => alsa-tools_1.0.28.bb} |  7 +--
 ...f_1.0.27.2.bb => alsa-utils-alsaconf_1.0.28.bb} |  0
 ...-t-let-systemd-unit-restore-the-volume-wh.patch | 42 ++++++++-----
 ...alsa-utils_1.0.27.2.bb => alsa-utils_1.0.28.bb} |  6 +-
 8 files changed, 52 insertions(+), 125 deletions(-)
 delete mode 100644 meta/recipes-multimedia/alsa/alsa-lib/Update-iatomic.h-functions-definitions-for-mips.patch
 rename meta/recipes-multimedia/alsa/{alsa-lib_1.0.27.2.bb => alsa-lib_1.0.28.bb} (86%)
 delete mode 100644 meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch
 rename meta/recipes-multimedia/alsa/{alsa-tools_1.0.27.bb => alsa-tools_1.0.28.bb} (82%)
 rename meta/recipes-multimedia/alsa/{alsa-utils-alsaconf_1.0.27.2.bb => alsa-utils-alsaconf_1.0.28.bb} (100%)
 rename meta/recipes-multimedia/alsa/{alsa-utils_1.0.27.2.bb => alsa-utils_1.0.28.bb} (94%)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/3 alsa-lib: upgrade to 1.0.28

Changelog:
http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28

Update-iatomic.h-functions-definitions-for-mips.patch removed, integrated upstream. Check-if-wordexp-function-is-supported.patch updated.

---
 .../Check-if-wordexp-function-is-supported.patch   | 31 +++++-----
 ...-iatomic.h-functions-definitions-for-mips.patch | 68 ----------------------
 .../{alsa-lib_1.0.27.2.bb => alsa-lib_1.0.28.bb}   |  7 +--
 3 files changed, 19 insertions(+), 87 deletions(-)
 delete mode 100644 meta/recipes-multimedia/alsa/alsa-lib/Update-iatomic.h-functions-definitions-for-mips.patch
 rename meta/recipes-multimedia/alsa/{alsa-lib_1.0.27.2.bb => alsa-lib_1.0.28.bb} (86%)
meta/recipes-multimedia/alsa/alsa-lib/Check-if-wordexp-function-is-supported.patch +16 -15
index 41b3c23..75a6eb8 100644
@@ -1,6 +1,6 @@
-From 2555c5d62229cf269974f6ec6e4689ab97bbda42 Mon Sep 17 00:00:00 2001
+From e33357b59a10d44e9bec5d24100ce23ca300cc79 Mon Sep 17 00:00:00 2001
 From: "Hong H. Pham" <[email protected]>
-Date: Tue, 26 Feb 2013 19:40:04 -0500
+Date: Fri, 29 Aug 2014 17:13:55 +0300
 Subject: [PATCH] Check if wordexp function is supported
 
 eglibc could be configured to build without wordexp, so it is not enough
@@ -8,24 +8,25 @@ to check if wordexp.h exists (the header file could be installed, but it's
 possible that the wordexp() function is not supported).  An additional
 check if wordexp() is supported by the system C library is needed.
 
-Upstream-Status: Pending
+Upstream-Status: Inappropriate [configuration]
 
 Signed-off-by: Hong H. Pham <[email protected]>
+Signed-off-by: Cristian Iorga <[email protected]>
 ---
- configure.in   |    5 ++++-
- src/userfile.c |    2 +-
+ configure.ac   | 5 ++++-
+ src/userfile.c | 2 +-
  2 files changed, 5 insertions(+), 2 deletions(-)
 
-diff --git a/configure.in b/configure.in
-index 4bcb0d6..ba1c2dd 100644
---- a/configure.in
-+++ b/configure.in
-@@ -333,7 +333,10 @@ arm*)
- esac
+diff --git a/configure.ac b/configure.ac
+index b8353a0..773b72f 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -311,7 +311,10 @@ fi
+ AC_SUBST(ALSA_DEPLIBS)
  
- dnl Check for wordexp.h
--AC_CHECK_HEADERS([wordexp.h])
-+AC_CHECK_HEADERS([wordexp.h],
+ dnl Check for headers
+-AC_CHECK_HEADERS([wordexp.h endian.h sys/endian.h])
++AC_CHECK_HEADERS([wordexp.h endian.h sys/endian.h],
 +  dnl Make sure wordexp is supported by the C library
 +  AC_CHECK_FUNCS([wordexp])
 +)
@@ -46,5 +47,5 @@ index 3a73836..b8ce809 100644
  #include <assert.h>
  int snd_user_file(const char *file, char **result)
 -- 
-1.7.10.4
+1.9.1
 
meta/recipes-multimedia/alsa/alsa-lib/Update-iatomic.h-functions-definitions-for-mips.patch deleted +0 -68

68 lines not on this page · raw message

meta/recipes-multimedia/alsa/alsa-lib_1.0.28.bb renamed from meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb +3 -4
similarity index 86%
rename from meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb
rename to meta/recipes-multimedia/alsa/alsa-lib_1.0.28.bb
index fc0847d..d509da2 100644
@@ -14,16 +14,15 @@ BBCLASSEXTEND = "native nativesdk"
 #FIXME: remove the following
 ARM_INSTRUCTION_SET = "arm"
 
-SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \
+SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2 \
            file://Check-if-wordexp-function-is-supported.patch \
            file://fix-tstamp-declaration.patch \
-           file://Update-iatomic.h-functions-definitions-for-mips.patch \
            file://0001-pcm-route-Use-get32-for-multi-source-route-calculati.patch \
            file://0001-pcm-rate-fix-hw_ptr-exceed-the-boundary.patch \
            file://0001-pcm-pcm_local.h-include-time.h-to-enable-CLOCK_MONOT.patch \
 "
-SRC_URI[md5sum] = "69129a7c37697f81ac092335e9fa452b"
-SRC_URI[sha256sum] = "690ed393e7efd4fc7e3a2d2cda5449298ca0c895197e5914e350882012430d19"
+SRC_URI[md5sum] = "c9e21b88a2b3e6e12ea7ba0f3b271fc3"
+SRC_URI[sha256sum] = "3c074b85dde1b30e78ef4995579765833e5b693fbbd8f834c335e080cb734a6d"
 
 inherit autotools pkgconfig
 
Signature · 1 line
1.9.1
#2 lore raw

Re: [PATCH 1/3] alsa-lib: upgrade to 1.0.28

Quoted 8 lines · Cristian Iorga
meta/recipes-multimedia/alsa/alsa-lib_1.0.28.bb renamed from meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb +0 -0
similarity index 86%
rename from meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb
rename to meta/recipes-multimedia/alsa/alsa-lib_1.0.28.bb
index fc0847d..d509da2 100644

meta/recipes-multimedia/alsa/alsa-lib_1.0.28.bb BBCLASSEXTEND = "native nativesdk" · line 18

Quoted 6 lines
meta/recipes-multimedia/alsa/alsa-lib_1.0.28.bb renamed from meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb +1 -1
@@ -14,16 +14,15 @@ BBCLASSEXTEND = "native nativesdk"
 #FIXME: remove the following
 ARM_INSTRUCTION_SET = "arm"
 
-SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \
+SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2 \
            file://Check-if-wordexp-function-is-supported.patch \

This breaks the fetch of alsa-utils-alsaconf. I've reverted this part of the change.

Cheers,

Richard

#3 lore raw

PATCH 2/3 alsa-tools: upgrade to 1.0.28

In reply to Cristian Iorga

mips_has_no_io_h.patch removed, no longer necessary. Changelog:
http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28

---
 .../alsa/alsa-tools/mips_has_no_io_h.patch               | 16 ----------------
 .../alsa/{alsa-tools_1.0.27.bb => alsa-tools_1.0.28.bb}  |  7 +++----
 2 files changed, 3 insertions(+), 20 deletions(-)
 delete mode 100644 meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch
 rename meta/recipes-multimedia/alsa/{alsa-tools_1.0.27.bb => alsa-tools_1.0.28.bb} (82%)
meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch deleted +0 -16
deleted file mode 100644
index 09b10f1..0000000
@@ -1,16 +0,0 @@
-Upstream-Status: Pending
-Signed-off-by: Saul Wold <[email protected]>
-
-Index: alsa-tools-1.0.26.1/hda-verb/hda-verb.c
-===================================================================
---- alsa-tools-1.0.26.1.orig/hda-verb/hda-verb.c
-+++ alsa-tools-1.0.26.1/hda-verb/hda-verb.c
-@@ -13,7 +13,7 @@
- #include <ctype.h>
- #include <unistd.h>
- #include <sys/ioctl.h>
--#ifndef __PPC__
-+#if !(__PPC__ || __mips__)
- #include <sys/io.h>
- #endif
- #include <sys/types.h>
meta/recipes-multimedia/alsa/alsa-tools_1.0.28.bb renamed from meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb +3 -4
similarity index 82%
rename from meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb
rename to meta/recipes-multimedia/alsa/alsa-tools_1.0.28.bb
index bca7170..4b9509e 100644
@@ -8,14 +8,13 @@ DEPENDS = "alsa-lib ncurses"
 LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34"
 
-SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2 \
-           file://mips_has_no_io_h.patch \
+SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/${BP}.tar.bz2 \
            file://autotools.patch \
            ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
                                 'file://makefile_no_gtk.patch', d)}"
 
-SRC_URI[md5sum] = "1ea381d00a6069a98613aa7effa4cb51"
-SRC_URI[sha256sum] = "6562611b5a6560712f109e09740a9d4fa47296b07ed9590cb44139c5f154ada2"
+SRC_URI[md5sum] = "e6c929175d8ee729c06d49b51439bad6"
+SRC_URI[sha256sum] = "76e59711c6d0f39cbddce83ce1ed8da00bad112fee021f94fa990d8685cc3761"
 
 inherit autotools-brokensep pkgconfig
 
Signature · 1 line
1.9.1
#4 lore raw

PATCH 3/3 alsa-utils: upgrade to 1.0.28

In reply to Cristian Iorga

Changelog:
http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28

0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch updated.

---
 ...f_1.0.27.2.bb => alsa-utils-alsaconf_1.0.28.bb} |  0
 ...-t-let-systemd-unit-restore-the-volume-wh.patch | 42 ++++++++++++++--------
 ...alsa-utils_1.0.27.2.bb => alsa-utils_1.0.28.bb} |  6 ++--
 3 files changed, 30 insertions(+), 18 deletions(-)
 rename meta/recipes-multimedia/alsa/{alsa-utils-alsaconf_1.0.27.2.bb => alsa-utils-alsaconf_1.0.28.bb} (100%)
 rename meta/recipes-multimedia/alsa/{alsa-utils_1.0.27.2.bb => alsa-utils_1.0.28.bb} (94%)
meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.28.bb renamed from meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.27.2.bb +0 -0
similarity index 100%
rename from meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.27.2.bb
rename to meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.28.bb
meta/recipes-multimedia/alsa/alsa-utils/0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch +27 -15

65 lines not on this page · raw message

meta/recipes-multimedia/alsa/alsa-utils_1.0.28.bb renamed from meta/recipes-multimedia/alsa/alsa-utils_1.0.27.2.bb +3 -3
similarity index 94%
rename from meta/recipes-multimedia/alsa/alsa-utils_1.0.27.2.bb
rename to meta/recipes-multimedia/alsa/alsa-utils_1.0.28.bb
index 047fcfe..d6b24f1 100644
@@ -11,12 +11,12 @@ PACKAGECONFIG ??= "udev"
 PACKAGECONFIG[udev] = "--with-udev-rules-dir=`pkg-config --variable=udevdir udev`/rules.d,,udev"
 PACKAGECONFIG[xmlto] = "--enable-xmlto, --disable-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
 
-SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \
+SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/${BP}.tar.bz2 \
            file://0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch \
           "
 
-SRC_URI[md5sum] = "b65e9a04181bd7c9db7667a4566f8dc3"
-SRC_URI[sha256sum] = "02bfac39092f3b68d743c23ad3d688d6c5aa8df69f2ccd692c5b8282edb352ea"
+SRC_URI[md5sum] = "361552d5b1cacd0a1e7ba09e69990211"
+SRC_URI[sha256sum] = "f3ff4c89b0125a7797b1b13cd094cc92276e655458274967386e812d03642acc"
 
 # lazy hack. needs proper fixing in gettext.m4, see
 # http://bugs.openembedded.org/show_bug.cgi?id=2348
Signature · 1 line
1.9.1