From owner-svn-ports-all@FreeBSD.ORG Mon Jan 12 01:16:53 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AEA48705; Mon, 12 Jan 2015 01:16:53 +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 7FC22AB5; Mon, 12 Jan 2015 01:16:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0C1GrQn065386; Mon, 12 Jan 2015 01:16:53 GMT (envelope-from shurd@FreeBSD.org) Received: (from shurd@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0C1GrX2065384; Mon, 12 Jan 2015 01:16:53 GMT (envelope-from shurd@FreeBSD.org) Message-Id: <201501120116.t0C1GrX2065384@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: shurd set sender to shurd@FreeBSD.org using -f From: Stephen Hurd Date: Mon, 12 Jan 2015 01:16:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376810 - in head/comms/wsjt: . 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-all@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 12 Jan 2015 01:16:53 -0000 Author: shurd Date: Mon Jan 12 01:16:52 2015 New Revision: 376810 URL: https://svnweb.freebsd.org/changeset/ports/376810 QAT: https://qat.redports.org/buildarchive/r376810/ Log: Fix waterfall display (was previously disabled by the patch). Modified: head/comms/wsjt/Makefile head/comms/wsjt/files/patch-WsjtMod_specjt.py (contents, props changed) Modified: head/comms/wsjt/Makefile ============================================================================== --- head/comms/wsjt/Makefile Mon Jan 12 01:14:09 2015 (r376809) +++ head/comms/wsjt/Makefile Mon Jan 12 01:16:52 2015 (r376810) @@ -2,7 +2,7 @@ PORTNAME= wsjt VERSION= 9.1 -PORTREVISION= 8 +PORTREVISION= 9 DISTVERSION= ${VERSION}.r${SVN_REV} CATEGORIES= comms hamradio MASTER_SITES= ${MASTER_SITE_LOCAL} Modified: head/comms/wsjt/files/patch-WsjtMod_specjt.py ============================================================================== --- head/comms/wsjt/files/patch-WsjtMod_specjt.py Mon Jan 12 01:14:09 2015 (r376809) +++ head/comms/wsjt/files/patch-WsjtMod_specjt.py Mon Jan 12 01:16:52 2015 (r376810) @@ -1,5 +1,5 @@ ---- WsjtMod/specjt.py.orig 2011-09-13 15:56:59.000000000 -0400 -+++ WsjtMod/specjt.py 2014-12-15 21:26:06.000000000 -0500 +--- WsjtMod/specjt.py.orig 2011-09-13 12:56:59.000000000 -0700 ++++ WsjtMod/specjt.py 2015-01-09 04:04:37.000000000 -0800 @@ -11,13 +11,9 @@ import cPickle import tkMessageBox @@ -22,7 +22,24 @@ c=Canvas() -a=zeros(225000,'s') -+##a=zeros(225000,'s') ++a=zeros(225000,'uint16') im=Image.new('P',(750,300)) line0=Image.new('P',(750,1)) #Image fragment for top line of waterfall draw=ImageDraw.Draw(im) +@@ -330,11 +326,14 @@ + except: + print "Images did not match, continuing anyway." + for i in range(n): +- line0.putdata(a[750*i:750*(i+1)]) #One row of pixels to line0 ++ for j in range(0, 749): ++ line0.putpixel((j,0), a[750*i+j]) + im.paste(line0,(0,i)) #Paste in new top line + nscroll=nscroll+n + else: #A scale factor has changed +- im.putdata(a) #Compute whole new image ++ for i in range(0, 300): ++ for j in range(0, 749): ++ im.putpixel((j,i), a[750*i+j]) + b0=brightness #Save scale values + c0=contrast + logm0=logm