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
commitfcf46a94fb8b63f3dc0da5b97c559b17e880779e (patch)
tree8be6ae82993642d37fdc8e282bc63e69aee91947 /sci-biology/treeviewx
parentMarked ppc stable for bug #109637. (diff)
downloadgentoo-2-fcf46a94fb8b63f3dc0da5b97c559b17e880779e.tar.gz
gentoo-2-fcf46a94fb8b63f3dc0da5b97c559b17e880779e.tar.bz2
gentoo-2-fcf46a94fb8b63f3dc0da5b97c559b17e880779e.zip
Added check for wxGTK built with X (fixes bug #112927)
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'sci-biology/treeviewx')
-rw-r--r--sci-biology/treeviewx/ChangeLog5
-rw-r--r--sci-biology/treeviewx/Manifest22
-rw-r--r--sci-biology/treeviewx/treeviewx-0.5.1.ebuild14
3 files changed, 23 insertions, 18 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..4f5fba568b64 100644
--- a/sci-biology/treeviewx/Manifest
+++ b/sci-biology/treeviewx/Manifest
@@ -1,18 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 6b58e2f20460c60d1596e0dda5e7102b treeviewx-0.5.1.ebuild 1124
+MD5 782cf1985780d42dc734363154d1f2c7 treeviewx-0.5.ebuild 1416
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 782cf1985780d42dc734363154d1f2c7 treeviewx-0.5.ebuild 1416
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDPwegI1lqEGTUzyQRAtiyAJoCvWG3bFMkRIerBBiO0MStsUeoTgCfbopw
-lcbK6WA7g5G0SmyXl4CRF4s=
-=A4/k
------END PGP SIGNATURE-----
+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}"