From b5413047f38626fc070458e622670f695505b4c2 Mon Sep 17 00:00:00 2001 From: JailBird Date: Thu, 7 Oct 2021 23:15:14 -0500 Subject: [PATCH] Update spandsp to 3.0.0 - FreeSWTICH now maintains SpanDSP and hosts it in their GitHub account - This new version is required for newer versions of FreeSWITCH - They haven't tagged nor released any releases yet, sadly - Claim ownership of the port --- comms/spandsp/Makefile | 11 +++++--- comms/spandsp/distinfo | 4 +-- comms/spandsp/files/patch-configure.ac | 37 -------------------------- comms/spandsp/pkg-plist | 18 +++++++++++-- 4 files changed, 26 insertions(+), 44 deletions(-) diff --git a/comms/spandsp/Makefile b/comms/spandsp/Makefile index fea700f1e..682227977 100644 --- a/comms/spandsp/Makefile +++ b/comms/spandsp/Makefile @@ -1,11 +1,16 @@ # Created by: wlloyd@slap.net PORTNAME= spandsp -PORTVERSION= 0.0.6 +PORTVERSION= 3.0.0 +GITHUB_COMMIT= 284fe91 +WRKSRC= ${WRKDIR}/${PORTNAME}-${GITHUB_COMMIT} CATEGORIES= comms -MASTER_SITES= http://www.soft-switch.org/downloads/spandsp/ +USE_GITHUB= yes +GH_ACCOUNT= freeswitch +GH_TAGNAME= ${GITHUB_COMMIT} -MAINTAINER= ports@FreeBSD.org + +MAINTAINER= jailbird@fdf.net COMMENT= DSP library and software FAX machine LICENSE= LGPL21 diff --git a/comms/spandsp/distinfo b/comms/spandsp/distinfo index b486ff476..854ffc8af 100644 --- a/comms/spandsp/distinfo +++ b/comms/spandsp/distinfo @@ -1,2 +1,2 @@ -SHA256 (spandsp-0.0.6.tar.gz) = cc053ac67e8ac4bb992f258fd94f275a7872df959f6a87763965feabfdcc9465 -SIZE (spandsp-0.0.6.tar.gz) = 3309837 +SHA256 (freeswitch-spandsp-3.0.0-284fe91_GH0.tar.gz) = 288b12eb058d615c526e85fe0fe339293e5713b3513e7918043e93e52e4efd49 +SIZE (freeswitch-spandsp-3.0.0-284fe91_GH0.tar.gz) = 3584374 diff --git a/comms/spandsp/files/patch-configure.ac b/comms/spandsp/files/patch-configure.ac index 686307708..e69de29bb 100644 --- a/comms/spandsp/files/patch-configure.ac +++ b/comms/spandsp/files/patch-configure.ac @@ -1,37 +0,0 @@ ---- configure.ac.orig 2014-11-11 15:56:10.000000000 +0100 -+++ configure.ac 2014-11-11 15:58:13.000000000 +0100 -@@ -198,7 +198,6 @@ AC_CHECK_HEADERS([stdlib.h]) - AC_CHECK_HEADERS([string.h]) - AC_CHECK_HEADERS([strings.h]) - AC_CHECK_HEADERS([malloc.h]) --AC_CHECK_HEADERS([tgmath.h], [INSERT_TGMATH_HEADER="#include "]) - AC_CHECK_HEADERS([math.h], [INSERT_MATH_HEADER="#include "]) - AC_CHECK_HEADERS([float.h]) - AC_CHECK_HEADERS([fcntl.h]) -@@ -331,7 +330,7 @@ AX_CHECK_EXPORT_CAPABILITY([$host], - - case "${ax_cv_c_compiler_vendor}" in - gnu) -- COMP_VENDOR_CFLAGS="-std=gnu99 -ffast-math -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS" -+ COMP_VENDOR_CFLAGS="-std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS" - if test "$enable_avx" = "yes" ; then - COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS" - fi -@@ -392,7 +391,7 @@ sun) - REMOVE_FROM_VAR(CFLAGS, -Xc) - ;; - intel) -- COMP_VENDOR_CFLAGS="-std=c99 -D_POSIX_C_SOURCE=2 -D_GNU_SOURCE=1 -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS" -+ COMP_VENDOR_CFLAGS="-std=c99 -D_POSIX_C_SOURCE=2 -D_GNU_SOURCE=1 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS" - if test "$enable_avx" = "yes" ; then - COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS" - fi -@@ -426,7 +425,7 @@ intel) - COMP_VENDOR_LDFLAGS= - ;; - *) -- COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS" -+ COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS" - COMP_VENDOR_LDFLAGS= - ;; - esac diff --git a/comms/spandsp/pkg-plist b/comms/spandsp/pkg-plist index 26cc7a306..f983fa3af 100644 --- a/comms/spandsp/pkg-plist +++ b/comms/spandsp/pkg-plist @@ -1,5 +1,6 @@ include/spandsp.h include/spandsp/adsi.h +include/spandsp/alloc.h include/spandsp/arctan2.h include/spandsp/async.h include/spandsp/at_interpreter.h @@ -14,6 +15,7 @@ include/spandsp/complex_filters.h include/spandsp/complex_vector_float.h include/spandsp/crc.h include/spandsp/dc_restore.h +include/spandsp/data_modems.h include/spandsp/dds.h include/spandsp/dtmf.h include/spandsp/echo.h @@ -84,6 +86,7 @@ include/spandsp/private/awgn.h include/spandsp/private/bell_r2_mf.h include/spandsp/private/bert.h include/spandsp/private/bitstream.h +include/spandsp/private/data_modems.h include/spandsp/private/dtmf.h include/spandsp/private/echo.h include/spandsp/private/fax.h @@ -102,6 +105,9 @@ include/spandsp/private/modem_connect_tones.h include/spandsp/private/modem_echo.h include/spandsp/private/noise.h include/spandsp/private/oki_adpcm.h +include/spandsp/private/playout.h +include/spandsp/private/plc.h +include/spandsp/private/power_meter.h include/spandsp/private/queue.h include/spandsp/private/schedule.h include/spandsp/private/sig_tone.h @@ -120,6 +126,10 @@ include/spandsp/private/t4_rx.h include/spandsp/private/t4_t6_decode.h include/spandsp/private/t4_t6_encode.h include/spandsp/private/t4_tx.h +include/spandsp/private/t42.h +include/spandsp/private/t43.h +include/spandsp/private/t81_t82_arith_coding.h +include/spandsp/private/t85.h include/spandsp/private/time_scale.h include/spandsp/private/timezone.h include/spandsp/private/tone_detect.h @@ -143,10 +153,14 @@ include/spandsp/t4_rx.h include/spandsp/t4_t6_decode.h include/spandsp/t4_t6_encode.h include/spandsp/t4_tx.h +include/spandsp/t42.h +include/spandsp/t43.h +include/spandsp/t81_t82_arith_coding.h +include/spandsp/t85.h include/spandsp/timezone.h include/spandsp/v18.h lib/libspandsp.a lib/libspandsp.so -lib/libspandsp.so.2 -lib/libspandsp.so.2.0.0 +lib/libspandsp.so.3 +lib/libspandsp.so.3.0.0 libdata/pkgconfig/spandsp.pc -- 2.32.0 (Apple Git-131)