Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package soapy-rtlsdr for openSUSE:Factory checked in at 2024-06-03 17:44:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/soapy-rtlsdr (Old) and /work/SRC/openSUSE:Factory/.soapy-rtlsdr.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "soapy-rtlsdr" Mon Jun 3 17:44:48 2024 rev:7 rq:1178265 version:0.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/soapy-rtlsdr/soapy-rtlsdr.changes 2021-07-26 17:38:10.998087850 +0200 +++ /work/SRC/openSUSE:Factory/.soapy-rtlsdr.new.24587/soapy-rtlsdr.changes 2024-06-03 17:45:01.946487310 +0200 @@ -1,0 +2,7 @@ +Sat Jun 1 09:11:25 UTC 2024 - Wojciech Kazubski <w...@ire.pw.edu.pl> + +- Update to version 0.3.3 + + Add setting for test mode (#60) + + Add getSampleRateRange (closes #54) + +------------------------------------------------------------------- Old: ---- soapy-rtl-sdr-0.3.2.tar.gz New: ---- soapy-rtl-sdr-0.3.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ soapy-rtlsdr.spec ++++++ --- /var/tmp/diff_new_pack.YtZw6C/_old 2024-06-03 17:45:02.482506915 +0200 +++ /var/tmp/diff_new_pack.YtZw6C/_new 2024-06-03 17:45:02.482506915 +0200 @@ -1,7 +1,7 @@ # # spec file for package soapy-rtlsdr # -# Copyright (c) 2021 SUSE LLC. +# Copyright (c) 2024 SUSE LLC. # Copyright (c) 2017, Martin Hauke <mar...@gmx.de> # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %define soapy_modname soapysdr%{soapy_modver}-module-rtlsdr Name: soapy-rtlsdr -Version: 0.3.2 +Version: 0.3.3 Release: 0 Summary: SoapySDR RTL-SDR support module License: MIT @@ -51,7 +51,7 @@ %build %cmake -make VERBOSE=1 %{?_smp_mflags} +%cmake_build %install %cmake_install ++++++ soapy-rtl-sdr-0.3.2.tar.gz -> soapy-rtl-sdr-0.3.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyRTLSDR-soapy-rtl-sdr-0.3.2/.travis.yml new/SoapyRTLSDR-soapy-rtl-sdr-0.3.3/.travis.yml --- old/SoapyRTLSDR-soapy-rtl-sdr-0.3.2/.travis.yml 2021-01-26 06:10:39.000000000 +0100 +++ new/SoapyRTLSDR-soapy-rtl-sdr-0.3.3/.travis.yml 2022-06-04 15:25:05.000000000 +0200 @@ -1,14 +1,13 @@ ######################################################################## ## Travis CI config for SoapyRTLSDR ## -## * installs rtl-sdr from PPA ## * installs SoapySDR from source ## * confirms build and install ## * checks that drivers load ######################################################################## sudo: required -dist: trusty +dist: focal language: cpp compiler: gcc @@ -26,9 +25,6 @@ - sudo add-apt-repository main - sudo add-apt-repository universe - # driver development files from ppa - - sudo add-apt-repository -y ppa:myriadrf/drivers - # update after package changes - sudo apt-get update diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyRTLSDR-soapy-rtl-sdr-0.3.2/CMakeLists.txt new/SoapyRTLSDR-soapy-rtl-sdr-0.3.3/CMakeLists.txt --- old/SoapyRTLSDR-soapy-rtl-sdr-0.3.2/CMakeLists.txt 2021-01-26 06:10:39.000000000 +0100 +++ new/SoapyRTLSDR-soapy-rtl-sdr-0.3.3/CMakeLists.txt 2022-06-04 15:25:05.000000000 +0200 @@ -74,3 +74,14 @@ ${ATOMIC_LIBS} ${OTHER_LIBS} ) + +######################################################################## +# uninstall target +######################################################################## +add_custom_target(uninstall + "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") +configure_file( + "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in" + "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" + IMMEDIATE @ONLY) + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyRTLSDR-soapy-rtl-sdr-0.3.2/Changelog.txt new/SoapyRTLSDR-soapy-rtl-sdr-0.3.3/Changelog.txt --- old/SoapyRTLSDR-soapy-rtl-sdr-0.3.2/Changelog.txt 2021-01-26 06:10:39.000000000 +0100 +++ new/SoapyRTLSDR-soapy-rtl-sdr-0.3.3/Changelog.txt 2022-06-04 15:25:05.000000000 +0200 @@ -1,3 +1,9 @@ +Release 0.3.3 (2022-06-04) +========================== + +- Add setting for test mode (#60) +- Add getSampleRateRange (closes #54) + Release 0.3.2 (2021-01-25) ========================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyRTLSDR-soapy-rtl-sdr-0.3.2/Settings.cpp new/SoapyRTLSDR-soapy-rtl-sdr-0.3.3/Settings.cpp --- old/SoapyRTLSDR-soapy-rtl-sdr-0.3.2/Settings.cpp 2021-01-26 06:10:39.000000000 +0100 +++ new/SoapyRTLSDR-soapy-rtl-sdr-0.3.3/Settings.cpp 2022-06-04 15:25:05.000000000 +0200 @@ -43,6 +43,7 @@ gainMode(false), offsetMode(false), digitalAGC(false), + testMode(false), #if HAS_RTLSDR_SET_BIAS_TEE biasTee(false), #endif @@ -471,6 +472,16 @@ return results; } +SoapySDR::RangeList SoapyRTLSDR::getSampleRateRange(const int direction, const size_t channel) const +{ + SoapySDR::RangeList results; + + results.push_back(SoapySDR::Range(225001, 300000)); + results.push_back(SoapySDR::Range(900001, 3200000)); + + return results; +} + void SoapyRTLSDR::setBandwidth(const int direction, const size_t channel, const double bw) { int r = rtlsdr_set_tuner_bandwidth(dev, bw); @@ -591,6 +602,14 @@ setArgs.push_back(digitalAGCArg); + SoapySDR::ArgInfo testModeArg; + + testModeArg.key = "testmode"; + testModeArg.value = "false"; + testModeArg.name = "Test Mode"; + testModeArg.description = "RTL-SDR Test Mode"; + testModeArg.type = SoapySDR::ArgInfo::BOOL; + #if HAS_RTLSDR_SET_BIAS_TEE SoapySDR::ArgInfo biasTeeArg; @@ -640,6 +659,12 @@ SoapySDR_logf(SOAPY_SDR_DEBUG, "RTL-SDR digital agc mode: %s", digitalAGC ? "true" : "false"); rtlsdr_set_agc_mode(dev, digitalAGC ? 1 : 0); } + else if (key == "testmode") + { + testMode = (value == "true") ? true : false; + SoapySDR_logf(SOAPY_SDR_DEBUG, "RTL-SDR test mode: %s", testMode ? "true" : "false"); + rtlsdr_set_testmode(dev, testMode ? 1 : 0); + } #if HAS_RTLSDR_SET_BIAS_TEE else if (key == "biastee") { @@ -660,6 +685,8 @@ return offsetMode?"true":"false"; } else if (key == "digital_agc") { return digitalAGC?"true":"false"; + } else if (key == "testmode") { + return testMode?"true":"false"; #if HAS_RTLSDR_SET_BIAS_TEE } else if (key == "biastee") { return biasTee?"true":"false"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyRTLSDR-soapy-rtl-sdr-0.3.2/SoapyRTLSDR.hpp new/SoapyRTLSDR-soapy-rtl-sdr-0.3.3/SoapyRTLSDR.hpp --- old/SoapyRTLSDR-soapy-rtl-sdr-0.3.2/SoapyRTLSDR.hpp 2021-01-26 06:10:39.000000000 +0100 +++ new/SoapyRTLSDR-soapy-rtl-sdr-0.3.3/SoapyRTLSDR.hpp 2022-06-04 15:25:05.000000000 +0200 @@ -192,6 +192,8 @@ std::vector<double> listSampleRates(const int direction, const size_t channel) const; + SoapySDR::RangeList getSampleRateRange(const int direction, const size_t channel) const; + void setBandwidth(const int direction, const size_t channel, const double bw); double getBandwidth(const int direction, const size_t channel) const; @@ -245,7 +247,7 @@ uint32_t sampleRate, centerFrequency, bandwidth; int ppm, directSamplingMode; size_t numBuffers, bufferLength, asyncBuffs; - bool iqSwap, gainMode, offsetMode, digitalAGC, biasTee; + bool iqSwap, gainMode, offsetMode, digitalAGC, testMode, biasTee; double IFGain[6], tunerGain; std::atomic<long long> ticks; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyRTLSDR-soapy-rtl-sdr-0.3.2/cmake/cmake_uninstall.cmake.in new/SoapyRTLSDR-soapy-rtl-sdr-0.3.3/cmake/cmake_uninstall.cmake.in --- old/SoapyRTLSDR-soapy-rtl-sdr-0.3.2/cmake/cmake_uninstall.cmake.in 1970-01-01 01:00:00.000000000 +0100 +++ new/SoapyRTLSDR-soapy-rtl-sdr-0.3.3/cmake/cmake_uninstall.cmake.in 2022-06-04 15:25:05.000000000 +0200 @@ -0,0 +1,21 @@ +if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") + message(FATAL_ERROR "Cannot find install manifest: @CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") +endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") + +file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) +string(REGEX REPLACE "\n" ";" files "${files}") +foreach(file ${files}) + message(STATUS "Uninstalling $ENV{DESTDIR}${file}") + if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") + exec_program( + "@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\"" + OUTPUT_VARIABLE rm_out + RETURN_VALUE rm_retval + ) + if(NOT "${rm_retval}" STREQUAL 0) + message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}") + endif(NOT "${rm_retval}" STREQUAL 0) + else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") + message(STATUS "File $ENV{DESTDIR}${file} does not exist.") + endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") +endforeach(file) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyRTLSDR-soapy-rtl-sdr-0.3.2/debian/changelog new/SoapyRTLSDR-soapy-rtl-sdr-0.3.3/debian/changelog --- old/SoapyRTLSDR-soapy-rtl-sdr-0.3.2/debian/changelog 2021-01-26 06:10:39.000000000 +0100 +++ new/SoapyRTLSDR-soapy-rtl-sdr-0.3.3/debian/changelog 2022-06-04 15:25:05.000000000 +0200 @@ -1,3 +1,9 @@ +soapyrtlsdr (0.3.3-1) unstable; urgency=low + + * Release 0.3.3 (2022-06-04) + + -- Josh Blum <j...@pothosware.com> Sat, 04 Jun 2022 08:25:00 -0000 + soapyrtlsdr (0.3.2-1) unstable; urgency=low * Release 0.3.2 (2021-01-25)