From 2a928b944362ffb5d7480fbd4167f405cbbbdd6c3c891a662a95e5eeb3060043 Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Tue, 17 Aug 2021 13:48:13 +0000 Subject: [PATCH 1/2] Accepting request 912504 from home:wkazubski:test:science - Update to version 1.0.0: * No upstream changelog available * Added new mode 700E - Test binaries not installed now, so package codec2 dropped, license and doc files moved to libcodec2 library. - Patch codec2-no_return_random.patch rebased. OBS-URL: https://build.opensuse.org/request/show/912504 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/codec2?expand=0&rev=17 --- codec2-0.9.2.tar.gz | 3 --- codec2-1.0.0.tar.gz | 3 +++ codec2-no_return_random.patch | 13 ++++++------- codec2.changes | 10 ++++++++++ codec2.spec | 21 ++++----------------- 5 files changed, 23 insertions(+), 27 deletions(-) delete mode 100644 codec2-0.9.2.tar.gz create mode 100644 codec2-1.0.0.tar.gz diff --git a/codec2-0.9.2.tar.gz b/codec2-0.9.2.tar.gz deleted file mode 100644 index 1ebc995..0000000 --- a/codec2-0.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:19181a446f4df3e6d616b50cabdac4485abb9cd3242cf312a0785f892ed4c76c -size 12244006 diff --git a/codec2-1.0.0.tar.gz b/codec2-1.0.0.tar.gz new file mode 100644 index 0000000..3f4a7e5 --- /dev/null +++ b/codec2-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:020f34dfa08cf66126633b3899a2f732995ffd471f512254c601e17cc561985d +size 15019266 diff --git a/codec2-no_return_random.patch b/codec2-no_return_random.patch index fc9e53e..a59c6d8 100644 --- a/codec2-no_return_random.patch +++ b/codec2-no_return_random.patch @@ -1,10 +1,9 @@ -Index: codec2-0.9.2/src/gp_interleaver.c -=================================================================== ---- codec2-0.9.2.orig/src/gp_interleaver.c -+++ codec2-0.9.2/src/gp_interleaver.c -@@ -80,6 +80,7 @@ int choose_interleaver_b(int Nbits) - - fprintf(stderr, "Nbits: %d, b not found!\n", Nbits); +diff -up codec2-1.0.0/src/gp_interleaver.c.aaaa codec2-1.0.0/src/gp_interleaver.c +--- codec2-1.0.0/src/gp_interleaver.c.aaaa 2021-08-15 21:49:47.062641389 +0200 ++++ codec2-1.0.0/src/gp_interleaver.c 2021-08-15 21:50:14.712490217 +0200 +@@ -65,6 +65,7 @@ int choose_interleaver_b(int Nbits) + + fprintf(stderr, "gp_interleaver: Nbits: %d, b not found!\n", Nbits); assert(0); + return(0); } diff --git a/codec2.changes b/codec2.changes index 0d7d3c4..3ee7141 100644 --- a/codec2.changes +++ b/codec2.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Aug 16 17:22:30 UTC 2021 - Wojciech Kazubski + +- Update to version 1.0.0: + * No upstream changelog available + * Added new mode 700E +- Test binaries not installed now, so package codec2 dropped, + license and doc files moved to libcodec2 library. +- Patch codec2-no_return_random.patch rebased. + ------------------------------------------------------------------- Mon Mar 9 13:20:24 UTC 2020 - Martin Pluskal diff --git a/codec2.spec b/codec2.spec index 8bf8618..517618e 100644 --- a/codec2.spec +++ b/codec2.spec @@ -1,7 +1,7 @@ # # spec file for package codec2 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2020-2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -%define libname lib%{name}-0_9 +%define libname lib%{name}-1_0 Name: codec2 -Version: 0.9.2 +Version: 1.0.0 Release: 0 Summary: Low bit rate speech codec # octave and asterisk directories contain GPL-2.0 licensed code but its not @@ -102,22 +102,9 @@ EOF %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig -%files +%files -n %{libname} %license COPYING %doc README* -%{_bindir}/c2dec -%{_bindir}/c2enc -%{_bindir}/drs232 -%{_bindir}/drs232_ldpc -%{_bindir}/fdmdv_demod -%{_bindir}/fdmdv_get_test_bits -%{_bindir}/fdmdv_mod -%{_bindir}/fdmdv_put_test_bits -%{_bindir}/fsk_mod -%{_bindir}/fm_demod -%{_bindir}/insert_errors - -%files -n %{libname} %{_libdir}/libcodec2.so.* %files devel From 1cc843b1eebc612a26f848e50165d7cd51410eaed6239e1716effe92deacf57b Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Tue, 17 Aug 2021 14:44:57 +0000 Subject: [PATCH 2/2] Accepting request 912701 from home:wkazubski:test:science - Update baselib.conf OBS-URL: https://build.opensuse.org/request/show/912701 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/codec2?expand=0&rev=18 --- baselibs.conf | 2 +- codec2.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/baselibs.conf b/baselibs.conf index ff2b6d7..f700b64 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libcodec2-0_9 +libcodec2-1_0 diff --git a/codec2.changes b/codec2.changes index 3ee7141..0708744 100644 --- a/codec2.changes +++ b/codec2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 17 14:29:29 UTC 2021 - Wojciech Kazubski + +- Update baselib.conf + ------------------------------------------------------------------- Mon Aug 16 17:22:30 UTC 2021 - Wojciech Kazubski