summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2008-09-29 06:22:21 +0000
committerHans de Graaff <graaff@gentoo.org>2008-09-29 06:22:21 +0000
commitd2826673a9b2ac1a2547d2fc68381d9714e39283 (patch)
tree4ba98613111a5ecfb87f050b7c9d1a860a11600c /dev-ruby
parentAdd missing dependency (diff)
downloadhistorical-d2826673a9b2ac1a2547d2fc68381d9714e39283.tar.gz
historical-d2826673a9b2ac1a2547d2fc68381d9714e39283.tar.bz2
historical-d2826673a9b2ac1a2547d2fc68381d9714e39283.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.7.0.ebuild68
3 files changed, 80 insertions, 5 deletions
diff --git a/dev-ruby/rmagick/ChangeLog b/dev-ruby/rmagick/ChangeLog
index bae8ecfa8b74..d3fa10843045 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.117 2008/09/17 18:15:56 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v 1.118 2008/09/29 06:22:21 graaff Exp $
+
+*rmagick-2.7.0 (29 Sep 2008)
+
+ 29 Sep 2008; Hans de Graaff <graaff@gentoo.org> +rmagick-2.7.0.ebuild:
+ Version bump
*rmagick-2.6.0 (17 Sep 2008)
diff --git a/dev-ruby/rmagick/Manifest b/dev-ruby/rmagick/Manifest
index 49623f31b3d3..f6d59b2a2b22 100644
--- a/dev-ruby/rmagick/Manifest
+++ b/dev-ruby/rmagick/Manifest
@@ -7,18 +7,20 @@ DIST RMagick-2.5.0.tar.bz2 930033 RMD160 ad9b6fe17e71061ae76b06629e5741c0f2c7ad1
DIST RMagick-2.5.1.tar.bz2 930736 RMD160 03eef1afba7397f2a81e4f6f0192b751dc06fb0e SHA1 ca388927fa17dd899992f1adae4cc4793e44c3e7 SHA256 43e7989396d95cdd43db6123e07ea60210e1171e25598066bc3ebbff32a8dd56
DIST RMagick-2.5.2.tar.bz2 930425 RMD160 cea18bf0825bfda09682c1da68d035756db00675 SHA1 b07e453ed70ed1466d1d5d7962f817905392fda6 SHA256 f76f1166e299e51f8eb812ed00acf92c624cf79e698a5e2b829c5b890d8c5f1d
DIST RMagick-2.6.0.tar.bz2 1136458 RMD160 3c46df11c05534a36a7e41340ba0774a39accae8 SHA1 c7e96540468bda24007bfb57358465f9efe3f892 SHA256 a4317e33d139a2c6a5b13ea9008e17149bfff44f71d846e9a0f1a44a6b820e2a
+DIST RMagick-2.7.0.tar.bz2 1138709 RMD160 4ce4be762c10793786b1e07461fa1f3b2c64ac20 SHA1 737dbb552dc7d6a080216ac2f7252b28bea9daf6 SHA256 1c86726c9a72f4671b784d3321debfcd7a90178b6d15fed840cdd88630ef8f00
EBUILD rmagick-1.15.14.ebuild 2669 RMD160 775a88e36173ce7063d3cfb6a4b10b90ba3122b7 SHA1 97ff9c8f6cc3f20ffcdfe5ca6a9e90e5f549cacc SHA256 e607c9cf42d25e6734ed8d92000bd139c76e1c705690e5a4a660204856e17222
EBUILD rmagick-1.15.15.ebuild 2676 RMD160 57f847c5f41ff57c90c368ff3da3f9de314f3bfb SHA1 28927f9ac902a227cf63fbbdbac635c8660c0d74 SHA256 a929274924a8e32a9b558626736c7c961a42485ee145ac42b528733d808047a9
EBUILD rmagick-2.5.0.ebuild 2638 RMD160 6cdb930956db0d160dd1b99c73bd6e6dd2bddc7d SHA1 c5108130a5d31b59fa2f48e6011149a247c066d6 SHA256 0f9e54fbbfc97fbb8d8ba8041e7fcc4141080118810870bf323599b13178c078
EBUILD rmagick-2.5.1.ebuild 2638 RMD160 af472bde72e06330caf1e128a545cf37024f41ea SHA1 31970218385afe62c14bceee31112f37e4fd5338 SHA256 90dd0b894c330e5bce05ca394103d297650fd359d1c7c1234fe1323aa6c617ac
EBUILD rmagick-2.5.2.ebuild 2638 RMD160 b48bc68d448d6f5277a88ad95af5461b95858193 SHA1 7f4113e0dc50726aa7e9e3c0764d94754df6f24f SHA256 953d9d91f5633c7a1b82359d04ec05984d36ba1c41e9821cc4246a72425de060
EBUILD rmagick-2.6.0.ebuild 2638 RMD160 d0e13a3f0a6fb4ad3632891efc6e44fdab30a6cf SHA1 46839db26104ade2f2006f7d07a73aafdf84981a SHA256 7707560f587bf21fcfb96f3bd4fc99707df633858c84e7149a44a87a77a9371d
-MISC ChangeLog 16328 RMD160 68e221c359d73298e24cb3bb56bebef58e3a29f4 SHA1 8a0c46e436a2b1db2cd50bfbd0b8152b9a4df3ca SHA256 4f2f99f0a4a2b6ac0faa77e07578b5cef62b7aed07fdb0fe7aafc7977980a118
+EBUILD rmagick-2.7.0.ebuild 2638 RMD160 f8ff6131b7d96f5c4ddc9f26ace5035e1262a760 SHA1 eb8d7af5c84761e8193dd6582e95791d0f94fb64 SHA256 bb952dc6e086f969e9caadb111e4f568a77322f770d07906bb8e3efb0ccdac01
+MISC ChangeLog 16447 RMD160 6e85ac5940eea19fd2a615de1106000f8c521adf SHA1 203beeec8a1cfee233793736f4c40940cc49cc93 SHA256 5aee3a99524959895f25e85a3c1e64125e07ebf595f0a4a732add8d81b4b9dbd
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkjRSWgACgkQCzgcb6sPj4+8fwCeK3fOjA0bupIx56KLqiGPWpIS
-BMsAn3FugD0C5JnBxYpPO9w9FiBYjAeQ
-=NCmw
+iEYEARECAAYFAkjgdCMACgkQCzgcb6sPj4/KhACeKMV9aPS9k18J55XhCOtJT4Av
+h10AnjgW53N6QVt+KL6JVbUxuG0OcMRj
+=oFwn
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rmagick/rmagick-2.7.0.ebuild b/dev-ruby/rmagick/rmagick-2.7.0.ebuild
new file mode 100644
index 000000000000..80f82557e370
--- /dev/null
+++ b/dev-ruby/rmagick/rmagick-2.7.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.7.0.ebuild,v 1.1 2008/09/29 06:22:21 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
+
+ use examples && dodoc examples/*
+}