Date: Tue, 3 Jun 2014 14:51:30 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356372 - in head/biology/treeviewx: . files Message-ID: <201406031451.s53EpUo6012857@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406031451.s53EpUo6012857>