From owner-svn-ports-all@freebsd.org Thu Dec 31 01:35:42 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E134B4D7A3C; Thu, 31 Dec 2020 01:35:42 +0000 (UTC) (envelope-from db@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D5rML61lZz3JC5; Thu, 31 Dec 2020 01:35:42 +0000 (UTC) (envelope-from db@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C1C6627CE9; Thu, 31 Dec 2020 01:35:42 +0000 (UTC) (envelope-from db@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BV1Zg58092887; Thu, 31 Dec 2020 01:35:42 GMT (envelope-from db@FreeBSD.org) Received: (from db@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BV1ZeIP092874; Thu, 31 Dec 2020 01:35:40 GMT (envelope-from db@FreeBSD.org) Message-Id: <202012310135.0BV1ZeIP092874@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: db set sender to db@FreeBSD.org using -f From: Diane Bruce Date: Thu, 31 Dec 2020 01:35:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r559702 - in head/comms: . limesuite limesuite/files X-SVN-Group: ports-head X-SVN-Commit-Author: db X-SVN-Commit-Paths: in head/comms: . limesuite limesuite/files X-SVN-Commit-Revision: 559702 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2020 01:35:42 -0000 Author: db Date: Thu Dec 31 01:35:40 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 Added: head/comms/limesuite/ head/comms/limesuite/Makefile (contents, props changed) head/comms/limesuite/distinfo (contents, props changed) head/comms/limesuite/files/ head/comms/limesuite/files/patch-CMakeLists.txt (contents, props changed) head/comms/limesuite/files/patch-Desktop_CMakeLists.txt (contents, props changed) head/comms/limesuite/files/patch-src_ConnectionRemote_ConnectionRemote.cpp (contents, props changed) head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITE.cpp (contents, props changed) head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITEEntry.cpp (contents, props changed) head/comms/limesuite/files/patch-src_FPGAcontrols__wxgui_FPGAcontrols__wxgui.cpp (contents, props changed) head/comms/limesuite/pkg-descr (contents, props changed) head/comms/limesuite/pkg-plist (contents, props changed) Modified: head/comms/Makefile Modified: head/comms/Makefile ============================================================================== --- head/comms/Makefile Thu Dec 31 01:33:09 2020 (r559701) +++ head/comms/Makefile Thu Dec 31 01:35:40 2020 (r559702) @@ -85,6 +85,7 @@ SUBDIR += libticables2 SUBDIR += libticalcs2 SUBDIR += libusbmuxd + SUBDIR += limesuite SUBDIR += linrad SUBDIR += liquid-dsp SUBDIR += lirc Added: head/comms/limesuite/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/limesuite/Makefile Thu Dec 31 01:35:40 2020 (r559702) @@ -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 Added: head/comms/limesuite/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/limesuite/distinfo Thu Dec 31 01:35:40 2020 (r559702) @@ -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 Added: head/comms/limesuite/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/limesuite/files/patch-CMakeLists.txt Thu Dec 31 01:35:40 2020 (r559702) @@ -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 + ######################################################################## Added: head/comms/limesuite/files/patch-Desktop_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/limesuite/files/patch-Desktop_CMakeLists.txt Thu Dec 31 01:35:40 2020 (r559702) @@ -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() Added: head/comms/limesuite/files/patch-src_ConnectionRemote_ConnectionRemote.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/limesuite/files/patch-src_ConnectionRemote_ConnectionRemote.cpp Thu Dec 31 01:35:40 2020 (r559702) @@ -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; + Added: head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITE.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITE.cpp Thu Dec 31 01:35:40 2020 (r559702) @@ -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 + { Added: head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITEEntry.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/limesuite/files/patch-src_ConnectionSTREAM__UNITE_ConnectionSTREAM__UNITEEntry.cpp Thu Dec 31 01:35:40 2020 (r559702) @@ -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() + { + + } Added: head/comms/limesuite/files/patch-src_FPGAcontrols__wxgui_FPGAcontrols__wxgui.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/limesuite/files/patch-src_FPGAcontrols__wxgui_FPGAcontrols__wxgui.cpp Thu Dec 31 01:35:40 2020 (r559702) @@ -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