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.14.ebuild
Date: Fri, 09 May 2008 05:36:44
Message-Id: E1JuLHd-0007M1-LR@stork.gentoo.org
1 graaff 08/05/09 05:36:41
2
3 Modified: ChangeLog
4 Added: rmagick-1.15.14.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.102 dev-ruby/rmagick/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?rev=1.102&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?rev=1.102&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?r1=1.101&r2=1.102
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v
19 retrieving revision 1.101
20 retrieving revision 1.102
21 diff -u -r1.101 -r1.102
22 --- ChangeLog 30 Mar 2008 09:09:23 -0000 1.101
23 +++ ChangeLog 9 May 2008 05:36:41 -0000 1.102
24 @@ -1,6 +1,14 @@
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.101 2008/03/30 09:09:23 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v 1.102 2008/05/09 05:36:41 graaff Exp $
29 +
30 +*rmagick-1.15.14 (09 May 2008)
31 +
32 + 09 May 2008; Hans de Graaff <graaff@g.o> +rmagick-1.15.14.ebuild:
33 + Version bump. Use rubyforge mirror.
34 +
35 + * Fix bug #18271, change rvg#width, rvg#height to return user-space
36 + coordinates
37
38 30 Mar 2008; Hans de Graaff <graaff@g.o> -rmagick-1.15.10.ebuild,
39 Remove older version. This also drops the stable mips keyword which needs to
40
41
42
43 1.1 dev-ruby/rmagick/rmagick-1.15.14.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/rmagick-1.15.14.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/rmagick-1.15.14.ebuild?rev=1.1&content-type=text/plain
47
48 Index: rmagick-1.15.14.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/rmagick-1.15.14.ebuild,v 1.1 2008/05/09 05:36:41 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 DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library"
63 HOMEPAGE="http://rmagick.rubyforge.org/"
64 SRC_URI="mirror://rubyforge/${PN}/RMagick-${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.0"
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 # Using a custom src_compile instead of the ruby one because the ruby
85 # one gets confused by an additional setup.rb that should not be used
86 # here.
87 src_compile() {
88 myconf="${RUBY_ECONF} ${EXTRA_ECONF}"
89
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 myconf="${myconf} --disable-htmldoc --enable-allow-example-errors"
95 fi
96
97 ./configure \
98 --prefix=/usr \
99 --host=${CHOST} \
100 --mandir=/usr/share/man \
101 --infodir=/usr/share/info \
102 --datadir=/usr/share \
103 --sysconfdir=/etc \
104 --localstatedir=/var/lib \
105 --with-ruby=${RUBY} \
106 ${myconf} \
107 "$@" || die "econf failed"
108
109 ruby_emake "$@" || die
110 }
111
112 # Use a custom src_install instead of the default one in ruby.eclass
113 # because the one in ruby.eclass does not include setting the prefix
114 # for the installation step.
115 src_install() {
116 RUBY_ECONF="${RUBY_ECONF} ${EXTRA_ECONF}"
117
118 ${RUBY} setup.rb config --prefix="${D}/usr" "$@" \
119 ${RUBY_ECONF} || die "setup.rb config failed"
120 ${RUBY} setup.rb install --prefix="${D}" "$@" \
121 ${RUBY_ECONF} || die "setup.rb install failed"
122
123 cd "${S}"
124 dodoc ChangeLog README.html README-Mac-OSX.txt README.txt
125 }
126
127
128
129 --
130 gentoo-commits@l.g.o mailing list