summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2008-06-04 05:40:14 +0000
committerHans de Graaff <graaff@gentoo.org>2008-06-04 05:40:14 +0000
commitee287cf9a31e7f13c3e2f195c077addd9c36e9f7 (patch)
treed16de5ee742a1f3a64bd33959787820089bf35b9 /dev-ruby
parentbreak out --enable-apop into a USE flag. Closes bug #106367, thanks to Christ... (diff)
downloadhistorical-ee287cf9a31e7f13c3e2f195c077addd9c36e9f7.tar.gz
historical-ee287cf9a31e7f13c3e2f195c077addd9c36e9f7.tar.bz2
historical-ee287cf9a31e7f13c3e2f195c077addd9c36e9f7.zip
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rmagick/ChangeLog7
-rw-r--r--dev-ruby/rmagick/Manifest10
-rw-r--r--dev-ruby/rmagick/rmagick-2.4.0.ebuild68
3 files changed, 80 insertions, 5 deletions
diff --git a/dev-ruby/rmagick/ChangeLog b/dev-ruby/rmagick/ChangeLog
index a5c5d4efed73..fda239d3ed9a 100644
--- a/dev-ruby/rmagick/ChangeLog
+++ b/dev-ruby/rmagick/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rmagick
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v 1.102 2008/05/09 05:36:41 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v 1.103 2008/06/04 05:40:14 graaff Exp $
+
+*rmagick-2.4.0 (04 Jun 2008)
+
+ 04 Jun 2008; Hans de Graaff <graaff@gentoo.org> +rmagick-2.4.0.ebuild:
+ Version bump: adds Image#image_type=
*rmagick-1.15.14 (09 May 2008)
diff --git a/dev-ruby/rmagick/Manifest b/dev-ruby/rmagick/Manifest
index 5671d706e791..24859a6039f6 100644
--- a/dev-ruby/rmagick/Manifest
+++ b/dev-ruby/rmagick/Manifest
@@ -6,17 +6,19 @@ DIST RMagick-1.15.13.tar.bz2 974642 RMD160 608905983cc8397ce61285863e4366bcda3bb
DIST RMagick-1.15.14.tar.bz2 975852 RMD160 09954e4acd56f12bb4df40279e5f60bf5b744de4 SHA1 49a34c604b51143afaee718f40c8f7840c60b86d SHA256 744ae44d3beba41bfa37b4518927f414ebe506f2d984d43dac61740dda6b5c03
DIST RMagick-2.2.2.tar.bz2 930268 RMD160 9d9ef6e0c41efffbad27edb10e19679c742ee71e SHA1 147065cb0276f7f1ec1dd03ea46da19b08226f96 SHA256 e71c2e4ce7c8f8cae5392953265f2ef1dde4659d28709614c496844aac76cd75
DIST RMagick-2.3.0.tar.bz2 929940 RMD160 cf20c7253b79e0540ad136b069cbe11eeb4f6bb7 SHA1 6f9da36c2058e741de120c0f82aec94808532d90 SHA256 d85b2c06a8d5ae87a52e7746810fa7698e9be9a0ad3f1572ebe963de5125133d
+DIST RMagick-2.4.0.tar.bz2 929307 RMD160 51d7b9cafe36107abd90c5074c5fb67f5486aa00 SHA1 e800cadcbfcac7a1d026740b72e00158f90fad2f SHA256 9a1236785aab7642c80b4b517fd5d0ac062e1a044415fd250c3153441fcd041f
EBUILD rmagick-1.15.12.ebuild 2689 RMD160 56ea629800c4b23f231ce84409f8aa3e1c7c83b3 SHA1 726e95a9a236ee02bcf74551dfe706ce54f12227 SHA256 757b094eb4d81db43b7bfba3ce8b82653ec8211daa4cec53287a967863659f0c
EBUILD rmagick-1.15.13.ebuild 2695 RMD160 fe7dbf6fe09b9c73c4eef18f7f1545f9957e99b8 SHA1 fd8507efbdf7083ecff511350a2c35d46ff4457d SHA256 b2526e41c4fddadd948234afaf8016ad2302f95be4dcf1134c381209badfbc07
EBUILD rmagick-1.15.14.ebuild 2676 RMD160 8d0d16dda9076570ea2d07f436b962b8d84d2b2a SHA1 98ca4941cd1231b089003574372b5e39398a47e2 SHA256 80d9777a2c3d4feb9130694a547b877e22d2a16aaae2f163e5afa0b35f30b8bd
EBUILD rmagick-2.2.2.ebuild 2666 RMD160 fdc216e20cc1f17acf64617ff41f947d2347f80d SHA1 3bf7aceaa5c75740b7fbf1c94b2cfa585d0bcd10 SHA256 dfaf8c18893a33b32aaf690bb0c07475183a9577a28185aa4e9c2e344a16beb2
EBUILD rmagick-2.3.0.ebuild 2666 RMD160 fbdc0a9cfc2b09dd584c15a7aa6b3c7c8654e0af SHA1 137cf7b3e0308f83c44367b30f45d13db64b5a7c SHA256 5fd7f280d620fc874efb26d73ea46239f37155dd6c70756f2a193af8d3210d5c
-MISC ChangeLog 14316 RMD160 7023144c25425bbd9a873fe2a782b9d00b2e0e80 SHA1 dd4244dce3aae49ffa8bd9603bdd2be6b7421baf SHA256 c44dfcbe159d5a63ec0c8db241d593da1c66afde481d360cdbe4efcec3cfef17
+EBUILD rmagick-2.4.0.ebuild 2649 RMD160 e5b44c7eafa63a1aa72f34461b1fa7647ecb63a7 SHA1 19074d1b505406b8cea794cacc4f2454fe7b9a88 SHA256 d570a573cda9fe0677d5e16bb83427ff8e5970ab6351b029fb40ba372647794c
+MISC ChangeLog 14459 RMD160 bb349e8e16ee0a3268cecc3bc30ba86d228f7a6c SHA1 90c158bf20b7bfb71707284231404f2210d04abc SHA256 8467acf2c683cf061bddb184c16ca671fc5c6dec1b35ac564a5122f4898e90d6
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkgj4vUACgkQQUozDL2JlH40QACcDXst4ODzahxbyNfvhERJKRFc
-Rr0AnjZUl89PfX5PV8o+wpWa7qtv3dvx
-=ZqZ3
+iEYEARECAAYFAkhGKsQACgkQQUozDL2JlH5u9wCfZ8WOa3Z93yoh17FCy6vSMN9H
+mi8An37B58LFnj8lE/oMv8T8C7nT1vGl
+=10SR
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rmagick/rmagick-2.4.0.ebuild b/dev-ruby/rmagick/rmagick-2.4.0.ebuild
new file mode 100644
index 000000000000..04e7a9030140
--- /dev/null
+++ b/dev-ruby/rmagick/rmagick-2.4.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/rmagick-2.4.0.ebuild,v 1.1 2008/06/04 05:40:14 graaff Exp $
+
+inherit ruby
+
+# The gem for this package doesn't seem to play well with portage. It
+# runs a GNUish configure script, with argument passed directly from
+# the gem install command, but gem install doesn't use the same style
+# of arguments. Thus, unless you're smart enough to come up with a
+# fix, please leave this as a source package install.
+
+MY_PV=${PV//_/-}
+DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library"
+HOMEPAGE="http://rmagick.rubyforge.org/"
+SRC_URI="mirror://rubyforge/rmagick/RMagick-${MY_PV}.tar.bz2"
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="examples doc"
+DEPEND="virtual/ruby
+ >=media-gfx/imagemagick-6.3.5.6"
+
+S="${WORKDIR}/RMagick-${PV}"
+
+# hdri causes extensive changes in the imagemagick internals, and
+# rmagick is not ready to deal with those, see bug 184356.
+pkg_setup() {
+ if built_with_use --missing false media-gfx/imagemagick hdri ; then
+ eerror "imagemagick is built with the hdri USE flag, this is not supported by rmagick"
+ eerror "please rebuild imagemagick without hdri support if you want to use rmagick"
+ die "imagemagick is built with the hdri USE flag, this is not supported by rmagick"
+ fi
+}
+
+# Use a custom src_compile because the setup.rb included with RMagick
+# doesn't like extra parameters during the setup phase.
+src_compile() {
+ # When documentation is built many examples are also run. Not all
+ # of them may work (e.g. due to missing additional dependencies)
+ # so we allow the examples to fail.
+ if ! use doc ; then
+ RUBY_ECONF="--disable-htmldoc --allow-example-errors"
+ fi
+
+ ${RUBY} setup.rb config --prefix=/usr "$@" \
+ ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed"
+ ${RUBY} setup.rb setup || die "setup.rb setup failed"
+}
+
+# Use a custom src_install instead of the default one in ruby.eclass
+# because the one in ruby.eclass does not include setting the prefix
+# for the installation step and assumes that arguments can be given
+# also during the install phase.
+src_install() {
+ if ! use doc ; then
+ RUBY_ECONF="--disable-htmldoc --allow-example-errors"
+ fi
+
+ ${RUBY} setup.rb config --prefix="${D}/usr" "$@" \
+ ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed"
+ ${RUBY} setup.rb install --prefix="${D}" || die "setup.rb install failed"
+
+ cd "${S}"
+ dodoc ChangeLog README.html README-Mac-OSX.txt README.txt
+
+ use examples && dodoc examples/*
+}