Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90667 - new ebuild for GnuRadio project
Summary: new ebuild for GnuRadio project
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://www.gnu.org/software/gnuradio/
Whiteboard: sunrise suggested
Keywords: EBUILD
: 170688 (view as bug list)
Depends on:
Blocks: 170688
  Show dependency tree
 
Reported: 2005-04-27 19:10 UTC by Kevin
Modified: 2012-04-17 13:39 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for GNU Radio 3.0.2 tested on x86 (gnuradio-3.0.2.ebuild,2.00 KB, text/plain)
2007-01-16 01:24 UTC, Kyle Kuypers
Details
New ebuild with more explicit dependencies and configure options. (gnuradio-3.1.3.ebuild,1.95 KB, text/plain)
2008-11-16 22:41 UTC, Lukas Sandström
Details
Ebuild for sci-electronics/gnuradio-3.2.2 (gnuradio-3.2.2.ebuild,2.55 KB, text/plain)
2009-07-29 21:11 UTC, Lukas Sandström
Details
ebuild (gnuradio-3.2.2.ebuild,2.52 KB, text/plain)
2010-05-03 04:30 UTC, James Broadhead
Details
metadata (metadata.xml,679 bytes, text/plain)
2010-05-03 04:30 UTC, James Broadhead
Details
Updated ebuild for GNURadio 3.3.0 (gnuradio-3.3.0.ebuild,5.90 KB, text/plain)
2010-08-21 19:50 UTC, Lukas Sandström
Details
USE="-qt4 -wxwidgets +usrp" works again (gnuradio-3.3.0.ebuild,5.86 KB, text/plain)
2010-10-03 17:15 UTC, Lukas Sandström
Details
gnuradio-3.3.0.ebuild (gnuradio-3.3.0.ebuild,5.66 KB, text/plain)
2011-08-08 21:19 UTC, Lukas Sandström
Details
gnuradio-3.5.3.ebuild (gnuradio-3.5.3.ebuild,5.23 KB, text/plain)
2012-04-12 03:02 UTC, Chí-Thanh Christopher Nguyễn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin 2005-04-27 19:10:55 UTC
Software radio capability, with code very close to hardware.  As written up in Linux Journal et. al.  This would be really nice in Gentoo.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-22 06:50:34 UTC
Reopen if you have an ebuild. Meanwhile, marking LATER.
Comment 2 Kyle Kuypers 2007-01-16 01:24:53 UTC
Created attachment 107140 [details]
Ebuild for GNU Radio 3.0.2 tested on x86
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-16 22:54:26 UTC
Reopen...
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-13 07:51:51 UTC
*** Bug 170688 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-03-13 07:52:47 UTC
http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
Comment 6 Daniel Fullmer 2007-04-01 17:35:22 UTC
Gnuradio 3.0.3 is out btw.
Comment 7 Eric Blossom 2007-08-29 04:33:53 UTC
The executable stack problem has been fixed upstream in the GNU Radio
trunk as of r6205.  This fix will be in release 3.1 which is expected in a couple of weeks.
Comment 8 Dror Levin (RETIRED) gentoo-dev 2008-01-09 20:33:42 UTC
Release 3.1.1 is available for some time now - has the issue been fixed?
Comment 9 Eric Blossom 2008-01-09 20:54:52 UTC
(In reply to comment #8)
> Release 3.1.1 is available for some time now - has the issue been fixed?
> 

Yes, it's fixed.

[I'm not sure about the gentoo bug resolution protocol.  It's fixed in GNU Radio;
can somebody who knows what they're doing close this, or whatever needs to
to happen to move this along.  Thx]
Comment 10 Lukas Sandström 2008-10-10 16:58:17 UTC
I renamed the attached ebuild to -3.1.3, and it emerged just fine on amd64.
Comment 11 Lukas Sandström 2008-11-16 22:41:33 UTC
Created attachment 172030 [details]
New ebuild with more explicit dependencies and configure options.

I added some dependencies and USE-flags. The text about avr-gcc was removed, since ezdop isn't included in the 3.1.3 tarball.
Comment 12 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-21 15:01:44 UTC
(this is an automated message based on filtering criteria that matched this bug)
'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached 
to this bug.
This bug is assigned to maintainer-wanted which means that it is not in the 
main tree.

Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. 
We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 13 Lukas Sandström 2009-07-29 21:11:01 UTC
Created attachment 199599 [details]
Ebuild for sci-electronics/gnuradio-3.2.2

New ebuild with updated dependencies for gnuradio-3.2.2.

I don't have access to USRP hardware anymore, so I haven't been able to test it properly, but it builds ok.

Is it possible to use crossdev to get a toolchain for the MicroBlaze arch? It is needed in order to build the firmware for the USRP2.
Comment 14 James Broadhead 2010-05-03 04:30:27 UTC
Created attachment 230109 [details]
ebuild

updated ebuild
Comment 15 James Broadhead 2010-05-03 04:30:45 UTC
Created attachment 230111 [details]
metadata
Comment 16 James Broadhead 2010-05-03 04:32:20 UTC
Initial update of this ebuild, with the intention of adding to sunrise. (or science) overlay. 

Still needs work + testing, but works as-is at present. 

Hard disabled comedi, as there is still no ebuild for comedilib.
Comment 17 Lukas Sandström 2010-08-21 19:50:53 UTC
Created attachment 243941 [details]
Updated ebuild for GNURadio 3.3.0

Here is an updated ebuild for version 3.3.0.
Comment 18 Sven Wehner 2010-09-29 20:48:20 UTC
Hi,

there is a small error in the ebuild of version 3.3.0: If one installs it without the wxwidgets use flag, one receives the following error:
--- snip ---
[...]
Component gr-qtgui passed configuration checks; building.
Component gr-sounder passed configuration checks; building.
Component gr-utils requires gr-wxgui, which is not being built or specified via pre-installed files.
configure: error: Component gr-utils has errors; stopping.
[...]
 * Call stack:
 *     ebuild.sh, line   54:  Called src_configure
 *   environment, line 4948:  Called econf '--with-boost=/usr/include/boost-1_41' '--with-boost-libdir=/usr/lib64/boost-1_41' '--enable-gnuradio-core' '--enable-all-components' '--disable-option-checking' '--disable-gr-audio-windows' '--disable-gr-audio-osx' '--disable-gcell' '--disable-gr-gcell' '--disable-usrp2-firmware' '--enable-gr-audio-alsa' '--disable-doxygen' '--disable-docs' '--disable-dot' '--disable-gr-comedi' '--enable-gnuradio-examples' '--disable-grc' '--enable-usrp' '--enable-gr-usrp' '--enable-gr-gpio' '--enable-gr-radar-mono' '--enable-gr-sounder' '--enable-gr-utils' '--enable-usrp2' '--enable-gr-usrp2' '--disable-gr-audio-jack' '--disable-gr-audio-oss' '--disable-gr-audio-portaudio' '--disable-gr-wxgui' '--disable-gr-video-sdl' '--enable-gr-qtgui' '--with-qwt-incdir=/usr/include/qwt5' '--disable-sdltest'
--- snap ---

I use the following use flags: alsa examples qt4 usb usrp usrp2 (-comedi -doc -dot -grc -jack -oss -portaudio -sdl -wxwidgets)


The problem seems to come from the usrp use flag, which enables gr-utils, which relies on gr-wxgui. Thus I guess, you need to extend the test in pkg_setup() to "-wxwidgets and (grc or usrp)".

Ohh, and USE="alsa examples usb usrp usrp2 -comedi -doc -dot -grc -jack -oss -portaudio -qt4 -sdl -wxwidgets" (qt4 disabled!) fails, because of the following:
--- snip ---
./configure [...] --without-qwt-incdir=/usr/include/qwt5 [...]
configure: error: invalid package name: qwt-incdir=/usr/include/qwt5
--- snap ---
Comment 19 Lukas Sandström 2010-10-03 17:15:16 UTC
Created attachment 249442 [details]
USE="-qt4 -wxwidgets +usrp" works again

Thanks for the report. An updated ebuild is attached.
Comment 20 Martin Wegner 2011-05-09 08:56:59 UTC
To make the above ebuild (attachment #249442 [details]) work for me here, I had to add an dependency on qt-qt3support, otherwise some needed headers were missing and compilation failed.

The patch I applied is:
--- ebuild      2011-05-09 10:52:18.918832872 +0200
+++ /usr/local/portage/sci-electronics/gnuradio/gnuradio-3.3.0.ebuild   2011-04-29 15:09:28.327871427 +0200
@@ -38,7 +38,8 @@
                        x11-misc/xdg-utils )
        jack? ( media-sound/jack-audio-connection-kit )
        portaudio? ( >=media-libs/portaudio-19 )
-       qt4? (  dev-python/PyQt4[opengl,X]
+       qt4? (  x11-libs/qt-qt3support
+                       dev-python/PyQt4[opengl,X]
                        x11-libs/qwt:5
                        >=x11-libs/qwtplot3d-0.2.6-r2 )
        sdl? ( media-libs/libsdl )

I will attach the updated ebuild (or the patch) if requested.

$ emerge --info gnuradio
Portage 2.1.9.48 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r4-odin x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r4-odin-x86_64-Intel-R-_Core-TM-_i5_CPU_M_560_@_2.67GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 09 May 2011 07:45:01 +0000
app-shells/bash:          4.2_p8-r1
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS=" http://128.61.111.10/pub/gentoo http://gentoo.mneisen.org/     ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 amr berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dirac divx dri dts dvb dvd dvdr emboss encode exif faac faad fam ffmpeg firefox flac fuse gdbm gdu gif gnome gnome-keyring gstreamer gtk iconv idn inotify ipv6 jpeg lame lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python readline realmedia samba schroedinger sdl session spell sse sse2 ssl startup-notification svg sysfs syslog tcpd theora tiff truetype udev unicode usb v4l v4l2 vim-syntax vorbis wmp x264 xcb xinerama xml xorg xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sci-electronics/gnuradio-3.3.0 was built with the following:
USE="alsa grc (multilib) qt4 sdl usb usrp wxwidgets -comedi -doc -dot -examples -jack -oss -portaudio -usrp2"
Comment 21 Lukas Sandström 2011-05-09 10:38:43 UTC
(In reply to comment #20)
> To make the above ebuild (attachment #249442 [details]) work for me here, I had to add an
> dependency on qt-qt3support, otherwise some needed headers were missing and
> compilation failed.
> The patch I applied is:
> --- ebuild      2011-05-09 10:52:18.918832872 +0200
> +++ /usr/local/portage/sci-electronics/gnuradio/gnuradio-3.3.0.ebuild  
> 2011-04-29 15:09:28.327871427 +0200
> @@ -38,7 +38,8 @@
>                         x11-misc/xdg-utils )
>         jack? ( media-sound/jack-audio-connection-kit )
>         portaudio? ( >=media-libs/portaudio-19 )
> -       qt4? (  dev-python/PyQt4[opengl,X]
> +       qt4? (  x11-libs/qt-qt3support
> +                       dev-python/PyQt4[opengl,X]
>                         x11-libs/qwt:5
>                         >=x11-libs/qwtplot3d-0.2.6-r2 )
>         sdl? ( media-libs/libsdl )
> I will attach the updated ebuild (or the patch) if requested.
> $ emerge --info gnuradio
> =================================================================
>                         Package Settings
> =================================================================
> sci-electronics/gnuradio-3.3.0 was built with the following:
> USE="alsa grc (multilib) qt4 sdl usb usrp wxwidgets -comedi -doc -dot -examples
> -jack -oss -portaudio -usrp2"

Thanks for the report. No need to send a patch, it is easier for me to just type the few characters needed :)

If you still have it, the build log from the failed build would be intresting to see.
Comment 22 brendan 2011-08-06 05:18:30 UTC
Updating this there was a Deprecation Warning: 

Usage of python_mod_optimize() in packages not supporting installation
for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01.
Use EAPI >=3 and call python_mod_optimize() with paths having appropriate syntax.
The ebuild needs to be fixed. Please report a bug, if it has not been already reported.
Comment 23 Lukas Sandström 2011-08-08 21:19:54 UTC
Created attachment 282617 [details]
gnuradio-3.3.0.ebuild

New revision of the ebuild, updated for EAPI 3. It's just compile tested. If you find any bugs, please report them here.

I removed the usb use flag, since it was completely redundant with the usrp use flag.
Comment 24 Elis Axelsson 2012-04-06 18:41:11 UTC
And GNU Radio 3.5.2.1 have been out for 22 days.
Comment 25 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-04-12 03:02:33 UTC
Created attachment 308595 [details]
gnuradio-3.5.3.ebuild

ebuild for gnuradio-3.5.3

Maybe I'll add this to portage, but as upstream switched to cmake for what will become 3.6 its usefulness is limited.
Comment 26 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-04-17 13:39:24 UTC
Fixed in CVS.