SHA256
1
0
forked from pool/uhd

81 Commits

Author SHA256 Message Date
4c434a055e Accepting request 1310900 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1310900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=48
2025-10-12 20:24:17 +00:00
6e1e9213d1 - Remove -lboost_system from pkgconfig template as well
% boost.patch

OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=63
2025-10-12 08:11:57 +00:00
2b98a0267e Accepting request 1307860 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1307860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=47
2025-09-29 18:43:27 +00:00
d7a64ee3a7 - Remove BuildRequires on libboost_system-devel,
removed on boost 1.89 (bsc#1249599)
   * Patch boost.patch

OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=61
2025-09-29 12:43:01 +00:00
566ddb8442 Accepting request 1303011 from home:wkazubski:test:science
- Update to version 4.9.0.0
  * Highlights / Main Changes
    + Support for USRP B206mini-i
    + Support for OBX daughterboard
  * New Features
    + OBX daughterboard and B206mini support added.
    + X3x0: Add support for the gps_iface feature. This allows
      sending arbitrary commands to the GPS module.
    + rfnoc_modtool: Add a new subcommand, make-yaml, that
      generates a block YAML file from some user inputs. When
      calling rfnoc_modtool add without a valid block YAML file,
      the tool will now automatically call make-yaml to generate
      a new YAML file.
    + Added support for processing multiple samples per cycle in
      FFT block.
    + LabVIEW/USRP: New repository containing example applications
      which demonstrate how to use NI LabVIEW with USRP devices
      via the UHD APIs. (https://github.com/ni/labview-usrp-examples)
    + Improved RFNoC OOT Block support:
      New repository containing official RFNoC OOT Blocks
      (https://github.com/EttusResearch/rfnoc-oot-blocks)
      . Added new RFNoC Aurora Block for TX and RX remote streaming
        applications to and from Aurora capable compute nodes like
        FPGA Coprocessors.
  * API Changes
    + uhd::math::gcd and uhd::math::lcm are removed from the public
      headers. Use std::gcd and std::lcm instead if C++17 is
      available, or boost::math::gcd and boost::math::lcm if not.
    + When calling recv() on an RX streamer connected to an RFNoC
      device, we no longer artificially inflate the timeout value.
      The old behaviour was in some cases abused to detect overruns,
      but this is not a reliable method and is now explicitly
      declared unsupported.
  * Bug Fixes
    + RFNoC
      . Calling recv() on an RX streamer connected to an RFNoC
        device with azero timeout value now correctly returns
        immediately.
      . rfnoc-gain: Moved the fpga/ subdirectory under rfnoc/.
        This way, the directory structure inside the OOT module is
        identical to the directory structure after installation.
    + X410:
      . Fixed NCO reset mechanism that caused ADC self-cal errors
        to occur during reopening of a UHD session when timed tune
        commands were previously used.
  * Removals / Deprecations
    + Removed tools/uhd_dump. This tool is obsolete, the USRP X3x0
      is not even compatible with it any more. Dumps can be recorded
      and analyzed with wireshark and the UHD dissectors in here.
    + Removed network_relay example.
- Remove uhd-new-boost.patch and uhd-fix-build-gcc15.patch patches
  (applied upstream)

OBS-URL: https://build.opensuse.org/request/show/1303011
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=60
2025-09-10 07:26:41 +00:00
4d00709db4 Accepting request 1291595 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1291595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=46
2025-07-10 20:12:09 +00:00
a220e521e6 - Add uhd-fix-build-gcc15.patch to allow building with latest gcc
- Fix build far Factory_ARM

OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=58
2025-07-10 05:41:34 +00:00
Wojciech Kazubski
3a5851a066 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=57 2025-07-09 09:41:45 +00:00
Wojciech Kazubski
2a4e56ac2b OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=56 2025-07-09 09:35:58 +00:00
23ecec0533 Accepting request 1280461 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1280461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=45
2025-05-27 16:42:34 +00:00
d06c49cf5b Fix build with boost 1.88.0
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=54
2025-05-27 07:01:09 +00:00
f8839fb043 Accepting request 1255212 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1255212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=44
2025-03-24 12:29:37 +00:00
2b09a253e5 - Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS from cmake4
- Remove Group: Declarations, no longer used

OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=52
2025-03-22 08:34:52 +00:00
e2567304e6 Accepting request 1244401 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1244401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=43
2025-02-09 19:06:38 +00:00
19dc3ab76a - Fix location of python examples
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=50
2025-02-08 20:58:08 +00:00
84200d970b Accepting request 1243984 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1243984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=42
2025-02-06 21:07:14 +00:00
5cc554390f Add reproducible.patch to drop build date for reproducible builds (boo#1047218)
Please try to upstream the patch.

OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=48
2025-02-06 18:48:11 +00:00
ed76cee16a - Update to version 4.8.0.0
* Highlights / Main Changes:
    + Addition of rfnoc_modtool and further improvements to RFNoC
      Image Builder toolsets. This further improves the ability to
      design RFNoC blocks and create custom FPGA bitfiles.
    + Replaced RFNoC FFT block with a new version
  See: https://github.com/EttusResearch/uhd/releases for all changes
- Python 3.7+ is required for building python bindings.

OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=47
2025-02-05 19:09:39 +00:00
5feacfdb18 Accepting request 1187481 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1187481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=41
2024-07-15 17:49:42 +00:00
7471e957bf Accepting request 1170286 from hardware:sdr
- Fix build with boost 1.85, add patches fix-boost1.85-one.patch
  and fix-boost1.85-two.patch

OBS-URL: https://build.opensuse.org/request/show/1170286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=40
2024-04-26 21:27:33 +00:00
8c4d3eaf6a OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=43 2024-04-26 12:36:44 +00:00
a69ead6d40 Accepting request 1170272 from home:anag+factory:branches:hardware:sdr
- Fix build with boost 1.85, add patches fix-boost1.85-one.patch
  and fix-boost1.85-two.patch

OBS-URL: https://build.opensuse.org/request/show/1170272
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=42
2024-04-26 12:20:57 +00:00
1afc72edc3 Accepting request 1126536 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1126536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=39
2023-11-15 20:10:12 +00:00
858cd7c8ca Accepting request 1126531 from home:wkazubski:test:science
- Update to version 4.6.0.0
  See: https://github.com/EttusResearch/uhd/releases for all changes

OBS-URL: https://build.opensuse.org/request/show/1126531
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=40
2023-11-15 08:04:41 +00:00
ff970210b9 Accepting request 1111321 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1111321
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=38
2023-09-14 14:26:11 +00:00
36e6982338 Accepting request 1110958 from home:wkazubski:test:science
- Update to version 4.5.0.0
  See: https://github.com/EttusResearch/uhd/releases for all changes

OBS-URL: https://build.opensuse.org/request/show/1110958
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=38
2023-09-14 11:44:17 +00:00
6e226bbff2 Accepting request 1063476 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1063476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=37
2023-02-07 17:49:02 +00:00
75e28ae091 Accepting request 1062635 from home:wkazubski:test:science
- Update to version 4.4.0.0
  See: https://github.com/EttusResearch/uhd/releases for all changes

OBS-URL: https://build.opensuse.org/request/show/1062635
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=36
2023-02-06 17:17:59 +00:00
07586d0944 Accepting request 1003961 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1003961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=36
2022-09-15 21:00:17 +00:00
5646dbbdde Accepting request 1003778 from home:wkazubski:test:science
- Update to version 4.3.0.0
  See: https://github.com/EttusResearch/uhd/releases for all changes

OBS-URL: https://build.opensuse.org/request/show/1003778
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=34
2022-09-15 19:23:56 +00:00
f852eeb5f2 Accepting request 992134 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/992134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=35
2022-08-02 20:09:14 +00:00
4c2e6081cb Accepting request 991797 from home:wkazubski:test:science
- Update to version 4.2.0.1
  See: https://github.com/EttusResearch/uhd/releases for all changes

OBS-URL: https://build.opensuse.org/request/show/991797
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=32
2022-08-02 05:34:46 +00:00
936c8b23f5 Accepting request 972373 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/972373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=34
2022-04-24 17:45:50 +00:00
ae4551c74a Accepting request 972252 from home:wkazubski:test:science
- Update to version 4.2.0.0
  See: https://github.com/EttusResearch/uhd/releases for all changes

OBS-URL: https://build.opensuse.org/request/show/972252
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=30
2022-04-24 11:51:44 +00:00
95f1ea908c Accepting request 942223 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/942223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=33
2021-12-23 16:53:52 +00:00
ee4b2de6ac Accepting request 942197 from home:wkazubski:test:science
- Update to version 4.1.0.5
  See: https://github.com/EttusResearch/uhd/releases for all changes
-----------------------------------------------------------------
- Update to version 4.1.0.4
  * This release corrects an oversight in the 4.1.0.3 release by
    updating the version string reported by UHD.
  * uhd
    + Update version in UHDVersion.cmake

OBS-URL: https://build.opensuse.org/request/show/942197
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=29
2021-12-23 10:27:22 +00:00
df1a5b4483 Accepting request 922305 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/922305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=32
2021-09-30 21:43:37 +00:00
4e4d87d6ce Accepting request 921945 from home:wkazubski:test:science
- Update to version 4.1.0.3
  * This release addresses one issue in UHD regarding RX and TX
    antenna configuration on the ZBX daughterboard.
  * uhd
    + zbx: Prevent TX antenna config from disrupting RX
- Update to version 4.1.0.2
  * This release fixes some minor issues in UHD:
    + Some streaming issues with the B2xx, notably good data packets
      being dropped in the event of an overrun and USB overflow
      issues when using the sc12 data type, have been resolved.
    + The semantics of calling recv() on a streamer with 0 for 
      nsamps_per_buff was inadvertently changed in a previous
      commit. The original correct semantics (return immediately
      without regard for the timeout and availability of samples)
      have been restored.
    + Certain link establishment timeout cases could result in an
      exception being thrown while another exception is in flight,
      thus triggering process termination. The codepath triggering
      the errant second exception has been corrected to avoid this
      situation.
  * b200
    + Fix overflow handling
  * fpga
    + Re-order error and data packets
    + Fix sc16 to sc12 converter
  * host
    + Add static_assert to prevent meta_range_t(0,0)
  * mpm
    + x4xx: update mboard_max_rev
  * mpmd
    * Add discoverable feature for trig i/o mode
  * sim
    + Update chdr_16sc_to_sc12 testbench
  * tests
    + Add recv(0) case to rx_streamer_test
  * uhd
    + transport: Avoid exceptions in disconnect_receiver()
    + streamer: Restore original recv(0) semantics
  * x4xx_bist
    + use get_mpm_client in gpio bist

OBS-URL: https://build.opensuse.org/request/show/921945
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=28
2021-09-30 08:07:12 +00:00
0323f0468c Accepting request 907665 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/907665
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=31
2021-07-22 20:43:28 +00:00
8eeda9040b Accepting request 907487 from home:wkazubski:test:science
- Update to version 4.1.0.1
  * cmake
    + remove redundant include
    + correctly set and unset any CMAKE_REQUIRED variables
    + fix finding PkgConfig to work robustly (without CMake warnings)
  * core
    + remove boost::math in favor of std cmath
  * docs
    + x4xx: Update information on CPLD updating
    + usrp_x4xx: improve filesystem update instructions
  * mpm
    + zbx: Fix revision compat check
    + Update usrp_update_fs to support X410
    * max10_cpld_flash_ctrl: improve programming log
    + Skip DTS compatibility check if DTS is not being updated
- Remove patch uhd-add-includes-for-boost.patch since boost::math
  was replaced by std cmath

OBS-URL: https://build.opensuse.org/request/show/907487
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=27
2021-07-22 07:35:43 +00:00
d6b5001aed Accepting request 904042 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/904042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=30
2021-07-05 20:22:57 +00:00
93e6e0ac0f Accepting request 903830 from home:wkazubski:test:science
- Update to version 4.1.0.0
  See: https://github.com/EttusResearch/uhd/releases for all changes
- Remove not longer needed patch uhd_fix_boost.patch (applied 
  upstream)
- Add a patch uhd-add-includes-for-boost.patch to fix a build for
  Tumbleweed
- Enabled Python3 API
- New binary packages python3-uhd and uhd-utils

OBS-URL: https://build.opensuse.org/request/show/903830
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=26
2021-07-05 07:30:00 +00:00
ff39a21913 Accepting request 890968 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/890968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=29
2021-05-06 20:52:50 +00:00
40ae0d43df Accepting request 890934 from home:StefanBruens:branches:hardware:sdr
- Fix build with Boost 1.76, replace boost::math usage with
  equivalent stdlib functionality. Add uhd_fix_boost.patch.

OBS-URL: https://build.opensuse.org/request/show/890934
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=24
2021-05-06 11:12:18 +00:00
220309efcb Accepting request 853569 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/853569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=28
2020-12-07 14:02:10 +00:00
19d3386d6f Accepting request 853559 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Fix build on %arm by disabling Neon

OBS-URL: https://build.opensuse.org/request/show/853559
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=22
2020-12-07 11:46:32 +00:00
9d3e4906db Accepting request 834808 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/834808
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=27
2020-09-25 14:31:28 +00:00
4aa32a3edf Accepting request 834695 from home:mnhauke:sdr-devel
- Update to version 4.0.0.0
  See: https://github.com/EttusResearch/uhd/releases for all changes
- Use github source URLs
- Fix URL
- Switch to python3
- Disable tests for now since compilation of the test programs fail
  with recent comilers / boost versions.
- Remove not longer needed patches:
  * fix-for-armv6l-armv7l-build-failure.patch
  * uhd-fix-for-boost-1_66.patch
  * uhd-fix-for-boost-1_67.patch

OBS-URL: https://build.opensuse.org/request/show/834695
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=20
2020-09-16 06:08:48 +00:00
12b9435687 Accepting request 769749 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/769749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=26
2020-02-04 18:54:14 +00:00
fbde73e724 Accepting request 769735 from home:dimstar:Factory
Shortcut through -mini

OBS-URL: https://build.opensuse.org/request/show/769735
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=18
2020-02-03 17:11:15 +00:00
07f17e3e93 Accepting request 687933 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/687933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=25
2019-03-24 14:02:01 +00:00
a54dc1128d Accepting request 687898 from home:wkazubski:test:science
- Fixed build for Boost 1.69

OBS-URL: https://build.opensuse.org/request/show/687898
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=16
2019-03-23 20:40:42 +00:00
37b53c4830 Accepting request 661984 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/661984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=24
2018-12-31 08:47:03 +00:00
4fe3022af7 Accepting request 661780 from home:mnhauke:sdr-devel
- Disable support for GPSD in uhd for now.
  gps support is not yet adapted to the latest gpsd API.

OBS-URL: https://build.opensuse.org/request/show/661780
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=14
2018-12-29 20:27:36 +00:00
5060cdb49d Accepting request 612905 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/612905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=23
2018-05-30 10:23:42 +00:00
dae0f09538 Accepting request 612903 from home:adamm:branches:hardware:sdr
- fixed build with Boost 1.67 (bsc#1089820)
  uhd-fix-for-boost-1_67.patch
- drop _constraints and use memory-constraints package instead.
- re-enabled package tests

OBS-URL: https://build.opensuse.org/request/show/612903
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=12
2018-05-29 15:47:19 +00:00
7670d35dc0 Accepting request 566453 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/566453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=22
2018-01-17 20:58:07 +00:00
f5f7020782 Accepting request 564006 from home:mnhauke:sdr-devel
- Force usage of python2 during build

OBS-URL: https://build.opensuse.org/request/show/564006
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=10
2018-01-16 15:10:32 +00:00
4e99d9326a Accepting request 561418 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/561418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=21
2018-01-09 13:51:55 +00:00
b15c76e0d7 Accepting request 561344 from home:mnhauke:sdr-devel
- Adjust _constraints to set required memory to 6Gb

OBS-URL: https://build.opensuse.org/request/show/561344
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=8
2018-01-03 14:54:03 +00:00
f05a4aceee Accepting request 560457 from home:wkazubski:test:science
- fixed build with boost-1.66
  patch uhd-fix-for-boost-1_66.patch backported from git
- Updated sources to version 3.9.7
- enabled GPSD support
- Force docutils to use python2 on Tumbleweed
- Directly invoke ldconfig and don't suppress output from groupadd.
- use individual libboost-*-devel packages instead of boost-devel
- Add fix-for-armv6l-armv7l-build-failure.patch, adds -mfpu=neon compiler flag to package
  Fixes build failure on armv6l and armv7l architectures
- Update sources to version 3.9.5
- %pre script requires /usr/sbin/groupadd from "shadow" package
- Update sources to version 3.9.4
- Update sources to version 3.9.3
- Update sources to version 3.9.2
- Drop 0003-uhd-C-API-wrapper-fix-commit-30f87afcba71a07.patch:
  included upstream
- Add patch for correctly installing the C-API header files
  * 0003-uhd-C-API-wrapper-fix-commit-30f87afcba71a07.patch
- Update sources to version 3.9.1
- arm-neon.patch patch removed
- Update sources to version 3.9.0
- Update sources to version 3.8.5
- arm-neon.patch: don't use 32-bit arm code on 64-bit arm
- Add _constraints to set required memory to 3Gb
- Update sources to version 3.8.4
- Update sources to version 3.8.2
- Update to version 3.8.1
  * firmware images are from 3.8.2
- Update to version 3.7.3
  * firmware images are from 3.7.2
- Update to version 3.7.2
  * bugfix release
- Cleanup spec file
- Remove OBS source service
- Use %cmake macros
- Move udev rules to uhd-udev package according to shared library
  packaging policy
- Remove buildtime from documentation
- Update to version 3.7.0
- Changes to spec file: 
  * Use full path when calling groupadd
- uhd-devel needs boost
- Update to version 3.5.4
- Changes to spec file:
  * Update udev paths for openSUSE 13.1 and ensure udev rules are
    updated when package is installed / updated / uninstalled.
  * Add %check section (currently disabled due to failures in 13.1)
  * Find file dupes also in %_bindir
- Update to version 3.5.2
- Added Ettus firmware images (version 3.5.2)
- Changes to spec file:
  * pass %optflags to cmake according to
    http://en.opensuse.org/openSUSE:Build_system_recipes
  * fixed search for duplicate files
 
- updated to 3.5.0
- fixed some rpmlint warnings
- install udev rule (from Fedora)
- updated to 3.4.3
- packaged libuhd version 3.4.2

OBS-URL: https://build.opensuse.org/request/show/560457
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=7
2017-12-28 23:47:47 +00:00
5d7830ea4a Accepting request 512075 from hardware:sdr
1

OBS-URL: https://build.opensuse.org/request/show/512075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=20
2017-07-25 09:39:52 +00:00
96e550ca19 Accepting request 511986 from home:wkazubski:test:science
Update to recent release 3.9.7

OBS-URL: https://build.opensuse.org/request/show/511986
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/uhd?expand=0&rev=5
2017-07-22 17:52:28 +00:00
9b7c799382 Accepting request 492978 from hardware:sdr
1

OBS-URL: https://build.opensuse.org/request/show/492978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=19
2017-05-08 17:03:13 +00:00
9a4743b9e6 Accepting request 454462 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/454462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=18
2017-02-07 11:03:56 +00:00
Ludwig Nussel
6f33e43f60 Accepting request 445688 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/445688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=17
2016-12-29 21:43:30 +00:00
131a9ce729 Accepting request 433537 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/433537
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=16
2016-10-13 09:30:05 +00:00
4018eaabdf Accepting request 407210 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/407210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=15
2016-07-14 07:46:09 +00:00
1710acce1b Accepting request 397264 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/397264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=14
2016-05-23 14:39:36 +00:00
973f46b09b Accepting request 381525 from hardware
- Update sources to version 3.9.3

OBS-URL: https://build.opensuse.org/request/show/381525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=13
2016-04-01 11:02:43 +00:00
57d7dc97b2 Accepting request 354695 from hardware
- Update sources to version 3.9.2
- Drop 0003-uhd-C-API-wrapper-fix-commit-30f87afcba71a07.patch:
  included upstream

OBS-URL: https://build.opensuse.org/request/show/354695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=12
2016-01-21 22:43:50 +00:00
0838eb6771 Accepting request 351051 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/351051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=11
2016-01-01 18:48:02 +00:00
78e51e9b93 Accepting request 338541 from hardware
Remove removed file, fix changes, and forward changes.

OBS-URL: https://build.opensuse.org/request/show/338541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=10
2015-10-19 20:51:10 +00:00
7fcdf2a96a Accepting request 324190 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/324190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=9
2015-08-21 05:41:10 +00:00
663a104468 Accepting request 322129 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/322129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=8
2015-08-14 12:46:07 +00:00
7bc9e2cee8 Accepting request 312973 from hardware
OBS-URL: https://build.opensuse.org/request/show/312973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=7
2015-06-23 09:59:42 +00:00
Stephan Kulow
a9eee5a3be Accepting request 307477 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/307477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=6
2015-05-16 17:01:52 +00:00
6925646bde Accepting request 287853 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/287853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=5
2015-02-27 10:09:27 +00:00
Stephan Kulow
090d8a3bca Accepting request 258679 from hardware
- Update to version 3.7.3
  * firmware images are from 3.7.2

OBS-URL: https://build.opensuse.org/request/show/258679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=4
2014-10-29 20:10:27 +00:00
Stephan Kulow
62c57588d6 Accepting request 247634 from hardware
- Update to version 3.7.2
  * bugfix release

OBS-URL: https://build.opensuse.org/request/show/247634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=3
2014-09-05 11:00:08 +00:00
Stephan Kulow
0e69236a51 Accepting request 246330 from hardware
OBS-URL: https://build.opensuse.org/request/show/246330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhd?expand=0&rev=1
2014-08-27 05:46:05 +00:00
12 changed files with 228 additions and 142 deletions

21
boost.patch Normal file
View File

@@ -0,0 +1,21 @@
diff -Nrua uhd-4.9.0.0.orig/host/CMakeLists.txt uhd-4.9.0.0/host/CMakeLists.txt
--- uhd-4.9.0.0.orig/host/CMakeLists.txt 2025-09-01 15:24:04.000000000 +0200
+++ uhd-4.9.0.0/host/CMakeLists.txt 2025-09-29 13:27:38.331231692 +0200
@@ -321,7 +321,6 @@
date_time
filesystem
program_options
- system
serialization
thread
unit_test_framework
diff -purN a/uhd-4.9.0.0/host/uhd.pc.in b/uhd-4.9.0.0/host/uhd.pc.in
--- uhd-4.9.0.0.orig/host/uhd.pc.in 2025-09-01 15:24:04.000000000 +0200
+++ uhd-4.9.0.0/host/uhd.pc.in 2025-10-11 20:32:54.031357131 +0200
@@ -11,5 +11,5 @@ Requires:
Requires.private: @UHD_PC_REQUIRES@
Conflicts:
Cflags: -I${includedir} @UHD_PC_CFLAGS@
-Libs: -L${libdir} -luhd -lboost_system
+Libs: -L${libdir} -luhd
Libs.private: @UHD_PC_LIBS@

View File

@@ -1,77 +0,0 @@
From ea586168c596d13d05d145832519755794649ba0 Mon Sep 17 00:00:00 2001
From: Martin Braun <martin.braun@ettus.com>
Date: Thu, 28 Mar 2024 17:28:57 +0100
Subject: [PATCH] lib: Replace deprecated boost::filesystem usage
Recent versions of Boost were throwing compiler warnings due to usage of
deprecated functions. Our minimum version of Boost (1.65) already
provides the replacements, so this commit simply updates these
deprecated use cases.
---
host/lib/usrp/mpmd/mpmd_image_loader.cpp | 6 ++----
host/lib/usrp/x300/x300_image_loader.cpp | 4 ++--
host/lib/usrp_clock/octoclock/octoclock_image_loader.cpp | 2 +-
3 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/host/lib/usrp/mpmd/mpmd_image_loader.cpp b/host/lib/usrp/mpmd/mpmd_image_loader.cpp
index 31b6387ab..ba0f45fad 100644
--- a/host/lib/usrp/mpmd/mpmd_image_loader.cpp
+++ b/host/lib/usrp/mpmd/mpmd_image_loader.cpp
@@ -27,8 +27,6 @@
#include <cctype>
#include <fstream>
#include <iterator>
-#include <sstream>
-#include <streambuf>
#include <string>
#include <vector>
@@ -271,7 +269,7 @@ static uhd::usrp::component_files_t bin_dts_to_component_files(
// DTS component struct
// First, we need to determine the name
const std::string base_name =
- boost::filesystem::change_extension(fpga_path, "").string();
+ boost::filesystem::path(fpga_path).replace_extension("").string();
if (base_name == fpga_path) {
const std::string err_msg(
"Can't cut extension from FPGA filename... " + fpga_path);
@@ -340,7 +338,7 @@ static void mpmd_send_fpga_to_device(
UHD_LOG_TRACE("MPMD IMAGE LOADER", "FPGA path: " << fpga_path);
// If the fpga_path is a lvbitx file, parse it as such
- if (boost::filesystem::extension(fpga_path) == ".lvbitx") {
+ if (boost::filesystem::path(fpga_path).extension() == ".lvbitx") {
all_component_files = lvbitx_to_component_files(fpga_path, delay_reload);
} else {
all_component_files = bin_dts_to_component_files(fpga_path, delay_reload);
diff --git a/host/lib/usrp/x300/x300_image_loader.cpp b/host/lib/usrp/x300/x300_image_loader.cpp
index d7a64d4d0..a84dba420 100644
--- a/host/lib/usrp/x300/x300_image_loader.cpp
+++ b/host/lib/usrp/x300/x300_image_loader.cpp
@@ -138,8 +138,8 @@ static void x300_validate_image(x300_session_t& session)
boost::format("Could not find image at path \"%s\".") % session.filepath));
}
- std::string extension = fs::extension(session.filepath);
- session.lvbitx = (extension == ".lvbitx");
+ const std::string extension = fs::path(session.filepath).extension().string();
+ session.lvbitx = (extension == ".lvbitx");
if (session.lvbitx) {
extract_from_lvbitx(session);
diff --git a/host/lib/usrp_clock/octoclock/octoclock_image_loader.cpp b/host/lib/usrp_clock/octoclock/octoclock_image_loader.cpp
index 930c5d758..4c39790c7 100644
--- a/host/lib/usrp_clock/octoclock/octoclock_image_loader.cpp
+++ b/host/lib/usrp_clock/octoclock/octoclock_image_loader.cpp
@@ -95,7 +95,7 @@ static void octoclock_validate_firmware_image(octoclock_session_t& session)
% session.image_filepath));
}
- std::string extension = fs::extension(session.image_filepath);
+ const std::string extension = fs::path(session.image_filepath).extension().string();
if (extension == ".bin") {
octoclock_read_bin(session);
} else if (extension == ".hex") {
--
2.44.0

View File

@@ -1,28 +0,0 @@
From c4863b9b9f8b639260f7797157e8ac4dd81fef93 Mon Sep 17 00:00:00 2001
From: Joerg Hofrichter <joerg.hofrichter@ni.com>
Date: Wed, 17 Apr 2024 13:59:19 +0200
Subject: [PATCH] fix compilation with boost 1.85.0
The header boost/filesystem/convenience.hpp was removed with boost 1.85.0
The deprecated extension-related functions were already replaced with
commit ea586168c596d13d05d145832519755794649ba0
---
host/lib/usrp/mpmd/mpmd_image_loader.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/host/lib/usrp/mpmd/mpmd_image_loader.cpp b/host/lib/usrp/mpmd/mpmd_image_loader.cpp
index ba0f45fad..9824bbf4d 100644
--- a/host/lib/usrp/mpmd/mpmd_image_loader.cpp
+++ b/host/lib/usrp/mpmd/mpmd_image_loader.cpp
@@ -21,7 +21,6 @@
#include <boost/algorithm/string.hpp>
#include <boost/archive/iterators/binary_from_base64.hpp>
#include <boost/archive/iterators/transform_width.hpp>
-#include <boost/filesystem/convenience.hpp>
#include <boost/optional.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <cctype>
--
2.44.0

69
reproducible.patch Normal file
View File

@@ -0,0 +1,69 @@
Date: 2025-02-06
Author: Bernhard M. Wiedemann
drop build timestamps for reproducible builds
The alternative is to use SOURCE_DATE_EPOCH as described in
https://reproducible-builds.org/docs/source-date-epoch/#python--3x
diff --git a/host/lib/convert/gen_convert_general.py b/host/lib/convert/gen_convert_general.py
index eb43301..97d0f55 100644
--- a/host/lib/convert/gen_convert_general.py
+++ b/host/lib/convert/gen_convert_general.py
@@ -14,7 +14,7 @@ TMPL_HEADER = """
import time
%>
/***********************************************************************
- * This file was generated by ${file} on ${time.strftime("%c")}
+ * This file was generated by ${file}
**********************************************************************/
#include "convert_common.hpp"
diff --git a/host/lib/ic_reg_maps/common.py b/host/lib/ic_reg_maps/common.py
index 499f262..96b0e1d 100644
--- a/host/lib/ic_reg_maps/common.py
+++ b/host/lib/ic_reg_maps/common.py
@@ -13,7 +13,7 @@ from mako.template import Template
COMMON_TMPL = """<% import time %>\
/***********************************************************************
- * This file was generated by ${file} on ${time.strftime("%c")}
+ * This file was generated by ${file}
**********************************************************************/
#ifndef INCLUDED_${name.upper()}_HPP
@@ -128,7 +128,7 @@ private:
# This template matches the functionality of COMMON_TMPL in Python syntax
COMMON_PY_TMPL = """<% import time %>\
##########################################################################
-# This file was generated by ${file} on ${time.strftime("%c")}
+# This file was generated by ${file}
<%text>##########################################################################</%text>
from enum import Enum
diff --git a/host/lib/include/uhdlib/usrp/common/rpc.py b/host/lib/include/uhdlib/usrp/common/rpc.py
index 5ed6b13..72ea334 100644
--- a/host/lib/include/uhdlib/usrp/common/rpc.py
+++ b/host/lib/include/uhdlib/usrp/common/rpc.py
@@ -126,7 +126,7 @@ IFACES = [
COMMON_TMPL = """<% import time %>\
/***********************************************************************
- * This file was generated by ${file} on ${time.strftime("%c")}
+ * This file was generated by ${file}
**********************************************************************/
//
diff --git a/host/lib/transport/gen_vrt_if_packet.py b/host/lib/transport/gen_vrt_if_packet.py
index 865b972..9b19c15 100644
--- a/host/lib/transport/gen_vrt_if_packet.py
+++ b/host/lib/transport/gen_vrt_if_packet.py
@@ -17,7 +17,7 @@ The generated code infers jump tables to speed-up the parsing time.
TMPL_TEXT = """<% import time %>
/***********************************************************************
- * This file was generated by ${file} on ${time.strftime("%c")}
+ * This file was generated by ${file}
**********************************************************************/
#include <uhd/exception.hpp>

View File

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

View File

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

3
uhd-4.9.0.0.tar.gz Normal file
View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,111 @@
-------------------------------------------------------------------
Sat Oct 11 18:34:04 UTC 2025 - Arjen de Korte <suse+build@de-korte.org>
- Remove -lboost_system from pkgconfig template as well
% boost.patch
-------------------------------------------------------------------
Mon Sep 29 11:27:45 UTC 2025 - Ana Guerrero <ana.guerrero@suse.com>
- Remove BuildRequires on libboost_system-devel,
removed on boost 1.89 (bsc#1249599)
* Patch boost.patch
-------------------------------------------------------------------
Sat Sep 6 15:15:46 UTC 2025 - Wojciech Kazubski <wk@ire.pw.edu.pl>
- Update to version 4.9.0.0
* Highlights / Main Changes
+ Support for USRP B206mini-i
+ Support for OBX daughterboard
* New Features
+ OBX daughterboard and B206mini support added.
+ X3x0: Add support for the gps_iface feature. This allows
sending arbitrary commands to the GPS module.
+ rfnoc_modtool: Add a new subcommand, make-yaml, that
generates a block YAML file from some user inputs. When
calling rfnoc_modtool add without a valid block YAML file,
the tool will now automatically call make-yaml to generate
a new YAML file.
+ Added support for processing multiple samples per cycle in
FFT block.
+ LabVIEW/USRP: New repository containing example applications
which demonstrate how to use NI LabVIEW with USRP devices
via the UHD APIs. (https://github.com/ni/labview-usrp-examples)
+ Improved RFNoC OOT Block support:
New repository containing official RFNoC OOT Blocks
(https://github.com/EttusResearch/rfnoc-oot-blocks)
. Added new RFNoC Aurora Block for TX and RX remote streaming
applications to and from Aurora capable compute nodes like
FPGA Coprocessors.
* API Changes
+ uhd::math::gcd and uhd::math::lcm are removed from the public
headers. Use std::gcd and std::lcm instead if C++17 is
available, or boost::math::gcd and boost::math::lcm if not.
+ When calling recv() on an RX streamer connected to an RFNoC
device, we no longer artificially inflate the timeout value.
The old behaviour was in some cases abused to detect overruns,
but this is not a reliable method and is now explicitly
declared unsupported.
* Bug Fixes
+ RFNoC
. Calling recv() on an RX streamer connected to an RFNoC
device with azero timeout value now correctly returns
immediately.
. rfnoc-gain: Moved the fpga/ subdirectory under rfnoc/.
This way, the directory structure inside the OOT module is
identical to the directory structure after installation.
+ X410:
. Fixed NCO reset mechanism that caused ADC self-cal errors
to occur during reopening of a UHD session when timed tune
commands were previously used.
* Removals / Deprecations
+ Removed tools/uhd_dump. This tool is obsolete, the USRP X3x0
is not even compatible with it any more. Dumps can be recorded
and analyzed with wireshark and the UHD dissectors in here.
+ Removed network_relay example.
- Remove uhd-new-boost.patch and uhd-fix-build-gcc15.patch patches
(applied upstream)
-------------------------------------------------------------------
Wed Jul 9 08:53:02 UTC 2025 - Wojciech Kazubski <wk@ire.pw.edu.pl>
- Add uhd-fix-build-gcc15.patch to allow building with latest gcc
- Fix build far Factory_ARM
-------------------------------------------------------------------
Tue May 27 06:25:44 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Add uhd-new-boost.patch to allow building with boost 1.88.0+
-------------------------------------------------------------------
Sat Mar 22 00:47:02 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS from cmake4
- Remove Group: Declarations, no longer used
-------------------------------------------------------------------
Sat Feb 8 12:56:30 UTC 2025 - Wojciech Kazubski <wk@ire.pw.edu.pl>
- Fix location of python examples
-------------------------------------------------------------------
Thu Feb 6 06:53:59 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Add reproducible.patch to drop build date (boo#1047218)
-------------------------------------------------------------------
Wed Feb 5 08:56:57 UTC 2025 - Wojciech Kazubski <wk@ire.pw.edu.pl>
- Update to version 4.8.0.0
* Highlights / Main Changes:
+ Addition of rfnoc_modtool and further improvements to RFNoC
Image Builder toolsets. This further improves the ability to
design RFNoC blocks and create custom FPGA bitfiles.
+ Replaced RFNoC FFT block with a new version
See: https://github.com/EttusResearch/uhd/releases for all changes
- Python 3.7+ is required for building python bindings.
-------------------------------------------------------------------
Sat Jun 29 21:43:53 UTC 2024 - Wojciech Kazubski <wk@ire.pw.edu.pl>

View File

@@ -1,7 +1,7 @@
#
# spec file for package uhd
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,21 +16,20 @@
#
%define libname libuhd4_7_0
%define libname libuhd4_9_0
Name: uhd
Version: 4.7.0.0
Version: 4.9.0.0
Release: 0
Summary: The driver for USRP SDR boards
License: GPL-3.0-or-later
Group: Hardware/Other
URL: https://files.ettus.com/manual/
Source0: https://github.com/EttusResearch/uhd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: https://github.com/EttusResearch/uhd/releases/download/v%{version}/uhd-images_%{version}.tar.xz
# PATCH-FIX-UPSTREAM fix-boost1.85-one.patch -- https://github.com/EttusResearch/uhd/commit/ea586168c596d13d05d145832519755794649ba0
# Patch0: fix-boost1.85-one.patch
# PATCH-FIX-UPSTREAM fix-boost1.85-two.patch -- https://github.com/EttusResearch/uhd/commit/c4863b9b9f8b639260f7797157e8ac4dd81fef93
# Patch1: fix-boost1.85-two.patch
BuildRequires: cmake >= 2.6
Patch0: reproducible.patch
# This has been fixed upstream and this patch will need to be removed in next release.
Patch1: boost.patch
BuildRequires: cmake >= 3.5
BuildRequires: docutils
BuildRequires: doxygen
BuildRequires: fdupes
@@ -51,7 +50,6 @@ BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_program_options-devel
BuildRequires: libboost_regex-devel
BuildRequires: libboost_serialization-devel
BuildRequires: libboost_system-devel
BuildRequires: libboost_test-devel
BuildRequires: libboost_thread-devel
@@ -63,7 +61,6 @@ UHD driver standalone or with 3rd party applications.
%package -n %{libname}
Summary: The UHD driver
Group: Hardware/Other
Requires: %{name}-udev >= %{version}
# PRE script requires /usr/sbin/groupadd, that exists in the "shadow" package
Requires(pre): shadow
@@ -76,8 +73,9 @@ UHD driver standalone or with 3rd party applications.
%package utils
Summary: Utility programs for USRP hardware
Group: Hardware/Other
%if 0%{?suse_version} >= 1600
Requires: python3-%{name} >= %{version}
%endif
%description utils
The UHD is the "Universal Software Radio Peripheral" hardware driver.
@@ -89,7 +87,6 @@ This package contains utility programs for handling USRP frontens
%package -n python3-%{name}
Summary: Python bindings for uhd
Group: Hardware/Other
%description -n python3-%{name}
The UHD is the "Universal Software Radio Peripheral" hardware driver.
@@ -101,7 +98,6 @@ This package contains Python bindings UHD.
%package udev
Summary: UHD udev rules
Group: Hardware/Other
%description udev
The UHD is the "Universal Software Radio Peripheral" hardware driver.
@@ -113,7 +109,6 @@ This package contains udev rules for UHD.
%package devel
Summary: Development files for uhd
Group: Development/Libraries/Other
Requires: %{libname} = %{version}
Recommends: %{name}-doc
Requires: libboost_filesystem-devel
@@ -134,7 +129,6 @@ files for development with the UHD Driver.
%package doc
Summary: Documentation files for uhd
Group: Documentation/Other
BuildArch: noarch
%description doc
@@ -142,7 +136,6 @@ This package contains the documentation for the Universal Hardware Driver (UHD).
%package firmware
Summary: Firmware images for uhd
Group: Hardware/Other
Requires: %{libname} = %{version}
BuildArch: noarch
@@ -164,6 +157,7 @@ cd host
%cmake \
-DPYTHON_EXECUTABLE=%{_bindir}/python3 \
-DENABLE_TESTS=OFF \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
%ifarch %arm
-DNEON_SIMD_ENABLE=OFF \
%endif
@@ -185,17 +179,18 @@ sed -i 's/BUS==/SUBSYSTEM==/;s/SYSFS{/ATTRS{/;s/MODE:="0666"/GROUP:="usrp", MODE
install -m 0644 -D %{buildroot}%{_libdir}/uhd/utils/uhd-usrp.rules %{buildroot}%{_udevrulesdir}/10-usrp-uhd.rules
rm %{buildroot}%{_libdir}/uhd/utils/uhd-usrp.rules
## Move documentation to the default docdir
mkdir -p %{buildroot}%{_docdir}/uhd
mv %{buildroot}%{_datadir}/doc/uhd %{buildroot}%{_docdir}/
## Move executable files to the default bindir
mv %{buildroot}%{_libdir}/uhd/utils/*[!.rules] %{buildroot}%{_bindir}
%if 0%{?suse_version} >= 1600
%ifnarch armv7hl
mv %{buildroot}%{_libdir}/uhd/examples/python/* %{buildroot}%{_bindir}
rm -R %{buildroot}%{_libdir}/uhd/examples/python
%endif
%endif
mv %{buildroot}%{_libdir}/uhd/examples/* %{buildroot}%{_bindir}
mv %{buildroot}%{_bindir}/python/* %{buildroot}%{_bindir}
rm -R %{buildroot}%{_bindir}/python
rm -R %{buildroot}%{_libdir}/uhd/examples
#mv %%{buildroot}%%{_libdir}/uhd/tests/*_test %%{buildroot}%%{_bindir}
#
#rm -R %%{buildroot}%%{_libdir}/uhd/tests
#rm -R %%{buildroot}%%{_libdir}/uhd/examples
#
rm %{buildroot}%{_docdir}/uhd/LICENSE
rm %{buildroot}%{_docdir}/uhd/README.md
@@ -208,7 +203,7 @@ mv %{buildroot}%{_libdir}/uhd/utils/query_gpsdo_sensors %{buildroot}%{_bindir}
## extract firmware
mkdir -p %{buildroot}%{_datadir}/uhd/images
tar -xxvf %{SOURCE1} --transform="s,^uhd-images_%{version}/,," --show-transformed-names -C %{buildroot}%{_datadir}/uhd/images/
rm -R %{buildroot}%{_datadir}/uhd/images/winusb_driver/
#rm -R %{buildroot}%{_datadir}/uhd/images/winusb_driver/
# find dupes
%fdupes -s %{buildroot}%{_prefix}
@@ -234,9 +229,13 @@ getent group usrp >/dev/null || %{_sbindir}/groupadd -r usrp
%{_datadir}/uhd/rfnoc
%{_mandir}/man1/*
%if 0%{?suse_version} >= 1600
%files -n python3-%{name}
%ifnarch armv7hl
%{python3_sitearch}/uhd
%{python3_sitearch}/usrp_mpm
%endif
%endif
%files udev
%{_udevrulesdir}/10-usrp-uhd.rules