From 2c8d6fb5ea52f25857bf6bef2252819ad720966e62800157fa956881e63b1ec0 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 31 Mar 2022 09:05:54 +0000 Subject: [PATCH] Accepting request 965065 from home:mixaill:branches:hardware:sdr - Added python3-cairo and python3-gobject to runtime dependencies (fixes gnuradio-companion launch on clean system) - Update to version 3.10.1.1 - Added spdlog and thrift to dependencies - Removed log4cpp from dependencies OBS-URL: https://build.opensuse.org/request/show/965065 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/gnuradio?expand=0&rev=108 --- gnuradio-3.10.1.1.tar.gz | 3 + gnuradio-3.9.5.0.tar.gz | 3 - gnuradio.changes | 126 +++++++++++++++++++++++++++++++++++++++ gnuradio.spec | 41 ++++++++----- 4 files changed, 154 insertions(+), 19 deletions(-) create mode 100644 gnuradio-3.10.1.1.tar.gz delete mode 100644 gnuradio-3.9.5.0.tar.gz diff --git a/gnuradio-3.10.1.1.tar.gz b/gnuradio-3.10.1.1.tar.gz new file mode 100644 index 0000000..c4324d3 --- /dev/null +++ b/gnuradio-3.10.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fa720cdb30db4edc513e7b40f3ce0e12844cc93015366cc4cab8707e02ed1fe +size 4318131 diff --git a/gnuradio-3.9.5.0.tar.gz b/gnuradio-3.9.5.0.tar.gz deleted file mode 100644 index 3ea4ea7..0000000 --- a/gnuradio-3.9.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:066c88fcf05046593e534416a3526ee433c3b90a7faa40fca914add23989ef3e -size 4245820 diff --git a/gnuradio.changes b/gnuradio.changes index 05d425c..aecc626 100644 --- a/gnuradio.changes +++ b/gnuradio.changes @@ -1,3 +1,129 @@ +------------------------------------------------------------------- +Fri Mar 26 18:03:17 UTC 2022 - Mikhail Paulyshka + +- Added spdlog and thrift to dependencies +- Added python3-cairo and python3-gobject to runtime dependencies +- Removed log4cpp from dependencies +- Update to version 3.10.1.1 + * fixes an off-by-one error in output buffer allocation +- Update to version 3.10.1.0 + * Runtime + + Add ownership and locking to hier_block2 to avoid crash/freeze after disconnect. + * gr-analog + + Fix C++ code generation for random_uniform_source + * gr-blocks + + Minimal implementation of a SigMF Sink, allowing users to easily try out generation SigMF output. SigMF uses a raw data file and a separate JSON metadata file. A SigMF Source is also provided. At this time, it is a wrapper around a File Source (the data files are compatible), but metadata is not processed. + * gr-filter + + Bug fix: buses should now work with PFB channelizer and synthesizer. + * gr-iio + + Various fixes for fmcomms2/3/4. + * gr-uhd + + Bug fix: overflow count was uninitialized. + + Correct descriptor names in uhd_fpga_ddc/duc. + * GRC + + Bug fix: initialize value for "priority" parameter in Python Snippets. + + Show blocks with "deprecated" flags as deprecated. +- Update to version 3.10.0.0 + * Changed + + Moved PDU blocks from gr-blocks to gr-network and gr-pdu + - Compatibility shim included to allow access to these blocks from gr-blocks but these are deprecated from the gr-blocks namespace and the shim is scheduled for removal in 3.11. + + gr::blocks::pdu namespace has been reorganized in gr + - PDU vector types are accessible in gr::types + - PDU functions are accessible in gr::pdu + - Common msg port names are accessible in gr::ports + + Logging Infrastructure changed to use spdlog + - +dependency spdlog, -dependency Log4CPP + - New, more convenient logging methods + - Modernized Interface + - Removed iostream and cstdio from logging statements + * Project Scope + + C++17 + - requires MSVC 1914 (Microsoft VS 2017 15.7) + - replace boost::filesystem with std::filesystem + + Windows build: removed unnecessary MSVC-specific system include overrides + + Removed unused volk_benchmark + + Use Pre-Compiled Headers - speeds up compilation time + + Further replacements of boost::bind with lambda functions + + Remove more manual memory management and general c++ modernization + + PEP8 formatting applied and enforced on all Python files + + Centralized min dependency and compiler versions in one place for GR and modtool created OOTs + + Update QA tests to work with OpenEmbedded cross compilations + + Dependency versions: + - Python 3.6.5 + - numpy 1.17.4 + - VOLK 2.4.1 + - CMake 3.16.3 + - Boost 1.69 + - Mako 1.1.0 + - PyBind11 2.4.3 + - pygccxml 2.0.0 + + Compiler options: + - GCC 9.3.0 + - Clang 11.0.0 / Apple Clang 1100 + - MSVC 1916 (Microsoft VS 2017 15.9) + + Replace deprecated distutils in CMake macros + + Build targets with python dependencies conditionally on ENABLE_PYTHON + * gr-blocks + + Remove deprecated networking blocks: udp_source, udp_sink, tcp_server_sink; replaced in 3.9 with more capable blocks in gr-network + + Document the supported operations in transcendental + * gr-analog + + fastnoise_source: Use uint64_t seed API, use size_t for vector length/indices + + fastnoise_source: Use a simple bitmask if the random pool length is a power of 2 to determine indices, instead of %, which consumed considerable CPU + + sig_source: Remove deprecated freq message port of signal source block; Use cmd port instead + * gr-filter + + Remove deprecated mmse_interpolator block; Replaced previously by mmse_resampler + + Speed up filter building with moves + + Add const to temporary tap vectors + * gr-digital + + Remove deprecated simple_{correlator,framer} + + Remove deprecated cma, lms, kurtotic equalizers; replaced in 3.9 by linear_equalizer + + Un-deprecate pfb_clock_sync + + Add header payload demux example + + Remove crc32 utility and most of packet_utils + + Remove yml files for non-existent QAM mod/demod blocks + * gr-dtv + + Refactor ATSC blocks to have separate metadata stream rather than passing structs + + Add energy normalization for DVB-S2X constellations + * gr-network + + Fix segfaults when TCP and UDP are restarted + * gr-qtgui + + Remove spurious volk includes + + Fix segfaulting overflow in time_sink and waterfall + + Support for Qwt 6.2 + + Frequency/Waterfall Sinks expand range to 32k and enums in GRC + + Frequency/Waterfall Sinks force power of 2 for fft size + * gr-uhd + + Python bindings for RFNoC blocks + * gr-utils + + gr_modtool bind workaround for pygccxml incompatibility with spdlog + * gr-video-sdl + + Clean up the SDL sinks: + - Remove unused format parameter + * gnuradio-runtime + + gr::random uses xoroshiro128+ internally, takes uint64_t seed + + Remove unused misc.cc/h + + Accelerator Device Support + - Major changes to the runtime to support “custom buffers” + - Single Mapped Buffer abstraction that can be inherited out of tree + + Remove Tag Checker + + Explicitly convert path to string to fix MSVC build + + size_t for vmcircbuf constructor and buffer factories + + Reconfigurable timer value for input blocked condition (scheduler detail workaround) + * grc + + grcc –output switch for hierarchical blocks + + Clean up Bokeh server loop + + Don’t blacklist default as a flowgraph ID to prevent always starting in an error state + * Testing + + rm dependencies from disabled components in blocks/runtime tests + * Misc. + + dtools: Added run-clang-tidy-on-codebase, which does what the name suggests, then updates all bindtool hashes, and commits everything appropriately + + gr_filter_design + - update to support PyQt5 + - fix loading of previously saved .csv files + * Added + + New in-tree module gr-pdu + + New in-tree module gr-iio + ------------------------------------------------------------------- Sun Feb 13 05:05:06 UTC 2022 - Stefan Brüns diff --git a/gnuradio.spec b/gnuradio.spec index dc9fb94..934930d 100644 --- a/gnuradio.spec +++ b/gnuradio.spec @@ -16,14 +16,14 @@ # -%define sover 3_9_5 +%define sover 3_10_1 %ifarch %{arm} # boo#1182440 %define _lto_cflags %{nil} %endif %bcond_without docs Name: gnuradio -Version: 3.9.5.0 +Version: 3.10.1.1 Release: 0 Summary: GNU software radio License: GPL-3.0-or-later @@ -35,23 +35,26 @@ Source4: grc_to_37.sh Source99: %{name}-rpmlintrc Patch0: missing_library.patch BuildRequires: alsa-devel -BuildRequires: cmake >= 3.10.2 +BuildRequires: cmake >= 3.16.3 +BuildRequires: codec2-devel BuildRequires: cppunit-devel BuildRequires: cppzmq-devel BuildRequires: fdupes BuildRequires: fftw3-threads-devel -BuildRequires: gcc-c++ +BuildRequires: gcc-c++ >= 9.3.0 BuildRequires: gmp-devel BuildRequires: gsl-devel BuildRequires: libSDL-devel -BuildRequires: libboost_atomic-devel >= 1.65 -BuildRequires: libboost_filesystem-devel >= 1.65 -BuildRequires: libboost_system-devel +BuildRequires: libboost_atomic-devel >= 1.69 +BuildRequires: libboost_filesystem-devel >= 1.69 +BuildRequires: libboost_system-devel >= 1.69 BuildRequires: libgsm-devel BuildRequires: libjack-devel BuildRequires: libmpir-devel BuildRequires: libsndfile-devel -BuildRequires: log4cpp-devel +BuildRequires: libthrift-devel +BuildRequires: libusb-1_0-devel +BuildRequires: libxml2-devel BuildRequires: ninja BuildRequires: orc BuildRequires: pkgconfig @@ -60,32 +63,36 @@ BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx BuildRequires: python3-click BuildRequires: python3-click-plugins +BuildRequires: python3-devel >= 3.6.5 BuildRequires: python3-gobject BuildRequires: python3-gobject-cairo BuildRequires: python3-mako >= 1.0.7 -BuildRequires: python3-numpy-devel >= 1.13.3 +BuildRequires: python3-numpy-devel >= 1.17.4 BuildRequires: python3-pyaml >= 3.11 BuildRequires: python3-pybind11-devel >= 2.4.3 BuildRequires: python3-pycairo BuildRequires: python3-qt5-devel BuildRequires: python3-six +BuildRequires: python3-thrift BuildRequires: qwt6-qt5-devel BuildRequires: soapy-sdr-devel +BuildRequires: spdlog-devel +BuildRequires: thrift BuildRequires: uhd-devel BuildRequires: update-desktop-files BuildRequires: volk-devel >= 2.4.1 -BuildRequires: pkgconfig(codec2) -BuildRequires: pkgconfig(libusb-1.0) -BuildRequires: pkgconfig(libxml-2.0) -BuildRequires: pkgconfig(py3cairo) BuildRequires: typelib(Gtk) = 3.0 BuildRequires: typelib(PangoCairo) = 1.0 BuildRequires: typelib(cairo) = 1.0 +# gnuradio-companion dependencies +Requires: python3-cairo +Requires: python3-gobject-Gdk +Requires: typelib(Gtk) = 3.0 # gr_modtool dependencies Requires: python3-click Requires: python3-click-plugins -Requires: python3-mako -Requires: python3-numpy +Requires: python3-mako >= 1.1.0 +Requires: python3-numpy >= 1.17.4 Requires: python3-pyaml >= 3.11 Requires: python3-qt5 # gr_filter dependencies @@ -121,7 +128,7 @@ Summary: Deveopment files for GNU Radio Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: gmp-devel -Requires: log4cpp-devel +Requires: spdlog-devel %description devel GNU Radio is a collection of software that when combined with minimal @@ -229,6 +236,8 @@ rm -rf %{buildroot}%{_datadir}/icons/gnome %{_docdir}/%{name}/README* %{_docdir}/%{name}/CHANGELOG* %{_docdir}/%{name}/CONTRIBUTING.md +%dir %{_docdir}/%{name}/config/ +%{_docdir}/%{name}/config/* # doc package %exclude %{_docdir}/%{name}/html/ %exclude %{_docdir}/%{name}/xml/