* [Buildroot] [PATCH 1/2] package/speex: use pkgconf to detect libogg
@ 2018-06-10 10:10 Bernd Kuhls
2018-06-10 10:10 ` [Buildroot] [PATCH 2/2] package/speex: bump version to 1.2.0 Bernd Kuhls
2018-06-10 11:25 ` [Buildroot] [PATCH 1/2] package/speex: use pkgconf to detect libogg Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Bernd Kuhls @ 2018-06-10 10:10 UTC (permalink / raw)
To: buildroot
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
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/speex/speex.mk | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/package/speex/speex.mk b/package/speex/speex.mk
index 3c188b631e..516e89929a 100644
--- a/package/speex/speex.mk
+++ b/package/speex/speex.mk
@@ -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)
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/speex: bump version to 1.2.0
2018-06-10 10:10 [Buildroot] [PATCH 1/2] package/speex: use pkgconf to detect libogg Bernd Kuhls
@ 2018-06-10 10:10 ` Bernd Kuhls
2018-06-10 20:12 ` Bernd Kuhls
2018-06-10 11:25 ` [Buildroot] [PATCH 1/2] package/speex: use pkgconf to detect libogg Thomas Petazzoni
1 sibling, 1 reply; 4+ messages in thread
From: Bernd Kuhls @ 2018-06-10 10:10 UTC (permalink / raw)
To: buildroot
Added upstream md5 & locally computed license hashes, rebased patch,
updated SPEEX_SITE.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/speex/0001-thumb2-support.patch | 6 ++++--
package/speex/speex.hash | 8 ++++++--
package/speex/speex.mk | 4 ++--
3 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/package/speex/0001-thumb2-support.patch b/package/speex/0001-thumb2-support.patch
index b6f7369299..092fa13252 100644
--- a/package/speex/0001-thumb2-support.patch
+++ b/package/speex/0001-thumb2-support.patch
@@ -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 <thomas.petazzoni@free-electrons.com>
+[Bernd: rebased for 1.2.0]
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
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"
diff --git a/package/speex/speex.hash b/package/speex/speex.hash
index c38a0a7b22..f5235d6262 100644
--- a/package/speex/speex.hash
+++ b/package/speex/speex.hash
@@ -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
diff --git a/package/speex/speex.mk b/package/speex/speex.mk
index 516e89929a..c6b46e0eb3 100644
--- a/package/speex/speex.mk
+++ b/package/speex/speex.mk
@@ -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
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] package/speex: use pkgconf to detect libogg
2018-06-10 10:10 [Buildroot] [PATCH 1/2] package/speex: use pkgconf to detect libogg Bernd Kuhls
2018-06-10 10:10 ` [Buildroot] [PATCH 2/2] package/speex: bump version to 1.2.0 Bernd Kuhls
@ 2018-06-10 11:25 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2018-06-10 11:25 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 10 Jun 2018 12:10:23 +0200, Bernd Kuhls wrote:
> 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
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> 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
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/speex: bump version to 1.2.0
2018-06-10 10:10 ` [Buildroot] [PATCH 2/2] package/speex: bump version to 1.2.0 Bernd Kuhls
@ 2018-06-10 20:12 ` Bernd Kuhls
0 siblings, 0 replies; 4+ messages in thread
From: Bernd Kuhls @ 2018-06-10 20:12 UTC (permalink / raw)
To: buildroot
Am Sun, 10 Jun 2018 12:10:24 +0200 schrieb Bernd Kuhls:
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-06-10 20:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-10 10:10 [Buildroot] [PATCH 1/2] package/speex: use pkgconf to detect libogg Bernd Kuhls
2018-06-10 10:10 ` [Buildroot] [PATCH 2/2] package/speex: bump version to 1.2.0 Bernd Kuhls
2018-06-10 20:12 ` Bernd Kuhls
2018-06-10 11:25 ` [Buildroot] [PATCH 1/2] package/speex: use pkgconf to detect libogg Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox