1 |
graaff 10/09/29 18:03:40 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rcairo-1.8.5-r1.ebuild |
5 |
Log: |
6 |
SVG is no longer optional but needs to be present in cairo. Fix running of tests. Block cairo-1.10.x since this version is not compatible with it. |
7 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.43 dev-ruby/rcairo/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rcairo/ChangeLog?rev=1.43&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rcairo/ChangeLog?rev=1.43&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rcairo/ChangeLog?r1=1.42&r2=1.43 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v |
19 |
retrieving revision 1.42 |
20 |
retrieving revision 1.43 |
21 |
diff -u -r1.42 -r1.43 |
22 |
--- ChangeLog 18 Sep 2010 13:57:56 -0000 1.42 |
23 |
+++ ChangeLog 29 Sep 2010 18:03:40 -0000 1.43 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-ruby/rcairo |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.42 2010/09/18 13:57:56 graaff Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.43 2010/09/29 18:03:40 graaff Exp $ |
29 |
+ |
30 |
+*rcairo-1.8.5-r1 (29 Sep 2010) |
31 |
+ |
32 |
+ 29 Sep 2010; Hans de Graaff <graaff@g.o> +rcairo-1.8.5-r1.ebuild: |
33 |
+ SVG is no longer optional but needs to be present in cairo. Fix running of |
34 |
+ tests. Block cairo-1.10.x since this version is not compatible with it. |
35 |
|
36 |
*rcairo-1.8.5 (18 Sep 2010) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ruby/rcairo/rcairo-1.8.5-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.5-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.5-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: rcairo-1.8.5-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.5-r1.ebuild,v 1.1 2010/09/29 18:03:40 graaff Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
|
54 |
# ruby19 → fails, and even crashes Ruby |
55 |
# jruby → cannot work, it's a compiled extension |
56 |
USE_RUBY="ruby18" |
57 |
|
58 |
# Documentation depends on files that are not distributed. |
59 |
RUBY_FAKEGEM_TASK_DOC="" |
60 |
|
61 |
# Depends on test-unit-2 which is currently masked. |
62 |
RUBY_FAKEGEM_TASK_TEST="" |
63 |
|
64 |
RUBY_FAKEGEM_DOCDIR="doc" |
65 |
|
66 |
RUBY_FAKEGEM_EXTRADOC="AUTHORS NEWS" |
67 |
|
68 |
inherit multilib ruby-fakegem |
69 |
|
70 |
IUSE="" |
71 |
|
72 |
DESCRIPTION="Ruby bindings for cairo" |
73 |
HOMEPAGE="http://cairographics.org/rcairo/" |
74 |
SRC_URI="mirror://rubygems/cairo-${PV}.gem" |
75 |
|
76 |
SLOT="0" |
77 |
LICENSE="|| ( Ruby GPL-2 )" |
78 |
KEYWORDS="~amd64 ~ia64 ~sparc ~x86" |
79 |
|
80 |
RDEPEND="${RDEPEND} |
81 |
>=x11-libs/cairo-1.2.0[svg] |
82 |
<x11-libs/cairo-1.10" |
83 |
DEPEND="${DEPEND} |
84 |
>=x11-libs/cairo-1.2.0[svg] |
85 |
<x11-libs/cairo-1.10 |
86 |
dev-util/pkgconfig" |
87 |
|
88 |
ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.1.0-r1:2 )" |
89 |
|
90 |
all_ruby_prepare() { |
91 |
# it fails, badly, as it expects the .pc to be frozen in time, |
92 |
# which it isn't... |
93 |
rm test/test_pkg_config.rb || die |
94 |
|
95 |
# fix two strange assert calls |
96 |
sed -i \ |
97 |
-e 's:assert_true(:assert(:' \ |
98 |
-e 's:assert_false(:assert(!:' \ |
99 |
test/test_exception.rb \ |
100 |
test/test_constants.rb || die |
101 |
} |
102 |
|
103 |
each_ruby_configure() { |
104 |
${RUBY} extconf.rb || die "extconf failed" |
105 |
} |
106 |
|
107 |
each_ruby_compile() { |
108 |
emake || die "make failed" |
109 |
|
110 |
# again, try to make it more standard, to install it more easily. |
111 |
cp ext/cairo/cairo$(get_modname) lib/ || die |
112 |
} |
113 |
|
114 |
each_ruby_test() { |
115 |
# don't rely on the Rakefile because it's a mess to load with |
116 |
# their hierarchy, do it manually. |
117 |
${RUBY} -Ilib -r test/unit -r ./test/cairo-test-utils.rb \ |
118 |
-e 'Dir.glob("test/**/test_*.rb") {|f| load f}' || die "tests failed" |
119 |
} |
120 |
|
121 |
all_ruby_install() { |
122 |
all_fakegem_install |
123 |
|
124 |
insinto /usr/share/doc/${PF}/samples |
125 |
doins -r samples/* || die "Cannot install sample files." |
126 |
} |