Index: head/comms/Makefile =================================================================== --- head/comms/Makefile (revision 493963) +++ head/comms/Makefile (revision 493964) @@ -1,221 +1,222 @@ # $FreeBSD$ # COMMENT = Communication utilities SUBDIR += acfax SUBDIR += airspy SUBDIR += aldo SUBDIR += amtterm SUBDIR += anyremote SUBDIR += apitran SUBDIR += aprsd SUBDIR += ath3k-firmware SUBDIR += atslog SUBDIR += bfhist SUBDIR += bforce-kst SUBDIR += birda SUBDIR += bladerf SUBDIR += bluegps SUBDIR += bluez-firmware SUBDIR += bpl+ SUBDIR += chirp SUBDIR += chu SUBDIR += comserv SUBDIR += concordance SUBDIR += congruity SUBDIR += conserver SUBDIR += conserver-com SUBDIR += cqrlog + SUBDIR += cubicsdr SUBDIR += cutecom SUBDIR += cwdaemon SUBDIR += cwstudio SUBDIR += dabstick-radio SUBDIR += dcf77pi SUBDIR += deforaos-phone SUBDIR += dfu-programmer SUBDIR += dfu-util SUBDIR += direwolf SUBDIR += dump1090 SUBDIR += ebook2cw SUBDIR += ebook2cwgui SUBDIR += echolinux SUBDIR += efax SUBDIR += ems-flasher SUBDIR += fl_moxgen SUBDIR += flcluster SUBDIR += fldigi SUBDIR += fllog SUBDIR += flrig SUBDIR += flwrap SUBDIR += freedv SUBDIR += gammu SUBDIR += geoid SUBDIR += gkermit SUBDIR += gnocky SUBDIR += gnokii SUBDIR += gnuradio SUBDIR += gpredict SUBDIR += gqrx SUBDIR += gr-osmosdr SUBDIR += grig SUBDIR += gsmlib SUBDIR += gstreamer1-plugins-spandsp SUBDIR += gtkmmorse SUBDIR += hackrf SUBDIR += hamfax SUBDIR += hamlib SUBDIR += hcidump SUBDIR += hidapi SUBDIR += hylafax SUBDIR += ibp SUBDIR += inspectrum SUBDIR += java-simple-serial-connector SUBDIR += jerm SUBDIR += kb SUBDIR += kermit SUBDIR += klog SUBDIR += libbtbb 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 += linpsk SUBDIR += linrad SUBDIR += liquid-dsp SUBDIR += lirc SUBDIR += locator SUBDIR += lrzsz SUBDIR += lysdr SUBDIR += mgetty+sendfax SUBDIR += minicom SUBDIR += mlan3 SUBDIR += morse SUBDIR += multimon-ng SUBDIR += nasawash SUBDIR += ncid SUBDIR += nec2c SUBDIR += nmealib SUBDIR += nokryptia SUBDIR += o2sms SUBDIR += obexapp SUBDIR += openobex 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-bulksms SUBDIR += py-esptool SUBDIR += py-gammu SUBDIR += py-hidapi SUBDIR += py-libconcord SUBDIR += py-libimobiledevice SUBDIR += py-lirc SUBDIR += py-qt5-serialport SUBDIR += py-serial 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 += quisk 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 += ubertooth SUBDIR += uhd SUBDIR += uird SUBDIR += unixcw SUBDIR += usbmuxd SUBDIR += viewfax SUBDIR += vrflash SUBDIR += wsjtx SUBDIR += wwl SUBDIR += wy60 SUBDIR += xastir SUBDIR += xcwcp SUBDIR += xdx SUBDIR += xlog SUBDIR += xmorse SUBDIR += xnec2c SUBDIR += xnecview SUBDIR += yaac SUBDIR += yagiuda SUBDIR += yaps SUBDIR += yfklog SUBDIR += zssh .include Index: head/comms/cubicsdr/Makefile =================================================================== --- head/comms/cubicsdr/Makefile (nonexistent) +++ head/comms/cubicsdr/Makefile (revision 493964) @@ -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 Property changes on: head/comms/cubicsdr/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/cubicsdr/distinfo =================================================================== --- head/comms/cubicsdr/distinfo (nonexistent) +++ head/comms/cubicsdr/distinfo (revision 493964) @@ -0,0 +1,3 @@ +TIMESTAMP = 1551114984 +SHA256 (cubicsdr-0.2.5_GH0.tar.gz) = 5cb44c110fcbbb70a468b7fa402cf35f84d8901b3dd42d471a90ac3f5db00f4d +SIZE (cubicsdr-0.2.5_GH0.tar.gz) = 36911106 Property changes on: head/comms/cubicsdr/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/cubicsdr/files/patch-src_AppFrame.cpp =================================================================== --- head/comms/cubicsdr/files/patch-src_AppFrame.cpp (nonexistent) +++ head/comms/cubicsdr/files/patch-src_AppFrame.cpp (revision 493964) @@ -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 + Property changes on: head/comms/cubicsdr/files/patch-src_AppFrame.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/cubicsdr/files/patch-src_CubicSDRDefs.h =================================================================== --- head/comms/cubicsdr/files/patch-src_CubicSDRDefs.h (nonexistent) +++ head/comms/cubicsdr/files/patch-src_CubicSDRDefs.h (revision 493964) @@ -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 Property changes on: head/comms/cubicsdr/files/patch-src_CubicSDRDefs.h ___________________________________________________________________ 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/cubicsdr/files/patch-src_DemodLabelDialog.cpp =================================================================== --- head/comms/cubicsdr/files/patch-src_DemodLabelDialog.cpp (nonexistent) +++ head/comms/cubicsdr/files/patch-src_DemodLabelDialog.cpp (revision 493964) @@ -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 Property changes on: head/comms/cubicsdr/files/patch-src_DemodLabelDialog.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/cubicsdr/files/patch-src_FrequencyDialog.cpp =================================================================== --- head/comms/cubicsdr/files/patch-src_FrequencyDialog.cpp (nonexistent) +++ head/comms/cubicsdr/files/patch-src_FrequencyDialog.cpp (revision 493964) @@ -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 Property changes on: head/comms/cubicsdr/files/patch-src_FrequencyDialog.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/cubicsdr/files/patch-src_util_GLExt.cpp =================================================================== --- head/comms/cubicsdr/files/patch-src_util_GLExt.cpp (nonexistent) +++ head/comms/cubicsdr/files/patch-src_util_GLExt.cpp (revision 493964) @@ -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; Property changes on: head/comms/cubicsdr/files/patch-src_util_GLExt.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/cubicsdr/files/patch-src_util_MouseTracker.cpp =================================================================== --- head/comms/cubicsdr/files/patch-src_util_MouseTracker.cpp (nonexistent) +++ head/comms/cubicsdr/files/patch-src_util_MouseTracker.cpp (revision 493964) @@ -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; Property changes on: head/comms/cubicsdr/files/patch-src_util_MouseTracker.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/cubicsdr/pkg-descr =================================================================== --- head/comms/cubicsdr/pkg-descr (nonexistent) +++ head/comms/cubicsdr/pkg-descr (revision 493964) @@ -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/ Property changes on: head/comms/cubicsdr/pkg-descr ___________________________________________________________________ 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/cubicsdr/pkg-plist =================================================================== --- head/comms/cubicsdr/pkg-plist (nonexistent) +++ head/comms/cubicsdr/pkg-plist (revision 493964) @@ -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 Property changes on: head/comms/cubicsdr/pkg-plist ___________________________________________________________________ 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