Index: head/comms/Makefile =================================================================== --- head/comms/Makefile (revision 411421) +++ head/comms/Makefile (revision 411422) @@ -1,206 +1,207 @@ # $FreeBSD$ # COMMENT = Communication utilities SUBDIR += acfax SUBDIR += aldo SUBDIR += amtterm SUBDIR += anyremote SUBDIR += aprsd SUBDIR += atslog SUBDIR += bfhist SUBDIR += bforce-kst SUBDIR += birda SUBDIR += bluegps SUBDIR += bluez-firmware SUBDIR += bpl+ SUBDIR += cdr_read SUBDIR += chirp SUBDIR += chu SUBDIR += comserv SUBDIR += concordance SUBDIR += congruity SUBDIR += conserver SUBDIR += conserver-com SUBDIR += cqrlog SUBDIR += cutecom SUBDIR += cwdaemon SUBDIR += dabstick-radio SUBDIR += dcf77pi SUBDIR += deforaos-phone SUBDIR += dfu-programmer SUBDIR += dfu-util SUBDIR += dump1090 SUBDIR += dump1090_mr SUBDIR += ebook2cw SUBDIR += ebook2cwgui SUBDIR += echolinux SUBDIR += efax SUBDIR += efax-gtk SUBDIR += ems-flasher SUBDIR += esmska SUBDIR += fl_moxgen SUBDIR += fldigi SUBDIR += fllog SUBDIR += flrig SUBDIR += flwrap SUBDIR += freedv SUBDIR += gammu SUBDIR += ge-x2212 SUBDIR += geoid SUBDIR += gkermit SUBDIR += gmfsk SUBDIR += gnocky SUBDIR += gnokii SUBDIR += gnuradio SUBDIR += gpredict SUBDIR += gqrx SUBDIR += gr-osmosdr SUBDIR += grig SUBDIR += gscmxx SUBDIR += gsmlib SUBDIR += gstreamer1-plugins-spandsp SUBDIR += gtkmmorse SUBDIR += hackrf SUBDIR += hamfax SUBDIR += hamlib SUBDIR += hcidump SUBDIR += hf SUBDIR += hidapi SUBDIR += hylafax SUBDIR += ibp SUBDIR += java-commapi SUBDIR += java-commapi-freebsd SUBDIR += jerm SUBDIR += jsdr SUBDIR += kb SUBDIR += kermit SUBDIR += klog SUBDIR += kremotecontrol SUBDIR += kvasd SUBDIR += libcodec2 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 += lirc SUBDIR += locator SUBDIR += lrzsz SUBDIR += lysdr SUBDIR += mgetty+sendfax SUBDIR += minicom SUBDIR += mlan3 SUBDIR += morse 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-bulksms SUBDIR += py-gammu SUBDIR += py-libconcord SUBDIR += py-libimobiledevice SUBDIR += py-lirc SUBDIR += py-qt5-serialport SUBDIR += py-serial SUBDIR += pyla SUBDIR += qico SUBDIR += qpage SUBDIR += qrq SUBDIR += qsstv SUBDIR += qt5-connectivity SUBDIR += qt5-sensors SUBDIR += qt5-serialport SUBDIR += qtel SUBDIR += quisk SUBDIR += remserial SUBDIR += rtl-sdr SUBDIR += rubygem-callsign SUBDIR += rubygem-ruby-termios SUBDIR += rxtx SUBDIR += scmxx + SUBDIR += sdr-wspr SUBDIR += ser2net SUBDIR += serialoverip SUBDIR += seyon SUBDIR += sms_client SUBDIR += smstools3 SUBDIR += soundmodem SUBDIR += spandsp SUBDIR += splat SUBDIR += sredird SUBDIR += svxlink SUBDIR += syncterm SUBDIR += tcpser SUBDIR += telldus-core SUBDIR += thebridge SUBDIR += tilp2 SUBDIR += tits SUBDIR += tkhylafax SUBDIR += tkscanfax SUBDIR += tlf SUBDIR += trustedqsl SUBDIR += twpsk SUBDIR += uarduno SUBDIR += uartlirc SUBDIR += uird SUBDIR += unixcw SUBDIR += usbmuxd SUBDIR += usrp SUBDIR += viewfax SUBDIR += vrflash SUBDIR += wsjt SUBDIR += wsjtx SUBDIR += wspr SUBDIR += wwl SUBDIR += wy60 SUBDIR += xastir SUBDIR += xcwcp SUBDIR += xdx SUBDIR += xlog SUBDIR += xmorse SUBDIR += xnec2c SUBDIR += xnecview SUBDIR += xwota SUBDIR += yagiuda SUBDIR += yaps SUBDIR += yfklog SUBDIR += zssh .include Index: head/comms/sdr-wspr/Makefile =================================================================== --- head/comms/sdr-wspr/Makefile (nonexistent) +++ head/comms/sdr-wspr/Makefile (revision 411422) @@ -0,0 +1,25 @@ +# Created by: Jeffrey Baitis +# $FreeBSD$ + +PORTNAME= sdr-wspr +PORTVERSION= 0.1.0 +CATEGORIES= comms hamradio + +MAINTAINER= jeff@baitis.net +COMMENT= WSPR receiver/decoder using libsdr + +LICENSE= GPLv3 + +LIB_DEPENDS= libsdr-gui.so:${PORTSDIR}/comms/libsdr-gui + +USE_GITHUB= yes +GH_ACCOUNT= hmatuschek +GH_PROJECT= sdr-wspr +GH_TAGNAME= 2dc1452 +USE_QT5= core buildtools_build qmake widgets +USES= cmake:outsource compiler:gcc-c++11-lib fortran pkgconfig + +PLIST_FILES= bin/sdr-wspr share/applications/sdr-wspr.desktop \ + share/icons/sdr-wspr.svg + +.include Property changes on: head/comms/sdr-wspr/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/sdr-wspr/distinfo =================================================================== --- head/comms/sdr-wspr/distinfo (nonexistent) +++ head/comms/sdr-wspr/distinfo (revision 411422) @@ -0,0 +1,2 @@ +SHA256 (hmatuschek-sdr-wspr-0.1.0-2dc1452_GH0.tar.gz) = 4ca465bdddc253a36bd3261f80e75f03986ce245f8bdec48b224e8d4b3d8d80d +SIZE (hmatuschek-sdr-wspr-0.1.0-2dc1452_GH0.tar.gz) = 2473140 Property changes on: head/comms/sdr-wspr/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/sdr-wspr/files/patch-CMakeLists.txt =================================================================== --- head/comms/sdr-wspr/files/patch-CMakeLists.txt (nonexistent) +++ head/comms/sdr-wspr/files/patch-CMakeLists.txt (revision 411422) @@ -0,0 +1,49 @@ +--- CMakeLists.txt.orig 2015-04-21 14:32:18 UTC ++++ CMakeLists.txt +@@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 2.8.8) + project(sdr-wspr) + # required for original wspr code + enable_language(Fortran) ++# temporary ugly hack ++string(REGEX MATCH "-rpath=.*" CMAKE_RPATH_ARG ${CMAKE_Fortran_FLAGS} ) ++string(SUBSTRING ${CMAKE_RPATH_ARG} 7 -1 CMAKE_RPATH) ++set(CMAKE_INSTALL_RPATH ${CMAKE_RPATH} ) ++message(STATUS CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_RPATH}) + + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake) + include(InstallHeadersWithDirectory) +@@ -63,34 +68,6 @@ ELSE(NOT LIBSDR_GUI_FOUND) + ENDIF(NOT LIBSDR_GUI_FOUND) + + # Set compiler flags +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS} -Wall -fPIC") +-set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -ggdb") +-set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -ggdb") +-set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -ggdb") +- +- +-# FFLAGS depend on the compiler +-get_filename_component(Fortran_COMPILER_NAME ${CMAKE_Fortran_COMPILER} NAME) +- +-if(Fortran_COMPILER_NAME MATCHES "gfortran.*") +- # gfortran +- set(CMAKE_Fortran_FLAGS_RELEASE "-funroll-all-loops -fno-f2c -O3") +- set(CMAKE_Fortran_FLAGS_DEBUG "-fno-f2c -O0 -g") +-elseif(Fortran_COMPILER_NAME MATCHES "ifort.*") +- # ifort (untested) +- set(CMAKE_Fortran_FLAGS_RELEASE "-f77rtl -O3") +- set(CMAKE_Fortran_FLAGS_DEBUG "-f77rtl -O0 -g") +-elseif(Fortran_COMPILER_NAME MATCHES "g77") +- # g77 +- set(CMAKE_Fortran_FLAGS_RELEASE "-funroll-all-loops -fno-f2c -O3 -m32") +- set(CMAKE_Fortran_FLAGS_DEBUG "-fno-f2c -O0 -g -m32") +-else(Fortran_COMPILER_NAME MATCHES "gfortran.*") +- message("CMAKE_Fortran_COMPILER full path: " ${CMAKE_Fortran_COMPILER}) +- message("Fortran compiler: " ${Fortran_COMPILER_NAME}) +- message("No optimized Fortran compiler flags are known, we just try -O2...") +- set(CMAKE_Fortran_FLAGS_RELEASE "-O2") +- set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -g") +-endif(Fortran_COMPILER_NAME MATCHES "gfortran.*") + + # + # Get default install directories under Linux Property changes on: head/comms/sdr-wspr/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/sdr-wspr/files/patch-libwspr_wspr.hh =================================================================== --- head/comms/sdr-wspr/files/patch-libwspr_wspr.hh (nonexistent) +++ head/comms/sdr-wspr/files/patch-libwspr_wspr.hh (revision 411422) @@ -0,0 +1,10 @@ +--- libwspr/wspr.hh.orig 2015-04-21 14:32:18 UTC ++++ libwspr/wspr.hh +@@ -1,6 +1,7 @@ + #ifndef WSPR_HH + #define WSPR_HH + ++#include + #include + #include + Property changes on: head/comms/sdr-wspr/files/patch-libwspr_wspr.hh ___________________________________________________________________ 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/sdr-wspr/files/patch-src_CMakeLists.txt =================================================================== --- head/comms/sdr-wspr/files/patch-src_CMakeLists.txt (nonexistent) +++ head/comms/sdr-wspr/files/patch-src_CMakeLists.txt (revision 411422) @@ -0,0 +1,11 @@ +--- src/CMakeLists.txt.orig 2015-04-21 14:32:18 UTC ++++ src/CMakeLists.txt +@@ -10,7 +10,7 @@ qt5_add_resources(sdr_wspr_RCC_SOURCES . + add_executable(sdr-wspr ${sdr_wspr_SOURCES} ${sdr_wspr_MOC_SOURCES} ${sdr_wspr_RCC_SOURCES}) + target_link_libraries(sdr-wspr + ${Qt5Core_LIBRARIES} ${Qt5Widgets_LIBRARIES} ${Qt5WebKitWidgets_LIBRARIES} +- ${LIBS} sdrwspr) ++ ${LIBS} ${LDFLAGS} sdrwspr) + + #add_executable(sdr_wspr_cli wspr2.cc sdr_wspr_cli.cc) + #target_link_libraries(sdr_wspr_cli ${LIBS} ${Qt5Core_LIBRARIES} sdrwspr) Property changes on: head/comms/sdr-wspr/files/patch-src_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/sdr-wspr/pkg-descr =================================================================== --- head/comms/sdr-wspr/pkg-descr (nonexistent) +++ head/comms/sdr-wspr/pkg-descr (revision 411422) @@ -0,0 +1,5 @@ +A WSPR receiver/decoder using libsdr. This implementation embeds the original +WSPR Fortran code into a libsdr processing node, allowing to assemble a WSPR +receiver for various sources easily. + +WWW: https://github.com/hmatuschek/sdr-wspr Property changes on: head/comms/sdr-wspr/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