From owner-svn-ports-head@FreeBSD.ORG Thu Jul 3 20:55:21 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 16897F59; Thu, 3 Jul 2014 20:55:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EBB4C239B; Thu, 3 Jul 2014 20:55:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s63KtK2W077356; Thu, 3 Jul 2014 20:55:20 GMT (envelope-from shurd@svn.freebsd.org) Received: (from shurd@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s63KtJmf077346; Thu, 3 Jul 2014 20:55:19 GMT (envelope-from shurd@svn.freebsd.org) Message-Id: <201407032055.s63KtJmf077346@svn.freebsd.org> From: Stephen Hurd Date: Thu, 3 Jul 2014 20:55:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360456 - in head/comms: . quisk quisk/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2014 20:55:21 -0000 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 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 +# $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@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 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/