Hello community, here is the log from the commit of package soapy-hackrf for openSUSE:Factory checked in at 2018-05-15 10:14:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/soapy-hackrf (Old) and /work/SRC/openSUSE:Factory/.soapy-hackrf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "soapy-hackrf" Tue May 15 10:14:33 2018 rev:3 rq:606788 version:0.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/soapy-hackrf/soapy-hackrf.changes 2017-11-21 15:34:33.248465826 +0100 +++ /work/SRC/openSUSE:Factory/.soapy-hackrf.new/soapy-hackrf.changes 2018-05-15 10:33:44.607435676 +0200 @@ -1,0 +2,7 @@ +Sat May 12 14:03:01 UTC 2018 - mar...@gmx.de + +- Update to version 0.3.3 + * Added check for hackrf_device_list API in header + * Fixed getGain() for the Rx AMP due to minus typo + +------------------------------------------------------------------- Old: ---- soapy-hackrf-0.3.2.tar.gz New: ---- soapy-hackrf-0.3.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ soapy-hackrf.spec ++++++ --- /var/tmp/diff_new_pack.buyJel/_old 2018-05-15 10:33:45.099417607 +0200 +++ /var/tmp/diff_new_pack.buyJel/_new 2018-05-15 10:33:45.103417460 +0200 @@ -1,7 +1,7 @@ # # spec file for package soapy-hackrf # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017, Martin Hauke <mar...@gmx.de> # # All modifications and additions to the file contributed by third parties @@ -19,22 +19,20 @@ %define soapy_modver 0.6 %define soapy_modname soapysdr%{soapy_modver}-module-hackrf - Name: soapy-hackrf -Version: 0.3.2 +Version: 0.3.3 Release: 0 Summary: SoapySDR HackRF module License: MIT Group: Hardware/Other -Url: https://github.com/pothosware/SoapyHackRF/wiki +URL: https://github.com/pothosware/SoapyHackRF/wiki #Git-Clone: https://github.com/pothosware/SoapyHackRF.git Source: https://github.com/pothosware/SoapyHackRF/archive/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(SoapySDR) BuildRequires: pkgconfig(libhackrf) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Soapy HackRF - HackRF device support for Soapy SDR. @@ -60,7 +58,8 @@ %files -n %{soapy_modname} %defattr(-,root,root) -%doc LICENSE README.md +%license LICENSE +%doc README.md %dir %{_libdir}/SoapySDR %dir %{_libdir}/SoapySDR/modules%{soapy_modver} %{_libdir}/SoapySDR/modules%{soapy_modver}/libHackRFSupport.so ++++++ soapy-hackrf-0.3.2.tar.gz -> soapy-hackrf-0.3.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyHackRF-soapy-hackrf-0.3.2/CMakeLists.txt new/SoapyHackRF-soapy-hackrf-0.3.3/CMakeLists.txt --- old/SoapyHackRF-soapy-hackrf-0.3.2/CMakeLists.txt 2017-11-19 22:39:22.000000000 +0100 +++ new/SoapyHackRF-soapy-hackrf-0.3.3/CMakeLists.txt 2018-05-10 03:16:10.000000000 +0200 @@ -19,6 +19,14 @@ message(STATUS "LIBHACKRF_INCLUDE_DIRS - ${LIBHACKRF_INCLUDE_DIRS}") message(STATUS "LIBHACKRF_LIBRARIES - ${LIBHACKRF_LIBRARIES}") +#version check for recent hackrf with device list API +message(STATUS "Checking for hackrf_device_list API...") +message(STATUS " Reading ${LIBHACKRF_INCLUDE_DIRS}/hackrf.h...") +file(READ ${LIBHACKRF_INCLUDE_DIRS}/hackrf.h hackrf_h) +string(FIND "${hackrf_h}" "hackrf_device_list" has_hackrf_device_list) +if ("${has_hackrf_device_list}" STREQUAL "-1") + message(FATAL_ERROR " libhackrf too old, missing hackrf_device_list API") +endif() include_directories(${CMAKE_CURRENT_SOURCE_DIR}) include_directories(${LIBHACKRF_INCLUDE_DIRS}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyHackRF-soapy-hackrf-0.3.2/Changelog.txt new/SoapyHackRF-soapy-hackrf-0.3.3/Changelog.txt --- old/SoapyHackRF-soapy-hackrf-0.3.2/Changelog.txt 2017-11-19 22:39:22.000000000 +0100 +++ new/SoapyHackRF-soapy-hackrf-0.3.3/Changelog.txt 2018-05-10 03:16:10.000000000 +0200 @@ -1,3 +1,9 @@ +Release 0.3.3 (2018-05-09) +========================== + +- Added check for hackrf_device_list API in header +- Fixed getGain() for the Rx AMP due to minus typo + Release 0.3.2 (2017-11-19) ========================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyHackRF-soapy-hackrf-0.3.2/HackRF_Settings.cpp new/SoapyHackRF-soapy-hackrf-0.3.3/HackRF_Settings.cpp --- old/SoapyHackRF-soapy-hackrf-0.3.2/HackRF_Settings.cpp 2017-11-19 22:39:22.000000000 +0100 +++ new/SoapyHackRF-soapy-hackrf-0.3.3/HackRF_Settings.cpp 2018-05-10 03:16:10.000000000 +0200 @@ -420,7 +420,7 @@ double gain = 0.0; if ( direction == SOAPY_SDR_RX and name == "AMP" ) { - gain = -_rx_stream.amp_gain; + gain = _rx_stream.amp_gain; }else if ( direction == SOAPY_SDR_TX and name == "AMP" ) { gain = _tx_stream.amp_gain; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyHackRF-soapy-hackrf-0.3.2/debian/changelog new/SoapyHackRF-soapy-hackrf-0.3.3/debian/changelog --- old/SoapyHackRF-soapy-hackrf-0.3.2/debian/changelog 2017-11-19 22:39:22.000000000 +0100 +++ new/SoapyHackRF-soapy-hackrf-0.3.3/debian/changelog 2018-05-10 03:16:10.000000000 +0200 @@ -1,3 +1,9 @@ +soapyhackrf (0.3.3-1) unstable; urgency=low + + * Release 0.3.3 (2018-05-09) + + -- Josh Blum <j...@pothosware.com> Wed, 09 May 2018 20:16:07 -0000 + soapyhackrf (0.3.2-1) unstable; urgency=low * Release 0.3.2 (2017-11-19) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyHackRF-soapy-hackrf-0.3.2/debian/control new/SoapyHackRF-soapy-hackrf-0.3.3/debian/control --- old/SoapyHackRF-soapy-hackrf-0.3.2/debian/control 2017-11-19 22:39:22.000000000 +0100 +++ new/SoapyHackRF-soapy-hackrf-0.3.3/debian/control 2018-05-10 03:16:10.000000000 +0200 @@ -8,7 +8,7 @@ cmake, libhackrf-dev, libsoapysdr-dev -Standards-Version: 3.9.8 +Standards-Version: 4.1.1 Homepage: https://github.com/pothosware/SoapyHackRF/wiki Vcs-Git: https://github.com/pothosware/SoapyHackRF.git Vcs-Browser: https://github.com/pothosware/SoapyHackRF