9 Commits

Author SHA256 Message Date
36b56a651f Accepting request 1322201 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1322201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libusrp?expand=0&rev=11
2025-12-11 17:41:57 +00:00
ef75bc26a7 - Don't build firware on riscv64
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/libusrp?expand=0&rev=25
2025-12-11 12:37:18 +00:00
dcbcb2f2d4 Accepting request 1308142 from hardware:sdr
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1308142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libusrp?expand=0&rev=10
2025-09-30 15:43:01 +00:00
1587f244be - libboost_system was removed upstream (bsc#1249900)
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/libusrp?expand=0&rev=23
2025-09-25 18:12:39 +00:00
1a8905a319 Accepting request 1271873 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1271873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libusrp?expand=0&rev=9
2025-04-22 15:31:06 +00:00
76cc7165fc - Disable firmware build for aarch64 as well
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/libusrp?expand=0&rev=21
2025-04-22 12:37:20 +00:00
1bdab7bad3 Accepting request 1255376 from hardware:sdr
Forward the current version of libusrp to Factory

OBS-URL: https://build.opensuse.org/request/show/1255376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libusrp?expand=0&rev=8
2025-03-25 21:09:22 +00:00
4c558ee261 * Add patch: libusrp-disable-firmware-build.patch
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/libusrp?expand=0&rev=19
2025-03-23 07:58:54 +00:00
095d77773c Accepting request 1249428 from home:wkazubski:test:science
- Update to version 3.4.10
- Workaround: fix build for architectures where sdcc is not
  available or causes error while building firmware

OBS-URL: https://build.opensuse.org/request/show/1249428
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/libusrp?expand=0&rev=18
2025-03-04 10:17:13 +00:00
5 changed files with 68 additions and 9 deletions

3
libusrp-3.4.10.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6213709191f374e06f51589f10c387808e21d3e0f7bfbbe884bd160b9aaee5d2
size 1313860

View File

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

View File

@@ -0,0 +1,23 @@
diff -up libusrp-3.4.10/configure.ac.aaaa libusrp-3.4.10/configure.ac
--- libusrp-3.4.10/configure.ac.aaaa 2025-02-12 11:52:14.000000000 +0100
+++ libusrp-3.4.10/configure.ac 2025-03-01 01:36:51.085575043 +0100
@@ -83,7 +83,6 @@ AM_CONDITIONAL(HAVE_DOXYGEN, test $DOXYG
AC_CHECK_PROG([XMLTO],[xmlto],[yes],[])
AM_CONDITIONAL([HAS_XMLTO], [test x$XMLTO = xyes])
-USRP_SDCC([3.2.0],[],[passed=no;AC_MSG_ERROR([Unable to find firmware compiler SDCC 3.x.])])
AC_CONFIG_FILES([
Makefile
diff -up libusrp-3.4.10/Makefile.am.aaaa libusrp-3.4.10/Makefile.am
--- libusrp-3.4.10/Makefile.am.aaaa 2025-03-01 01:39:02.059019711 +0100
+++ libusrp-3.4.10/Makefile.am 2025-03-01 01:39:20.076296429 +0100
@@ -31,7 +31,7 @@ EXTRA_DIST += \
debian \
$(NULL)
-SUBDIRS = host fpga doc firmware
+SUBDIRS = host fpga doc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = \

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Thu Dec 11 10:02:56 UTC 2025 - Andreas Schwab <schwab@suse.de>
- Don't build firware on riscv64
-------------------------------------------------------------------
Tue Sep 23 10:58:51 CEST 2025 - aschnell@suse.com
- libboost_system was removed upstream (bsc#1249900)
-------------------------------------------------------------------
Tue Apr 22 12:31:07 UTC 2025 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Disable firmware build for aarch64 as well
-------------------------------------------------------------------
Sat Mar 1 20:03:24 UTC 2025 - Wojciech Kazubski <wk@ire.pw.edu.pl>
- Update to version 3.4.10
- Workaround: fix build for architectures where sdcc is not
available or causes error while building firmware
* Add patch: libusrp-disable-firmware-build.patch
-------------------------------------------------------------------
Sun Aug 11 15:36:50 UTC 2024 - Wojciech Kazubski <wk@ire.pw.edu.pl>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libusrp
#
# Copyright (c) 2021-2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2018-2021, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -19,14 +19,20 @@
%define sover 1
%define libname libusrp%{sover}
%ifarch aarch64 armv7hl ppc64le riscv64 x86_64
%define build_firmware 0
%else
%define build_firmware 1
%endif
Name: libusrp
Version: 3.4.9
Version: 3.4.10
Release: 0
Summary: Stand-alone libusrp for USRP1 from old gnuradio.git
License: GPL-3.0-or-later
Group: Development/Libraries/C and C++
URL: https://git.osmocom.org/libusrp
Source: %{name}-%{version}.tar.xz
Patch0: libusrp-disable-firmware-build.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fdupes
@@ -34,13 +40,17 @@ BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: python3
%if %{build_firmware}
BuildRequires: sdcc
%endif
BuildRequires: pkgconfig(libusb-1.0)
%if 0%{?suse_version} > 1325
BuildRequires: libboost_date_time-devel
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_program_options-devel
%if 0%{?suse_version} < 1600
BuildRequires: libboost_system-devel
%endif
BuildRequires: libboost_thread-devel
%else
BuildRequires: boost-devel
@@ -85,14 +95,15 @@ Firmware files for the USRP1 SDR.
%prep
%setup -q
%if !%{build_firmware}
%patch -P 0 -p1
%endif
%build
echo "%{version}" >.tarball-version
autoreconf -fiv
%configure
# parallel build is br0ken
# -> https://osmocom.org/issues/3970#change-15556
make V=1 # %{?_smp_mflags}
%configure --disable-rpath
%make_build
%install
%make_install
@@ -101,6 +112,8 @@ rm -f %{buildroot}%{_libdir}/libusrp.la
rm -rf %{buildroot}%{_includedir}/gnuradio/
%fdupes %{buildroot}%{_datadir}/usrp
%check
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig