From owner-svn-ports-all@FreeBSD.ORG Tue Jun 3 14:51:31 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 273D4C2E; Tue, 3 Jun 2014 14:51:31 +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 14A34238B; Tue, 3 Jun 2014 14:51:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s53EpUqG012861; Tue, 3 Jun 2014 14:51:30 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s53EpUo6012857; Tue, 3 Jun 2014 14:51:30 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201406031451.s53EpUo6012857@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 3 Jun 2014 14:51:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356372 - in head/biology/treeviewx: . 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 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: Tue, 03 Jun 2014 14:51:31 -0000 Author: bapt Date: Tue Jun 3 14:51:29 2014 New Revision: 356372 URL: http://svnweb.freebsd.org/changeset/ports/356372 QAT: https://qat.redports.org/buildarchive/r356372/ Log: Update to 0.5.1 snapshot 20100824 For the story when moved to google code the project released a version 0.5 which was newer than the 0.5.1 from earlier hosting To be consistent named it 0.5.1s20100824 (following what debian did) Switch treeviewx to use unicode version of wx Add a patch from Ubuntu to fix loading trees. Added: head/biology/treeviewx/files/ head/biology/treeviewx/files/patch-fix-load-trees (contents, props changed) Modified: head/biology/treeviewx/Makefile head/biology/treeviewx/distinfo head/biology/treeviewx/pkg-descr Modified: head/biology/treeviewx/Makefile ============================================================================== --- head/biology/treeviewx/Makefile Tue Jun 3 14:34:06 2014 (r356371) +++ head/biology/treeviewx/Makefile Tue Jun 3 14:51:29 2014 (r356372) @@ -2,17 +2,18 @@ # $FreeBSD$ PORTNAME= treeviewx -PORTVERSION= 0.5.1 -PORTREVISION= 8 +PORTVERSION= ${DISTVERSION}.1s20100823 +DISTVERSION= 0.5 CATEGORIES= biology -MASTER_SITES= http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/download/${PORTVERSION:S/.1//}/ -DISTNAME= tv-${PORTVERSION} +MASTER_SITES= GOOGLE_CODE +DISTNAME= tv-${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Phylogenetic tree viewer USE_WX= 2.8 -WX_COMPS= wx contrib +WX_COMP= wx contrib +WX_UNICODE= yes USES= gmake GNU_CONFIGURE= yes Modified: head/biology/treeviewx/distinfo ============================================================================== --- head/biology/treeviewx/distinfo Tue Jun 3 14:34:06 2014 (r356371) +++ head/biology/treeviewx/distinfo Tue Jun 3 14:51:29 2014 (r356372) @@ -1,2 +1,2 @@ -SHA256 (tv-0.5.1.tar.gz) = 118bdbefb3f21636b1ba9da92e1b2029cb4d7d9944f4d02d2deace4ebb14c2d1 -SIZE (tv-0.5.1.tar.gz) = 426745 +SHA256 (tv-0.5.tar.gz) = 2c0f41cb398a183155bed658c9e7e8ac880b2b75554901feddb2ea3ca97ff2eb +SIZE (tv-0.5.tar.gz) = 441422 Added: head/biology/treeviewx/files/patch-fix-load-trees ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/biology/treeviewx/files/patch-fix-load-trees Tue Jun 3 14:51:29 2014 (r356372) @@ -0,0 +1,40 @@ +Bug: http://code.google.com/p/treeviewx/issues/detail?id=1 +Description: fix crash on loading tree file. +Author: Tim Booth +--- tview.cpp ++++ tview.cpp +@@ -278,7 +278,7 @@ + char buf[256]; + strcpy (buf, p->GetLabel().c_str()); + wchar_t wbuf[256]; +- mbstowcs (wbuf, buf, size_t(wbuf)); ++ mbstowcs (wbuf, buf, 256); + s << wbuf; + #else + s << p->GetLabel().c_str(); +@@ -563,7 +563,7 @@ + char buf[256]; + strcpy (buf, t.GetName().c_str()); + wchar_t wbuf[256]; +- mbstowcs (wbuf, buf, size_t(wbuf)); ++ mbstowcs (wbuf, buf, 256); + txt << wbuf; + #else + txt << t.GetName().c_str(); +@@ -712,7 +712,7 @@ + char buf[256]; + strcpy (buf, p.GetIthTreeName(i).c_str()); + wchar_t wbuf[256]; +- mbstowcs (wbuf, buf, size_t(wbuf)); ++ mbstowcs (wbuf, buf, 256); + + std::wstring tname = wbuf; + +@@ -1046,6 +1046,7 @@ + void MyCanvas::OnSize(wxSizeEvent& event) + { + Resize (); ++ Refresh(); + event.Skip(); + } + Modified: head/biology/treeviewx/pkg-descr ============================================================================== --- head/biology/treeviewx/pkg-descr Tue Jun 3 14:34:06 2014 (r356371) +++ head/biology/treeviewx/pkg-descr Tue Jun 3 14:51:29 2014 (r356372) @@ -5,4 +5,4 @@ subset of the functionality of the versi Mac Classic and Windows (it is roughly equivalent to version 0.95 of TreeView). -WWW: http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/ +WWW: https://code.google.com/p/treeviewx/