Index: head/comms/Makefile =================================================================== --- head/comms/Makefile (revision 559701) +++ head/comms/Makefile (revision 559702) @@ -1,219 +1,220 @@ # $FreeBSD$ # COMMENT = Communication utilities SUBDIR += acfax SUBDIR += airspy SUBDIR += aldo SUBDIR += amtterm SUBDIR += anyremote SUBDIR += apitran SUBDIR += aprsd SUBDIR += atslog SUBDIR += bfhist SUBDIR += bforce-kst SUBDIR += birda SUBDIR += bladerf SUBDIR += bluegps SUBDIR += bluez-firmware SUBDIR += bpl+ SUBDIR += chu SUBDIR += comserv SUBDIR += concordance SUBDIR += conserver-com SUBDIR += cqrlog SUBDIR += cubicsdr SUBDIR += cutecom SUBDIR += cwdaemon SUBDIR += cwstudio SUBDIR += dcf77pi SUBDIR += deforaos-phone SUBDIR += dfu-programmer SUBDIR += dfu-util SUBDIR += digiham SUBDIR += direwolf SUBDIR += dsd SUBDIR += dump1090 SUBDIR += ebook2cw SUBDIR += ebook2cwgui SUBDIR += ebusd SUBDIR += echolinux SUBDIR += efax SUBDIR += ems-flasher SUBDIR += fl_moxgen SUBDIR += flamp SUBDIR += flcluster SUBDIR += fldigi SUBDIR += fllog SUBDIR += flmsg SUBDIR += flrig SUBDIR += flwrap SUBDIR += freedv SUBDIR += gammu SUBDIR += gkermit SUBDIR += gnocky SUBDIR += gnokii SUBDIR += gnuradio SUBDIR += gpredict SUBDIR += gqrx SUBDIR += gr-osmosdr SUBDIR += grig SUBDIR += gstreamer1-plugins-spandsp SUBDIR += gtkmmorse SUBDIR += hackrf SUBDIR += hamlib SUBDIR += hcidump SUBDIR += hidapi SUBDIR += hylafax SUBDIR += ibp SUBDIR += inspectrum SUBDIR += iwmbt-firmware SUBDIR += java-simple-serial-connector SUBDIR += kb SUBDIR += kermit SUBDIR += klog SUBDIR += libconcord SUBDIR += libfap SUBDIR += libfec SUBDIR += libimobiledevice SUBDIR += libirman SUBDIR += libmodbus SUBDIR += librs232 SUBDIR += libsdr SUBDIR += libsdr-gui SUBDIR += libticables2 SUBDIR += libticalcs2 SUBDIR += libusbmuxd + SUBDIR += limesuite SUBDIR += linrad SUBDIR += liquid-dsp SUBDIR += lirc SUBDIR += locator SUBDIR += lrzsz SUBDIR += lysdr SUBDIR += mbelib SUBDIR += mgetty+sendfax SUBDIR += minicom SUBDIR += mlan3 SUBDIR += morse SUBDIR += multimon-ng SUBDIR += nanovna-saver SUBDIR += nasawash SUBDIR += ncid SUBDIR += nec2c SUBDIR += nmealib SUBDIR += o2sms SUBDIR += obexapp SUBDIR += opencbm SUBDIR += opencbm-kmod SUBDIR += opencbm-plugin-xa1541 SUBDIR += openobex SUBDIR += openzwave SUBDIR += openzwave-devel SUBDIR += owfs SUBDIR += p5-Cisco-UCS SUBDIR += p5-Device-Gsm SUBDIR += p5-Device-Modem SUBDIR += p5-Device-SerialPort SUBDIR += p5-Fax-Hylafax-Client SUBDIR += p5-Nexmo-SMS SUBDIR += p5-SMS-SMS77 SUBDIR += p5-SMS-Send SUBDIR += p5-SMS-Send-DeviceGsm SUBDIR += p5-SMS-Send-NexmoUnicode SUBDIR += p5-SMS-Send-TW-HiAir SUBDIR += p5-SMS-Send-TW-PChome SUBDIR += p5-SMS-Send-TW-Qma SUBDIR += p5-SMS-Send-TW-ShareSMS SUBDIR += p5-SMS-Send-TW-Socket2Air SUBDIR += p5-SMS-Send-TW-chtsns SUBDIR += p5-SMS-Send-TW-emome SUBDIR += pear-Horde_ActiveSync SUBDIR += pear-Horde_SyncMl SUBDIR += picocom SUBDIR += pr SUBDIR += predict SUBDIR += py-adafruit-ampy SUBDIR += py-esptool SUBDIR += py-hidapi SUBDIR += py-lirc SUBDIR += py-pyserial SUBDIR += py-qt5-sensors SUBDIR += py-qt5-serialport SUBDIR += py-xmodem SUBDIR += pyla SUBDIR += qico SUBDIR += qpage SUBDIR += qrq SUBDIR += qsstv SUBDIR += qt5-connectivity SUBDIR += qt5-sensors SUBDIR += qt5-serialbus SUBDIR += qt5-serialport SUBDIR += qtel SUBDIR += redsea SUBDIR += remserial SUBDIR += rtl-sdr SUBDIR += rubygem-callsign SUBDIR += rubygem-ruby-termios SUBDIR += rubygem-serialport SUBDIR += rxtx SUBDIR += scmxx SUBDIR += scrcpy SUBDIR += sdr-wspr SUBDIR += ser2net SUBDIR += serialoverip SUBDIR += seyon SUBDIR += sms_client SUBDIR += smstools3 SUBDIR += snap7 SUBDIR += soapyairspy SUBDIR += soapybladerf SUBDIR += soapyplutosdr SUBDIR += soapyredpitaya SUBDIR += soapyremote SUBDIR += soapysdrhackrf SUBDIR += soapyuhd SUBDIR += spandsp SUBDIR += splat SUBDIR += sredird SUBDIR += sunxi-tools SUBDIR += svxlink SUBDIR += syncterm SUBDIR += tcpser SUBDIR += telldus-core SUBDIR += thebridge SUBDIR += tilp2 SUBDIR += tio SUBDIR += tits SUBDIR += tkhylafax SUBDIR += tkscanfax SUBDIR += tlf SUBDIR += trustedqsl SUBDIR += twpsk SUBDIR += uarduno SUBDIR += uartlirc SUBDIR += uhd SUBDIR += uird SUBDIR += ujprog SUBDIR += unixcw SUBDIR += usbmuxd SUBDIR += viewfax SUBDIR += vrflash SUBDIR += wsjtx SUBDIR += wwl SUBDIR += wy60 SUBDIR += xastir SUBDIR += xcwcp SUBDIR += xdemorse SUBDIR += xdx SUBDIR += xlog SUBDIR += xmorse SUBDIR += xnec2c SUBDIR += xnecview SUBDIR += yagiuda SUBDIR += yaps SUBDIR += yfklog SUBDIR += zssh .include Index: head/comms/limesuite/Makefile =================================================================== --- head/comms/limesuite/Makefile (nonexistent) +++ head/comms/limesuite/Makefile (revision 559702) @@ -0,0 +1,93 @@ +# $FreeBSD$ + +PORTNAME= limesuite +DISTVERSIONPREFIX= v +DISTVERSION= 20.10.0 +CATEGORIES= comms astro hamradio + +MAINTAINER= tomek@cedro.info +COMMENT= Software Defined Radio Software Suite from Lime Microsystems + +LICENSE= APACHE20 + +BUILD_DEPENDS= gnuplot:math/gnuplot +RUN_DEPENDS= sqlite3:databases/sqlite3 + +USES= cmake +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= myriadrf +GH_PROJECT= LimeSuite + +# DESKTOP IS LINUX ONLY. +# SPI IS LINUX ONLY. +# STREAM UNITE BROKEN UPSTREAM +CMAKE_OFF= ENABLE_DESKTOP \ + ENABLE_SPI \ + ENABLE_STREAM \ + ENABLE_STREAM_UNITE + +CMAKE_ON= ENABLE_LIBRARY \ + ENABLE_LIME_UTIL \ + ENABLE_EXAMPLES \ + ENABLE_LIMERFE \ + ENABLE_EVB7COM + +OPTIONS_DEFINE= DOCS GUI QUICKTEST OCTAVE REMOTE SOAPYSDR +OPTIONS_DEFAULT= GUI QUICKTEST SOAPYSDR +OPTIONS_UNSET= DOCS +OPTIONS_SUB= yes +QUICKTEST_DESC= Build QuickTest Self-Test suite +OCTAVE_DESC= Enable Octave integration +REMOTE_DESC= Enable remote testing operations +SOAPYSDR_DESC= Build LMS7 SoapySDR bindings + +PLIST_SUB= PORTVERSION=${PORTVERSION} + +DOCS_CMAKE_BOOL= ENABLE_API_DOXYGEN +DOCS_BUILD_DEPENDS= doxygen:devel/doxygen + +GUI_CMAKE_BOOL= ENABLE_GUI + +QUICKTEST_CMAKE_BOOL= ENABLE_QUICKTEST +QUICKTEST_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk + +OCTAVE_CMAKE_BOOL= ENABLE_OCTAVE +OCTAVE_BUILD_DEPENDS= octave:math/octave +PLIST_SUB+= OCTAVE_VERSION=${OCTAVE_VERSION} + +REMOTE_CMAKE_BOOL= ENABLE_REMOTE + +SOAPYSDR_CMAKE_BOOL= ENABLE_SOAPY_LMS7 +SOAPYSDR_LIB_DEPENDS= libSoapySDR.so:misc/soapysdr + +.include + +.if ${PORT_OPTIONS:MGUI} +USES+= gl xorg +USE_XORG= x11 ice sm xcursor xext xfixes xinerama xft xrender +USE_GL= gl glu +USE_WX= 3.1 +WX_COMPS= wx:lib +LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig +.endif + +post-build: +# N.B. COPYTREE_BIN here chmods 555 which breaks CMAKE_INSTALL in user mode! + (cd ${BUILD_WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/bin) + ${CHMOD} u+w ${STAGEDIR}${PREFIX}/bin/* + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) +.endif +.if ${PORT_OPTIONS:MGUI} + ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps + ${MKDIR} ${STAGEDIR}${PREFIX}/share/applications + (cd ${WRKSRC}/Desktop && ${CP} *.png ${STAGEDIR}${PREFIX}/share/pixmaps/) + (cd ${WRKSRC}/Desktop && ${CP} lime-suite.desktop ${STAGEDIR}${PREFIX}/share/applications/) +.endif + +.include "../../math/octave/Makefile.version" +.include Property changes on: head/comms/limesuite/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/limesuite/distinfo =================================================================== --- head/comms/limesuite/distinfo (nonexistent) +++ head/comms/limesuite/distinfo (revision 559702) @@ -0,0 +1,3 @@ +TIMESTAMP = 1608434916 +SHA256 (myriadrf-LimeSuite-v20.10.0_GH0.tar.gz) = f6d79dc67cb52a5aea839d1dc00e65f85367cb2c275d77f149833d32cf79b467 +SIZE (myriadrf-LimeSuite-v20.10.0_GH0.tar.gz) = 5421065 Property changes on: head/comms/limesuite/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/limesuite/files/patch-CMakeLists.txt =================================================================== --- head/comms/limesuite/files/patch-CMakeLists.txt (nonexistent) +++ head/comms/limesuite/files/patch-CMakeLists.txt (revision 559702) @@ -0,0 +1,14 @@ +--- CMakeLists.txt.orig 2020-10-29 09:52:56 UTC ++++ CMakeLists.txt +@@ -171,6 +171,11 @@ if (ENABLE_NEW_GAIN_BEHAVIOUR) + add_definitions(-DNEW_GAIN_BEHAVIOUR) + endif() + ++if (CMAKE_SYSTEM_NAME MATCHES "BSD") ++ include_directories("/usr/local/include") ++ add_definitions(-D__unix__=1) #we use this for unix detection, but clang does not define it ++endif() ++ + ######################################################################## + # rpath setup - http://www.cmake.org/Wiki/CMake_RPATH_handling + ######################################################################## Property changes on: head/comms/limesuite/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/limesuite/files/patch-Desktop_CMakeLists.txt =================================================================== --- head/comms/limesuite/files/patch-Desktop_CMakeLists.txt (nonexistent) +++ head/comms/limesuite/files/patch-Desktop_CMakeLists.txt (revision 559702) @@ -0,0 +1,19 @@ +--- Desktop/CMakeLists.txt.orig 2020-10-29 09:52:56 UTC ++++ Desktop/CMakeLists.txt +@@ -1,13 +1,13 @@ + ######################################################################## + ## Feature registration + ######################################################################## +-if(CMAKE_SYSTEM_NAME STREQUAL "Linux") +- set(LINUX TRUE) ++if(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR "FreeBSD") ++ set(UNIX TRUE) + endif() + + include(FeatureSummary) + include(CMakeDependentOption) +-cmake_dependent_option(ENABLE_DESKTOP "Enable LimeSuite launcher and icons" ON "ENABLE_GUI;LINUX" OFF) ++cmake_dependent_option(ENABLE_DESKTOP "Enable LimeSuite launcher and icons" ON "ENABLE_GUI;UNIX" OFF) + add_feature_info(LimeSuiteDesktop ENABLE_DESKTOP "LimeSuite freedesktop integration") + if (NOT ENABLE_DESKTOP) + return() Property changes on: head/comms/limesuite/files/patch-Desktop_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/limesuite/files/patch-src_ConnectionRemote_ConnectionRemote.cpp =================================================================== --- head/comms/limesuite/files/patch-src_ConnectionRemote_ConnectionRemote.cpp (nonexistent) +++ head/comms/limesuite/files/patch-src_ConnectionRemote_ConnectionRemote.cpp (revision 559702) @@ -0,0 +1,13 @@ +--- src/ConnectionRemote/ConnectionRemote.cpp.orig 2020-10-29 09:52:56 UTC ++++ src/ConnectionRemote/ConnectionRemote.cpp +@@ -31,6 +31,10 @@ + #include + #endif // LINUX + ++#if defined(__FreeBSD__) ++#include ++#endif ++ + using namespace std; + using namespace lime; + Property changes on: head/comms/limesuite/files/patch-src_ConnectionRemote_ConnectionRemote.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITE.cpp =================================================================== --- head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITE.cpp (nonexistent) +++ head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITE.cpp (revision 559702) @@ -0,0 +1,10 @@ +--- src/ConnectionSTREAM_UNITE/ConnectionSTREAM_UNITE.cpp.orig 2020-10-29 09:52:56 UTC ++++ src/ConnectionSTREAM_UNITE/ConnectionSTREAM_UNITE.cpp +@@ -5,7 +5,6 @@ + */ + + #include "ConnectionSTREAM_UNITE.h" +-#include "ErrorReporting.h" + using namespace std; + namespace lime + { Property changes on: head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITE.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITEEntry.cpp =================================================================== --- head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITEEntry.cpp (nonexistent) +++ head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITEEntry.cpp (revision 559702) @@ -0,0 +1,11 @@ +--- src/ConnectionSTREAM_UNITE/ConnectionSTREAM_UNITEEntry.cpp.orig 2020-10-29 09:52:56 UTC ++++ src/ConnectionSTREAM_UNITE/ConnectionSTREAM_UNITEEntry.cpp +@@ -16,7 +16,7 @@ static ConnectionSTREAM_UNITEEntry STREAM_UNITEEntry; + } + + ConnectionSTREAM_UNITEEntry::ConnectionSTREAM_UNITEEntry(void): +- ConnectionFX3Entry("STREAM+UNITE") ++ ConnectionFX3Entry() + { + + } Property changes on: head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITEEntry.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/limesuite/files/patch-src_FPGAcontrols__wxgui_FPGAcontrols__wxgui.cpp =================================================================== --- head/comms/limesuite/files/patch-src_FPGAcontrols__wxgui_FPGAcontrols__wxgui.cpp (nonexistent) +++ head/comms/limesuite/files/patch-src_FPGAcontrols__wxgui_FPGAcontrols__wxgui.cpp (revision 559702) @@ -0,0 +1,11 @@ +--- src/FPGAcontrols_wxgui/FPGAcontrols_wxgui.cpp.orig 2020-10-29 09:52:56 UTC ++++ src/FPGAcontrols_wxgui/FPGAcontrols_wxgui.cpp +@@ -166,7 +166,7 @@ int ReadWFM(const wxString filename, std::vector