From 99a49e059fd82180f943d8cd6651b2c8e0d6289f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 6 Apr 2019 16:58:11 -0700 Subject: alsa-oss: Upgrade to 1.1.8 OE-core has upgraded alsa-lib to 1.1.8 as well so we need to be in sysnc Signed-off-by: Khem Raj --- .../recipes-multimedia/alsa/alsa-oss/libio.patch | 32 +++++++++------ meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.6.bb | 46 ---------------------- meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.8.bb | 46 ++++++++++++++++++++++ 3 files changed, 67 insertions(+), 57 deletions(-) delete mode 100644 meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.6.bb create mode 100644 meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.8.bb (limited to 'meta-oe/recipes-multimedia/alsa') diff --git a/meta-oe/recipes-multimedia/alsa/alsa-oss/libio.patch b/meta-oe/recipes-multimedia/alsa/alsa-oss/libio.patch index 5299945e19..835b266014 100644 --- a/meta-oe/recipes-multimedia/alsa/alsa-oss/libio.patch +++ b/meta-oe/recipes-multimedia/alsa/alsa-oss/libio.patch @@ -1,18 +1,28 @@ -Index: alsa-oss-1.0.28/alsa/stdioemu.c -=================================================================== ---- alsa-oss-1.0.28.orig/alsa/stdioemu.c -+++ alsa-oss-1.0.28/alsa/stdioemu.c +From 54b1c2e27bf81f94c727b4923d4ed592110e2796 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Sun, 29 May 2011 21:05:15 +0200 + +--- + alsa/stdioemu.c | 8 +++++++- + configure.ac | 6 ++++++ + 2 files changed, 13 insertions(+), 1 deletion(-) + +diff --git a/alsa/stdioemu.c b/alsa/stdioemu.c +index f7f9ab5..b673fe3 100644 +--- a/alsa/stdioemu.c ++++ b/alsa/stdioemu.c @@ -37,7 +37,9 @@ #endif #include +- +#ifdef HAVE_LIBIO_H - #include ++#include +#endif - struct fd_cookie { int fd; -@@ -99,7 +101,11 @@ static FILE *fake_fopen(const char *path + }; +@@ -98,7 +100,11 @@ static FILE *fake_fopen(const char *path, const char *mode, int flags) if (open_mode && fdc->fd > 0) { result = fopencookie (fdc,"w", fns); @@ -24,10 +34,10 @@ Index: alsa-oss-1.0.28/alsa/stdioemu.c } return result; } -Index: alsa-oss-1.0.28/configure.ac -=================================================================== ---- alsa-oss-1.0.28.orig/configure.ac -+++ alsa-oss-1.0.28/configure.ac +diff --git a/configure.ac b/configure.ac +index 583b95f..60a1025 100644 +--- a/configure.ac ++++ b/configure.ac @@ -35,6 +35,12 @@ if test "$with_aoss" = "yes"; then LIBS="$OLD_LIBS" fi diff --git a/meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.6.bb b/meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.6.bb deleted file mode 100644 index 6c2176f79c..0000000000 --- a/meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.6.bb +++ /dev/null @@ -1,46 +0,0 @@ -# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'. -# The following is the difference between the old and the new license text. -# Please update the LICENSE value if needed, and summarize the changes in -# the commit message via 'License-Update:' tag. -# (example: 'License-Update: copyright years updated.') -# -# The changes: -# -# --- COPYING -# +++ COPYING -# @@ -2,7 +2,8 @@ -# Version 2, June 1991 -# -# Copyright (C) 1989, 1991 Free Software Foundation, Inc. -# - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA -# + -# Everyone is permitted to copy and distribute verbatim copies -# of this license document, but changing it is not allowed. -# -# -# - -SUMMARY = "Alsa OSS Compatibility Package" -SECTION = "libs/multimedia" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=ed055b4eff93da784176a01582e6ec1a" -DEPENDS = "alsa-lib" - -SRC_URI = "ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-${PV}.tar.bz2 \ - file://libio.patch \ -" -SRC_URI[md5sum] = "fc845cafc4444193510ab1865c7350b8" -SRC_URI[sha256sum] = "c3d3f743e61f05ff95c5cba3b06bc9c91ff86c37495f1d19dab844e6b90845ea" - -inherit autotools - -LEAD_SONAME = "libaoss.so.0" - -do_configure_prepend () { - touch NEWS README AUTHORS ChangeLog - sed -i "s/libaoss.so/${LEAD_SONAME}/" ${S}/alsa/aoss.in -} - -# http://errors.yoctoproject.org/Errors/Details/186961/ -EXCLUDE_FROM_WORLD_libc-musl = "1" diff --git a/meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.8.bb b/meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.8.bb new file mode 100644 index 0000000000..46ab503169 --- /dev/null +++ b/meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.8.bb @@ -0,0 +1,46 @@ +# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'. +# The following is the difference between the old and the new license text. +# Please update the LICENSE value if needed, and summarize the changes in +# the commit message via 'License-Update:' tag. +# (example: 'License-Update: copyright years updated.') +# +# The changes: +# +# --- COPYING +# +++ COPYING +# @@ -2,7 +2,8 @@ +# Version 2, June 1991 +# +# Copyright (C) 1989, 1991 Free Software Foundation, Inc. +# - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +# + +# Everyone is permitted to copy and distribute verbatim copies +# of this license document, but changing it is not allowed. +# +# +# + +SUMMARY = "Alsa OSS Compatibility Package" +SECTION = "libs/multimedia" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=ed055b4eff93da784176a01582e6ec1a" +DEPENDS = "alsa-lib" + +SRC_URI = "ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-${PV}.tar.bz2 \ + file://libio.patch \ +" +SRC_URI[md5sum] = "9ec4bb783fdce19032aace086d65d874" +SRC_URI[sha256sum] = "64adcef5927e848d2e024e64c4bf85b6f395964d9974ec61905ae4cb8d35d68e" + +inherit autotools + +LEAD_SONAME = "libaoss.so.0" + +do_configure_prepend () { + touch NEWS README AUTHORS ChangeLog + sed -i "s/libaoss.so/${LEAD_SONAME}/" ${S}/alsa/aoss.in +} + +# http://errors.yoctoproject.org/Errors/Details/186961/ +EXCLUDE_FROM_WORLD_libc-musl = "1" -- cgit 1.2.3-korg