From d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 15 Jun 2021 14:57:03 +0100 Subject: gentoo resync : 15.06.2021 --- media-libs/speexdsp/Manifest | 7 +-- .../files/speexdsp-1.2_rc3-config_types.h.patch | 61 -------------------- .../files/speexdsp-1.2_rc3-configure.patch | 44 --------------- .../speexdsp/files/speexdsp-1.2_rc3-overflow.patch | 66 ---------------------- media-libs/speexdsp/speexdsp-1.2.0.ebuild | 2 +- media-libs/speexdsp/speexdsp-1.2_rc3-r3.ebuild | 59 ------------------- 6 files changed, 2 insertions(+), 237 deletions(-) delete mode 100644 media-libs/speexdsp/files/speexdsp-1.2_rc3-config_types.h.patch delete mode 100644 media-libs/speexdsp/files/speexdsp-1.2_rc3-configure.patch delete mode 100644 media-libs/speexdsp/files/speexdsp-1.2_rc3-overflow.patch delete mode 100644 media-libs/speexdsp/speexdsp-1.2_rc3-r3.ebuild (limited to 'media-libs/speexdsp') diff --git a/media-libs/speexdsp/Manifest b/media-libs/speexdsp/Manifest index af589e4cbb1d..1c9ab72d204e 100644 --- a/media-libs/speexdsp/Manifest +++ b/media-libs/speexdsp/Manifest @@ -1,9 +1,4 @@ AUX speexdsp-1.2.0-configure.patch 1092 BLAKE2B a4629cb00d1920133db30cf1cbdaade58fe69176515c75f140f9ae9060d3111f8d88b65ce67f3bd6c7d86f60db25d15997182865e6a528a8e20603f3edb6544c SHA512 0c6f1b8ae83e98c8899649e3f108ccaad89286db317e5c3f19bd0d78f71839b92b10125ba09b640453d299b3343bfaec128ae72daff72f37f95cbf38652980dd -AUX speexdsp-1.2_rc3-config_types.h.patch 2188 BLAKE2B 1e0c25b5e65a5999f5284abf0516aee5bb5ed0906c46d5d1e44b406236404ed00a8f0b0df5e6093a7cbdb10c453d4ab69b8df63ebb127d47a6930d546476099f SHA512 075a88f7f16d4744c95a9208ff4e803bfc28bff99113c3e919a9ce24c8e6bf91eedcbe9d487b668428db357092cc5db455e6256020cec598120c971734258b07 -AUX speexdsp-1.2_rc3-configure.patch 1506 BLAKE2B 76276ba7cc0c7143da55d90be9a60ea697dc13f9ad65d7d24a83606b14c543700788e9213d1562371203ace9d45131cb52103d7f045ddf17adc0e30fd3876013 SHA512 95a95e5ca052b6ab3091ce9c461e7356f029e65b47a0a0f291448325acceb23c5cb12d81dbdecec13945b70fa8161e479bc6767de484c2c2f13a5299a3b9304c -AUX speexdsp-1.2_rc3-overflow.patch 2211 BLAKE2B 36a5aaedd730d8847046ce8cb9453678cf7aa503e060b25fb24e57516bbaaa7b987d3abb93fab741933c3fd43c490a090ac9fd64a6fbb2496f3a0364029c6b50 SHA512 f948be7513ed33a133a19bf571b8b1395f37b86715e2426a59105494d16c269c54c3a32c916f89af7e5b4b1d4aff90839e2b1ed2b13de482e54ac05bef449b31 DIST speexdsp-1.2.0.tar.gz 919621 BLAKE2B 70c7d07f4b23abbb70cfb212a6541288c71f57fffd5fe22ddd94901a7d01fa403a69b7884e3a4a2267ffd45a7e053b1ae7c7fd662e57053a06d4a7efb7889610 SHA512 e357cd5377415ea66c862302c7cf8bf6a10063cacd903f0846478975b87974cf5bdf00e2c6759d8f4f453c4c869cf284e9dc948a84a83d7b2ab96bd5405c05ec -DIST speexdsp-1.2rc3.tar.gz 901771 BLAKE2B 85d047df82fc06906598da39ae653aa245c246bfea75c02d25f7811983babdab6a8499c9b563e0d7d2145fa490674df2cf0a05989884ffb3c2c2a183415ce841 SHA512 29dfa8345df025eeb076561648a9b5c0485692be699b6da3c2a3734b4329187a1c2eb181252f4df12b21f1309ecdf59797437dfb123d160fd723491ab216e858 -EBUILD speexdsp-1.2.0.ebuild 1383 BLAKE2B 7a64c619b06b26293b7c77f9c06ef884a0445807c8f96967f907a1aaf4089fa8c260297f43525d776bc2d1ca1245046603a501137d7f7ba18d355956031ad765 SHA512 12d253f8c2c073f99e21a1f908c08744f7fbaeb004273f08ef6e91ffdf7b4eed3422b08b4a8f3e14ea1f7ea0cf3db680384cb01068c7a796f4cfb92f0068ef90 -EBUILD speexdsp-1.2_rc3-r3.ebuild 1452 BLAKE2B fb1c74522d2ede3f6c2e85c31259beb4fa6f62173f57a2e457ba2b31a7602501094c15616d025d18262710cc9890d3190951e37dfd26d9f5f3ef6b2d3825abb5 SHA512 e830cc39bbacf1af828553f4beb987055975de1574bb0089662232d82a469046750977d271958b6119ade46528b3518892845dbfa23cc6e9f90b3904c0f75b6d +EBUILD speexdsp-1.2.0.ebuild 1376 BLAKE2B 9f44b14947abecb3b893c1ab049d52c0a1b04d45c5b9edb169f3f789e3bae5452c33fd97b512abe38759097328e3c12fd21ca20da06c15cf3ec8d0441a89bc59 SHA512 23faeb35901be800a1bd79352288ba425c8f417aa9e52faff4e5fb7ba1439380e57d466b0b9d8912535ba76d00d0b69f8c70dfa85f18b47660b324d219296eb4 MISC metadata.xml 342 BLAKE2B 5b793ea5060e3e8359d6b50ebd5211471de0d72608086d1d0a67c655cc30c15e0b0db4545a578882144f9f1f4913779037ff76aeeb94002db2b162db78a6364e SHA512 32081e424d3f4ad3fd0ef4979c339d1139cb2298e6703210ff741b77a8b3bf2e1d4b550b0d76a1bd0c4dc5ac465b3ebdd1fe86da45d46586cd3560261f73c457 diff --git a/media-libs/speexdsp/files/speexdsp-1.2_rc3-config_types.h.patch b/media-libs/speexdsp/files/speexdsp-1.2_rc3-config_types.h.patch deleted file mode 100644 index 835769dde707..000000000000 --- a/media-libs/speexdsp/files/speexdsp-1.2_rc3-config_types.h.patch +++ /dev/null @@ -1,61 +0,0 @@ -From c470e2e89a6ca75b507437467692cd684b71a526 Mon Sep 17 00:00:00 2001 -From: Tanu Kaskinen -Date: Sun, 5 Jul 2015 18:10:19 +0300 -Subject: [PATCH] Don't rely on HAVE_STDINT_H et al. being defined - -Not everyone who includes speexdsp_config_types.h will have a test -which defines those, and if we've chosen to use the stdint types at -configure time then we know exactly which header(s) are available, so -just choose the best one then and generate the header to use it. - -This patch, including the above text, is copied from a commit in the -speex repository[1]. The original commit for speex was made by Ron -. - -[1] https://git.xiph.org/?p=speex.git;a=commitdiff;h=774c87d6cb7dd8dabdd17677fc6da753ecf4aa87 - -Signed-off-by: Tanu Kaskinen ---- - configure.ac | 6 ++++++ - include/speex/speexdsp_config_types.h.in | 8 +------- - 2 files changed, 7 insertions(+), 7 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 2cd2d1e..1de0c23 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -334,6 +334,12 @@ AC_SUBST([USIZE16]) - AC_SUBST([SIZE32]) - AC_SUBST([USIZE32]) - -+AS_IF([test "$ac_cv_header_stdint_h" = "yes"], [INCLUDE_STDINT="#include "], -+ [test "$ac_cv_header_inttypes_h" = "yes"], [INCLUDE_STDINT="#include "], -+ [test "$ac_cv_header_sys_types_h" = "yes"], [INCLUDE_STDINT="#include "]) -+ -+AC_SUBST([INCLUDE_STDINT]) -+ - AC_CONFIG_FILES([ - Makefile libspeexdsp/Makefile doc/Makefile SpeexDSP.spec - include/Makefile include/speex/Makefile speexdsp.pc -diff --git a/include/speex/speexdsp_config_types.h.in b/include/speex/speexdsp_config_types.h.in -index 02b82fd..5ea7b55 100644 ---- a/include/speex/speexdsp_config_types.h.in -+++ b/include/speex/speexdsp_config_types.h.in -@@ -1,13 +1,7 @@ - #ifndef __SPEEX_TYPES_H__ - #define __SPEEX_TYPES_H__ - --#if defined HAVE_STDINT_H --# include --#elif defined HAVE_INTTYPES_H --# include --#elif defined HAVE_SYS_TYPES_H --# include --#endif -+@INCLUDE_STDINT@ - - typedef @SIZE16@ spx_int16_t; - typedef @USIZE16@ spx_uint16_t; --- -2.1.4 - diff --git a/media-libs/speexdsp/files/speexdsp-1.2_rc3-configure.patch b/media-libs/speexdsp/files/speexdsp-1.2_rc3-configure.patch deleted file mode 100644 index ae29da58438b..000000000000 --- a/media-libs/speexdsp/files/speexdsp-1.2_rc3-configure.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -Naur speexdsp-1.2rc3.orig/configure.ac speexdsp-1.2rc3/configure.ac ---- speexdsp-1.2rc3.orig/configure.ac 2016-12-12 20:04:48.710853453 -0800 -+++ speexdsp-1.2rc3/configure.ac 2016-12-12 20:05:07.588052415 -0800 -@@ -151,10 +151,17 @@ - AC_ARG_ENABLE(sse, [ --enable-sse Enable SSE support], [ - if test "x$enableval" != xno; then - has_sse=yes --has_sse2=yes --CFLAGS="$CFLAGS -O3 -msse -msse2" -+CFLAGS="$CFLAGS -msse" - else - has_sse=no -+fi -+]) -+ -+AC_ARG_ENABLE(sse2, [ --enable-sse2 Enable SSE2 support], [ -+if test "x$enableval" != xno; then -+has_sse2=yes -+CFLAGS="$CFLAGS -msse2" -+else - has_sse2=no - fi - ]) -@@ -162,7 +169,7 @@ - AC_ARG_ENABLE(neon, [ --enable-neon Enable NEON support], [ - if test "x$enableval" != xno; then - has_neon=yes --CFLAGS="$CFLAGS -O3 -march=armv7-a -mfpu=neon" -+CFLAGS="$CFLAGS -mfpu=neon" - else - has_neon=no - fi -diff -Naur speexdsp-1.2rc3.orig/libspeexdsp/Makefile.am speexdsp-1.2rc3/libspeexdsp/Makefile.am ---- speexdsp-1.2rc3.orig/libspeexdsp/Makefile.am 2016-12-12 20:04:48.690853242 -0800 -+++ speexdsp-1.2rc3/libspeexdsp/Makefile.am 2016-12-12 20:08:27.740161974 -0800 -@@ -29,7 +29,7 @@ - pseudofloat.h smallft.h vorbis_psy.h resample_sse.h resample_neon.h - - libspeexdsp_la_LDFLAGS = -no-undefined -version-info @SPEEXDSP_LT_CURRENT@:@SPEEXDSP_LT_REVISION@:@SPEEXDSP_LT_AGE@ --libspeexdsp_la_LIBADD = $(LIBM) -+libspeexdsp_la_LIBADD = $(LIBM) $(FFT_LIBS) - - if BUILD_EXAMPLES - noinst_PROGRAMS = testdenoise testecho testjitter testresample diff --git a/media-libs/speexdsp/files/speexdsp-1.2_rc3-overflow.patch b/media-libs/speexdsp/files/speexdsp-1.2_rc3-overflow.patch deleted file mode 100644 index 3a413625085e..000000000000 --- a/media-libs/speexdsp/files/speexdsp-1.2_rc3-overflow.patch +++ /dev/null @@ -1,66 +0,0 @@ -From a2133f5904ddb616b6578920bd2199f5accb484d Mon Sep 17 00:00:00 2001 -From: Tristan Matthews -Date: Fri, 24 Apr 2015 15:55:32 -0400 -Subject: [PATCH] preprocess: prevent rare overflow on overlap-add - -Reported-by: Fabian Henze ---- - libspeexdsp/arch.h | 3 +++ - libspeexdsp/preprocess.c | 2 +- - libspeexdsp/resample.c | 6 ------ - 3 files changed, 4 insertions(+), 7 deletions(-) - -diff --git a/libspeexdsp/arch.h b/libspeexdsp/arch.h -index 6b3bc5d..c2de991 100644 ---- a/libspeexdsp/arch.h -+++ b/libspeexdsp/arch.h -@@ -101,6 +101,8 @@ typedef spx_word32_t spx_sig_t; - #define SIG_SHIFT 14 - #define GAIN_SHIFT 6 - -+#define WORD2INT(x) ((x) < -32767 ? -32768 : ((x) > 32766 ? 32767 : (x))) -+ - #define VERY_SMALL 0 - #define VERY_LARGE32 ((spx_word32_t)2147483647) - #define VERY_LARGE16 ((spx_word16_t)32767) -@@ -203,6 +205,7 @@ typedef float spx_word32_t; - #define DIV32(a,b) (((spx_word32_t)(a))/(spx_word32_t)(b)) - #define PDIV32(a,b) (((spx_word32_t)(a))/(spx_word32_t)(b)) - -+#define WORD2INT(x) ((x) < -32767.5f ? -32768 : ((x) > 32766.5f ? 32767 : floor(.5+(x)))) - - #endif - -diff --git a/libspeexdsp/preprocess.c b/libspeexdsp/preprocess.c -index c080581..3053eb5 100644 ---- a/libspeexdsp/preprocess.c -+++ b/libspeexdsp/preprocess.c -@@ -980,7 +980,7 @@ EXPORT int speex_preprocess_run(SpeexPreprocessState *st, spx_int16_t *x) - - /* Perform overlap and add */ - for (i=0;ioutbuf[i] + st->frame[i]; -+ x[i] = WORD2INT(ADD32(EXTEND32(st->outbuf[i]), EXTEND32(st->frame[i]))); - for (i=0;iframe[N3+i]; - -diff --git a/libspeexdsp/resample.c b/libspeexdsp/resample.c -index 4940a64..4e47d67 100644 ---- a/libspeexdsp/resample.c -+++ b/libspeexdsp/resample.c -@@ -83,12 +83,6 @@ static void speex_free (void *ptr) {free(ptr);} - #define M_PI 3.14159265358979323846 - #endif - --#ifdef FIXED_POINT --#define WORD2INT(x) ((x) < -32767 ? -32768 : ((x) > 32766 ? 32767 : (x))) --#else --#define WORD2INT(x) ((x) < -32767.5f ? -32768 : ((x) > 32766.5f ? 32767 : floor(.5+(x)))) --#endif -- - #define IMAX(a,b) ((a) > (b) ? (a) : (b)) - #define IMIN(a,b) ((a) < (b) ? (a) : (b)) - --- -2.1.4 - diff --git a/media-libs/speexdsp/speexdsp-1.2.0.ebuild b/media-libs/speexdsp/speexdsp-1.2.0.ebuild index 9a9d4e43273a..1f36b74e0d68 100644 --- a/media-libs/speexdsp/speexdsp-1.2.0.ebuild +++ b/media-libs/speexdsp/speexdsp-1.2.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_arm_neon" RDEPEND="!