svn commit: r360456 - in head/comms: . quisk quisk/files
Stephen Hurd
shurd at FreeBSD.org
Thu Jul 3 20:55:21 UTC 2014
Author: shurd
Date: Thu Jul 3 20:55:19 2014
New Revision: 360456
URL: http://svnweb.freebsd.org/changeset/ports/360456
QAT: https://qat.redports.org/buildarchive/r360456/
Log:
This is QUISK, a Software Defined Radio (SDR).
- Quisk can control the HiQSDR.
- As a receiver it can use the SDR-IQ by RfSpace as a sample source.
- As a receiver it can use your soundcard as a sample source.
- Quisk can control SoftRock hardware for both receive and transmit.
- As a transmitter it can accept microphone input and send that to your
transmitter for SSB operation. For CW, QUISK can mute the audio and
substitute a side tone.
PR: ports/190366
Submitted by: Stephen Hurd <shurd at FreeBSD.org>
Reviewed by: db, skreuzer
Approved by: db, skreuzer (mentors)
Differential Revision: https://phabric.freebsd.org/D301
Added:
head/comms/quisk/
head/comms/quisk/Makefile (contents, props changed)
head/comms/quisk/distinfo (contents, props changed)
head/comms/quisk/files/
head/comms/quisk/files/patch-quisk.c (contents, props changed)
head/comms/quisk/files/patch-setup.py (contents, props changed)
head/comms/quisk/pkg-descr (contents, props changed)
Modified:
head/comms/Makefile
Modified: head/comms/Makefile
==============================================================================
--- head/comms/Makefile Thu Jul 3 20:22:16 2014 (r360455)
+++ head/comms/Makefile Thu Jul 3 20:55:19 2014 (r360456)
@@ -131,6 +131,7 @@
SUBDIR += qpage
SUBDIR += qrq
SUBDIR += qsstv
+ SUBDIR += quisk
SUBDIR += remserial
SUBDIR += rtl-sdr
SUBDIR += rubygem-callsign
Added: head/comms/quisk/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/quisk/Makefile Thu Jul 3 20:55:19 2014 (r360456)
@@ -0,0 +1,34 @@
+# Created by: Stephen Hurd <shurd at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= quisk
+PORTVERSION= 3.6.18
+CATEGORIES= comms hamradio
+MASTER_SITES= http://james.ahlstrom.name/quisk/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR=shurd
+
+MAINTAINER= hamradio at FreeBSD.org
+COMMENT= A Software Defined Radio (SDR)
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 \
+ portaudio2/libportaudio.so:${PORTSDIR}/audio/portaudio2 \
+ libasound.so:${PORTSDIR}/audio/alsa-lib \
+ libpulse.so:${PORTSDIR}/audio/pulseaudio
+
+USE_PYTHON= 2.7+
+USE_WX= 2.8+
+WANT_UNICODE= yes
+WX_COMPS= python
+USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST= yes
+
+post-extract:
+ ${RM} ${WRKSRC}/_quisk.so ${WRKSRC}/sdriqpkg/sdriq.so
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
Added: head/comms/quisk/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/quisk/distinfo Thu Jul 3 20:55:19 2014 (r360456)
@@ -0,0 +1,2 @@
+SHA256 (quisk-3.6.18.tar.gz) = 851e13193ed43ea992345f438b34ae968e0ed5e44c6635a6e4503459932cdce8
+SIZE (quisk-3.6.18.tar.gz) = 1106206
Added: head/comms/quisk/files/patch-quisk.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/quisk/files/patch-quisk.c Thu Jul 3 20:55:19 2014 (r360456)
@@ -0,0 +1,11 @@
+--- quisk.c.orig 2014-06-28 19:10:12.000000000 -0700
++++ quisk.c 2014-06-28 19:10:48.000000000 -0700
+@@ -1156,7 +1156,7 @@
+ if (filter_bandwidth < 19000) { // No filtering for wide bandwidth
+ for (i = 0; i < nSamples; i++)
+ cSamples[i] = dRxFilterOut(cSamples[i], bank);
+- measure_audio_sum += cSamples[i] * conj(cSamples[i]);
++ measure_audio_sum = measure_audio_sum + cSamples[i] * conj(cSamples[i]);
+ measure_audio_count += 1;
+ }
+ break;
Added: head/comms/quisk/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/quisk/files/patch-setup.py Thu Jul 3 20:55:19 2014 (r360456)
@@ -0,0 +1,13 @@
+--- setup.py.orig 2014-06-01 15:30:01.000000000 -0700
++++ setup.py 2014-06-01 15:31:15.000000000 -0700
+@@ -11,8 +11,8 @@
+ fp.close()
+
+ module1 = Extension ('quisk._quisk',
+- #include_dirs = ['.'],
+- #library_dirs = ['.'],
++ include_dirs = ['%%LOCALBASE%%/include/portaudio2', '%%LOCALBASE%%/include'],
++ library_dirs = ['%%LOCALBASE%%/lib/portaudio2', '%%LOCALBASE%%/lib'],
+ libraries = ['asound', 'portaudio', 'pulse-simple', 'fftw3', 'm'],
+ sources = ['quisk.c', 'sound.c', 'sound_alsa.c', 'sound_portaudio.c', 'sound_pulseaudio.c',
+ 'is_key_down.c', 'microphone.c', 'utility.c',
Added: head/comms/quisk/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/quisk/pkg-descr Thu Jul 3 20:55:19 2014 (r360456)
@@ -0,0 +1,10 @@
+This is QUISK, a Software Defined Radio (SDR).
+- Quisk can control the HiQSDR.
+- As a receiver it can use the SDR-IQ by RfSpace as a sample source.
+- As a receiver it can use your soundcard as a sample source.
+- Quisk can control SoftRock hardware for both receive and transmit.
+- As a transmitter it can accept microphone input and send that to your
+ transmitter for SSB operation. For CW, QUISK can mute the audio and
+ substitute a side tone.
+
+WWW: http://james.ahlstrom.name/quisk/
More information about the svn-ports-head
mailing list