aboutsummaryrefslogtreecommitdiff
path: root/comms/jsdr
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2018-06-07 00:34:18 +0000
committerRene Ladan <rene@FreeBSD.org>2018-06-07 00:34:18 +0000
commit7b4e2fac310c869ae726093c8477595ea2ba05f7 (patch)
tree22d4c67d5416102a354a83bb192b7cc40174dd2c /comms/jsdr
parentb73a392dad3a1f203cc30e27691a2ba317f33f39 (diff)
downloadports-7b4e2fac310c869ae726093c8477595ea2ba05f7.tar.gz
ports-7b4e2fac310c869ae726093c8477595ea2ba05f7.zip
Notes
Diffstat (limited to 'comms/jsdr')
-rw-r--r--comms/jsdr/Makefile39
-rw-r--r--comms/jsdr/distinfo2
-rw-r--r--comms/jsdr/files/patch-filters_fir-filters.cpp15
-rw-r--r--comms/jsdr/files/patch-filters_iir-filters.cpp15
-rw-r--r--comms/jsdr/files/patch-jsdr.pro11
-rw-r--r--comms/jsdr/files/patch-make-x64_fmreceiver_fmreceiver.pro24
-rw-r--r--comms/jsdr/files/patch-make-x64_jff-include.h19
-rw-r--r--comms/jsdr/files/patch-make-x64_mini-receiver_mini-receiver.pro24
-rw-r--r--comms/jsdr/files/patch-make-x64_spectrum-viewer_spectrum-viewer.pro25
-rw-r--r--comms/jsdr/files/patch-make-x64_swreceiver_swreceiver.pro32
-rw-r--r--comms/jsdr/files/patch-righandling_dabstick-2_librtlsdr.c14
-rw-r--r--comms/jsdr/files/patch-righandling_pmsdr_pmsdr_usb.h14
-rw-r--r--comms/jsdr/files/patch-swreceiver_swdecoders_domino_dominodecoder.cpp15
-rw-r--r--comms/jsdr/files/patch-swreceiver_swdecoders_mfskdecoder_mfskdecoder.cpp15
-rw-r--r--comms/jsdr/files/patch-utilities_decimator.cpp13
-rw-r--r--comms/jsdr/pkg-descr22
16 files changed, 0 insertions, 299 deletions
diff --git a/comms/jsdr/Makefile b/comms/jsdr/Makefile
deleted file mode 100644
index 38eb7c528fdb..000000000000
--- a/comms/jsdr/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# Created by: Juergen Lock <nox@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= jsdr
-PORTVERSION= 4.1
-PORTREVISION= 4
-CATEGORIES= comms audio hamradio
-MASTER_SITES= http://www.sdr-j.tk/ \
- LOCAL/nox/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= SDR tools for RTL2832-based USB sticks
-
-BROKEN= No public distfiles
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2018-06-06
-
-LICENSE= GPLv2
-
-LIB_DEPENDS+= libqwt.so:x11-toolkits/qwt5 \
- libportaudio.so:audio/portaudio \
- libsamplerate.so:audio/libsamplerate \
- libsndfile.so:audio/libsndfile \
- libfftw3.so:math/fftw3
-
-USES= qmake tar:tgz
-USE_QT4= gui qt3support qmake_build moc_build rcc_build uic_build
-
-PORTDOCS= *
-PLIST_FILES+= bin/swreceiver bin/spectrum-viewer \
- bin/mini-receiver bin/fmreceiver
-
-OPTIONS_DEFINE= DOCS
-
-do-install-DOCS-on:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/comms/jsdr/distinfo b/comms/jsdr/distinfo
deleted file mode 100644
index 4a34b76281cd..000000000000
--- a/comms/jsdr/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (jsdr-4.1.tgz) = 6c9f828378d3d9433de5b1d9db533faecfcc7e81b9577b3e510aee42ac3db97b
-SIZE (jsdr-4.1.tgz) = 2753477
diff --git a/comms/jsdr/files/patch-filters_fir-filters.cpp b/comms/jsdr/files/patch-filters_fir-filters.cpp
deleted file mode 100644
index ca518d9de964..000000000000
--- a/comms/jsdr/files/patch-filters_fir-filters.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
---- filters/fir-filters.cpp.orig
-+++ filters/fir-filters.cpp
-@@ -28,8 +28,12 @@
-
- #include "fir-filters.h"
- #ifndef __MINGW32__
-+#ifdef __FreeBSD__
-+#include <stdlib.h>
-+#else
- #include "alloca.h"
- #endif
-+#endif
-
- //===================================================================
- //=====================================================================
diff --git a/comms/jsdr/files/patch-filters_iir-filters.cpp b/comms/jsdr/files/patch-filters_iir-filters.cpp
deleted file mode 100644
index d234b789d69e..000000000000
--- a/comms/jsdr/files/patch-filters_iir-filters.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
---- filters/iir-filters.cpp.orig
-+++ filters/iir-filters.cpp
-@@ -28,8 +28,12 @@
-
- #include "iir-filters.h"
- #ifndef __MINGW32__
-+#ifdef __FreeBSD__
-+#include <stdlib.h>
-+#else
- #include "alloca.h"
- #endif
-+#endif
-
- #define MAXORDER 0176
-
diff --git a/comms/jsdr/files/patch-jsdr.pro b/comms/jsdr/files/patch-jsdr.pro
deleted file mode 100644
index 3387a40cf2fa..000000000000
--- a/comms/jsdr/files/patch-jsdr.pro
+++ /dev/null
@@ -1,11 +0,0 @@
---- jsdr.pro.orig 2016-11-18 22:17:37 UTC
-+++ jsdr.pro
-@@ -0,0 +1,8 @@
-+TEMPLATE = subdirs
-+
-+SUBDIRS = make-x64/swreceiver \
-+ make-x64/fmreceiver \
-+ make-x64/spectrum-viewer \
-+ make-x64/mini-receiver
-+
-+CONFIG += ordered
diff --git a/comms/jsdr/files/patch-make-x64_fmreceiver_fmreceiver.pro b/comms/jsdr/files/patch-make-x64_fmreceiver_fmreceiver.pro
deleted file mode 100644
index f72538a64469..000000000000
--- a/comms/jsdr/files/patch-make-x64_fmreceiver_fmreceiver.pro
+++ /dev/null
@@ -1,24 +0,0 @@
---- make-x64/fmreceiver/fmreceiver.pro.orig 2012-09-16 16:23:45 UTC
-+++ make-x64/fmreceiver/fmreceiver.pro
-@@ -137,9 +137,18 @@ LIBS += -lstdc++
- #}
-
- #for fedora use the second set
--unix { INCLUDEPATH += /usr/include/qwt
-- INCLUDEPATH += /usr/include/
-- LIBS+= -lqwt -lusb-1.0 -lrt -lportaudio -lsndfile -lsamplerate -lfftw3 -ldl
-+#unix { INCLUDEPATH += /usr/include/qwt
-+# INCLUDEPATH += /usr/include/
-+# LIBS+= -lqwt -lusb-1.0 -lrt -lportaudio -lsndfile -lsamplerate -lfftw3 -ldl
-+#}
-+
-+#for FreeBSD use the third set
-+unix { INCLUDEPATH += ${LOCALBASE}/include/qwt
-+ INCLUDEPATH += ${LOCALBASE}/include
-+ QMAKE_LIBDIR += ${LOCALBASE}/lib
-+ LIBS+= -lqwt -lusb -lrt -lportaudio -lsndfile -lsamplerate -lfftw3
-+ target.path = $$INSTALL_ROOT/$$PREFIX/bin
-+ INSTALLS += target
- }
-
-
diff --git a/comms/jsdr/files/patch-make-x64_jff-include.h b/comms/jsdr/files/patch-make-x64_jff-include.h
deleted file mode 100644
index e11450614793..000000000000
--- a/comms/jsdr/files/patch-make-x64_jff-include.h
+++ /dev/null
@@ -1,19 +0,0 @@
---- make-x64/jff-include.h.orig
-+++ make-x64/jff-include.h
-@@ -32,10 +32,16 @@
- #include <complex>
- #include <stdint.h>
-
-+#ifdef __FreeBSD__
-+#include <stdlib.h>
-+#else
- #include <malloc.h>
-+#endif
- #ifndef __MINGW32__
-+#ifndef __FreeBSD__
- #include "alloca.h"
- #endif
-+#endif
-
- #ifdef __MINGW32__
- #define CURRENT_VERSION "4.1:x64"
diff --git a/comms/jsdr/files/patch-make-x64_mini-receiver_mini-receiver.pro b/comms/jsdr/files/patch-make-x64_mini-receiver_mini-receiver.pro
deleted file mode 100644
index e900291ffb8b..000000000000
--- a/comms/jsdr/files/patch-make-x64_mini-receiver_mini-receiver.pro
+++ /dev/null
@@ -1,24 +0,0 @@
---- make-x64/mini-receiver/mini-receiver.pro.orig 2012-10-02 08:15:01 UTC
-+++ make-x64/mini-receiver/mini-receiver.pro
-@@ -108,9 +108,18 @@ LIBS += -lstdc++
- #}
-
- #for fedora use the second set
--unix { INCLUDEPATH += /usr/include/qwt
-- INCLUDEPATH += /usr/include/
-- LIBS+= -lqwt -lusb-1.0 -lrt -lportaudio -lsndfile -lsamplerate -lfftw3 -ldl
-+#unix { INCLUDEPATH += /usr/include/qwt
-+# INCLUDEPATH += /usr/include/
-+# LIBS+= -lqwt -lusb-1.0 -lrt -lportaudio -lsndfile -lsamplerate -lfftw3 -ldl
-+#}
-+
-+#for FreeBSD use the third set
-+unix { INCLUDEPATH += ${LOCALBASE}/include/qwt
-+ INCLUDEPATH += ${LOCALBASE}/include
-+ QMAKE_LIBDIR += ${LOCALBASE}/lib
-+ LIBS+= -lqwt -lusb -lrt -lportaudio -lsndfile -lsamplerate -lfftw3
-+ target.path = $$INSTALL_ROOT/$$PREFIX/bin
-+ INSTALLS += target
- }
-
-
diff --git a/comms/jsdr/files/patch-make-x64_spectrum-viewer_spectrum-viewer.pro b/comms/jsdr/files/patch-make-x64_spectrum-viewer_spectrum-viewer.pro
deleted file mode 100644
index 407f60b3d8b6..000000000000
--- a/comms/jsdr/files/patch-make-x64_spectrum-viewer_spectrum-viewer.pro
+++ /dev/null
@@ -1,25 +0,0 @@
---- make-x64/spectrum-viewer/spectrum-viewer.pro.orig 2012-10-02 08:19:58 UTC
-+++ make-x64/spectrum-viewer/spectrum-viewer.pro
-@@ -83,10 +83,18 @@ LIBS += -lsamplerate
- #}
-
- #for fedora use the second set
--unix { INCLUDEPATH += /usr/include/qwt
-- INCLUDEPATH += /usr/include/
-- INCLUDEPATH += /usr/local/include
-- LIBS+= -lqwt -lusb-1.0 -lrt -lfftw3 -lsamplerate -ldl
-+#unix { INCLUDEPATH += /usr/include/qwt
-+# INCLUDEPATH += /usr/include/
-+# INCLUDEPATH += /usr/local/include
-+# LIBS+= -lqwt -lusb-1.0 -lrt -lfftw3 -lsamplerate -ldl
-+#}
-+
-+#for FreeBSD use the third set
-+unix { INCLUDEPATH += ${LOCALBASE}/include/qwt
-+ INCLUDEPATH += ${LOCALBASE}/include
-+ LIBS+= -lqwt -lusb -lrt -lfftw3 -lsamplerate
-+ target.path = $$INSTALL_ROOT/$$PREFIX/bin
-+ INSTALLS += target
- }
-
-
diff --git a/comms/jsdr/files/patch-make-x64_swreceiver_swreceiver.pro b/comms/jsdr/files/patch-make-x64_swreceiver_swreceiver.pro
deleted file mode 100644
index 730260c1b208..000000000000
--- a/comms/jsdr/files/patch-make-x64_swreceiver_swreceiver.pro
+++ /dev/null
@@ -1,32 +0,0 @@
---- make-x64/swreceiver/swreceiver.pro.orig 2012-09-16 16:12:33 UTC
-+++ make-x64/swreceiver/swreceiver.pro
-@@ -180,13 +180,21 @@ LIBS += -lwinmm
- #}
-
- #for Fedora use the second set
--unix { INCLUDEPATH += /usr/include/qwt
-- INCLUDEPATH += /usr/include/
-- INCLUDEPATH += /usr/local/include/
-- LIBS += -L/usr/lib64
-- LIBS += -L/lib64
-- LIBS += -L/usr/local/lib
-- LIBS += -lqwt -lrt -lsndfile -lsamplerate -lportaudio -lusb-1.0 -lfftw3 -ldl
--}
-+#unix { INCLUDEPATH += /usr/include/qwt
-+# INCLUDEPATH += /usr/include/
-+# INCLUDEPATH += /usr/local/include/
-+# LIBS += -L/usr/lib64
-+# LIBS += -L/lib64
-+# LIBS += -L/usr/local/lib
-+# LIBS += -lqwt -lrt -lsndfile -lsamplerate -lportaudio -lusb-1.0 -lfftw3 -ldl
-+#}
-
-+#for FreeBSD use the third set
-+unix { INCLUDEPATH += ${LOCALBASE}/include/qwt
-+ INCLUDEPATH += ${LOCALBASE}/include
-+ QMAKE_LIBDIR += ${LOCALBASE}/lib
-+ LIBS += -lqwt -lrt -lsndfile -lsamplerate -lportaudio -lusb -lfftw3
-+ target.path = $$INSTALL_ROOT/$$PREFIX/bin
-+ INSTALLS += target
-+}
-
diff --git a/comms/jsdr/files/patch-righandling_dabstick-2_librtlsdr.c b/comms/jsdr/files/patch-righandling_dabstick-2_librtlsdr.c
deleted file mode 100644
index 41a6e25e990c..000000000000
--- a/comms/jsdr/files/patch-righandling_dabstick-2_librtlsdr.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- righandling/dabstick-2/librtlsdr.c.orig
-+++ righandling/dabstick-2/librtlsdr.c
-@@ -29,7 +29,11 @@
-
- #define lmin(a, b) (((a) < (b)) ? (a) : (b))
- //#include <libusb.h>
-+#ifdef __FreeBSD__
-+#include <libusb.h>
-+#else
- #include "libusb-1.0/libusb.h"
-+#endif
-
-
- /*
diff --git a/comms/jsdr/files/patch-righandling_pmsdr_pmsdr_usb.h b/comms/jsdr/files/patch-righandling_pmsdr_pmsdr_usb.h
deleted file mode 100644
index c4843c321cbe..000000000000
--- a/comms/jsdr/files/patch-righandling_pmsdr_pmsdr_usb.h
+++ /dev/null
@@ -1,14 +0,0 @@
---- righandling/pmsdr/pmsdr_usb.h.orig
-+++ righandling/pmsdr/pmsdr_usb.h
-@@ -36,7 +36,11 @@
- //#ifdef __MINGW32__
- //#include <libusb.h>
- //#else
-+#ifdef __FreeBSD__
-+#include <libusb.h>
-+#else
- #include <libusb-1.0/libusb.h>
-+#endif
- //#endif
-
- class RadioInterface;
diff --git a/comms/jsdr/files/patch-swreceiver_swdecoders_domino_dominodecoder.cpp b/comms/jsdr/files/patch-swreceiver_swdecoders_domino_dominodecoder.cpp
deleted file mode 100644
index f05136fe4d5f..000000000000
--- a/comms/jsdr/files/patch-swreceiver_swdecoders_domino_dominodecoder.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
---- swreceiver/swdecoders/domino/dominodecoder.cpp.orig
-+++ swreceiver/swdecoders/domino/dominodecoder.cpp
-@@ -39,8 +39,12 @@
- #include "gui.h"
- #include "dominodecoder.h"
- #ifndef __MINGW32__
-+#ifdef __FreeBSD__
-+#include <stdlib.h>
-+#else
- #include "alloca.h"
- #endif
-+#endif
-
- /*
- * Standard Nasa coefficients for the viterbi decoder
diff --git a/comms/jsdr/files/patch-swreceiver_swdecoders_mfskdecoder_mfskdecoder.cpp b/comms/jsdr/files/patch-swreceiver_swdecoders_mfskdecoder_mfskdecoder.cpp
deleted file mode 100644
index 96dabe07ccbf..000000000000
--- a/comms/jsdr/files/patch-swreceiver_swdecoders_mfskdecoder_mfskdecoder.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
---- swreceiver/swdecoders/mfskdecoder/mfskdecoder.cpp.orig
-+++ swreceiver/swdecoders/mfskdecoder/mfskdecoder.cpp
-@@ -32,8 +32,12 @@
- #include "mfskdecoder.h"
- #include "oscillator.h"
- #ifndef __MINGW32__
-+#ifdef __FreeBSD__
-+#include <stdlib.h>
-+#else
- #include "alloca.h"
- #endif
-+#endif
-
- #define BitIsContained(pat, bit) ((pat) & (1 << (mfskNumBits - (bit + 1))))
- /*
diff --git a/comms/jsdr/files/patch-utilities_decimator.cpp b/comms/jsdr/files/patch-utilities_decimator.cpp
deleted file mode 100644
index 5b67bfccf3cc..000000000000
--- a/comms/jsdr/files/patch-utilities_decimator.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- utilities/decimator.cpp.orig
-+++ utilities/decimator.cpp
-@@ -67,8 +67,8 @@ bool downDecimator::doDecimate (DSPFLOAT
- */
- this -> inSamplerate = inSamplerate;
- this -> outSamplerate = outSamplerate;
-- inperiod = (int64_t)(100000000000) / inSamplerate;
-- outperiod = (int64_t)(100000000000) / outSamplerate;
-+ inperiod = (int64_t)(100000000000LL) / inSamplerate;
-+ outperiod = (int64_t)(100000000000LL) / outSamplerate;
- oldinsampleTime = 0;
- currentinsampleTime = 0;
- oldinsampleValue = 0;
diff --git a/comms/jsdr/pkg-descr b/comms/jsdr/pkg-descr
deleted file mode 100644
index 1120554e9569..000000000000
--- a/comms/jsdr/pkg-descr
+++ /dev/null
@@ -1,22 +0,0 @@
-SDR-J (formerly Jsdr) is a suite of four programs provided under a
-LGPL open source license for playing around with sdr (software
-defined radio). The software can be used directly with the PM-SDR
-kit and RTL2832U based dongles, and in the 32 bits Windows version
-with other kits as well.
-
-The suite contains four programs:
-
-- a full blown "short wave" receiver, which provides tuning in the
- range of 100K .. 165M using the PM-SDR (although above 55 M with
- reduced performance) and from app 55 MHz to app 900 Mhz or above
- using an RTL2832U based dongle. The receiver provides quite a number
- of decoders for amateur modes.
-- am/fm receiver covering the same frequency bands as the sw receiver,
- however, with am bandwidths selectable, with fm mono and stereo
- decoding as well as with rds decoding.
-- spectrum viewer for use with the RTL2832U based dongles, showing
- spectra of up to 3 Mhz bandwidth.
-- mini receiver, a stripped version of the fm receiver, a gadget
- for listening to WFM using DAB sticks.
-
-WWW: http://www.sdr-j.tk/