1 |
graaff 07/12/29 14:43:56 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rmagick-2.0.0.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
(Portage version: 2.1.3.19) |
8 |
|
9 |
Revision Changes Path |
10 |
1.87 dev-ruby/rmagick/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?rev=1.87&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?rev=1.87&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?r1=1.86&r2=1.87 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v |
19 |
retrieving revision 1.86 |
20 |
retrieving revision 1.87 |
21 |
diff -u -r1.86 -r1.87 |
22 |
--- ChangeLog 27 Dec 2007 08:09:44 -0000 1.86 |
23 |
+++ ChangeLog 29 Dec 2007 14:43:55 -0000 1.87 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for dev-ruby/rmagick |
26 |
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v 1.86 2007/12/27 08:09:44 graaff Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v 1.87 2007/12/29 14:43:55 graaff Exp $ |
29 |
+ |
30 |
+*rmagick-2.0.0 (29 Dec 2007) |
31 |
+ |
32 |
+ 29 Dec 2007; Hans de Graaff <graaff@g.o> +rmagick-2.0.0.ebuild: |
33 |
+ Version bump: |
34 |
+ * A lot of changes to support newer versions of ImageMagick better |
35 |
+ * Ruby 1.9.0 comptability fixes |
36 |
+ * Many new methods added and old methods deprecated |
37 |
|
38 |
*rmagick-1.15.12 (27 Dec 2007) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-ruby/rmagick/rmagick-2.0.0.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/rmagick-2.0.0.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/rmagick-2.0.0.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: rmagick-2.0.0.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2007 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/rmagick-2.0.0.ebuild,v 1.1 2007/12/29 14:43:55 graaff Exp $ |
53 |
|
54 |
inherit ruby |
55 |
|
56 |
# The gem for this package doesn't seem to play well with portage. It |
57 |
# runs a GNUish configure script, with argument passed directly from |
58 |
# the gem install command, but gem install doesn't use the same style |
59 |
# of arguments. Thus, unless you're smart enough to come up with a |
60 |
# fix, please leave this as a source package install. |
61 |
|
62 |
MY_PV=${PV//_/-} |
63 |
DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library" |
64 |
HOMEPAGE="http://rmagick.rubyforge.org/" |
65 |
SRC_URI="http://rubyforge.org/frs/download.php/29809/RMagick-${MY_PV}.tar.bz2" |
66 |
LICENSE="Artistic" |
67 |
SLOT="0" |
68 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
69 |
IUSE="examples doc" |
70 |
DEPEND="virtual/ruby |
71 |
>=media-gfx/imagemagick-6.3.5.6" |
72 |
|
73 |
S=${WORKDIR}/RMagick-2.0.0 |
74 |
|
75 |
# hdri causes extensive changes in the imagemagick internals, and |
76 |
# rmagick is not ready to deal with those, see bug 184356. |
77 |
pkg_setup() { |
78 |
if built_with_use --missing false media-gfx/imagemagick hdri ; then |
79 |
eerror "imagemagick is built with the hdri USE flag, this is not supported by rmagick" |
80 |
eerror "please rebuild imagemagick without hdri support if you want to use rmagick" |
81 |
die "imagemagick is built with the hdri USE flag, this is not supported by rmagick" |
82 |
fi |
83 |
} |
84 |
|
85 |
# Use a custom src_compile because the setup.rb included with RMagick |
86 |
# doesn't like extra parameters during the setup phase. |
87 |
src_compile() { |
88 |
# When documentation is built many examples are also run. Not all |
89 |
# of them may work (e.g. due to missing additional dependencies) |
90 |
# so we allow the examples to fail. |
91 |
if ! use doc ; then |
92 |
RUBY_ECONF="--disable-htmldoc --allow-example-errors" |
93 |
fi |
94 |
|
95 |
${RUBY} setup.rb config --prefix=/usr "$@" \ |
96 |
${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed" |
97 |
${RUBY} setup.rb setup || die "setup.rb setup failed" |
98 |
} |
99 |
|
100 |
# Use a custom src_install instead of the default one in ruby.eclass |
101 |
# because the one in ruby.eclass does not include setting the prefix |
102 |
# for the installation step and assumes that arguments can be given |
103 |
# also during the install phase. |
104 |
src_install() { |
105 |
if ! use doc ; then |
106 |
RUBY_ECONF="--disable-htmldoc --allow-example-errors" |
107 |
fi |
108 |
|
109 |
${RUBY} setup.rb config --prefix="${D}/usr" "$@" \ |
110 |
${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed" |
111 |
${RUBY} setup.rb install --prefix="${D}" || die "setup.rb install failed" |
112 |
|
113 |
cd "${S}" |
114 |
dodoc ChangeLog README.html README-Mac-OSX.txt README.txt |
115 |
} |
116 |
|
117 |
|
118 |
|
119 |
-- |
120 |
gentoo-commits@g.o mailing list |