summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2008-12-26 13:36:54 +0000
committerHans de Graaff <graaff@gentoo.org>2008-12-26 13:36:54 +0000
commite693eeda6fa8d1ab1d7d8ea36dfe2170c04b1869 (patch)
treeb3d9580e9a02b4ca4c5383ac677919a9bcba1a39 /dev-ruby/rmagick
parentAutomated update of use.local.desc (diff)
downloadhistorical-e693eeda6fa8d1ab1d7d8ea36dfe2170c04b1869.tar.gz
historical-e693eeda6fa8d1ab1d7d8ea36dfe2170c04b1869.tar.bz2
historical-e693eeda6fa8d1ab1d7d8ea36dfe2170c04b1869.zip
Put documentation files in the right places, fixing #252389
Package-Manager: portage-2.1.6.3/cvs/Linux 2.6.26-gentoo-r2 x86_64
Diffstat (limited to 'dev-ruby/rmagick')
-rw-r--r--dev-ruby/rmagick/ChangeLog7
-rw-r--r--dev-ruby/rmagick/Manifest13
-rw-r--r--dev-ruby/rmagick/rmagick-2.8.0-r1.ebuild69
3 files changed, 87 insertions, 2 deletions
diff --git a/dev-ruby/rmagick/ChangeLog b/dev-ruby/rmagick/ChangeLog
index f29c97177adb..38575dea305b 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.128 2008/12/13 16:28:40 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v 1.129 2008/12/26 13:36:54 graaff Exp $
+
+*rmagick-2.8.0-r1 (26 Dec 2008)
+
+ 26 Dec 2008; Hans de Graaff <graaff@gentoo.org> +rmagick-2.8.0-r1.ebuild:
+ Put documentation files in the right place, fixing #252389.
13 Dec 2008; Raúl Porcel <armin76@gentoo.org> rmagick-1.15.15.ebuild,
rmagick-2.6.0.ebuild:
diff --git a/dev-ruby/rmagick/Manifest b/dev-ruby/rmagick/Manifest
index 52b4163b385f..204c29fd60bf 100644
--- a/dev-ruby/rmagick/Manifest
+++ b/dev-ruby/rmagick/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST RMagick-1.15.14.tar.bz2 975852 RMD160 09954e4acd56f12bb4df40279e5f60bf5b744de4 SHA1 49a34c604b51143afaee718f40c8f7840c60b86d SHA256 744ae44d3beba41bfa37b4518927f414ebe506f2d984d43dac61740dda6b5c03
DIST RMagick-1.15.15.tar.bz2 975949 RMD160 f04ff767193c8be0f08171e39873af051a747246 SHA1 c9c61c7962620b24a524061637026904f240f382 SHA256 6d9b004139c01b61e42d40c3d99adb34a537e751fccd142da620601a7dbf7d24
DIST RMagick-1.15.16.tar.bz2 976070 RMD160 72b3d7a463c862661212cc5a1f01a53d01bafe5e SHA1 d47df2ace74244aeaae252f8bca99dd58bd906e3 SHA256 619924cf844404dccae4342b538d0cf55b3d4446ba22e1696d1b149931a450f5
@@ -15,6 +18,14 @@ EBUILD rmagick-2.6.0.ebuild 2631 RMD160 8bea3f3e1007c045591a430039476ed4c7df06c0
EBUILD rmagick-2.7.0.ebuild 2638 RMD160 f8ff6131b7d96f5c4ddc9f26ace5035e1262a760 SHA1 eb8d7af5c84761e8193dd6582e95791d0f94fb64 SHA256 bb952dc6e086f969e9caadb111e4f568a77322f770d07906bb8e3efb0ccdac01
EBUILD rmagick-2.7.1.ebuild 2638 RMD160 90d01215c1372e7abf892ba4eef90d4846744ae3 SHA1 f12a2b8b84a444a6d36f430d23bbc09f2ce44271 SHA256 32d7fd05b9101ae09ccd9dd00eaa4400694afa868ca190055c642e7812b08377
EBUILD rmagick-2.7.2.ebuild 2638 RMD160 74247dd268f50ac971c715961fce3345275725f5 SHA1 78ae278bfa2e7882c196c20b95c86711c2733367 SHA256 0cef164fdecbe882266a202258efc7372d1e017d15e6fa8039f8aa7fe13f2fec
+EBUILD rmagick-2.8.0-r1.ebuild 2686 RMD160 2fd6ef0a0074355e3c850d43e509ca509f3e4b72 SHA1 a069d685adcff01c052eeb51a8e54ed6c36e8c17 SHA256 23e7c3c23d8fe0ffb69c944c58d9be5cc23b93a6ee88eb9758db0b190f64dc70
EBUILD rmagick-2.8.0.ebuild 2638 RMD160 43c80bb7b4bd6796196dc6c16796d94474f25d2b SHA1 c1a971ba453bee755e63dd96d01bdd84f460a7f5 SHA256 3817d03d42976b5d6f12730111158e60ecef511cdb84faf17f3c56640d847e99
-MISC ChangeLog 17972 RMD160 aaf8c715025f0374d6caf84399fbd5f458a6796a SHA1 7ae095ef38d7e7c893e320c5012785fb3fa5d79c SHA256 6b623adc5321806325de79a10e0760d1e7159869fef76b6963d67e5a28edc8d6
+MISC ChangeLog 18143 RMD160 fc9fde04e232a83c9d80a5f1c0d9740b9e299bab SHA1 4dcbf9a9f74838c26df49d77b00d0369e62fc2e6 SHA256 2cae62bf3b2136db25586f2d426b5eb5c2d5ebb24008b6bc9556c08bbd5b52cc
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAklU3jkACgkQqj4ysMWt/vvYgQCg8lIGmczK5YJLs7tIWujWOm2q
+560AnAkCeOMcF2wl+eeEsfQC775KJ89O
+=tmpj
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rmagick/rmagick-2.8.0-r1.ebuild b/dev-ruby/rmagick/rmagick-2.8.0-r1.ebuild
new file mode 100644
index 000000000000..63bf47442ce5
--- /dev/null
+++ b/dev-ruby/rmagick/rmagick-2.8.0-r1.ebuild
@@ -0,0 +1,69 @@
+# 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.8.0-r1.ebuild,v 1.1 2008/12/26 13:36:54 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" \
+ --doc-dir="${D}/usr/share/doc/${P}/html" "$@" \
+ ${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/*
+}