summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2005-11-19 16:28:48 +0000
committerOlivier Fisette <ribosome@gentoo.org>2005-11-19 16:28:48 +0000
commita1b8451127a226c1cee0b07853c5d8f86df1c33b (patch)
treea137f68afd6b2a33fa53f7a7ad68b29bc17cb9b1
parentMarked ppc stable for bug #109637. (diff)
downloadhistorical-a1b8451127a226c1cee0b07853c5d8f86df1c33b.tar.gz
historical-a1b8451127a226c1cee0b07853c5d8f86df1c33b.tar.bz2
historical-a1b8451127a226c1cee0b07853c5d8f86df1c33b.zip
Added check for wxGTK built with X (fixes bug #112927)
Package-Manager: portage-2.0.51.22-r3
-rw-r--r--sci-biology/treeviewx/ChangeLog5
-rw-r--r--sci-biology/treeviewx/Manifest24
-rw-r--r--sci-biology/treeviewx/treeviewx-0.5.1.ebuild14
3 files changed, 24 insertions, 19 deletions
diff --git a/sci-biology/treeviewx/ChangeLog b/sci-biology/treeviewx/ChangeLog
index daff20ccf800..3fe30e4008ca 100644
--- a/sci-biology/treeviewx/ChangeLog
+++ b/sci-biology/treeviewx/ChangeLog
@@ -1,6 +1,9 @@
# 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.11 2005/10/01 21:01:39 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/ChangeLog,v 1.12 2005/11/19 16:28:48 ribosome Exp $
+
+ 19 Nov 2005; Olivier Fisette <ribosome@gentoo.org> treeviewx-0.5.1.ebuild:
+ Added check for wxGTK built with X (fixes bug #112927).
*treeviewx-0.5.1 (01 Oct 2005)
diff --git a/sci-biology/treeviewx/Manifest b/sci-biology/treeviewx/Manifest
index c517337a78dc..875d55984649 100644
--- a/sci-biology/treeviewx/Manifest
+++ b/sci-biology/treeviewx/Manifest
@@ -1,18 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 211c3b134c6a678e61e4610da63b2e42 ChangeLog 2081
-MD5 9a7fb7db456158b59c94a1a74db1a19a files/digest-treeviewx-0.5 58
-MD5 a05c75ec566a1e23526e5df960797f69 files/digest-treeviewx-0.5.1 60
-MD5 c208b90b136cb1d6147844b45c943663 files/treeviewx-gcc-3.4.patch 1993
-MD5 1d7d72d2a9d090385ef5e576f587ef6f files/treeviewx-wxt.patch 1854
-MD5 4a02a793e1530b66640221d52ab8a8ab metadata.xml 523
-MD5 8ff9e4df2f07b5186c97e65e2c32bf78 treeviewx-0.5.1.ebuild 694
+MD5 11bd89305287fd1f69a9d7b676afb3ae treeviewx-0.5.1.ebuild 1124
MD5 782cf1985780d42dc734363154d1f2c7 treeviewx-0.5.ebuild 1416
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDPwegI1lqEGTUzyQRAtiyAJoCvWG3bFMkRIerBBiO0MStsUeoTgCfbopw
-lcbK6WA7g5G0SmyXl4CRF4s=
-=A4/k
------END PGP SIGNATURE-----
+MD5 38bc9c0adc3279499fd2a3d75f78b793 ChangeLog 2217
+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/treeviewx-0.5.1.ebuild b/sci-biology/treeviewx/treeviewx-0.5.1.ebuild
index fe570a287e7e..2f123af96049 100644
--- a/sci-biology/treeviewx/treeviewx-0.5.1.ebuild
+++ b/sci-biology/treeviewx/treeviewx-0.5.1.ebuild
@@ -1,6 +1,6 @@
# 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.2 2005/10/01 22:03:00 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/treeviewx/treeviewx-0.5.1.ebuild,v 1.3 2005/11/19 16:28:48 ribosome Exp $
inherit eutils
@@ -17,6 +17,18 @@ DEPEND=">=x11-libs/wxGTK-2.6"
S="${WORKDIR}/tv-${PV}"
+pkg_setup() {
+ if ! built_with_use x11-libs/wxGTK X; then
+ echo
+ eerror "TreeViewX requires an SVG library which is part of the"
+ eerror "optional X support in the \"x11-libs/wxGTK\" package. To"
+ eerror "install TreeViewX on your system, first recompile"
+ eerror "\"x11-libs/wxGTK\" with the \"X\" USE flag enabled, then try"
+ eerror "to install TreeViewX again."
+ die "X support not enabled in \"x11-libs/wxGTK\""
+ fi
+}
+
src_unpack() {
unpack ${A}
cd "${S}"