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