From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex@linutronix.de>
Subject: [PATCH 09/17] libsndfile1: update 1.0.31 -> 1.1.0
Date: Thu, 7 Apr 2022 19:00:21 +0200 [thread overview]
Message-ID: <20220407170029.3500874-9-alex@linutronix.de> (raw)
In-Reply-To: <20220407170029.3500874-1-alex@linutronix.de>
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
.../libsndfile/libsndfile1/noopus.patch | 39 ++++++++++++-------
...ndfile1_1.0.31.bb => libsndfile1_1.1.0.bb} | 5 +--
2 files changed, 28 insertions(+), 16 deletions(-)
rename meta/recipes-multimedia/libsndfile/{libsndfile1_1.0.31.bb => libsndfile1_1.1.0.bb} (85%)
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch
index 6bcb932429..cb1778bede 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch
@@ -1,19 +1,29 @@
-We don't have opus in OE-Core which causes all the external libs to be disabled
+From 593256a3e386a4e17fe26cfbfb813cf4996447d7 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Mon, 4 Apr 2022 19:46:44 +0200
+Subject: [PATCH] Disable opus library
+
+We don't have opus in OE-Core which causes all the external libs to be disabled
silently. The silent issue is discussed in the link below and hints a patch
to make things configurable may be accepted.
This patch removing the opus piece at least gets most of the functionality
we previously used back whilst the issue is discussed.
-Upstream-Status: Pending [https://github.com/libsndfile/libsndfile/pull/812]
+Upstream-Status: Denied [https://github.com/libsndfile/libsndfile/pull/812]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ configure.ac | 10 +++++-----
+ src/ogg_opus.c | 2 +-
+ 2 files changed, 6 insertions(+), 6 deletions(-)
-Index: libsndfile-1.0.31/configure.ac
-===================================================================
---- libsndfile-1.0.31.orig/configure.ac
-+++ libsndfile-1.0.31/configure.ac
-@@ -361,13 +361,13 @@ AS_IF([test -n "$PKG_CONFIG"], [
+diff --git a/configure.ac b/configure.ac
+index 727b67bc..f9d2e447 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -373,13 +373,13 @@ AS_IF([test -n "$PKG_CONFIG"], [
enable_external_libs=yes
])
@@ -31,19 +41,19 @@ Index: libsndfile-1.0.31/configure.ac
if test x$ac_cv_speex = "xyes" ; then
EXTERNAL_XIPH_REQUIRE="$EXTERNAL_XIPH_REQUIRE speex"
-@@ -716,7 +716,7 @@ AC_MSG_RESULT([
+@@ -788,7 +788,7 @@ AC_MSG_RESULT([
Experimental code : ................... ${enable_experimental:-no}
Using ALSA in example programs : ...... ${enable_alsa:-no}
- External FLAC/Ogg/Vorbis/Opus : ....... ${enable_external_libs:-no}
+ External FLAC/Ogg/Vorbis : ....... ${enable_external_libs:-no}
+ External MPEG Lame/MPG123 : ........... ${enable_mpeg:-no}
Building Octave interface : ........... ${OCTAVE_BUILD}
- Tools :
-Index: libsndfile-1.0.31/src/ogg_opus.c
-===================================================================
---- libsndfile-1.0.31.orig/src/ogg_opus.c
-+++ libsndfile-1.0.31/src/ogg_opus.c
+diff --git a/src/ogg_opus.c b/src/ogg_opus.c
+index dfa446ee..0d4fe57b 100644
+--- a/src/ogg_opus.c
++++ b/src/ogg_opus.c
@@ -159,7 +159,7 @@
#include "sfendian.h"
#include "common.h"
@@ -53,3 +63,6 @@ Index: libsndfile-1.0.31/src/ogg_opus.c
#include <ogg/ogg.h>
#include <opus/opus.h>
+--
+2.30.2
+
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.31.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.1.0.bb
similarity index 85%
rename from meta/recipes-multimedia/libsndfile/libsndfile1_1.0.31.bb
rename to meta/recipes-multimedia/libsndfile/libsndfile1_1.1.0.bb
index ea14fe29cb..70626b3c16 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.31.bb
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.1.0.bb
@@ -8,13 +8,12 @@ DEPENDS = "flac libogg libvorbis"
SECTION = "libs/multimedia"
LICENSE = "LGPL-2.1-only"
-SRC_URI = "https://github.com/libsndfile/libsndfile/releases/download/${PV}/libsndfile-${PV}.tar.bz2 \
+SRC_URI = "https://github.com/libsndfile/libsndfile/releases/download/${PV}/libsndfile-${PV}.tar.xz \
file://noopus.patch \
"
UPSTREAM_CHECK_URI = "https://github.com/libsndfile/libsndfile/releases/"
-SRC_URI[md5sum] = "3f3b2a86a032f064ef922a2c8c191f7b"
-SRC_URI[sha256sum] = "a8cfb1c09ea6e90eff4ca87322d4168cdbe5035cb48717b40bf77e751cc02163"
+SRC_URI[sha256sum] = "0f98e101c0f7c850a71225fb5feaf33b106227b3d331333ddc9bacee190bcf41"
LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a"
--
2.30.2
next prev parent reply other threads:[~2022-04-07 20:36 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-07 17:00 [PATCH 01/17] connman-conf: ignore eth0 in qemu in a way that is not sysvinit-specific Alexander Kanavin
2022-04-07 17:00 ` [PATCH 02/17] llvm: update 13.0.1 -> 14.0.0 Alexander Kanavin
2022-04-08 7:03 ` [OE-core] " Richard Purdie
2022-04-08 8:12 ` Alexander Kanavin
2022-04-07 17:00 ` [PATCH 03/17] llvm: use default install paths Alexander Kanavin
2022-04-07 17:00 ` [PATCH 04/17] squashfs-tools: update 4.5 -> 4.5.1 Alexander Kanavin
2022-04-07 19:55 ` [OE-core] " Khem Raj
2022-04-07 19:59 ` Alexander Kanavin
2022-04-07 20:04 ` Khem Raj
2022-04-07 17:00 ` [PATCH 05/17] go-helloworld: update to latest revision Alexander Kanavin
2022-04-07 17:00 ` [PATCH 06/17] piglit: " Alexander Kanavin
2022-04-07 17:00 ` [PATCH 07/17] vulkan-samples: " Alexander Kanavin
2022-04-07 17:00 ` [PATCH 08/17] libxvmc: update 1.0.12 -> 1.0.13 Alexander Kanavin
2022-04-07 17:00 ` Alexander Kanavin [this message]
2022-04-07 17:00 ` [PATCH 10/17] at-spi2-core: update 2.42.0 -> 2.44.0 Alexander Kanavin
2022-04-07 17:00 ` [PATCH 11/17] webkitgtk: update 2.34.6 -> 2.36.0 Alexander Kanavin
2022-04-09 3:25 ` [OE-core] " Khem Raj
2022-04-07 17:00 ` [PATCH 12/17] cmake: update 3.22.3 -> 3.23.0 Alexander Kanavin
2022-04-07 17:00 ` [PATCH 13/17] epiphany: upgrade 41.3 -> 42.0 Alexander Kanavin
2022-04-07 17:00 ` [PATCH 14/17] gdk-pixbuf: upgrade 2.42.6 -> 2.42.8 Alexander Kanavin
2022-04-07 17:00 ` [PATCH 15/17] libgcrypt: upgrade 1.9.4 -> 1.10.1 Alexander Kanavin
2022-04-07 19:46 ` [OE-core] " Khem Raj
2022-04-07 19:56 ` Alexander Kanavin
2022-04-07 17:00 ` [PATCH 16/17] librsvg: upgrade 2.52.7 -> 2.54.0 Alexander Kanavin
2022-04-07 17:00 ` [PATCH 17/17] python3-typing-extensions: upgrade 3.10.0.0 -> 4.1.1 Alexander Kanavin
2022-04-07 19:43 ` [OE-core] " Khem Raj
2022-04-07 19:45 ` Alexander Kanavin
2022-04-07 19:59 ` Khem Raj
2022-04-07 21:14 ` Richard Purdie
2022-04-20 20:05 ` [OE-core] [PATCH 01/17] connman-conf: ignore eth0 in qemu in a way that is not sysvinit-specific Steve Sakoman
2022-04-20 21:00 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220407170029.3500874-9-alex@linutronix.de \
--to=alex.kanavin@gmail.com \
--cc=alex@linutronix.de \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.