Accepting request 634211 from hardware:sdr

- Clarify license status

- Update to version 2018.08
  libbladeRF
  * Added support for Automatic Gain Control
  * Added bladeRF.conf config option file
  * Refactor to support for multiple product lines
  * Add support for the bladeRF Micro product
  * API: replace bladerf_module with bladerf_channel, a reverse-compatible
  * change to handle products with multiple independent RF paths in the same
  * direction
  * API: BREAKING CHANGE - on bladerf_set_frequency, et al, the frequency
  * parameter is now uint64_t instead of unsigned int
  * Add typedefs for common param types, e.g. bladerf_frequency -> uint64_t
  bladeRF-cli
  * Added support for Automatic Gain Control
  * No longer initializes the bladeRF before loading a new FPGA image, to
  * avoid potential catch-22 problems
  * bladeRF 2.0 Micro support
  * Support for MIMO RX and TX using "channel=" parameter on rx/tx config
  * Various code quality fixups
- Remove patches: (fixed upstream)
  * bladeRF-add-cflag-Wno-format-truncation.patch
  * bladeRF-cmake_syntax.patch

OBS-URL: https://build.opensuse.org/request/show/634211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bladeRF?expand=0&rev=6
This commit is contained in:
Yuchen Lin 2018-09-15 13:34:37 +00:00 committed by Git OBS Bridge
commit 784d596d05
6 changed files with 51 additions and 50 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e6333fd0f17e85f968a6180942f889705c4f2ac16507b2f86c80630c55032e8
size 1654784

3
bladeRF-2018.08.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6288c230dad26e32236a4b60f0b14c129e6fa0ad91bcf1c40abe8789b352e51f
size 2177625

View File

@ -1,12 +0,0 @@
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index 848b62d..70a5ca3 100644
--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -91,6 +91,7 @@ if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR
add_definitions(-Wall)
add_definitions(-Wextra)
add_definitions(-Wno-unused-parameter)
+ add_definitions(-Wno-format-truncation)
if(TREAT_WARNINGS_AS_ERRORS)
add_definitions(-Werror)

View File

@ -1,19 +0,0 @@
From 037e2886f2bfee42af99d77581d3cf9a23c64227 Mon Sep 17 00:00:00 2001
From: Rey Tucker <rey.tucker@nuand.com>
Date: Tue, 1 Aug 2017 15:29:56 -0400
Subject: [PATCH] udev: fix CMakeLists syntax error (#509)
---
host/misc/udev/CMakeLists.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/host/misc/udev/CMakeLists.txt b/host/misc/udev/CMakeLists.txt
index 317fec4b9..2e25e289a 100644
--- a/host/misc/udev/CMakeLists.txt
+++ b/host/misc/udev/CMakeLists.txt
@@ -41,5 +41,4 @@ else()
if(INSTALL_UDEV_RULES)
message(STATUS "udev rules not supported on this platform. Hide this message via -DINSTALL_UDEV_RULES=Off")
endif(INSTALL_UDEV_RULES)
-else()
endif()

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Fri Sep 7 12:05:23 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
- Clarify license status
-------------------------------------------------------------------
Wed Sep 5 19:10:47 UTC 2018 - mardnh@gmx.de
- Update to version 2018.08
libbladeRF
* Added support for Automatic Gain Control
* Added bladeRF.conf config option file
* Refactor to support for multiple product lines
* Add support for the bladeRF Micro product
* API: replace bladerf_module with bladerf_channel, a reverse-compatible
* change to handle products with multiple independent RF paths in the same
* direction
* API: BREAKING CHANGE - on bladerf_set_frequency, et al, the frequency
* parameter is now uint64_t instead of unsigned int
* Add typedefs for common param types, e.g. bladerf_frequency -> uint64_t
bladeRF-cli
* Added support for Automatic Gain Control
* No longer initializes the bladeRF before loading a new FPGA image, to
* avoid potential catch-22 problems
* bladeRF 2.0 Micro support
* Support for MIMO RX and TX using "channel=" parameter on rx/tx config
* Various code quality fixups
- Remove patches: (fixed upstream)
* bladeRF-add-cflag-Wno-format-truncation.patch
* bladeRF-cmake_syntax.patch
-------------------------------------------------------------------
Tue Sep 5 08:36:54 UTC 2017 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package bladeRF
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013-2015 Wojciech Kazubski, wk@ire.pw.edu.pl
#
# All modifications and additions to the file contributed by third parties
@ -13,28 +13,25 @@
# 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/
#
%define sover 1
%define sover 2
%define libname lib%{name}%{sover}
%define release_name 2016.06
%define libversion 2.0.2
%define release_name 2018.08
%define bladerf_group bladerf
%define use_syslog 0
Name: bladeRF
Version: 1.4.0
Release: 0
Summary: SDR radio receiver
License: GPL-2.0
License: GPL-2.0-only AND AGPL-3.0-or-later
Group: Productivity/Hamradio/Other
Url: http://nuand.com/
URL: http://nuand.com/
#Git-Clone: https://github.com/Nuand/bladeRF.git
Source: https://github.com/Nuand/bladeRF/archive/%{release_name}.tar.gz#/%{name}-%{release_name}.tar.xz
# PATCH-FIX-OPENSUSE bladeRF-add-cflag-Wno-format-truncation.patch boo#1041192
Patch0: bladeRF-add-cflag-Wno-format-truncation.patch
# PATCH-FIX-UPSTREAM bladeRF-cmake_syntax.patch upstream commit 037e288
Patch1: bladeRF-cmake_syntax.patch
BuildRequires: cmake >= 2.8.4
BuildRequires: doxygen
BuildRequires: fdupes
@ -50,7 +47,7 @@ BuildRequires: pkgconfig(udev)
The software for bladeRF USB 3.0 Superspeed Software Defined Radio.
%package -n %{libname}
Version: 1.7.2
Version: %{libversion}
Release: 0
Summary: Library for bladeRF
Group: System/Libraries
@ -70,7 +67,7 @@ Udev rules for bladeRF
%package devel
Summary: Development files for libbladeRF
Group: Development/Libraries/Other
Requires: %{libname} = %{version}
Requires: %{libname} = %{libversion}
%description devel
Libraries and header files for developing applications that want to make
@ -78,8 +75,6 @@ use of libbladerf.
%prep
%setup -q -n %{name}-%{release_name}
%patch0 -p1
%patch1 -p1
%build
cd host
@ -111,9 +106,11 @@ getent group %{bladerf_group} >/dev/null || groupadd -r %{bladerf_group}
%udev_rules_update
%files
%doc README.md COPYING CONTRIBUTORS
%license COPYING
%doc README.md CONTRIBUTORS
%{_bindir}/bladeRF-cli
%{_mandir}/man1/bladeRF-cli.1%{ext_man}
%{_bindir}/bladeRF-fsk
%{_mandir}/man1/bladeRF-cli.1%{?ext_man}
%files udev
%{_udevrulesdir}/88-nuand.rules
@ -123,6 +120,8 @@ getent group %{bladerf_group} >/dev/null || groupadd -r %{bladerf_group}
%files devel
%{_libdir}/libbladeRF.so
%{_includedir}/bladeRF1.h
%{_includedir}/bladeRF2.h
%{_includedir}/libbladeRF.h
%{_libdir}/pkgconfig/libbladeRF.pc