commit airspyhf for openSUSE:Factory

2020-04-10 Thread root
Hello community,

here is the log from the commit of package airspyhf for openSUSE:Factory 
checked in at 2020-04-10 23:53:34

Comparing /work/SRC/openSUSE:Factory/airspyhf (Old)
 and  /work/SRC/openSUSE:Factory/.airspyhf.new.3248 (New)


Package is "airspyhf"

Fri Apr 10 23:53:34 2020 rev:5 rq:792866 version:1.6.8

Changes:

--- /work/SRC/openSUSE:Factory/airspyhf/airspyhf.changes2019-11-06 
13:51:27.403854027 +0100
+++ /work/SRC/openSUSE:Factory/.airspyhf.new.3248/airspyhf.changes  
2020-04-10 23:54:17.044744167 +0200
@@ -1,0 +2,8 @@
+Thu Apr  9 18:11:02 UTC 2020 - Martin Hauke 
+
+- Update to version 1.6.8
+  * add airspyhf_* tools
+- Update patch
+  * libairspyhf/src/CMakeLists.txt
+
+---

Old:

  airspyhf-1.1.5.tar.gz

New:

  airspyhf-1.6.8.tar.gz



Other differences:
--
++ airspyhf.spec ++
--- /var/tmp/diff_new_pack.gQ1keK/_old  2020-04-10 23:54:17.608744581 +0200
+++ /var/tmp/diff_new_pack.gQ1keK/_new  2020-04-10 23:54:17.608744581 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package airspyhf
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2017, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -21,11 +21,11 @@
 %define airspyhf_groupairspyhf
 %define libname lib%{name}%{sover}
 Name:   airspyhf
-Version:1.1.5
+Version:1.6.8
 Release:0
 Summary:Support programs for Airspy HF+ SDR
 License:BSD-3-Clause
-Url:http://www.airspy.com/airspy-hf-plus
+URL:http://www.airspy.com/airspy-hf-plus
 #Git-Clone: https://github.com/airspy/airspyhf.git
 Source: 
https://github.com/airspy/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch0: airspyhf-fix-libm-linking.patch
@@ -93,6 +93,13 @@
 %postun udev
 %udev_rules_update
 
+%files
+%{_bindir}/airspyhf_calibrate
+%{_bindir}/airspyhf_gpio
+%{_bindir}/airspyhf_info
+%{_bindir}/airspyhf_lib_version
+%{_bindir}/airspyhf_rx
+
 %files -n %{libname}
 %doc README.md LICENSE
 %{_libdir}/libairspyhf.so.*

++ airspyhf-1.1.5.tar.gz -> airspyhf-1.6.8.tar.gz ++
 2887 lines of diff (skipped)

++ airspyhf-fix-libm-linking.patch ++
--- /var/tmp/diff_new_pack.gQ1keK/_old  2020-04-10 23:54:17.696744646 +0200
+++ /var/tmp/diff_new_pack.gQ1keK/_new  2020-04-10 23:54:17.696744646 +0200
@@ -1,13 +1,13 @@
 diff --git a/libairspyhf/src/CMakeLists.txt b/libairspyhf/src/CMakeLists.txt
-index 2ab698b..21be9ed 100644
+index 9d8d483..da1f966 100644
 --- a/libairspyhf/src/CMakeLists.txt
 +++ b/libairspyhf/src/CMakeLists.txt
-@@ -63,7 +63,7 @@ set_target_properties(airspyhf PROPERTIES 
CLEAN_DIRECT_OUTPUT 1)
+@@ -58,7 +58,7 @@ set_target_properties(airspyhf PROPERTIES 
CLEAN_DIRECT_OUTPUT 1)
  set_target_properties(airspyhf-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
  
  # Dependencies
 -target_link_libraries(airspyhf ${LIBUSB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
 +target_link_libraries(airspyhf ${LIBUSB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} 
m)
-
+ 
  # For cygwin just force UNIX OFF and WIN32 ON
  if( ${CYGWIN} )




commit airspyhf for openSUSE:Factory

2019-11-06 Thread root
Hello community,

here is the log from the commit of package airspyhf for openSUSE:Factory 
checked in at 2019-11-06 13:51:18

Comparing /work/SRC/openSUSE:Factory/airspyhf (Old)
 and  /work/SRC/openSUSE:Factory/.airspyhf.new.2990 (New)


Package is "airspyhf"

Wed Nov  6 13:51:18 2019 rev:4 rq:739462 version:1.1.5

Changes:

--- /work/SRC/openSUSE:Factory/airspyhf/airspyhf.changes2019-02-28 
21:38:18.849641870 +0100
+++ /work/SRC/openSUSE:Factory/.airspyhf.new.2990/airspyhf.changes  
2019-11-06 13:51:27.403854027 +0100
@@ -1,0 +2,5 @@
+Thu Oct 17 12:58:51 UTC 2019 - Richard Brown 
+
+- Remove obsolete Groups tag (fate#326485)
+
+---



Other differences:
--
++ airspyhf.spec ++
--- /var/tmp/diff_new_pack.8fqipf/_old  2019-11-06 13:51:29.367856156 +0100
+++ /var/tmp/diff_new_pack.8fqipf/_new  2019-11-06 13:51:29.371856161 +0100
@@ -13,7 +13,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,7 +25,6 @@
 Release:0
 Summary:Support programs for Airspy HF+ SDR
 License:BSD-3-Clause
-Group:  Productivity/Hamradio/Other
 Url:http://www.airspy.com/airspy-hf-plus
 #Git-Clone: https://github.com/airspy/airspyhf.git
 Source: 
https://github.com/airspy/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
@@ -42,7 +41,6 @@
 
 %package -n %{libname}
 Summary:Driver for Airspy HF+
-Group:  System/Libraries
 Requires:   %{name}-udev
 
 %description -n %{libname}
@@ -50,7 +48,6 @@
 
 %package udev
 Summary:Udev rules for Airspy HF+ SDR
-Group:  Hardware/Other
 Requires(pre):  shadow
 
 %description udev
@@ -58,7 +55,6 @@
 
 %package devel
 Summary:Development files for Airspy HF+
-Group:  Development/Libraries/Other
 Requires:   %{libname} = %{version}
 
 %description devel




commit airspyhf for openSUSE:Factory

2019-02-28 Thread root
Hello community,

here is the log from the commit of package airspyhf for openSUSE:Factory 
checked in at 2019-02-28 21:38:16

Comparing /work/SRC/openSUSE:Factory/airspyhf (Old)
 and  /work/SRC/openSUSE:Factory/.airspyhf.new.28833 (New)


Package is "airspyhf"

Thu Feb 28 21:38:16 2019 rev:3 rq:669030 version:1.1.5

Changes:

--- /work/SRC/openSUSE:Factory/airspyhf/airspyhf.changes2018-02-26 
23:25:13.950160317 +0100
+++ /work/SRC/openSUSE:Factory/.airspyhf.new.28833/airspyhf.changes 
2019-02-28 21:38:18.849641870 +0100
@@ -1,0 +2,14 @@
+Sun Jan 27 22:57:09 UTC 2019 - Wojciech Kazubski 
+
+- fix build for Leap 42.3
+
+---
+Sat Jan 19 13:23:28 UTC 2019 - mar...@gmx.de
+
+- Update to version 1.1.5
+  * Fixed the Linux build
+  * Updated the IQ correction algorithm;
+  * Updated the version number and copyright dates
+  * Better handling of weak signals in the IQ correction algorithm.
+
+---

Old:

  _service
  _servicedata
  airspyhf-1.1.0+git.20180217.tar.xz

New:

  airspyhf-1.1.5.tar.gz



Other differences:
--
++ airspyhf.spec ++
--- /var/tmp/diff_new_pack.LRHdVk/_old  2019-02-28 21:38:19.333641718 +0100
+++ /var/tmp/diff_new_pack.LRHdVk/_new  2019-02-28 21:38:19.337641716 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package airspyhf
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2017, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -21,14 +21,14 @@
 %define airspyhf_groupairspyhf
 %define libname lib%{name}%{sover}
 Name:   airspyhf
-Version:1.1.0+git.20180217
+Version:1.1.5
 Release:0
 Summary:Support programs for Airspy HF+ SDR
 License:BSD-3-Clause
 Group:  Productivity/Hamradio/Other
 Url:http://www.airspy.com/airspy-hf-plus
 #Git-Clone: https://github.com/airspy/airspyhf.git
-Source: %{name}-%{version}.tar.xz
+Source: 
https://github.com/airspy/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch0: airspyhf-fix-libm-linking.patch
 BuildRequires:  cmake >= 2.8
 BuildRequires:  gcc-c++
@@ -73,6 +73,9 @@
 
 %build
 %cmake \
+%if 0%{?suse_version} < 1330
+-DCMAKE_C_FLAGS=-std=c99 \
+%endif
   -DINSTALL_UDEV_RULES=ON
 make %{?_smp_mflags}
 




commit airspyhf for openSUSE:Factory

2018-02-26 Thread root
Hello community,

here is the log from the commit of package airspyhf for openSUSE:Factory 
checked in at 2018-02-26 23:25:12

Comparing /work/SRC/openSUSE:Factory/airspyhf (Old)
 and  /work/SRC/openSUSE:Factory/.airspyhf.new (New)


Package is "airspyhf"

Mon Feb 26 23:25:12 2018 rev:2 rq:579908 version:1.1.0+git.20180217

Changes:

--- /work/SRC/openSUSE:Factory/airspyhf/airspyhf.changes2017-07-30 
11:26:47.510374589 +0200
+++ /work/SRC/openSUSE:Factory/.airspyhf.new/airspyhf.changes   2018-02-26 
23:25:13.950160317 +0100
@@ -1,0 +2,23 @@
+Sun Feb 25 10:44:46 UTC 2018 - mar...@gmx.de
+
+- Update to version 1.1.0+git.20180217:
+  * Updated the version number to 1.1.0
+  * Added LNA, ATT, AGC and Threshold settings for the HF tuner.
+  * Improved the convergence of the IQ balancer - again.
+  * New heuristic for faster convergence in the IQ correction algorithm.
+  * Bugfix airspyhf_open_device() with given serial for device identification
+  * allow static compilation with definition of 'STATIC_AIRSPYHFPLUS'
+  * airspyhf_list_devices accepts NULL as serials pointer to only get the 
number of devices
+  * remove a compile warning under Linux
+  * Improved the image rejection algorithm for the Airspy HF+
+
+---
+Sat Oct 21 11:29:42 UTC 2017 - mar...@gmx.de
+
+- Update to version 0.0.0+git.20170930:
+  * Fixed enum prefix
+  * Added API for user application output pins
+  * Added APIs for getting library and firmware version
+  * Added API for enumerating multiple devices
+
+---

Old:

  airspyhf-0.0.0+git.20170718.tar.xz

New:

  airspyhf-1.1.0+git.20180217.tar.xz



Other differences:
--
++ airspyhf.spec ++
--- /var/tmp/diff_new_pack.dMuu9L/_old  2018-02-26 23:25:14.950124354 +0100
+++ /var/tmp/diff_new_pack.dMuu9L/_new  2018-02-26 23:25:14.962123923 +0100
@@ -1,6 +1,7 @@
 #
 # spec file for package airspyhf
 #
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2017, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,7 +21,7 @@
 %define airspyhf_groupairspyhf
 %define libname lib%{name}%{sover}
 Name:   airspyhf
-Version:0.0.0+git.20170718
+Version:1.1.0+git.20180217
 Release:0
 Summary:Support programs for Airspy HF+ SDR
 License:BSD-3-Clause

++ _service ++
--- /var/tmp/diff_new_pack.dMuu9L/_old  2018-02-26 23:25:15.022121766 +0100
+++ /var/tmp/diff_new_pack.dMuu9L/_new  2018-02-26 23:25:15.022121766 +0100
@@ -5,7 +5,7 @@
 git
 enable
 airspyhf
-0.0.0+git.%cd
+1.1.0+git.%cd
   
   
 *.tar

++ _servicedata ++
--- /var/tmp/diff_new_pack.dMuu9L/_old  2018-02-26 23:25:15.066120183 +0100
+++ /var/tmp/diff_new_pack.dMuu9L/_new  2018-02-26 23:25:15.066120183 +0100
@@ -1,4 +1,4 @@
 
 
 https://github.com/airspy/airspyhf.git
-  4f1467032fea8bed2e672aa265b96897303acea0
\ No newline at end of file
+  12de1d5e40223e31f71d59ab07caab81e6c3d733
\ No newline at end of file

++ airspyhf-0.0.0+git.20170718.tar.xz -> airspyhf-1.1.0+git.20180217.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/airspyhf-0.0.0+git.20170718/libairspyhf/src/airspyhf.c 
new/airspyhf-1.1.0+git.20180217/libairspyhf/src/airspyhf.c
--- old/airspyhf-0.0.0+git.20170718/libairspyhf/src/airspyhf.c  2017-07-18 
01:39:52.0 +0200
+++ new/airspyhf-1.1.0+git.20180217/libairspyhf/src/airspyhf.c  2018-02-17 
14:48:26.0 +0100
@@ -45,7 +45,9 @@
 #define false 0
 #endif
 
+#ifndef M_PI
 #define M_PI (3.14159265359)
+#endif
 
 #define MAX(a,b) ((a) > (b) ? a : b)
 #define MIN(a,b) ((a) < (b) ? a : b)
@@ -113,7 +115,6 @@
volatile int received_buffer_count;
airspyhf_complex_float_t *output_buffer;
void* ctx;
-// enum airspyhf_sample_type sample_type;
 };
 
 typedef struct calibration_record
@@ -125,6 +126,8 @@
 static const uint16_t airspyhf_usb_vid = 0x03EB;
 static const uint16_t airspyhf_usb_pid = 0x800C;
 
+static int airspyhf_config_read(airspyhf_device_t* device, uint8_t *buffer, 
uint16_t length);
+
 static int cancel_transfers(airspyhf_device_t* device)
 {
uint32_t transfer_index;
@@ -574,10 +577,7 @@
ssize_t cnt;
int serial_descriptor_index;
struct libusb_device_descriptor device_descriptor;
-   char serial_number_expected[AIRSPYHF_SERIAL_SIZE + 1];
unsigned char serial_number[AIRSPYHF_SERIAL_SIZE + 1];
-   uint32_t serial_number_msb_val;
-   uint32_t serial_number_lsb_val;