GithubHelp home page GithubHelp logo

dab-recipes's Introduction

DAB-recipes

DAB recipes to install Opendigitalradio and related tools with PyBOMBS (Python Build Overlay Managed Bundle System)

The ODR suite was awkward to compile or rebuild by hand and PyBOMBS seemed to be capable of doing the required buildchain work.

In addition PyBOMBS compiles UHD for which is used by odr-dabmod and rtl-sdr by dabtools.

This repo provides a less manual way of compiling the following applications, so far:

Install

Install Debian or Ubuntu, then follow this section for installing PyBOMBS (Python Build Overlay Managed Bundle System) and then DAB-recipes which will build Opendigitalradio and related tools for you.

apt-get install sudo python-pip
pip install PyBOMBS

pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git
pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git
pybombs recipes add dab-recipes git+https://github.com/Opendigitalradio/DAB-recipes.git
pybombs prefix init /path/to/prefix -a dab

# This will take some time, with UHD mostly and will also install system packages like libboost, libmpg123
# You can skip any recipes that you do not need.

list="odr-dabmux odr-dabmod odr-audioenc odr-padenc etisnoop dabtools dablin fdk-aac ka9q-fec eti-tools"
pybombs install $list

# Copy udev SDR.rules and reload udev
sudo cp -v /path/to/prefix/src/rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/.
sudo cp -v /path/to/prefix/src/uhd/host/utils/uhd-usrp.rules /etc/udev/rules.d/.
sudo udevadm control --reload

cd /path/to/prefix
. setup_env.sh  # To use the tools that have been built

# Invoke the programs as you need.

Usage

For ongoing usage:

cd /path/to/prefix
. ./setup_env.sh  # To use the tools that have been built

# Invoke the programs as you need.

########## Example ##########
etisnoop -h
odr-dabmux -h
odr-dabmod
odr-audioenc
odr-padenc
dab2eti -h
eti2mpa
dablin
na2ni -h
ni2http -h
ts2na -h
########## Example ##########

Rebuild

# Refetch the repo from source location
list="odr-dabmux odr-dabmod odr-audioenc odr-padenc etisnoop dabtools dablin fdk-aac ka9q-fec eti-tools"
pybombs recipes update
pybombs refetch $list
# You can edit source locally and then rebuild when developing
pybombs rebuild $list

Source are stored in: /path/to/prefix/src/REPO/
Recipes are stored in: ~/.pybombs/recipes/dab-recipes/

New recipes development

You can select a git branch to get recipes from.

pybombs recipes add libdab git+https://github.com/Opendigitalradio/DAB-recipes.git@libdab

dab-recipes's People

Contributors

davidlutton avatar mpbraendli avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

gunawanw9

dab-recipes's Issues

odr-audioenc recipe fails to detect libmagicwand

This was done using the Debian Jessie minimal image released in September. I don't have the fine detail to hand unfortunately.

pi@raspberrypi:~ $ list="odr-audioenc odr-padenc fdk-aac ka9q-fec"
pi@raspberrypi:~ $ pybombs install $list
PyBOMBS - INFO - PyBOMBS Version 2.2.0
PyBOMBS.DepManager - ERROR - Package does not exist: libmagickwand (declared as dependency for package odr-audioenc)

However:

pi@raspberrypi:~ $ sudo apt-get install libmagickwand-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmagickwand-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I haven't really looked into it further. I was able to compile odr-audioenc in the usual way, so it looks like the recipe fails to detect it for some reason.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.