Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package uhd for openSUSE:Factory checked in 
at 2021-07-05 22:22:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/uhd (Old)
 and      /work/SRC/openSUSE:Factory/.uhd.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "uhd"

Mon Jul  5 22:22:57 2021 rev:30 rq:904042 version:4.1.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/uhd/uhd.changes  2021-05-06 22:53:31.618526873 
+0200
+++ /work/SRC/openSUSE:Factory/.uhd.new.2625/uhd.changes        2021-07-05 
22:23:27.721498136 +0200
@@ -1,0 +2,12 @@
+Thu Jul  1 15:31:37 UTC 2021 - Wojciech Kazubski <[email protected]>
+
+- Update to version 4.1.0.0
+  See: https://github.com/EttusResearch/uhd/releases for all changes
+- Remove not longer needed patch uhd_fix_boost.patch (applied 
+  upstream)
+- Add a patch uhd-add-includes-for-boost.patch to fix a build for
+  Tumbleweed
+- Enabled Python3 API
+- New binary packages python3-uhd and uhd-utils
+
+-------------------------------------------------------------------

Old:
----
  uhd-4.0.0.0.tar.gz
  uhd-images_4.0.0.0.tar.xz
  uhd_fix_boost.patch

New:
----
  uhd-4.1.0.0.tar.gz
  uhd-add-includes-for-boost.patch
  uhd-images_4.1.0.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ uhd.spec ++++++
--- /var/tmp/diff_new_pack.C61G0T/_old  2021-07-05 22:23:29.621483434 +0200
+++ /var/tmp/diff_new_pack.C61G0T/_new  2021-07-05 22:23:29.625483403 +0200
@@ -15,9 +15,9 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%define libname libuhd4_0_0
+%define libname libuhd4_1_0
 Name:           uhd
-Version:        4.0.0.0
+Version:        4.1.0.0
 Release:        0
 Summary:        The driver for USRP SDR boards
 License:        GPL-3.0-or-later
@@ -26,7 +26,7 @@
 Source0:        
https://github.com/EttusResearch/uhd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        
https://github.com/EttusResearch/uhd/releases/download/v%{version}/uhd-images_%{version}.tar.xz
 # PATCH-FIX-UPSTREAM -- fix compilation with Boost 1.76
-Patch0:         uhd_fix_boost.patch
+Patch1:         uhd-add-includes-for-boost.patch
 BuildRequires:  cmake >= 2.6
 BuildRequires:  docutils
 BuildRequires:  doxygen
@@ -36,10 +36,13 @@
 BuildRequires:  memory-constraints
 BuildRequires:  orc
 BuildRequires:  pkgconfig
-BuildRequires:  python3-Mako >= 0.4.2
 BuildRequires:  pkgconfig(libusb-1.0)
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(udev)
+BuildRequires:  python3-devel
+BuildRequires:  python3-Mako >= 0.4.2
+BuildRequires:  python3-numpy-devel
+BuildRequires:  python3-setuptools
 Requires:       udev
 BuildRequires:  libboost_filesystem-devel
 BuildRequires:  libboost_program_options-devel
@@ -68,6 +71,31 @@
 and future Ettus Research products. Users will be able to use the
 UHD driver standalone or with 3rd party applications.
 
+%package        utils
+Summary:        Utility programs for USRP hardware
+Group:          Hardware/Other
+Requires:       python3-%{name} >= %{version}
+
+%description    utils
+The UHD is the "Universal Software Radio Peripheral" hardware driver.
+The goal of the UHD is to provide a host driver and API for current
+and future Ettus Research products. Users will be able to use the
+UHD driver standalone or with 3rd party applications.
+
+This package contains utility programs for handling USRP frontens
+
+%package     -n python3-%{name}
+Summary:        Python bindings for uhd
+Group:          Hardware/Other
+
+%description  -n python3-%{name}
+The UHD is the "Universal Software Radio Peripheral" hardware driver.
+The goal of the UHD is to provide a host driver and API for current
+and future Ettus Research products. Users will be able to use the
+UHD driver standalone or with 3rd party applications.
+
+This package contains Python bindings UHD.
+
 %package        udev
 Summary:        UHD udev rules
 Group:          Hardware/Other
@@ -122,6 +150,8 @@
 %autosetup -p1
 # fix python shebangs
 find . -type f -name "*.py" -exec sed -i '/^#!/ s|.*|#!%{_bindir}/python3|' {} 
\;
+find . -type f -name "*_bist" -exec sed -i '/^#!/ s|.*|#!%{_bindir}/python3|' 
{} \;
+find . -type f -name "*_update_fs" -exec sed -i '/^#!/ 
s|.*|#!%{_bindir}/python3|' {} \;
 # remove buildtime from documentation
 echo "HTML_TIMESTAMP         = NO" >> host/docs/Doxyfile.in
 
@@ -157,6 +187,8 @@
 mv %{buildroot}%{_datadir}/doc/uhd %{buildroot}%{_docdir}/
 mv %{buildroot}%{_libdir}/uhd/utils/*[!.rules] %{buildroot}%{_bindir}
 mv %{buildroot}%{_libdir}/uhd/examples/* %{buildroot}%{_bindir}
+mv %{buildroot}%{_bindir}/python/* %{buildroot}%{_bindir}
+rm -R %{buildroot}%{_bindir}/python
 #mv %%{buildroot}%%{_libdir}/uhd/tests/*_test %%{buildroot}%%{_bindir}
 #
 #rm -R %%{buildroot}%%{_libdir}/uhd/tests
@@ -189,22 +221,30 @@
 %doc host/README.md
 %{_libdir}/libuhd.so.*
 
+%files utils
+%{_bindir}/*
+%{_bindir}/uhd_images_downloader.py
+%{_bindir}/usrp2_card_burner.py
+%dir %{_datadir}/uhd
+%exclude %{_datadir}/uhd/images
+%{_datadir}/uhd/cal
+%{_datadir}/uhd/rfnoc
+%{_mandir}/man1/*
+
+%files -n python3-%{name}
+%{python3_sitearch}/uhd
+%{python3_sitearch}/usrp_mpm
+
 %files udev
 %{_udevrulesdir}/10-usrp-uhd.rules
 
 %files devel
 %dir %{_includedir}/uhd
-%dir %{_datadir}/uhd
-%exclude %{_datadir}/uhd/images
-%{_datadir}/uhd/cal
-%{_datadir}/uhd/rfnoc
 %{_includedir}/uhd/*
 %{_includedir}/uhd.h
-%{_bindir}/*
 %{_libdir}/libuhd.so
 %{_libdir}/pkgconfig/uhd.pc
 %{_libdir}/cmake/uhd
-%{_mandir}/man1/*
 
 %files firmware
 %{_datadir}/uhd/images/

++++++ uhd-4.0.0.0.tar.gz -> uhd-4.1.0.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/uhd/uhd-4.0.0.0.tar.gz 
/work/SRC/openSUSE:Factory/.uhd.new.2625/uhd-4.1.0.0.tar.gz differ: char 12, 
line 1

++++++ uhd-add-includes-for-boost.patch ++++++
diff -up uhd-4.1.0.0/host/lib/usrp/cores/rx_dsp_core_3000.cpp.bbbb 
uhd-4.1.0.0/host/lib/usrp/cores/rx_dsp_core_3000.cpp
--- uhd-4.1.0.0/host/lib/usrp/cores/rx_dsp_core_3000.cpp.bbbb   2021-06-30 
18:54:42.000000000 +0200
+++ uhd-4.1.0.0/host/lib/usrp/cores/rx_dsp_core_3000.cpp        2021-07-01 
11:47:05.936839937 +0200
@@ -15,6 +15,7 @@
 #include <algorithm>
 #include <cmath>
 #include <functional>
+#include <boost/math/special_functions/sign.hpp>
 
 #define REG_DSP_RX_FREQ _dsp_base + 0
 #define REG_DSP_RX_SCALE_IQ _dsp_base + 4
diff -up uhd-4.1.0.0/host/lib/usrp/cores/rx_frontend_core_3000.cpp.bbbb 
uhd-4.1.0.0/host/lib/usrp/cores/rx_frontend_core_3000.cpp
--- uhd-4.1.0.0/host/lib/usrp/cores/rx_frontend_core_3000.cpp.bbbb      
2021-07-01 11:51:05.154052384 +0200
+++ uhd-4.1.0.0/host/lib/usrp/cores/rx_frontend_core_3000.cpp   2021-07-01 
11:51:20.256866256 +0200
@@ -12,6 +12,7 @@
 #include <uhdlib/usrp/cores/rx_frontend_core_3000.hpp>
 #include <cmath>
 #include <functional>
+#include <boost/math/special_functions/sign.hpp>
 
 using namespace uhd;
 
++++++ uhd-images_4.0.0.0.tar.xz -> uhd-images_4.1.0.0.tar.xz ++++++
/work/SRC/openSUSE:Factory/uhd/uhd-images_4.0.0.0.tar.xz 
/work/SRC/openSUSE:Factory/.uhd.new.2625/uhd-images_4.1.0.0.tar.xz differ: char 
25, line 1

Reply via email to