Re: Minimal install of GNU Radio without GUI, etc

2022-04-11 Thread Marcus Müller
Good approach, and instead of *disabling* everything manually, you can switch CMake away 
from enabling it by default:


cmake -DENABLE_DEFAULT=Off -DENABLE_GNURADIO_RUNTIME=On -DENABLE_GR_BLOCKS=On 
-DENABLE_PYTHON=ON ..


(You can enable the gr-xyz submodule use -DENABLE_GR_XYZ=On; you probably want to do that 
with fft, filter, blocks, digital, analog to get a base stock of signal processing blocks)


Best,
Marcus



On 11.04.22 01:35, Paul Atreides wrote:
Pybombs is still maintained, just not recommended. If you know how to use. it still works 
fine 3.8, 3.9 and 3.10 using pybombs.

That being said, the recipe files might not be up-to-date for 3.10.
You can use ccmake (apt install cmake-curses-gui)
And see all the build flags. I think it’s something like GRC_ENABLED=False
 From what I understand you can also disable other in-tree blocks that way (gr-UHD for 
example).






On Apr 10, 2022, at 17:55, Jason McHuff  wrote:

Hello,

Years ago now, I set up GNU Radio for use with Trunk Recorder ( 
https://github.com/robotastic/trunk-recorder ) and was able to get a minimal install of 
GNU Radio by using PyBOMBS and editing the recipe files (see 
https://lists.gnu.org/archive/html/discuss-gnuradio/2016-08/msg00106.html )



I now am interested in upgrading from v3.8.3.1-16-g9d94c8a6 which that installed but I 
see that PyBOMBS is now deprecated. Does anybody have ideas on how to build/install 
current GNURadio without GUI, etc?  As in what configure options to use?  I'm using 
Ubuntu 20.04.2 LTS and the distro version has way too many dependencies that I'm not 
interested in.


Thanks!



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Minimal install of GNU Radio without GUI, etc

2022-04-11 Thread Marcus Müller

Hey Jason,

since you're on Ubuntu, which essentially uses the excellent debian packaging of GNU 
Radio: I honestly think updating to Ubuntu 22.04LTS and then just using apt to get GNU 
Radio 3.10 is a winning move:


## Upgrade to Ubuntu 22.04
# all as root
apt update
apt install update-manager-core
apt dist-upgrade
apt autoremove
# remove the -d after 2022-04-14
do-release-upgrade -d
# follow on-screen directions, reboot: you got Ubuntu 22.04

In the freshly set up Ubuntu 22.04

sudo apt install \
libgnuradio-{fft,digital,analog,blocks,filter,fec,network,channels,dtv,soapy,audio}3.10.1


(remove what you don't need from the {})

Cheers,
Marcus

On 10.04.22 23:54, Jason McHuff wrote:

Hello,

Years ago now, I set up GNU Radio for use with Trunk Recorder ( 
https://github.com/robotastic/trunk-recorder ) and was able to get a minimal install of 
GNU Radio by using PyBOMBS and editing the recipe files (see 
https://lists.gnu.org/archive/html/discuss-gnuradio/2016-08/msg00106.html )



I now am interested in upgrading from v3.8.3.1-16-g9d94c8a6 which that installed but I see 
that PyBOMBS is now deprecated. Does anybody have ideas on how to build/install current 
GNURadio without GUI, etc?  As in what configure options to use?  I'm using Ubuntu 20.04.2 
LTS and the distro version has way too many dependencies that I'm not interested in.


Thanks!



smime.p7s
Description: S/MIME Cryptographic Signature