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