Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 426586

Summary: sci-electronics/sigrok - a portable, cross-platform, Free/Libre/Open-Source signal analysis software suite
Product: Gentoo Linux Reporter: Christopher Friedt <chrisfriedt>
Component: New packagesAssignee: Embedded Team (OBSOLETE) <dev-embedded+disabled>
Severity: enhancement CC: jmesmon, kripton, sci-electronics
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: fx2lafw-9999.ebuild

Description Christopher Friedt 2012-07-14 13:15:48 UTC
Here are some new ebuilds for sigrok.

There might be some dependencies that I'm lacking, and otherwise, I think I need to edit the sigrok-qt ebuild compile() stage to just call qmake then make (or inherit something from qt). 

Otherwise, they work... can't say that sigrok works particularly well yet though. I didn't find either UI particularly usable (at least with my USBee AX).

Oh well, just thought I would put them in the hands of developers.

I'll probably try to migrate some work I've done on the syscomp-design hardware so that it can be used as a logic analyzer as well.

Reproducible: Always
Comment 1 Christopher Friedt 2012-07-14 13:18:22 UTC
Created attachment 318136 [details]

This is the open source firmware ebuild. It pulls in sdcc to build the firmware.
Comment 2 Christopher Friedt 2012-07-14 13:19:41 UTC
Created attachment 318138 [details]

this ebuild requires


in its files/ directory
Comment 3 Christopher Friedt 2012-07-14 13:20:18 UTC
Created attachment 318140 [details, diff]

patch that accompanies fx2lib-9999.ebuild
Comment 4 Christopher Friedt 2012-07-14 13:20:47 UTC
Created attachment 318142 [details, diff]

patch that accompanies fx2lib-9999.ebuild
Comment 5 Christopher Friedt 2012-07-14 13:21:08 UTC
Created attachment 318144 [details]
Comment 6 Christopher Friedt 2012-07-14 13:21:30 UTC
Created attachment 318146 [details]
Comment 7 Christopher Friedt 2012-07-14 13:21:48 UTC
Created attachment 318148 [details]
Comment 8 Christopher Friedt 2012-07-14 13:22:09 UTC
Created attachment 318150 [details]
Comment 9 Christopher Friedt 2012-07-14 13:22:31 UTC
Created attachment 318152 [details]
Comment 10 Christopher Friedt 2012-07-14 13:23:46 UTC
Created attachment 318154 [details]

this ebuild still needs some qt-love ... any volunteers familiar with qt ebuilds?
Comment 11 Christopher Friedt 2012-07-14 13:24:27 UTC
Created attachment 318156 [details]

a wrapper that will install sigrok-gtk, sigrok-qt, or both

... might still need some love
Comment 12 Christopher Friedt 2012-07-14 13:27:19 UTC
I just stuck these under the dev-embedded category, but feel free to put them elsewhere.
Comment 13 jannis 2012-10-19 18:39:07 UTC
Hi, thanks for the ebuilds. Emerging them right now. Some notes:
- sigrok-gtk misses dependencies (libsigrok and evetually libsigrokdecode and libsigrokfile)
- IMHO, it's better to use SLOT-dependencies for libusb in libsigrok (and better depend on virtual/libusb than on dev-libs/libusb) and for python:3 in libsigrokdecode
- The sigrok-qt ebuild needs to depend on (at least) qt-gui. But I'll try that one later and attach an updated version here that uses the "qt4-r2" eclass. Wouldn't be my first qt4-r2-based ebuild
Comment 14 jannis 2012-10-19 19:04:27 UTC
one more note: I needed to add:
inherit eutils autotools

to the libsigrokfile-ebuild, otherwise it failed with:
/usr/lib64/portage/bin/ line 213: wait: `Failed Running automake !': not a pid or valid job spec

It doesn't fail when I uninstall automake:1.12 but that ain't the right solution :)

libsigrokdecode didn't need this modification

fx2lafw fails to compile here: make[2]: *** [fx2.lib] Segmentation fault
I don't know if it's temporary (we're talking about live-git ebuilds here) or not. Will retry in some days. So here's where the story ends for today ...
Comment 15 jannis 2012-11-04 22:43:05 UTC
Created attachment 328366 [details]

Ebuild for sigrok-qt using the qt4-r2 eclass and no autotools at all :)
Comment 16 Christopher Friedt 2012-11-04 22:54:31 UTC
(In reply to comment #15)
> Created attachment 328366 [details]
> sigrok-qt-9999.ebuild
> Ebuild for sigrok-qt using the qt4-r2 eclass and no autotools at all :)

No autotools at all can sometimes be a good thing :)
Comment 17 Cody Schafer 2013-07-29 19:55:48 UTC
I've created new ebuilds in an overlay avalaible here:

This adds non-live ebuilds, pulseview (the new qt gui), and drops libsigrokfile, sigrok-qt, sigrok-gtk, and fx2lib (fx2lafw includes a modified version).
Comment 22 SpanKY gentoo-dev 2014-06-14 06:25:58 UTC
Comment on attachment 318152 [details]

the qt interface is deprecated upstream, so won't bother adding ebuilds for it
Comment 23 SpanKY gentoo-dev 2014-06-14 06:26:13 UTC
Comment on attachment 318154 [details]

the gtk interface is deprecated upstream, so won't bother adding ebuilds for it
Comment 24 SpanKY gentoo-dev 2014-06-14 06:27:13 UTC
Comment on attachment 318156 [details]

i don't see value in this meta package.  no one installs the libs directly (unless they're a dev), and that leaves you with picking an interface -- either the CLI or the GUI.  at which point this ebuild is overkill.
Comment 25 SpanKY gentoo-dev 2014-06-14 06:29:13 UTC
Comment on attachment 318148 [details]

libsigrokfile appears to be dead, so won't bother with ebuilds for it
Comment 27 SpanKY gentoo-dev 2014-06-14 06:48:57 UTC
Comment on attachment 318136 [details]

afaict, these firmware ebuilds are no longer needed with sigrok-firmware-fx2lafw in the tree
Comment 29 SpanKY gentoo-dev 2014-06-14 07:03:39 UTC
this bug is plenty long now, and all the relevant packages are in the tree

if you run into troubles with any of them, let's move the work to new bugs
Comment 30 Christopher Friedt 2014-06-14 16:24:56 UTC
Thanks for getting it in!