Index | Thread | Search

From:
Landry Breuil <landry@openbsd.org>
Subject:
Re: comms/gnuradio: any SDR users ? update or remove ?
To:
Bryan Vyhmeister <bryan@bsdjournal.net>
Cc:
ports@openbsd.org, tracey@openbsd.org, mlarkin@openbsd.org
Date:
Tue, 26 Nov 2024 15:45:57 +0100

Download raw body.

Thread
Le Sun, Nov 24, 2024 at 08:30:33AM +0100, Landry Breuil a écrit :
> Le Sat, Nov 23, 2024 at 07:36:05PM -0800, Bryan Vyhmeister a écrit :
> > On Sat, Nov 23, 2024 at 10:47:22AM +0100, Landry Breuil wrote:
> > > comms/gnuradio is at 3.8.2 in our portstree while upstream is at
> > > 3.10.11.0. it is in the way of upgrading boost to 1.87, and has
> > > frequently been in the way of previous boost upgrades. right now in the
> > > portstree its on 'life support'.
> > > 
> > > is anyone using it on OpenBSD ? willing to look at maintaining it ?
> > 
> > I started looking into it a few weeks back when I was updating
> > comms/rtl-sdr and comms/hackrf. I couldn't get it to compile for me in
> > its present state but wanted to try using it. I also noticed it was
> > quite out of date and started looking at updating the comms/gnuradio
> > port but it is certainly a more complicated one.
> 
> it can be challenging. since my initial goal was unbreaking build with
> newer boost and so far i failed at that, here's the wip update to
> 3.10.11.0, that builds with the in-tree boost 1.84 we have.
> 
> - a separate port for volk, which was split off gnuradio
> - improvements needed for:
>   - icons/desktop file install
>   - manpath (probably just a matter of setting GR_MAN_DIR)
>   - rechecking if all run depends are needed
>   - checking the API for each lib and bumping SHARED_LIBS (i'll probably
>     go the lazy way and bump'em'all)
> 
> not sending it as a cvs diff since most of the patches have to be
> removed, but sending it as a tarball so the wip patches for boost are in
> the open... and since i have no idea how to use that zero runtime
> testing done. Welcoming tests from actual users, suspects in cc :)

new ports, now i think in a nearly commitable state:
- manpath/icons/desktop file fixed
- volk deconflicted with graphics/volk:
  - changed PKGNAME
  - manually moved cmake files to lib/cmake/libvolk
  - instruct gnuradio to find those via -DVolk_DIR
- i've checked that if graphics/volk was installed it wasn't picked
  instead of devel/volk - i can move the volk port to devel/libvolk ofc
- working patches for boost 1.87, and also works with boost 1.84. Well,
  builds.

Runtime feedback from real SDR users welcome. Oks for the new volk port too :)

Landry