Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 426586 - sci-electronics/sigrok - a portable, cross-platform, Free/Libre/Open-Source signal analysis software suite
Summary: sci-electronics/sigrok - a portable, cross-platform, Free/Libre/Open-Source s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Embedded Team (OBSOLETE)
URL: http://sigrok.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-14 13:15 UTC by Christopher Friedt
Modified: 2014-06-14 16:24 UTC (History)
3 users (show)

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


Attachments
fx2lafw-9999.ebuild (fx2lafw-9999.ebuild,590 bytes, text/plain)
2012-07-14 13:18 UTC, Christopher Friedt
Details
fx2lib-9999.ebuild (fx2lib-9999.ebuild,540 bytes, text/plain)
2012-07-14 13:19 UTC, Christopher Friedt
Details
make_install.patch (make_install.patch,326 bytes, patch)
2012-07-14 13:20 UTC, Christopher Friedt
Details | Diff
sdcclib_too_many_args.patch (sdcclib_too_many_args.patch,319 bytes, patch)
2012-07-14 13:20 UTC, Christopher Friedt
Details | Diff
libsigrok-9999.ebuild (libsigrok-9999.ebuild,824 bytes, text/plain)
2012-07-14 13:21 UTC, Christopher Friedt
Details
libsigrokdecode-9999.ebuild (libsigrokdecode-9999.ebuild,872 bytes, text/plain)
2012-07-14 13:21 UTC, Christopher Friedt
Details
libsigrokfile-9999.ebuild (libsigrokfile-9999.ebuild,747 bytes, text/plain)
2012-07-14 13:21 UTC, Christopher Friedt
Details
sigrok-cli-9999.ebuild (sigrok-cli-9999.ebuild,760 bytes, text/plain)
2012-07-14 13:22 UTC, Christopher Friedt
Details
sigrok-gtk-9999.ebuild (sigrok-gtk-9999.ebuild,691 bytes, text/plain)
2012-07-14 13:22 UTC, Christopher Friedt
Details
sigrok-qt-9999.ebuild (sigrok-qt-9999.ebuild,677 bytes, text/plain)
2012-07-14 13:23 UTC, Christopher Friedt
Details
sigrok-9999.ebuild (sigrok-9999.ebuild,735 bytes, text/plain)
2012-07-14 13:24 UTC, Christopher Friedt
Details
sigrok-qt-9999.ebuild (sigrok-qt-9999.ebuild,947 bytes, text/plain)
2012-11-04 22:43 UTC, jannis
Details

Note You need to log in before you can comment on or make changes to this bug.
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]
fx2lafw-9999.ebuild

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]
fx2lib-9999.ebuild

this ebuild requires

make_install.patch
sdcclib_too_many_args.patch

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

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

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

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]
sigrok-9999.ebuild

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:
WANT_AUTOMAKE=1.11
inherit eutils autotools

to the libsigrokfile-ebuild, otherwise it failed with:
/usr/lib64/portage/bin/isolated-functions.sh: 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]
sigrok-qt-9999.ebuild

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: https://github.com/jmesmon/sigrok-overlay

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]
sigrok-gtk-9999.ebuild

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]
sigrok-qt-9999.ebuild

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]
sigrok-9999.ebuild

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-9999.ebuild

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]
fx2lafw-9999.ebuild

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!