package/speex: use pkgconf to detect libogg
PATCH 1/2 package/speex: use pkgconf to detect libogg
Upstream removed with-ogg-* configure options and switched to pkgconf to detect libogg back in 2014:
https://git.xiph.org/?p=speex.git;a=commitdiff;h=e1b1eeabce815283c5bbc42016a9d6a11eda2866
--- package/speex/speex.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
package/speex/speex.mk +1 -4
@@ -8,12 +8,9 @@ SPEEX_VERSION = 1.2rc1 SPEEX_SITE = http://downloads.us.xiph.org/releases/speex SPEEX_LICENSE = BSD-3-Clause SPEEX_LICENSE_FILES = COPYING - SPEEX_INSTALL_STAGING = YES -SPEEX_DEPENDENCIES = libogg +SPEEX_DEPENDENCIES = host-pkgconf libogg SPEEX_CONF_OPTS = \ - --with-ogg-libraries=$(STAGING_DIR)/usr/lib \ - --with-ogg-includes=$(STAGING_DIR)/usr/include \ --enable-fixed-point ifeq ($(BR2_PACKAGE_SPEEX_ARM4),y)
Signature · 1 line
2.17.1
PATCH 2/2 package/speex: bump version to 1.2.0
Added upstream md5 & locally computed license hashes, rebased patch, updated SPEEX_SITE.
--- package/speex/0001-thumb2-support.patch | 6 ++++-- package/speex/speex.hash | 8 ++++++-- package/speex/speex.mk | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-)
package/speex/0001-thumb2-support.patch +4 -2
@@ -4,6 +4,8 @@ Patch written by Michael Hope from Linaro, available at http://lists.xiph.org/pipermail/speex-dev/2010-November/008041.html. Signed-off-by: Thomas Petazzoni <[email protected]> +[Bernd: rebased for 1.2.0] +Signed-off-by: Bernd Kuhls <[email protected]> diff --git a/libspeex/filters_arm4.h b/libspeex/filters_arm4.h index 7a74042..6ec1f75 100644
@@ -12,10 +14,10 @@ index 7a74042..6ec1f75 100644 @@ -47,8 +47,10 @@ int normalize16(const spx_sig_t *x, spx_word16_t *y, spx_sig_t max_scale, int le "\tldr %4, [%0], #4 \n" - "\tcmps %4, %1 \n" + "\tcmp %4, %1 \n" + "\tit gt \n" "\tmovgt %1, %4 \n" - "\tcmps %4, %3 \n" + "\tcmp %4, %3 \n" + "\tit lt \n" "\tmovlt %3, %4 \n"
package/speex/speex.hash +6 -2
@@ -1,2 +1,6 @@ -# From http://downloads.xiph.org/releases/speex/SHA256SUMS.txt -sha256 342f30dc57bd4a6dad41398365baaa690429660b10d866b7d508e8f1179cb7a6 speex-1.2rc1.tar.gz +# From https://downloads.xiph.org/releases/speex/SHA256SUMS.txt +sha256 eaae8af0ac742dc7d542c9439ac72f1f385ce838392dc849cae4536af9210094 speex-1.2.0.tar.gz +# From https://downloads.xiph.org/releases/speex/MD5SUMS +md5 8ab7bb2589110dfaf0ed7fa7757dc49c speex-1.2.0.tar.gz +# Locally computed +sha256 671bb5d8fd3c6b05a2e831d90f978ac27965c92bd8ea6d16b3df76e3440c0e9f COPYING
package/speex/speex.mk +2 -2
@@ -4,8 +4,8 @@ # ################################################################################ -SPEEX_VERSION = 1.2rc1 -SPEEX_SITE = http://downloads.us.xiph.org/releases/speex +SPEEX_VERSION = 1.2.0 +SPEEX_SITE = https://downloads.xiph.org/releases/speex SPEEX_LICENSE = BSD-3-Clause SPEEX_LICENSE_FILES = COPYING SPEEX_INSTALL_STAGING = YES
Signature · 1 line
2.17.1
PATCH 2/2 package/speex: bump version to 1.2.0
Am Sun, 10 Jun 2018 12:10:24 +0200 schrieb Bernd Kuhls:
Quoted 2 lines
Added upstream md5 & locally computed license hashes, rebased patch, updated
SPEEX_SITE.
Hi,
this commit broke freeswitch and asterisk due to the split of the DSP library into its own package speexdsp, sent new series to fix the problem:
http://patchwork.ozlabs.org/patch/927405/
http://patchwork.ozlabs.org/patch/927407/
http://patchwork.ozlabs.org/patch/927404/
http://patchwork.ozlabs.org/patch/927406/
Regards, Bernd
PS: patchworks did not recognize the patches as a series.
PATCH 1/2 package/speex: use pkgconf to detect libogg
In reply to Bernd KuhlsHello,
Quoted 8 lines · Bernd Kuhls
Upstream removed with-ogg-* configure options and switched to pkgconf to detect libogg back in 2014:
https://git.xiph.org/?p=speex.git;a=commitdiff;h=e1b1eeabce815283c5bbc42016a9d6a11eda2866Signed-off-by Bernd Kuhls <[email protected]>--- package/speex/speex.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
Both applied, thanks. Could you try to resubmit the Thumb2 patch to speex upstream ?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com