Hello community, here is the log from the commit of package soapy-uhd for openSUSE:Factory checked in at 2019-06-27 15:26:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/soapy-uhd (Old) and /work/SRC/openSUSE:Factory/.soapy-uhd.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "soapy-uhd" Thu Jun 27 15:26:31 2019 rev:6 rq:712225 version:0.3.6 Changes: -------- --- /work/SRC/openSUSE:Factory/soapy-uhd/soapy-uhd.changes 2019-03-26 15:44:58.196111306 +0100 +++ /work/SRC/openSUSE:Factory/.soapy-uhd.new.4615/soapy-uhd.changes 2019-06-27 15:26:33.909622790 +0200 @@ -1,0 +2,7 @@ +Wed Jun 26 20:42:43 UTC 2019 - Wojciech Kazubski <w...@ire.pw.edu.pl> + +- Update to version 0.3.6 + * Support tuning on boards without a CORDIC in the DSP by + registering a dummy second tuning element + +------------------------------------------------------------------- Old: ---- soapy-uhd-0.3.5.tar.gz New: ---- soapy-uhd-0.3.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ soapy-uhd.spec ++++++ --- /var/tmp/diff_new_pack.fRCGfI/_old 2019-06-27 15:26:34.389623509 +0200 +++ /var/tmp/diff_new_pack.fRCGfI/_new 2019-06-27 15:26:34.389623509 +0200 @@ -20,7 +20,7 @@ %define soapy_modname soapysdr%{soapy_modver}-module-uhd Name: soapy-uhd -Version: 0.3.5 +Version: 0.3.6 Release: 0 Summary: Soapy SDR plugins for UHD supported SDR devices License: GPL-3.0 ++++++ soapy-uhd-0.3.5.tar.gz -> soapy-uhd-0.3.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyUHD-soapy-uhd-0.3.5/CMakeLists.txt new/SoapyUHD-soapy-uhd-0.3.6/CMakeLists.txt --- old/SoapyUHD-soapy-uhd-0.3.5/CMakeLists.txt 2018-12-08 04:14:03.000000000 +0100 +++ new/SoapyUHD-soapy-uhd-0.3.6/CMakeLists.txt 2019-06-22 14:51:56.000000000 +0200 @@ -164,6 +164,36 @@ DESTINATION ${UHD_ROOT}/lib${LIB_SUFFIX}/uhd/modules ) +#using C++11 features for this uhd module +set_target_properties(soapySupport PROPERTIES CXX_STANDARD 11) + +######################################################################## +# rpath setup - http://www.cmake.org/Wiki/CMake_RPATH_handling +######################################################################## +# use, i.e. don't skip the full RPATH for the build tree +option(CMAKE_SKIP_BUILD_RPATH "skip rpath build" FALSE) + +# when building, don't use the install RPATH already +# (but later on when installing) +option(CMAKE_BUILD_WITH_INSTALL_RPATH "build with install rpath" FALSE) + +# the RPATH to be used when installing, but only if it's not a system directory +option(CMAKE_AUTOSET_INSTALL_RPATH TRUE) +if(CMAKE_AUTOSET_INSTALL_RPATH) +LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" isSystemDir) +IF("${isSystemDir}" STREQUAL "-1") + SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}") +ENDIF("${isSystemDir}" STREQUAL "-1") +endif(CMAKE_AUTOSET_INSTALL_RPATH) + +# add the automatically determined parts of the RPATH +# which point to directories outside the build tree to the install RPATH +option(CMAKE_INSTALL_RPATH_USE_LINK_PATH "build with automatic rpath" TRUE) + +if(APPLE) + set(CMAKE_MACOSX_RPATH ON) +endif() + ######################################################################## # Print Summary ######################################################################## diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyUHD-soapy-uhd-0.3.5/Changelog.txt new/SoapyUHD-soapy-uhd-0.3.6/Changelog.txt --- old/SoapyUHD-soapy-uhd-0.3.5/Changelog.txt 2018-12-08 04:14:03.000000000 +0100 +++ new/SoapyUHD-soapy-uhd-0.3.6/Changelog.txt 2019-06-22 14:51:56.000000000 +0200 @@ -1,3 +1,9 @@ +Release 0.3.6 (2019-06-22) +========================== + +- Support tuning on boards without a CORDIC in the DSP + by registering a dummy second tuning element + Release 0.3.5 (2018-12-07) ========================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyUHD-soapy-uhd-0.3.5/UHDSoapyDevice.cpp new/SoapyUHD-soapy-uhd-0.3.6/UHDSoapyDevice.cpp --- old/SoapyUHD-soapy-uhd-0.3.5/UHDSoapyDevice.cpp 2018-12-08 04:14:03.000000000 +0100 +++ new/SoapyUHD-soapy-uhd-0.3.6/UHDSoapyDevice.cpp 2019-06-22 14:51:56.000000000 +0200 @@ -331,7 +331,7 @@ //names of the tunable components const std::vector<std::string> comps = _device->listFrequencies(dir, chan); const std::string rfCompName = (comps.size()>0)?comps.at(0):"RF"; - const std::string bbCompName = (comps.size()>1)?comps.at(1):"BB"; + const std::string bbCompName = (comps.size()>1)?comps.at(1):""; //samp rate _tree->create<uhd::meta_range_t>(dsp_path / "rate" / "range") @@ -340,12 +340,21 @@ .publish(boost::bind(&SoapySDR::Device::getSampleRate, _device, dir, chan)) .subscribe(boost::bind(&UHDSoapyDevice::set_sample_rate, this, dir, chan, _1)); + //dsp freq (when there is no tunable cordic) + if (bbCompName.empty()) + { + _tree->create<double>(dsp_path / "freq" / "value").set(0.0); + _tree->create<uhd::meta_range_t>(dsp_path / "freq" / "range").set(uhd::meta_range_t(0.0, 0.0)); + } //dsp freq - _tree->create<double>(dsp_path / "freq" / "value") - .publish(boost::bind(&SoapySDR::Device::getFrequency, _device, dir, chan, bbCompName)) - .subscribe(boost::bind(&UHDSoapyDevice::set_frequency, this, dir, chan, bbCompName, _1)); - _tree->create<uhd::meta_range_t>(dsp_path / "freq" / "range") - .publish(boost::bind(&UHDSoapyDevice::get_freq_range, this, dir, chan, bbCompName)); + else + { + _tree->create<double>(dsp_path / "freq" / "value") + .publish(boost::bind(&SoapySDR::Device::getFrequency, _device, dir, chan, bbCompName)) + .subscribe(boost::bind(&UHDSoapyDevice::set_frequency, this, dir, chan, bbCompName, _1)); + _tree->create<uhd::meta_range_t>(dsp_path / "freq" / "range") + .publish(boost::bind(&UHDSoapyDevice::get_freq_range, this, dir, chan, bbCompName)); + } //old style stream cmd if (dir == SOAPY_SDR_RX) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyUHD-soapy-uhd-0.3.5/debian/changelog new/SoapyUHD-soapy-uhd-0.3.6/debian/changelog --- old/SoapyUHD-soapy-uhd-0.3.5/debian/changelog 2018-12-08 04:14:03.000000000 +0100 +++ new/SoapyUHD-soapy-uhd-0.3.6/debian/changelog 2019-06-22 14:51:56.000000000 +0200 @@ -1,3 +1,9 @@ +soapyuhd (0.3.6-1) unstable; urgency=low + + * Release 0.3.6 (2019-06-22) + + -- Josh Blum <j...@pothosware.com> Sat, 22 Jun 2019 07:51:53 -0000 + soapyuhd (0.3.5-1) unstable; urgency=low * Release 0.3.5 (2018-12-07)