From owner-svn-ports-all@freebsd.org Tue Feb 26 13:28:26 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 907D5151A121; Tue, 26 Feb 2019 13:28:26 +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) server-signature RSA-PSS (4096 bits) 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 304158609D; Tue, 26 Feb 2019 13:28:26 +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 1B1805C4B; Tue, 26 Feb 2019 13:28:26 +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 x1QDSPde023589; Tue, 26 Feb 2019 13:28:25 GMT (envelope-from db@FreeBSD.org) Received: (from db@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x1QDSOpS023578; Tue, 26 Feb 2019 13:28:24 GMT (envelope-from db@FreeBSD.org) Message-Id: <201902261328.x1QDSOpS023578@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: db set sender to db@FreeBSD.org using -f From: Diane Bruce Date: Tue, 26 Feb 2019 13:28:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r493964 - in head/comms: . cubicsdr cubicsdr/files X-SVN-Group: ports-head X-SVN-Commit-Author: db X-SVN-Commit-Paths: in head/comms: . cubicsdr cubicsdr/files X-SVN-Commit-Revision: 493964 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 304158609D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.96)[-0.965,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Tue, 26 Feb 2019 13:28:26 -0000 Author: db Date: Tue Feb 26 13:28:23 2019 New Revision: 493964 URL: https://svnweb.freebsd.org/changeset/ports/493964 Log: What is CubicSDR ? CubicSDR is the software portion of Software Defined Radio. By Using hardware that converts RF spectrum into a digital stream we are able to build complex radios to do many types of functions in software instead of traditional hardware. What can I do with CubicSDR ? Paired with a supported hardware receiver, you can use CubicSDR to explore the RF world around you. Discover Satellite transmissions, Amateur Radio, Rail, Areonautical, Shortwave, or any number of possible signals floating through the air. WWW: https://cubicsdr.readthedocs.io/en/latest/ Added: head/comms/cubicsdr/ head/comms/cubicsdr/Makefile (contents, props changed) head/comms/cubicsdr/distinfo (contents, props changed) head/comms/cubicsdr/files/ head/comms/cubicsdr/files/patch-src_AppFrame.cpp (contents, props changed) head/comms/cubicsdr/files/patch-src_CubicSDRDefs.h (contents, props changed) head/comms/cubicsdr/files/patch-src_DemodLabelDialog.cpp (contents, props changed) head/comms/cubicsdr/files/patch-src_FrequencyDialog.cpp (contents, props changed) head/comms/cubicsdr/files/patch-src_util_GLExt.cpp (contents, props changed) head/comms/cubicsdr/files/patch-src_util_MouseTracker.cpp (contents, props changed) head/comms/cubicsdr/pkg-descr (contents, props changed) head/comms/cubicsdr/pkg-plist (contents, props changed) Modified: head/comms/Makefile Modified: head/comms/Makefile ============================================================================== --- head/comms/Makefile Tue Feb 26 13:21:39 2019 (r493963) +++ head/comms/Makefile Tue Feb 26 13:28:23 2019 (r493964) @@ -27,6 +27,7 @@ SUBDIR += conserver SUBDIR += conserver-com SUBDIR += cqrlog + SUBDIR += cubicsdr SUBDIR += cutecom SUBDIR += cwdaemon SUBDIR += cwstudio Added: head/comms/cubicsdr/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/cubicsdr/Makefile Tue Feb 26 13:28:23 2019 (r493964) @@ -0,0 +1,45 @@ +# $FreeBSD$ + +PORTNAME= cubicsdr +DISTVERSION= 0.2.5 +CATEGORIES= comms hamradio + +MAINTAINER= hamradio@FreeBSD.org +COMMENT= SDR receiver using liquidsdr + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYNUMPY} \ + ${LOCALBASE}/lib/libEGL.so:graphics/mesa-libs \ + ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri +LIB_DEPENDS= libSoapySDR.so:misc/soapysdr \ + libliquid.so:comms/liquid-dsp \ + libpulse.so:audio/pulseaudio \ + libhamlib.so:comms/hamlib \ + libEGL.so:graphics/mesa-libs \ + libwx_gtk3u_core-3.1.so:x11-toolkits/wxgtk31 + +USES= cmake gl python +USE_GL+= glu + +OPTIONS_DEFINE= HAMLIB +HAMLIB_DESC= Support rig control via hamlib +OPTIONS_DEFAULT= HAMLIB + +.include + +.if ${PORT_OPTIONS:MHAMLIB} +LIB_DEPENDS+= libhamlib.so:comms/hamlib +CMAKE_ARGS+= -DUSE_HAMLIB=1 +.endif + +CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE=${LOCALBASE}/bin/wxgtk3u-3.1-config +# if Only I could just do +#USE_WX= 3.1 +#WX_COMPS= wx +USE_GITHUB= yes +GH_ACCOUNT= cjcliffe +GH_PROJECT= CubicSDR + +.include Added: head/comms/cubicsdr/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/cubicsdr/distinfo Tue Feb 26 13:28:23 2019 (r493964) @@ -0,0 +1,3 @@ +TIMESTAMP = 1551114984 +SHA256 (cubicsdr-0.2.5_GH0.tar.gz) = 5cb44c110fcbbb70a468b7fa402cf35f84d8901b3dd42d471a90ac3f5db00f4d +SIZE (cubicsdr-0.2.5_GH0.tar.gz) = 36911106 Added: head/comms/cubicsdr/files/patch-src_AppFrame.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/cubicsdr/files/patch-src_AppFrame.cpp Tue Feb 26 13:28:23 2019 (r493964) @@ -0,0 +1,20 @@ +--- src/AppFrame.cpp.orig 2019-02-25 02:52:05 UTC ++++ src/AppFrame.cpp +@@ -34,7 +34,7 @@ + #include + #include + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + #include "CubicSDR.xpm" + #endif + +@@ -79,7 +79,7 @@ std::vector str_explode(const std::string + AppFrame::AppFrame() : + wxFrame(NULL, wxID_ANY, CUBICSDR_TITLE), activeDemodulator(nullptr) { + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + SetIcon(wxICON(cubicsdr)); + #endif + Added: head/comms/cubicsdr/files/patch-src_CubicSDRDefs.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/cubicsdr/files/patch-src_CubicSDRDefs.h Tue Feb 26 13:28:23 2019 (r493964) @@ -0,0 +1,30 @@ +--- src/CubicSDRDefs.h.orig 2018-06-08 03:58:55 UTC ++++ src/CubicSDRDefs.h +@@ -2,6 +2,7 @@ + // SPDX-License-Identifier: GPL-2.0+ + + #pragma once ++#include + + #define CUBICSDR_TITLE "" CUBICSDR_BUILD_TITLE + +@@ -16,7 +17,11 @@ + #ifdef __APPLE__ + #include + #else +- #include ++ #ifdef __FreeBSD__ ++ #include ++ #else ++ #include ++ #endif + #endif + #endif + #endif +@@ -62,4 +67,4 @@ const char filePathSeparator = + + //The maximum number of listed sample rates for a device, to be able to handle + //devices returning an insane amount because they have quasi-continuous ranges (UHD...) +-#define DEVICE_SAMPLE_RATES_MAX_NB 25 +\ No newline at end of file ++#define DEVICE_SAMPLE_RATES_MAX_NB 25 Added: head/comms/cubicsdr/files/patch-src_DemodLabelDialog.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/cubicsdr/files/patch-src_DemodLabelDialog.cpp Tue Feb 26 13:28:23 2019 (r493964) @@ -0,0 +1,11 @@ +--- src/DemodLabelDialog.cpp.orig 2019-02-25 02:53:22 UTC ++++ src/DemodLabelDialog.cpp +@@ -83,7 +83,7 @@ void DemodLabelDialog::OnChar(wxKeyEvent& event) { + + } + else { +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + dialogText->OnChar(event); + event.Skip(); + #else Added: head/comms/cubicsdr/files/patch-src_FrequencyDialog.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/cubicsdr/files/patch-src_FrequencyDialog.cpp Tue Feb 26 13:28:23 2019 (r493964) @@ -0,0 +1,11 @@ +--- src/FrequencyDialog.cpp.orig 2019-02-25 02:39:08 UTC ++++ src/FrequencyDialog.cpp +@@ -218,7 +218,7 @@ void FrequencyDialog::OnChar(wxKeyEvent& event) { + + if (allowed.find_first_of(c) != std::string::npos || c == WXK_DELETE || c == WXK_BACK || c == WXK_NUMPAD_DECIMAL + || (c >= WXK_NUMPAD0 && c <= WXK_NUMPAD9)) { +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + dialogText->OnChar(event); + event.Skip(); + #else Added: head/comms/cubicsdr/files/patch-src_util_GLExt.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/cubicsdr/files/patch-src_util_GLExt.cpp Tue Feb 26 13:28:23 2019 (r493964) @@ -0,0 +1,20 @@ +--- src/util/GLExt.cpp.orig 2018-08-20 16:53:40 UTC ++++ src/util/GLExt.cpp +@@ -9,7 +9,7 @@ + #include + #endif + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + #include + #endif + +@@ -60,7 +60,7 @@ void initGLExtensions() { + CGLSetParameter (CGLGetCurrentContext(), kCGLCPSwapInterval, &interval); + #endif + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + dlopen("libglx.so",RTLD_LAZY); + + void (*glxSwapIntervalEXTFunc) (Display *dpy, GLXDrawable drawable, int interval) = 0; Added: head/comms/cubicsdr/files/patch-src_util_MouseTracker.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/cubicsdr/files/patch-src_util_MouseTracker.cpp Tue Feb 26 13:28:23 2019 (r493964) @@ -0,0 +1,11 @@ +--- src/util/MouseTracker.cpp.orig 2019-02-25 12:54:38 UTC ++++ src/util/MouseTracker.cpp +@@ -30,7 +30,7 @@ void MouseTracker::OnMouseMoved(wxMouseEvent& event) { + + if (isMouseDown || isMouseRightDown) { + #ifndef __APPLE__ +-#ifndef __linux__ ++#if !defined(__linux__) && !defined(__FreeBSD__) + if (horizDragLock && vertDragLock) { + target->WarpPointer(originMouseX * ClientSize.x, (1.0 - originMouseY) * ClientSize.y); + mouseX = originMouseX; Added: head/comms/cubicsdr/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/cubicsdr/pkg-descr Tue Feb 26 13:28:23 2019 (r493964) @@ -0,0 +1,15 @@ +What is CubicSDR ? + +CubicSDR is the software portion of Software Defined Radio. +By Using hardware that converts RF spectrum into a digital +stream we are able to build complex radios to do many types +of functions in software instead of traditional hardware. + +What can I do with CubicSDR ? + +Paired with a supported hardware receiver, you can use CubicSDR +to explore the RF world around you. Discover Satellite transmissions, +Amateur Radio, Rail, Areonautical, Shortwave, or any number of +possible signals floating through the air. + +WWW: https://cubicsdr.readthedocs.io/en/latest/ Added: head/comms/cubicsdr/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/cubicsdr/pkg-plist Tue Feb 26 13:28:23 2019 (r493964) @@ -0,0 +1,25 @@ +bin/CubicSDR +share/applications/CubicSDR.desktop +%%DATADIR%%/CubicSDR.png +%%DATADIR%%/fonts/vera_sans_mono12.fnt +%%DATADIR%%/fonts/vera_sans_mono12_0.png +%%DATADIR%%/fonts/vera_sans_mono16.fnt +%%DATADIR%%/fonts/vera_sans_mono16_0.png +%%DATADIR%%/fonts/vera_sans_mono18.fnt +%%DATADIR%%/fonts/vera_sans_mono18_0.png +%%DATADIR%%/fonts/vera_sans_mono24.fnt +%%DATADIR%%/fonts/vera_sans_mono24_0.png +%%DATADIR%%/fonts/vera_sans_mono27.fnt +%%DATADIR%%/fonts/vera_sans_mono27_0.png +%%DATADIR%%/fonts/vera_sans_mono32.fnt +%%DATADIR%%/fonts/vera_sans_mono32_0.png +%%DATADIR%%/fonts/vera_sans_mono36.fnt +%%DATADIR%%/fonts/vera_sans_mono36_0.png +%%DATADIR%%/fonts/vera_sans_mono48.fnt +%%DATADIR%%/fonts/vera_sans_mono48_0.png +%%DATADIR%%/fonts/vera_sans_mono64.fnt +%%DATADIR%%/fonts/vera_sans_mono64_0.png +%%DATADIR%%/fonts/vera_sans_mono72.fnt +%%DATADIR%%/fonts/vera_sans_mono72_0.png +%%DATADIR%%/fonts/vera_sans_mono96.fnt +%%DATADIR%%/fonts/vera_sans_mono96_0.png