summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2005-10-01 21:01:39 +0000
committerOlivier Fisette <ribosome@gentoo.org>2005-10-01 21:01:39 +0000
commit56656f7c295a32c3e8bab16c5c0a966e1db5b787 (patch)
tree2a80a40f168521be21cf0b74eaa9b9cbcaa2b9c4 /sci-biology/treeviewx
parentStable on x86; bug #107748 (diff)
downloadgentoo-2-56656f7c295a32c3e8bab16c5c0a966e1db5b787.tar.gz
gentoo-2-56656f7c295a32c3e8bab16c5c0a966e1db5b787.tar.bz2
gentoo-2-56656f7c295a32c3e8bab16c5c0a966e1db5b787.zip
New version (fixes bug #90181)
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sci-biology/treeviewx')
-rw-r--r--sci-biology/treeviewx/ChangeLog9
-rw-r--r--sci-biology/treeviewx/Manifest3
-rw-r--r--sci-biology/treeviewx/files/digest-treeviewx-0.5.11
-rw-r--r--sci-biology/treeviewx/files/treeviewx-wxt.patch50
-rw-r--r--sci-biology/treeviewx/treeviewx-0.5.1.ebuild33
5 files changed, 95 insertions, 1 deletions
diff --git a/sci-biology/treeviewx/ChangeLog b/sci-biology/treeviewx/ChangeLog
index 526752bb6540..daff20ccf800 100644
--- a/sci-biology/treeviewx/ChangeLog
+++ b/sci-biology/treeviewx/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-biology/treeviewx
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/ChangeLog,v 1.10 2005/05/13 03:18:18 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/ChangeLog,v 1.11 2005/10/01 21:01:39 ribosome Exp $
+
+*treeviewx-0.5.1 (01 Oct 2005)
+
+ 01 Oct 2005; Olivier Fisette <ribosome@gentoo.org>
+ +files/treeviewx-wxt.patch, +treeviewx-0.5.1.ebuild:
+ New version, along with a patch to compile against wxGTK-2.6. The new
+ version has a configure check for wxGTK-svg (fixes bug #90181).
13 May 2005; Olivier Fisette <ribosome@gentoo.org>
-treeviewx-0.4-r1.ebuild, treeviewx-0.5.ebuild:
diff --git a/sci-biology/treeviewx/Manifest b/sci-biology/treeviewx/Manifest
index 4f619fea8af2..b925c0ad4564 100644
--- a/sci-biology/treeviewx/Manifest
+++ b/sci-biology/treeviewx/Manifest
@@ -1,5 +1,8 @@
+MD5 2d3f0aeb5fa0f3497231323c663cfb6c treeviewx-0.5.1.ebuild 770
MD5 782cf1985780d42dc734363154d1f2c7 treeviewx-0.5.ebuild 1416
MD5 8f77faa938b0de6b4a33c30b5fb3ac1f ChangeLog 1802
MD5 4a02a793e1530b66640221d52ab8a8ab metadata.xml 523
+MD5 1d7d72d2a9d090385ef5e576f587ef6f files/treeviewx-wxt.patch 1854
MD5 c208b90b136cb1d6147844b45c943663 files/treeviewx-gcc-3.4.patch 1993
+MD5 a05c75ec566a1e23526e5df960797f69 files/digest-treeviewx-0.5.1 60
MD5 9a7fb7db456158b59c94a1a74db1a19a files/digest-treeviewx-0.5 58
diff --git a/sci-biology/treeviewx/files/digest-treeviewx-0.5.1 b/sci-biology/treeviewx/files/digest-treeviewx-0.5.1
new file mode 100644
index 000000000000..aa02d38ee9ba
--- /dev/null
+++ b/sci-biology/treeviewx/files/digest-treeviewx-0.5.1
@@ -0,0 +1 @@
+MD5 07e1ed8873c5f19ded7294668233bae1 tv-0.5.1.tar.gz 426745
diff --git a/sci-biology/treeviewx/files/treeviewx-wxt.patch b/sci-biology/treeviewx/files/treeviewx-wxt.patch
new file mode 100644
index 000000000000..b1c03bbb39f9
--- /dev/null
+++ b/sci-biology/treeviewx/files/treeviewx-wxt.patch
@@ -0,0 +1,50 @@
+--- tv.cpp~ 2005-10-01 16:47:35.000000000 -0400
++++ tv.cpp 2005-10-01 16:52:30.000000000 -0400
+@@ -312,11 +312,15 @@
+ {
+ #ifdef __WXMSW__
+ file_menu->AppendSeparator();
+- file_menu->Append(SAVEAS_PICTURE_CMD, "Save As Picture..."), wxT("Save picture of tree to metafile");
++ file_menu->Append(SAVEAS_PICTURE_CMD,
++ wxT("Save As Picture...")),
++ wxT("Save picture of tree to metafile");
+ #else
+ #ifdef USE_SVG
+ file_menu->AppendSeparator();
+- file_menu->Append(SAVEAS_PICTURE_CMD, "Save As Picture..."), wxT("Save picture of tree to SVG file");
++ file_menu->Append(SAVEAS_PICTURE_CMD,
++ wxT("Save As Picture...")),
++ wxT("Save picture of tree to SVG file");
+ #endif
+ #endif
+ file_menu->AppendSeparator();
+--- tview.cpp~ 2005-10-01 16:47:45.000000000 -0400
++++ tview.cpp 2005-10-01 16:50:42.000000000 -0400
+@@ -184,10 +184,10 @@
+ wxString pictureFileName = GetFrame()->GetTitle();
+ pictureFileName += wxT(".emf");
+ wxFrame *f = GetMainFrame();
+- wxFileDialog dialog((wxWindow *)f, "Save Picture as", "", pictureFileName,
+- "Enhanced metafile (*.emf)|*.emf",
+- wxSAVE|wxOVERWRITE_PROMPT);
+-
++ wxFileDialog dialog((wxWindow *)f, wxT("Save Picture as"), wxT(""),
++ pictureFileName, wxT("Enhanced metafile (*.emf)|*.emf"),
++ wxSAVE|wxOVERWRITE_PROMPT);
++
+ if (dialog.ShowModal() == wxID_OK)
+ {
+ wxMetafileDC pictureDC (dialog.GetPath(), 600, 650) ;
+@@ -204,9 +204,9 @@
+ #else
+ wxFrame *f = GetMainFrame();
+ #endif
+- wxFileDialog dialog((wxWindow *)f, "Save Picture as", "", pictureFileName,
+- "SVG vector picture files (*.svg)|*.svg",
+- wxSAVE|wxOVERWRITE_PROMPT);
++ wxFileDialog dialog((wxWindow *)f, wxT("Save Picture as"), wxT(""),
++ pictureFileName, wxT("SVG vector picture files (*.svg)|*.svg"),
++ wxSAVE|wxOVERWRITE_PROMPT);
+
+ if (dialog.ShowModal() == wxID_OK)
+ {
diff --git a/sci-biology/treeviewx/treeviewx-0.5.1.ebuild b/sci-biology/treeviewx/treeviewx-0.5.1.ebuild
new file mode 100644
index 000000000000..d3f21e53ee7f
--- /dev/null
+++ b/sci-biology/treeviewx/treeviewx-0.5.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/treeviewx-0.5.1.ebuild,v 1.1 2005/10/01 21:01:39 ribosome Exp $
+
+inherit eutils
+
+DESCRIPTION="A phylogenetic tree viewer"
+HOMEPAGE="http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/"
+SRC_URI="http://darwin.zoology.gla.ac.uk/~rpage/${PN}/download/0.5/tv-${PV}.tar.gz"
+LICENSE="GPL-2"
+
+KEYWORDS="~x86"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=x11-libs/wxGTK-2.6*"
+
+S="${WORKDIR}/tv-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-wxt.patch
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "make install failed"
+}