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