New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18104 (closed submission: fixed)

Opened 4 years ago

Last modified 3 years ago

GnuRadio on Macports

Reported by: horiacosmin@… Owned by: macsforever2000@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: snc@…, mlk@…, devans@…, arobson73@…
Port: gnuradio

Description (last modified by devans@…) (diff)

# $gnuradio$

PortSystem          1.7.0 # ?

name                gnuradio
version             3.1.3
categories          # ? /SDR software defined radio?
maintainers         # ?
description         software defined radio
long_description    GNU Radio is a free software development toolkit that provides the signal processing runtime and processing blocks to implement software radios using readily-available, low-cost external RF hardware and commodity processors. It is widely used in hobbyist, academic and commercial environments to support wireless communications research as well as to implement real-world radio systems.
GNU Radio applications are primarily written using the Python programming language, while the supplied, performance-critical signal processing path is implemented in C++ using processor floating point extensions where available. Thus, the developer is able to implement real-time, high-throughput radio systems in a simple-to-use, rapid-application-development environment.
While not primarily a simulation tool, GNU Radio does support development of signal processing algorithms using pre-recorded or generated data, avoiding the need for actual RF hardware.
homepage            http://gnuradio.org/trac
platforms           darwin
master_sites        http://www.gnu.org/software/gnuradio/                    

checksums           # ? 
                               # ? 
depends_lib         port:libtool \
                    port:gawk \
                    port:guile \
                    port:pkgconfig \
                    port:zlib \
                    port:automake \
                    port:swig \
                    port:cppunit \
                    port:fftw-3-single \
                    port:sdcc \
                    port:python \
                    port:py-numpy \
                    port:py-wxpython \
                    port:doxygen \
                    port:boost \
                    port:libusb

configure.args     # Maybe "--with-boost-include-dir=<path>"
                  

Attachments

GnuRadio_port.2.rtf (3.0 KB) - added by horiacosmin@… 4 years ago.
GnuRadio_port.rtf (3.0 KB) - added by horiacosmin@… 4 years ago.
uploaded file
GnuRadio-port.txt (3.0 KB) - added by horiacosmin@… 4 years ago.
GnuRadio-port.2.txt (2.4 KB) - added by horiacosmin@… 4 years ago.
Portfile (2.7 KB) - added by snc@… 4 years ago.
gnuradio_3.2_MacPorts.tar.bz2 (17.2 KB) - added by mlk@… 4 years ago.
Portfiles and patches for GNU Radio 3.2 Release Tarball

Change History

Changed 4 years ago by horiacosmin@…

Changed 4 years ago by horiacosmin@…

uploaded file

Changed 4 years ago by horiacosmin@…

Changed 4 years ago by horiacosmin@…

comment:1 Changed 4 years ago by snc@…

If you've not had a chance, please see http://guide.macports.org/#development

Please see some suggested modifications in my attached Portfile.

Changed 4 years ago by snc@…

comment:2 Changed 4 years ago by snc@…

  • Cc snc@… added

Cc Me!

comment:3 Changed 4 years ago by mlk@…

  • Cc mlk@… added

Cc Me!

comment:4 Changed 4 years ago by mlk@…

I'm a GNU Radio developer, so feel free to ask me questions if you need answers. - MLD

Some items to note:

  • GNU Radio 3.2 is about to be released. I highly recommend waiting until then to create ports for it. 3.1.3 has a lot of limitations and issues that are fixed in 3.2, and the API for most features will be stable (wasn't for 3.1.3).
  • GNU Radio 3.1.3 can use Python 2.4 or 2.5, while 3.2 requires Python 2.5. GNU Radio does not work with Python 2.6 yet, but will in the near future; either way, MacPorts does not provide the correct py26-foo ports yet, so work remains on both sides for this advancement.
  • "--with-boost-include-dir" might be used, or set CPATH in configure.env correctly (to ${prefix}/include ). This should be sussed out before submitting the Portfile.
  • "--enable-all-components" is not required, and I'd recommend against using it because configure will then error out if -any- non-disabled component can't be built. Not specifying it will just not build that/those component/s, instead of erroring out.
  • "gr-audio-jack" and "gr-audio-portaudio" should be optional components, since they can be compiled and used on OSX. Although they do require "jack" and "portaudio" ports, respectively, they should work "out of the box" when the user select either of those instead of the "gr-audio-osx" native audio I/O component.
  • There are a number of components to GNU Radio which a user may or not want (e.g., grc, gr-audio-osx, gr-gsm-vocoder). Under Linux, one can install just gnuradio-core (and its dependencies) or all the way up to a "gnuradio" meta-port. See the "gimp" meta-port in MacPorts for an example of how GNU Radio components should be available.
  • I'll submit the host of Portfiles for individual components which can work on OSX (except gr-qtgui) once 3.2 is released. The should work "out of the box" for any 10.4 or 10.5 OSX MacPorts user. I've got them working with the latest SVN trunk, which is 3.2rc1, on OSX 10.5. I expect them to work with the actual 3.2 release, but there could be minor changes between then and now which require tweaks to the Portfiles -- which is why I'm not releasing them until 3.2 is released.

comment:5 Changed 4 years ago by horiacosmin@…

  • Cc horiacosmin@… added

Cc Me!

comment:6 Changed 4 years ago by horiacosmin@…

  • Cc horiacosmin@… removed

Cc Me!

comment:7 Changed 4 years ago by horiacosmin@…

  • Cc horiacosmin@… added

Cc Me!

comment:8 Changed 4 years ago by horiacosmin@…

Great! how could we contact together?

comment:9 Changed 4 years ago by horiacosmin@…

Sorry, havn't saw the e-mail adress...

comment:10 Changed 4 years ago by devans@…

  • Cc devans@… added; horiacosmin@… removed
  • Description modified (diff)

Please don't forget to use wiki formatting. Removing reporter from cc since he will be automatically copied.

comment:11 Changed 4 years ago by jmr@…

  • Type changed from enhancement to submission

comment:12 Changed 4 years ago by anonymous

  • Milestone Port Submissions deleted

Milestone Port Submissions deleted

comment:13 Changed 4 years ago by mlk@…

GNU Radio 3.2 was released over the weekend. I've updated my MacPorts Portfiles to be compatible -- a few features were removed at the last moment, and I also found a bug that requires patching to work around. I've fixed the bug in GNU Radio's release repository, but it won't be in a release tarball until 3.2.1. I'm attaching a tarball of the Portfiles I created for this release, allowing for variants for documentation or not, and either Python 2.5 or 2.6. I have only verified that these Portfiles function along with already-installed dependencies; I have not tried these with a clean install of MacPorts -- though I would expect them to work, and I'll try them tonight. If possible, I'd prefer to be the maintainer for these Portfiles, but I'm also open to someone else taking them over if my maintaining them is not an option.

Changed 4 years ago by mlk@…

Portfiles and patches for GNU Radio 3.2 Release Tarball

comment:14 Changed 4 years ago by mlk@…

Please note that when using Python 2.6 from MacPorts (as of 26-May-2009), the following tickets will either cause the install to produce warnings or not function at all: ticket:19190, ticket:19191, and ticket:19192 . The MacPorts install of Python 2.5 has none of these issues, and hence it is probably the better option for now (via the '+python25' variant; '+python26' is the default, and maybe it should not be).

comment:15 Changed 4 years ago by macsforever2000@…

  • Port set to gnuradio

comment:16 Changed 4 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to macsforever2000@…
  • Status changed from new to assigned

comment:17 Changed 4 years ago by macsforever2000@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Committed revision r55234. Thanks!

comment:18 Changed 4 years ago by mlk@…

Thanks! I'll soon submit some updates w/r.t. libusb and newer version of GNU Radio.

comment:19 Changed 4 years ago by macsforever2000@…

FYI, i installed it with the python25 variants, but I left python26 as the default for now.

comment:20 Changed 3 years ago by arobson73@…

  • Cc arobson73@… added

Cc Me!

Note: See TracTickets for help on using tickets.