summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-09-18 13:57:56 +0000
committerHans de Graaff <graaff@gentoo.org>2010-09-18 13:57:56 +0000
commit12292e76c10b972d5c4caa637b062759c933869c (patch)
treebf98f88ea98acd0c786bf755211ab5274ca7c1d2 /dev-ruby/rcairo
parentRestrict tests since they are known to fail. (diff)
downloadhistorical-12292e76c10b972d5c4caa637b062759c933869c.tar.gz
historical-12292e76c10b972d5c4caa637b062759c933869c.tar.bz2
historical-12292e76c10b972d5c4caa637b062759c933869c.zip
Version bump with support for cairo 1.8.10.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/rcairo')
-rw-r--r--dev-ruby/rcairo/ChangeLog7
-rw-r--r--dev-ruby/rcairo/Manifest14
-rw-r--r--dev-ruby/rcairo/rcairo-1.8.5.ebuild83
3 files changed, 102 insertions, 2 deletions
diff --git a/dev-ruby/rcairo/ChangeLog b/dev-ruby/rcairo/ChangeLog
index 8a1ecd2d6e41..405f0d3abd72 100644
--- a/dev-ruby/rcairo/ChangeLog
+++ b/dev-ruby/rcairo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rcairo
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.41 2010/08/28 18:56:22 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.42 2010/09/18 13:57:56 graaff Exp $
+
+*rcairo-1.8.5 (18 Sep 2010)
+
+ 18 Sep 2010; Hans de Graaff <graaff@gentoo.org> +rcairo-1.8.5.ebuild:
+ Version bump with support for cairo 1.8.10.
28 Aug 2010; Raúl Porcel <armin76@gentoo.org> rcairo-1.8.1.ebuild:
alpha/ia64/sparc stable wrt #329807
diff --git a/dev-ruby/rcairo/Manifest b/dev-ruby/rcairo/Manifest
index 18167098a34a..e975475063e5 100644
--- a/dev-ruby/rcairo/Manifest
+++ b/dev-ruby/rcairo/Manifest
@@ -1,7 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST cairo-1.8.1.gem 274944 RMD160 3040dff5306f365c035d8fe0863d180d41cb2c27 SHA1 cc8d05785cc019a9416fd20d3382bec1010cc493 SHA256 06149dc747201e8dfd8836214401937de548d098c6a4e83dc05b175df71b67e3
+DIST cairo-1.8.5.gem 129024 RMD160 d5864efd27d415559979fefbb8757e34ee81d8fd SHA1 209f110924dbfcfc894558f81f786cf66299a953 SHA256 c77224ff28e47809f5b95199d3b73180cfd2fdaca2274947199b208bd7c47ac0
DIST rcairo-1.8.0.tar.gz 278009 RMD160 ef3656dcc52081a9d792e4812ad30a8b911aa695 SHA1 de60c4c4c4fd9eeee6ab93a3ca3e0c2e785caafb SHA256 0bd588d45c3700615abb3a82df3f5e53d42eb0bfbafbad72170889d25575ce3c
EBUILD rcairo-1.8.0-r1.ebuild 1101 RMD160 675b821255c0aedf57608693e79d16dafe21e9d2 SHA1 e3177204cebdd11071176e95117d32e8ffbc8a5e SHA256 1748ca860ca539ef7ad3b6ea77cc460eda589eb8b01005127aac11aa479a2dd1
EBUILD rcairo-1.8.1-r1.ebuild 2202 RMD160 4bcfe083d1cc75665f635e1ab0c6c0552d20386d SHA1 69892ee7411a03daea8d8ad206a97116f7ee92cd SHA256 2852797f7352577a6971c216d575411b198a91af9919187b7771ceeba6825ff7
EBUILD rcairo-1.8.1.ebuild 1160 RMD160 8b40560880232c64bbc5ebb8dc060c4df761004b SHA1 9abe02daef82c0337c48415b7e47ecd17fdcd39a SHA256 c2ab09a28a658d0ec8592bca01f7930291561fd14e7e1fc885933a76cfc06a66
-MISC ChangeLog 5607 RMD160 9d2b98d8050b0c8db36359bb4f0b18a29246b714 SHA1 e08a998804002c114dade3c43d5f89379dd0fb4b SHA256 23d947c5a2163e33b94ea4977a2390301dc47c995a62661cdecb115683a7fed8
+EBUILD rcairo-1.8.5.ebuild 2134 RMD160 f71e4e43b889f8293d5b0dd612c7574e36f78493 SHA1 768ed9952834af7e2ae0dfe672c944e8b6c4987b SHA256 bef64bfe207a64f7ab1ed6882ca7669ed2ad2ca744ef215725669ac7756f6fbb
+MISC ChangeLog 5754 RMD160 76b1e3c4a0e60eaef861a073cc7cd7b61d897eb9 SHA1 6d13437639a38d807e7dcbe9970bf7f822ef1edc SHA256 e8aaf938925987131caf7330e05551d4805d2aceb64b828bceea81c9091eedca
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iF4EAREIAAYFAkyUxWoACgkQZihJkut28Sur4wEAx2uXScOEJNkePsWNIpjjwXMK
+CxNi234JTbhgEM54m3EBAIXqu47enDlWu+oBfmSBZsvny2HxXg52iyzo3wZJbD0A
+=6wPt
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rcairo/rcairo-1.8.5.ebuild b/dev-ruby/rcairo/rcairo-1.8.5.ebuild
new file mode 100644
index 000000000000..416fc98720a7
--- /dev/null
+++ b/dev-ruby/rcairo/rcairo-1.8.5.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.5.ebuild,v 1.1 2010/09/18 13:57:56 graaff Exp $
+
+EAPI=2
+
+# ruby19 → fails, and even crashes Ruby
+# jruby → cannot work, it's a compiled extension
+USE_RUBY="ruby18"
+
+# Documentation depends on files that are not distributed.
+RUBY_FAKEGEM_TASK_DOC=""
+
+# Depends on test-unit-2 which is currently masked.
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_DOCDIR="doc"
+
+RUBY_FAKEGEM_EXTRADOC="AUTHORS NEWS"
+
+inherit multilib ruby-fakegem
+
+IUSE="svg"
+
+DESCRIPTION="Ruby bindings for cairo"
+HOMEPAGE="http://cairographics.org/rcairo/"
+SRC_URI="mirror://rubygems/cairo-${PV}.gem"
+
+SLOT="0"
+LICENSE="|| ( Ruby GPL-2 )"
+KEYWORDS="~amd64 ~ia64 ~sparc ~x86"
+
+# force identical svg dependency between the two so that you're forced
+# to rebuild this when changing it on cairo, this is because we cannot
+# enable/disable svg, but it'll follow what the original cairo
+# supports.
+RDEPEND="${RDEPEND}
+ >=x11-libs/cairo-1.2.0[svg=]"
+DEPEND="${DEPEND}
+ >=x11-libs/cairo-1.2.0[svg=]
+ dev-util/pkgconfig"
+
+ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.1.0-r1:2 )"
+
+all_ruby_prepare() {
+ # it fails, badly, as it expects the .pc to be frozen in time,
+ # which it isn't...
+ rm test/test_pkg_config.rb || die
+
+ # fix two strange assert calls
+ sed -i \
+ -e 's:assert_true(:assert(:' \
+ -e 's:assert_false(:assert(!:' \
+ test/test_exception.rb \
+ test/test_constants.rb || die
+echo
+}
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb || die "extconf failed"
+}
+
+each_ruby_compile() {
+ emake || die "make failed"
+
+ # again, try to make it more standard, to install it more easily.
+ cp ext/cairo/cairo$(get_modname) lib/ || die
+}
+
+each_ruby_test() {
+ # don't rely on the Rakefile because it's a mess to load with
+ # their hierarchy, do it manually.
+ ${RUBY} -Ilib -r ./test/cairo-test-utils.rb -S \
+ testrb-2 ./test/test_*.rb \
+ || die "tests failed"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ insinto /usr/share/doc/${PF}/samples
+ doins -r samples/* || die "Cannot install sample files."
+}