diff options
author | Hans de Graaff <graaff@gentoo.org> | 2007-07-22 16:50:19 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2007-07-22 16:50:19 +0000 |
commit | 465b1281c9b3105cfb82256262453a0b899f585c (patch) | |
tree | 9ef11f29f3facd25b6bcf6996d92c3162de53c60 /dev-ruby/gruff | |
parent | Marked ppc/ppc64 stable for bug #186151. (diff) | |
download | gentoo-2-465b1281c9b3105cfb82256262453a0b899f585c.tar.gz gentoo-2-465b1281c9b3105cfb82256262453a0b899f585c.tar.bz2 gentoo-2-465b1281c9b3105cfb82256262453a0b899f585c.zip |
Fix bug 186213: check for truetype USE flag in imagemagick
(Portage version: 2.1.2.9)
Diffstat (limited to 'dev-ruby/gruff')
-rw-r--r-- | dev-ruby/gruff/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ruby/gruff/gruff-0.2.8.ebuild | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/dev-ruby/gruff/ChangeLog b/dev-ruby/gruff/ChangeLog index 8b98dc15d332..0e461a7aac5e 100644 --- a/dev-ruby/gruff/ChangeLog +++ b/dev-ruby/gruff/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/gruff # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/ChangeLog,v 1.11 2007/03/25 21:43:52 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/ChangeLog,v 1.12 2007/07/22 16:50:19 graaff Exp $ + + 22 Jul 2007; Hans de Graaff <graaff@gentoo.org> gruff-0.2.8.ebuild: + Gruff does not work without truetype support in imagemagick: bug 186213. 25 Mar 2007; Raúl Porcel <armin76@gentoo.org> gruff-0.1.2.ebuild: ia64 stable wrt bug 155112 diff --git a/dev-ruby/gruff/gruff-0.2.8.ebuild b/dev-ruby/gruff/gruff-0.2.8.ebuild index 1698eae08c6c..2e2cb7f02482 100644 --- a/dev-ruby/gruff/gruff-0.2.8.ebuild +++ b/dev-ruby/gruff/gruff-0.2.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/gruff-0.2.8.ebuild,v 1.2 2007/03/04 18:52:27 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/gruff-0.2.8.ebuild,v 1.3 2007/07/22 16:50:19 graaff Exp $ inherit ruby gems @@ -18,3 +18,12 @@ RESTRICT="test" DEPEND=">=dev-lang/ruby-1.8.2 >=dev-ruby/hoe-1.1.2 dev-ruby/rmagick" + +pkg_setup() { + if ! built_with_use media-gfx/imagemagick truetype ; then + eerror "media-gfx/imagemagick must be built with the truetype USE flag" + eerror "in order for gruff to create graphics with text." + eerror "Please re-emerge imagemagick with the truetype USE flag enabled." + die "imagemagick does not have the truetype USE flag enabled" + fi +} |