From owner-svn-ports-all@freebsd.org Fri Apr 19 15:59:40 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7E711570A83; Fri, 19 Apr 2019 15:59:39 +0000 (UTC) (envelope-from shurd@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8DD4085429; Fri, 19 Apr 2019 15:59:39 +0000 (UTC) (envelope-from shurd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 68BE5825; Fri, 19 Apr 2019 15:59:39 +0000 (UTC) (envelope-from shurd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x3JFxdWX082177; Fri, 19 Apr 2019 15:59:39 GMT (envelope-from shurd@FreeBSD.org) Received: (from shurd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3JFxccv082171; Fri, 19 Apr 2019 15:59:38 GMT (envelope-from shurd@FreeBSD.org) Message-Id: <201904191559.x3JFxccv082171@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: shurd set sender to shurd@FreeBSD.org using -f From: Stephen Hurd Date: Fri, 19 Apr 2019 15:59:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r499373 - in head/comms/quisk: . files X-SVN-Group: ports-head X-SVN-Commit-Author: shurd X-SVN-Commit-Paths: in head/comms/quisk: . files X-SVN-Commit-Revision: 499373 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 8DD4085429 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.964,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Apr 2019 15:59:40 -0000 Author: shurd Date: Fri Apr 19 15:59:37 2019 New Revision: 499373 URL: https://svnweb.freebsd.org/changeset/ports/499373 Log: Update to 4.1.26 Added: head/comms/quisk/files/patch-quisk.c (contents, props changed) Modified: head/comms/quisk/Makefile head/comms/quisk/distinfo (contents, props changed) head/comms/quisk/files/patch-microphone.c (contents, props changed) head/comms/quisk/files/patch-quisk.py (contents, props changed) head/comms/quisk/files/patch-setup.py (contents, props changed) Modified: head/comms/quisk/Makefile ============================================================================== --- head/comms/quisk/Makefile Fri Apr 19 15:50:00 2019 (r499372) +++ head/comms/quisk/Makefile Fri Apr 19 15:59:37 2019 (r499373) @@ -2,11 +2,9 @@ # $FreeBSD$ PORTNAME= quisk -PORTVERSION= 4.1.3 -PORTREVISION= 4 +PORTVERSION= 4.1.26 CATEGORIES= comms hamradio -MASTER_SITES= http://james.ahlstrom.name/quisk/ \ - LOCAL/db +MASTER_SITES= CHEESESHOP MAINTAINER= hamradio@FreeBSD.org COMMENT= Software Defined Radio (SDR) @@ -21,10 +19,13 @@ LIB_DEPENDS= libfftw3.so:math/fftw3 \ USES= python:2.7 USE_PYTHON= distutils autoplist USE_WX= 3.0+ + WX_COMPS= python post-extract: - ${RM} ${WRKSRC}/_quisk.so ${WRKSRC}/sdriqpkg/sdriq.so + ${RM} ${WRKSRC}/_quisk.so ${WRKSRC}/sdriqpkg/sdriq.so \ + ${WRKSRC}/freedvpkg/libcodec2_32.so \ + ${WRKSRC}/freedvpkg/libcodec2_64.so post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py Modified: head/comms/quisk/distinfo ============================================================================== --- head/comms/quisk/distinfo Fri Apr 19 15:50:00 2019 (r499372) +++ head/comms/quisk/distinfo Fri Apr 19 15:59:37 2019 (r499373) @@ -1,3 +1,3 @@ -TIMESTAMP = 1482446629 -SHA256 (quisk-4.1.3.tar.gz) = 3bb41e3d5dd7feb4c949a6086fe4d2adad12048d5eccb6499ced85b2b46f5999 -SIZE (quisk-4.1.3.tar.gz) = 2093660 +TIMESTAMP = 1555665888 +SHA256 (quisk-4.1.26.tar.gz) = 6df5ac3adb43fa4daeafec4cef2a19ade33f6d561053302b761f944d98fc1890 +SIZE (quisk-4.1.26.tar.gz) = 3236756 Modified: head/comms/quisk/files/patch-microphone.c ============================================================================== --- head/comms/quisk/files/patch-microphone.c Fri Apr 19 15:50:00 2019 (r499372) +++ head/comms/quisk/files/patch-microphone.c Fri Apr 19 15:59:37 2019 (r499373) @@ -1,6 +1,6 @@ ---- microphone.c.orig 2016-10-25 20:57:54 UTC +--- microphone.c.orig 2018-11-21 19:08:22 UTC +++ microphone.c -@@ -56,7 +56,7 @@ static int timeVOX = 2000; // VOX han +@@ -58,7 +58,7 @@ static int timeVOX = 2000; // VOX han static int doTxCorrect = 0; // Corrections for UDP sample transmit static double TxCorrectLevel; 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 Fri Apr 19 15:59:37 2019 (r499373) @@ -0,0 +1,11 @@ +--- quisk.c.orig 2019-04-19 15:39:19 UTC ++++ quisk.c +@@ -4065,7 +4065,7 @@ static PyObject * get_bandscope(void) // + j2 = floor(d2); + sample = (j1 + 1 - d1) * bandscopeAverage[j1]; + for (j = j1 + 1; j < j2; j++) +- sample += cabs(bandscopeAverage[j]); ++ sample += fabs(bandscopeAverage[j]); + sample += (d2 - j2) * bandscopeAverage[j2]; + sample = sample / frac; + // Normalize to max == 1 Modified: head/comms/quisk/files/patch-quisk.py ============================================================================== --- head/comms/quisk/files/patch-quisk.py Fri Apr 19 15:50:00 2019 (r499372) +++ head/comms/quisk/files/patch-quisk.py Fri Apr 19 15:59:37 2019 (r499373) @@ -1,6 +1,6 @@ ---- quisk.py.orig 2016-11-30 13:26:59.000000000 -0500 -+++ quisk.py 2018-06-17 10:30:03.031192000 -0400 -@@ -21,6 +21,13 @@ +--- quisk.py.orig 2019-04-19 15:47:26 UTC ++++ quisk.py +@@ -21,6 +21,13 @@ os.chdir(os.path.normpath(os.path.dirnam if sys.path[0] != "'.'": # Make sure the current working directory is on path sys.path.insert(0, '.') @@ -9,8 +9,8 @@ +locale.setlocale(locale.LC_ALL, '') +cloc = locale.getdefaultlocale() +if locale.nl_langinfo(locale.CODESET) != 'UTF-8': -+ locale.setlocale(locale.LC_ALL, (cloc[0], 'UTF-8')) ++ locale.setlocale(locale.LC_ALL, (cloc[0], 'UTF-8')) + - import wxversion # Thanks to Mario, DH5YM - wxversion.ensureMinimal('2.8') - + import wx, wx.html, wx.lib.buttons, wx.lib.stattext, wx.lib.colourdb, wx.grid, wx.richtext + import math, cmath, time, traceback, string, select, subprocess + import threading, pickle, webbrowser Modified: head/comms/quisk/files/patch-setup.py ============================================================================== --- head/comms/quisk/files/patch-setup.py Fri Apr 19 15:50:00 2019 (r499372) +++ head/comms/quisk/files/patch-setup.py Fri Apr 19 15:59:37 2019 (r499373) @@ -1,22 +1,51 @@ ---- setup.py.orig 2016-12-08 22:14:02 UTC +--- setup.py.orig 2018-11-22 14:56:57 UTC +++ setup.py -@@ -12,8 +12,8 @@ fp.write("#Quisk version %s\n" % Version - fp.close() +@@ -18,18 +18,18 @@ if sys.platform != "win32": + except ImportError: + print ("Please install the package python-wxgtk3.0 or later") + missing = True +- if not os.path.isfile("/usr/include/fftw3.h"): +- print ("Please install the package libfftw3-dev") +- missing = True +- if not os.path.isdir("/usr/include/alsa"): +- print ("Please install the package libasound2-dev") +- missing = True +- if not os.path.isfile("/usr/include/portaudio.h"): +- print ("Please install the package portaudio19-dev") +- missing = True +- if not os.path.isdir("/usr/include/pulse"): +- print ("please install the package libpulse-dev") +- missing = True ++# if not os.path.isfile("/usr/include/fftw3.h"): ++# print ("Please install the package libfftw3-dev") ++# missing = True ++# if not os.path.isdir("/usr/include/alsa"): ++# print ("Please install the package libasound2-dev") ++# missing = True ++# if not os.path.isfile("/usr/include/portaudio.h"): ++# print ("Please install the package portaudio19-dev") ++# missing = True ++# if not os.path.isdir("/usr/include/pulse"): ++# print ("please install the package libpulse-dev") ++# missing = True + if missing: + ans = raw_input("Do you want to continue (y, N): ") + ans = ans.strip() +@@ -37,6 +37,8 @@ if sys.platform != "win32": + sys.exit(1) module1 = Extension ('quisk._quisk', -- #include_dirs = ['.'], -- #library_dirs = ['.'], + include_dirs = ['%%LOCALBASE%%/include'], + library_dirs = ['%%LOCALBASE%%/lib'], libraries = ['asound', 'portaudio', 'pulse', 'fftw3', 'm'], sources = ['quisk.c', 'sound.c', 'sound_alsa.c', 'sound_portaudio.c', 'sound_pulseaudio.c', 'is_key_down.c', 'microphone.c', 'utility.c', -@@ -116,7 +116,7 @@ control the N8LP LP-PAN panadapter and t - author_email = 'jahlstr@gmail.com', - url = 'http://james.ahlstrom.name/quisk/', - download_url = 'http://james.ahlstrom.name/quisk/', -- packages = ['quisk', 'quisk.sdriqpkg', 'quisk.n2adr', 'quisk.softrock', 'quisk.usb'], -+ packages = ['quisk', 'quisk.sdriqpkg', 'quisk.n2adr', 'quisk.softrock', 'quisk.usb', 'quisk.hermes'], - package_dir = {'quisk' : '.'}, - package_data = {'quisk' : ['*.txt', '*.html']}, - ext_modules = Modules, +@@ -69,8 +71,6 @@ modulew2 = Extension ('quisk.sdriqpkg.sd + + # Changes for MacOS support thanks to Mario, DL3LSM. + modulem1 = Extension ('quisk._quisk', +- #include_dirs = ['.'], +- #library_dirs = ['.'], + libraries = ['portaudio', 'fftw3', 'm', 'pulse'], + sources = ['quisk.c', 'sound.c', 'sound_portaudio.c', + 'is_key_down.c', 'microphone.c', 'utility.c',