Created attachment 220794 [details] comms/limesuite new port shar Lime Suite is a collection of software supporting several hardware platforms including the LimeSDR, drivers for the LMS7002M transceiver RFIC, and other tools for developing with LMS7-based hardware. Installing the Lime Suite enables many SDR applications such as GQRX to work with supported hardware through the bundled SoapySDR support module. WWW: https://github.com/myriadrf/LimeSuite Following port options are available: DOCS GUI QUICKTEST OCTAVE REMOTE Port options enabled by default: 1. GUI - uses WX3.1. 2. QUICKTEST - uses FLTK. Port options that can be enabled by hand: 1. DOCS - depends on Doxygen. 2. OCTAVE - depends on Octave. 3. REMOTE - enables library to act as network daemon.
Created attachment 220795 [details] comms/limesuite new port shar In the meantime I have added SoapySDR module generation. It depends on SoapySDR and it is enabled by default for this mode of operations.
If possible please submit a diff/patch file, it's much easier to review CMAKE_ARGS --> CMAKE_ON / CMAKE_OFF (and remove +) PLIST_SUB+ --> (remove +) QUICKTEST --> TEST (for consistency with ports if it's for unit testing) Are any of the patches cherry picked from upstream and if not please submit upstream.
Created attachment 220958 [details] diff-with-small-fixes This testbuilds fine. It still has CMAKE_ARGS stuff
Created attachment 221032 [details] latest limesuite as tarball N.B. CMake gets upset if you try to build port in usermode and not as root for some reason CMake tries to set a rlib on the stagedir binary COPYBIN leaves the binaries as read only.
Additionally some startup weirdness that maybe could be looked at. (See additional attachment) other than that I think it looks good to go. Additional runtime testing I can do perhaps tomorrow with my LimeSDR. Looking forward to this port!
Created attachment 221034 [details] start up assertions A number of weird startup assertions. Not sure if these can be fixed?
Hello world :-) I am back after short christmas break sorry :-) Merry Christmas :-) Testing requested changes: 1. CMAKE_ARGS -> CMAKE_ON/OFF. 2. PLIST_SUB + removed only in the first occurrence? 3. QUICKTEST is the additional dedicated self-test suite compiled as separate binary that introduces additional dependency on FLTK this is why I have dedicated it a separate option. It is not really generic unit testing related :-) 4. shar -> diff. All work dedicated to porting LimeSDR and LimeSuite to FreeBSD is documented here: https://github.com/myriadrf/LimeSuite/wiki/LimeSDR-on-FreeBSD Most of the patches attached to port are already sent to upstream as dedicated github issues. The goal is to make LimeSuite build and running on FreeBSD first, then fix software issues + patch upstream + update port, also fix firmware issues and patch upstream, in small measurable steps and results :-)
Created attachment 221061 [details] new port as patch
I have reported the wx assertions issue at github upstream :-) https://github.com/myriadrf/LimeSuite/issues/338
Hey @db are my changes okay? Can we commit the port please? More users means more testing and faster problems solution and port updates + fixes :-)
A commit references this bug: Author: db Date: Thu Dec 31 01:35:42 UTC 2020 New revision: 559702 URL: https://svnweb.freebsd.org/changeset/ports/559702 Log: Lime Suite is a collection of software supporting several hardware platforms including the LimeSDR, drivers for the LMS7002M transceiver RFIC, and other tools for developing with LMS7-based hardware. Installing the Lime Suite enables many SDR applications such as GQRX to work with supported hardware through the bundled SoapySDR support module. PR: ports/252032 Submitted by: tomek@cedro.info Changes: head/comms/Makefile head/comms/limesuite/ head/comms/limesuite/Makefile head/comms/limesuite/distinfo head/comms/limesuite/files/ head/comms/limesuite/files/patch-CMakeLists.txt head/comms/limesuite/files/patch-Desktop_CMakeLists.txt head/comms/limesuite/files/patch-src_ConnectionRemote_ConnectionRemote.cpp head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITE.cpp head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITEEntry.cpp head/comms/limesuite/files/patch-src_FPGAcontrols__wxgui_FPGAcontrols__wxgui.cpp head/comms/limesuite/pkg-descr head/comms/limesuite/pkg-plist
Thank You Diane :-) All The Best in 2021 :-) 73 SQ7MHZ