Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/rmagick: ChangeLog rmagick-1.15.10.ebuild
Date: Mon, 17 Sep 2007 05:39:01
Message-Id: E1IX9Cd-0004Bb-QA@stork.gentoo.org
1 graaff 07/09/17 05:31:23
2
3 Modified: ChangeLog
4 Added: rmagick-1.15.10.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.74 dev-ruby/rmagick/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?rev=1.74&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?rev=1.74&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?r1=1.73&r2=1.74
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v
19 retrieving revision 1.73
20 retrieving revision 1.74
21 diff -u -r1.73 -r1.74
22 --- ChangeLog 4 Aug 2007 06:54:34 -0000 1.73
23 +++ ChangeLog 17 Sep 2007 05:31:23 -0000 1.74
24 @@ -1,6 +1,11 @@
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.73 2007/08/04 06:54:34 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v 1.74 2007/09/17 05:31:23 graaff Exp $
29 +
30 +*rmagick-1.15.10 (17 Sep 2007)
31 +
32 + 17 Sep 2007; Hans de Graaff <graaff@g.o> +rmagick-1.15.10.ebuild:
33 + Version bump, fixes compatibility issue with ImageMagick-6.3.5-9
34
35 *rmagick-1.15.8 (04 Aug 2007)
36
37
38
39
40 1.1 dev-ruby/rmagick/rmagick-1.15.10.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/rmagick-1.15.10.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/rmagick-1.15.10.ebuild?rev=1.1&content-type=text/plain
44
45 Index: rmagick-1.15.10.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/rmagick-1.15.10.ebuild,v 1.1 2007/09/17 05:31:23 graaff Exp $
50
51 inherit ruby
52
53 # The gem for this package doesn't seem to play well with portage. It
54 # runs a GNUish configure script, with argument passed directly from
55 # the gem install command, but gem install doesn't use the same style
56 # of arguments. Thus, unless you're smart enough to come up with a
57 # fix, please leave this as a source package install.
58
59 DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library"
60 HOMEPAGE="http://rmagick.rubyforge.org/"
61 SRC_URI="http://rubyforge.org/frs/download.php/25348/RMagick-${PV}.tar.bz2"
62 LICENSE="Artistic"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
65 IUSE="examples doc"
66 DEPEND="virtual/ruby
67 >=media-gfx/imagemagick-6.0"
68
69 S=${WORKDIR}/RMagick-${PV}
70
71 # hdri causes extensive changes in the imagemagick internals, and
72 # rmagick is not ready to deal with those, see bug 184356.
73 pkg_setup() {
74 if built_with_use --missing false media-gfx/imagemagick hdri ; then
75 eerror "imagemagick is built with the hdri USE flag, this is not supported by rmagick"
76 eerror "please rebuild imagemagick without hdri support if you want to use rmagick"
77 die "imagemagick is built with the hdri USE flag, this is not supported by rmagick"
78 fi
79 }
80
81 # Using a custom src_compile instead of the ruby one because the ruby
82 # one gets confused by an additional setup.rb that should not be used
83 # here.
84 src_compile() {
85 myconf="${RUBY_ECONF} ${EXTRA_ECONF}"
86
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 myconf="${myconf} --disable-htmldoc --enable-allow-example-errors"
92 fi
93
94 ./configure \
95 --prefix=/usr \
96 --host=${CHOST} \
97 --mandir=/usr/share/man \
98 --infodir=/usr/share/info \
99 --datadir=/usr/share \
100 --sysconfdir=/etc \
101 --localstatedir=/var/lib \
102 --with-ruby=${RUBY} \
103 ${myconf} \
104 "$@" || die "econf failed"
105
106 ruby_emake "$@" || die
107 }
108
109 # Use a custom src_install instead of the default one in ruby.eclass
110 # because the one in ruby.eclass does not include setting the prefix
111 # for the installation step.
112 src_install() {
113 RUBY_ECONF="${RUBY_ECONF} ${EXTRA_ECONF}"
114
115 ${RUBY} setup.rb config --prefix=${D}/usr "$@" \
116 ${RUBY_ECONF} || die "setup.rb config failed"
117 ${RUBY} setup.rb install --prefix=${D} "$@" \
118 ${RUBY_ECONF} || die "setup.rb install failed"
119
120 cd "${S}"
121 dodoc ChangeLog README.html README-Mac-OSX.txt README.txt
122 }
123
124
125
126 --
127 gentoo-commits@g.o mailing list