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.12.ebuild
Date: Thu, 27 Dec 2007 08:09:54
Message-Id: E1J7noG-0004sN-KJ@stork.gentoo.org
1 graaff 07/12/27 08:09:44
2
3 Modified: ChangeLog
4 Added: rmagick-1.15.12.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.86 dev-ruby/rmagick/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?rev=1.86&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?rev=1.86&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?r1=1.85&r2=1.86
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v
19 retrieving revision 1.85
20 retrieving revision 1.86
21 diff -u -r1.85 -r1.86
22 --- ChangeLog 19 Dec 2007 22:17:03 -0000 1.85
23 +++ ChangeLog 27 Dec 2007 08:09:44 -0000 1.86
24 @@ -1,6 +1,17 @@
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.85 2007/12/19 22:17:03 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v 1.86 2007/12/27 08:09:44 graaff Exp $
29 +
30 +*rmagick-1.15.12 (27 Dec 2007)
31 +
32 + 27 Dec 2007; Hans de Graaff <graaff@g.o> +rmagick-1.15.12.ebuild:
33 + Version bump:
34 + * Fix bug #16221, starting with ImageMagick 6.3.2,
35 + get_exif_by_entry/number returns empty array/hash when no
36 + arguments are specified, even though the image has EXIF
37 + data (bug report from Paul Clegg)
38 + * Fix bug #16449, Image#store_pixels removes opacity channel
39 + (bug report from Hans de Graaff)
40
41 *rmagick-1.15.11 (19 Dec 2007)
42
43
44
45
46 1.1 dev-ruby/rmagick/rmagick-1.15.12.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/rmagick-1.15.12.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/rmagick-1.15.12.ebuild?rev=1.1&content-type=text/plain
50
51 Index: rmagick-1.15.12.ebuild
52 ===================================================================
53 # Copyright 1999-2007 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/rmagick-1.15.12.ebuild,v 1.1 2007/12/27 08:09:44 graaff Exp $
56
57 inherit ruby
58
59 # The gem for this package doesn't seem to play well with portage. It
60 # runs a GNUish configure script, with argument passed directly from
61 # the gem install command, but gem install doesn't use the same style
62 # of arguments. Thus, unless you're smart enough to come up with a
63 # fix, please leave this as a source package install.
64
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/29786/RMagick-${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.0"
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 # Using a custom src_compile instead of the ruby one because the ruby
88 # one gets confused by an additional setup.rb that should not be used
89 # here.
90 src_compile() {
91 myconf="${RUBY_ECONF} ${EXTRA_ECONF}"
92
93 # When documentation is built many examples are also run. Not all
94 # of them may work (e.g. due to missing additional dependencies)
95 # so we allow the examples to fail.
96 if ! use doc ; then
97 myconf="${myconf} --disable-htmldoc --enable-allow-example-errors"
98 fi
99
100 ./configure \
101 --prefix=/usr \
102 --host=${CHOST} \
103 --mandir=/usr/share/man \
104 --infodir=/usr/share/info \
105 --datadir=/usr/share \
106 --sysconfdir=/etc \
107 --localstatedir=/var/lib \
108 --with-ruby=${RUBY} \
109 ${myconf} \
110 "$@" || die "econf failed"
111
112 ruby_emake "$@" || die
113 }
114
115 # Use a custom src_install instead of the default one in ruby.eclass
116 # because the one in ruby.eclass does not include setting the prefix
117 # for the installation step.
118 src_install() {
119 RUBY_ECONF="${RUBY_ECONF} ${EXTRA_ECONF}"
120
121 ${RUBY} setup.rb config --prefix="${D}/usr" "$@" \
122 ${RUBY_ECONF} || die "setup.rb config failed"
123 ${RUBY} setup.rb install --prefix="${D}" "$@" \
124 ${RUBY_ECONF} || die "setup.rb install failed"
125
126 cd "${S}"
127 dodoc ChangeLog README.html README-Mac-OSX.txt README.txt
128 }
129
130
131
132 --
133 gentoo-commits@g.o mailing list