Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spandsp for openSUSE:Factory checked in at 2022-04-14 17:23:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spandsp (Old) and /work/SRC/openSUSE:Factory/.spandsp.new.1941 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spandsp" Thu Apr 14 17:23:09 2022 rev:12 rq:967988 version:3.0.0.g15 Changes: -------- --- /work/SRC/openSUSE:Factory/spandsp/spandsp.changes 2020-09-09 17:48:35.934507344 +0200 +++ /work/SRC/openSUSE:Factory/.spandsp.new.1941/spandsp.changes 2022-04-14 17:23:18.803112468 +0200 @@ -1,0 +2,8 @@ +Sat Apr 2 07:34:40 UTC 2022 - Jan Engelhardt <[email protected]> + +- Update to snapshot 3.0.0.g15 + * Add ARMv7 NEON support + * Add V.32bis and V.34 support +- Remove spandsp-autoconf.diff + +------------------------------------------------------------------- Old: ---- spandsp-0.0.6.tar.gz spandsp-autoconf.diff New: ---- _service spandsp-3.0.0.g15.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spandsp.spec ++++++ --- /var/tmp/diff_new_pack.u6ArNo/_old 2022-04-14 17:23:19.675113487 +0200 +++ /var/tmp/diff_new_pack.u6ArNo/_new 2022-04-14 17:23:19.683113496 +0200 @@ -1,7 +1,7 @@ # # spec file for package spandsp # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,21 +17,21 @@ Name: spandsp -%define lname libspandsp2 +%define lname libspandsp3 +Version: 3.0.0.g15 +Release: 0 Summary: A DSP library for Telephony and SoftFAX -License: LGPL-2.1-only AND GPL-2.0-only +License: GPL-2.0-only AND LGPL-2.1-only Group: Development/Libraries/C and C++ -Version: 0.0.6 -Release: 0 -URL: http://soft-switch.org/ +URL: https://github.com/freeswitch/spandsp -Source: http://soft-switch.org/downloads/spandsp/%name-%version.tar.gz +Source: %name-%version.tar.xz Source2: baselibs.conf -Patch1: spandsp-autoconf.diff Patch2: spandsp-raise-traintime-tolerance.diff Patch3: spandsp-handle-international-dialstring-prefix.diff BuildRequires: docbook-xsl-stylesheets BuildRequires: doxygen +BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: libtool BuildRequires: libxslt @@ -60,7 +60,7 @@ License: LGPL-2.1-only Group: Development/Libraries/C and C++ Requires: %lname = %version -Requires: glibc-devel +Requires: libjpeg-devel Requires: libtiff-devel %description devel @@ -81,7 +81,7 @@ %package doc Summary: Documentation for the libspandsp API -License: LGPL-2.1-only AND GPL-2.0-only +License: GPL-2.0-only AND LGPL-2.1-only Group: Documentation/HTML BuildArch: noarch @@ -89,7 +89,7 @@ This package contains documentation for the libspandsp API. %prep -%autosetup -n %name-0.0.6 -p1 +%autosetup -p1 %build %define _lto_cflags %nil @@ -117,6 +117,7 @@ cp -a NEWS README DueDiligence ChangeLog doc/api/html \ "%buildroot/%_docdir/%name" rm -f "%buildroot/%_libdir"/*.la +ln -s ../spandsp.h "%buildroot/%_includedir/spandsp/spandsp.h" %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig @@ -128,7 +129,7 @@ %_libdir/pkgconfig/*.pc %files -n %lname -%_libdir/lib%name.so.2* +%_libdir/lib%name.so.3* %files doc %_docdir/%name/ ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="filename">spandsp</param> <param name="scm">git</param> <param name="url">https://github.com/freeswitch/spandsp</param> <param name="revision">master</param> <param name="parent-tag">f995f452ee79d03c4afa90b10e86a5f9c553920c</param> <param name="versionformat">3.0.0.g@TAG_OFFSET@</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service name="set_version" mode="disabled"/> </services> ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.u6ArNo/_old 2022-04-14 17:23:19.735113557 +0200 +++ /var/tmp/diff_new_pack.u6ArNo/_new 2022-04-14 17:23:19.739113562 +0200 @@ -1,2 +1,2 @@ -libspandsp2 +libspandsp3 ++++++ spandsp-handle-international-dialstring-prefix.diff ++++++ --- /var/tmp/diff_new_pack.u6ArNo/_old 2022-04-14 17:23:19.755113581 +0200 +++ /var/tmp/diff_new_pack.u6ArNo/_new 2022-04-14 17:23:19.759113586 +0200 @@ -1,43 +1,39 @@ -Index: b/src/at_interpreter.c +--- + src/at_interpreter.c | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +Index: spandsp-3.0.0.g15/src/at_interpreter.c =================================================================== ---- a/src/at_interpreter.c -+++ b/src/at_interpreter.c -@@ -847,6 +847,7 @@ static const char *at_cmd_A(at_state_t * +--- spandsp-3.0.0.g15.orig/src/at_interpreter.c ++++ spandsp-3.0.0.g15/src/at_interpreter.c +@@ -921,6 +921,7 @@ static const char *at_cmd_A(at_state_t * + static const char *at_cmd_D(at_state_t *s, const char *t) { - int ok; -+ int first; ++ int first = true; char *u; char num[100 + 1]; char ch; -@@ -858,6 +859,7 @@ static const char *at_cmd_D(at_state_t * - s->command_dial = FALSE; - t += 1; - ok = FALSE; -+ first = TRUE; - /* There are a numbers of options in a dial command string. - Many are completely irrelevant in this application. */ - u = num; -@@ -867,6 +869,7 @@ static const char *at_cmd_D(at_state_t * +@@ -940,6 +941,7 @@ static const char *at_cmd_D(at_state_t * { /* V.250 6.3.1.1 Basic digit set */ *u++ = ch; -+ first = FALSE; ++ first = false; } else { -@@ -880,7 +883,10 @@ static const char *at_cmd_D(at_state_t * +@@ -953,7 +955,10 @@ static const char *at_cmd_D(at_state_t * case '#': /* V.250 6.3.1.1 Full DTMF repertoire */ if (!s->p.pulse_dial) + { *u++ = ch; -+ first = FALSE; ++ first = false; + } break; case ' ': case '-': -@@ -890,7 +896,10 @@ static const char *at_cmd_D(at_state_t * +@@ -963,7 +968,10 @@ static const char *at_cmd_D(at_state_t * break; case '+': /* V.250 6.3.1.1 International access code */ @@ -45,7 +41,7 @@ + /* Allow + as first symbol in a dial string. */ + if (first) + *u++ = ch; -+ first = FALSE; ++ first = false; break; case ',': /* V.250 6.3.1.2 Pause */ ++++++ spandsp-raise-traintime-tolerance.diff ++++++ --- /var/tmp/diff_new_pack.u6ArNo/_old 2022-04-14 17:23:19.771113599 +0200 +++ /var/tmp/diff_new_pack.u6ArNo/_new 2022-04-14 17:23:19.775113604 +0200 @@ -1,20 +1,25 @@ Raise v17 training time tolerance, as found in iaxmodem supplied spandsp. -diff -up -r spandsp-0.0.6/src/v17rx.c ../iaxmodem/iaxmodem-1.3.0/lib/spandsp/src/v17rx.c ---- a/src/v17rx.c 2016-02-07 02:24:28.000000000 +0100 -+++ b/src/v17rx.c 2014-06-30 18:21:39.000000000 +0200 -@@ -1046,10 +1046,10 @@ static void process_half_baud(v17_rx_sta +--- + src/v17rx.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +Index: spandsp-3.0.0.g15/src/v17rx.c +=================================================================== +--- spandsp-3.0.0.g15.orig/src/v17rx.c ++++ spandsp-3.0.0.g15/src/v17rx.c +@@ -1064,10 +1064,10 @@ static void process_half_baud(v17_rx_sta s->carrier_track_i = 100.0f; s->carrier_track_p = 500000.0f; #endif - /* TODO: This was increased by a factor of 10 after studying real world failures. - However, it is not clear why this is an improvement, If something gives - a huge training error, surely it shouldn't decode too well? */ -- if (s->training_error < (V17_TRAINING_SHORT_SEG_2_LEN - 8)*4.0f*constellation_spacing[s->space_map]) +- if (s->training_error < (V17_TRAINING_SHORT_SEG_2_LEN - 8)*FP_SCALE(4.0f)*FP_SCALE(1.0f)*constellation_spacing[s->space_map]) + /* We need to be liberally accepting of poor fast-train training errors here. + Doing this affords the DTE the opportunity to make some use of whatever + valid Phase C data can be decoded. */ -+ if (s->training_error < (V17_TRAINING_SHORT_SEG_2_LEN - 8)*10.0f*constellation_spacing[s->space_map]) ++ if (s->training_error < (V17_TRAINING_SHORT_SEG_2_LEN - 8)*FP_SCALE(10.0f)*FP_SCALE(1.0f)*constellation_spacing[s->space_map]) { s->training_count = 0; if (s->bits_per_symbol == 2)
