Ignore cairo_svg_version_t if there is no svg support, #152532
authorNguyen Thai Ngoc Duy <pclouds@gentoo.org>
Sun, 31 Dec 2006 05:01:32 +0000 (05:01 +0000)
committerNguyen Thai Ngoc Duy <pclouds@gentoo.org>
Sun, 31 Dec 2006 05:01:32 +0000 (05:01 +0000)
Package-Manager: portage-2.1.1

dev-ruby/rcairo/ChangeLog
dev-ruby/rcairo/Manifest
dev-ruby/rcairo/files/rcairo-1.2.0-no-svg.patch [new file with mode: 0644]
dev-ruby/rcairo/rcairo-1.2.0.ebuild

index fcbec7f5dcecbcfbf4219aa06d8b4a4a036ea462..325972d2451f8a15099b17a894b061ea23c7d021 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for dev-ruby/rcairo
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.4 2006/07/09 15:55:08 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.5 2006/12/31 05:01:31 pclouds Exp $
+
+  31 Dec 2006; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+  +files/rcairo-1.2.0-no-svg.patch, rcairo-1.2.0.ebuild:
+  Ignore cairo_svg_version_t if there is no svg support, #152532
 
 *rcairo-1.2.0 (09 Jul 2006)
 
index a68efab7cf5c4745889c8fdf176614806b797808..109738f05f001a8bbb3d86f0a17db47287b7fbaf 100644 (file)
@@ -1,20 +1,21 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX rcairo-1.2.0-no-svg.patch 518 RMD160 7edb75c207597ad27b5acb9210875c045060cbb3 SHA1 c466ad0f2b919a35d49b65800a876e628abc56fb SHA256 39d8c76f65b9fe7b42d9ed5618b460765ee3e2c8acdc2fa014c302fb87ddc2c0
+MD5 28ea9936c076fd949b9473b4dfa89ced files/rcairo-1.2.0-no-svg.patch 518
+RMD160 7edb75c207597ad27b5acb9210875c045060cbb3 files/rcairo-1.2.0-no-svg.patch 518
+SHA256 39d8c76f65b9fe7b42d9ed5618b460765ee3e2c8acdc2fa014c302fb87ddc2c0 files/rcairo-1.2.0-no-svg.patch 518
 DIST rcairo-1.0.0.tar.gz 42088
 DIST rcairo-1.2.0.tar.gz 47529 RMD160 98a5380086e75025e6b6ba0ad71f1f3b924d3349 SHA1 a57f22bbf0dff8a5fb6c95be293b6318aed3faaf SHA256 f21a21cb30a07693980d5d40b9fc03554d15709a141751efe8d2f73636544b4d
 EBUILD rcairo-1.0.0.ebuild 621 RMD160 c42fa6c1a482d24743fd2bc92179efd879f1530f SHA1 cd9a239795409b863080d208ab5f7d0dd53e760e SHA256 028fd3dd9ab52943b602bcc055fbd845867ab6f73d8c362a697f4af797bfc696
 MD5 f86f293c7497903b9c018c122ccf9610 rcairo-1.0.0.ebuild 621
 RMD160 c42fa6c1a482d24743fd2bc92179efd879f1530f rcairo-1.0.0.ebuild 621
 SHA256 028fd3dd9ab52943b602bcc055fbd845867ab6f73d8c362a697f4af797bfc696 rcairo-1.0.0.ebuild 621
-EBUILD rcairo-1.2.0.ebuild 633 RMD160 83ed24f596ff30ab281cf8a664da85992eaacf52 SHA1 c3b2845720ad792a3e0c0686511ddd9171686b68 SHA256 0778aa293935b9e3b60de797357b26750f971935567f5bc19f58f8e1091fd4cd
-MD5 45829c4be9f01390ea5403f796201ec3 rcairo-1.2.0.ebuild 633
-RMD160 83ed24f596ff30ab281cf8a664da85992eaacf52 rcairo-1.2.0.ebuild 633
-SHA256 0778aa293935b9e3b60de797357b26750f971935567f5bc19f58f8e1091fd4cd rcairo-1.2.0.ebuild 633
-MISC ChangeLog 715 RMD160 fab243416ec29da9ac3ea06429337346362cd6c7 SHA1 5d3ba4c057bc21e8bee7e1698e27656bd6ba52fb SHA256 52ecd433db09a360fed3adbbfe44143e9996f0df66b4997f36cd7d85a3e9174b
-MD5 51090fd248deb7483b47032673437e36 ChangeLog 715
-RMD160 fab243416ec29da9ac3ea06429337346362cd6c7 ChangeLog 715
-SHA256 52ecd433db09a360fed3adbbfe44143e9996f0df66b4997f36cd7d85a3e9174b ChangeLog 715
+EBUILD rcairo-1.2.0.ebuild 671 RMD160 e3e3fd979493e7a5d1f08f538faac60229bbee25 SHA1 30775e68ffb93d7eeecad35c7f67180900960cb6 SHA256 f53a798e215dc0daa125fe02e43db392aea1b4ab30a0fc2867d87db8d97105ac
+MD5 1e284e866092c7538d534083bc83792d rcairo-1.2.0.ebuild 671
+RMD160 e3e3fd979493e7a5d1f08f538faac60229bbee25 rcairo-1.2.0.ebuild 671
+SHA256 f53a798e215dc0daa125fe02e43db392aea1b4ab30a0fc2867d87db8d97105ac rcairo-1.2.0.ebuild 671
+MISC ChangeLog 898 RMD160 ed8454cbb05a9edbcaf9417e1a8b5e991628655b SHA1 ab8b46413a34e38a1026c147b4eeb59fc00e351b SHA256 cc63e117e18ac00ad32f0e0b3f4f8b4a9ddc21daab24b5b6429c0c50f0b6f9f1
+MD5 c3c8599e6b32a7870169913cb830de1a ChangeLog 898
+RMD160 ed8454cbb05a9edbcaf9417e1a8b5e991628655b ChangeLog 898
+SHA256 cc63e117e18ac00ad32f0e0b3f4f8b4a9ddc21daab24b5b6429c0c50f0b6f9f1 ChangeLog 898
 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
 MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 metadata.xml 157
@@ -25,10 +26,3 @@ SHA256 2a3018cf858925abf5af9a3f926f6640d76321334cc71d1f7cdc29bba7f1efc2 files/di
 MD5 5b4b696ecb629183225a59a75d6d40d5 files/digest-rcairo-1.2.0 235
 RMD160 cd07e3b814da49a7c282d9f0b737ec786797764b files/digest-rcairo-1.2.0 235
 SHA256 082987464135b66a408d3691536b2cea4a21f864a91db7f8f9386431a193cfc6 files/digest-rcairo-1.2.0 235
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.4 (GNU/Linux)
-
-iD8DBQFEsSbsAiZjviIA2XgRAkIlAJsEBfFe2zTSrdcOf8En6b+5SZNPswCgjdGB
-H7ETQfOpwBQwfDK1qkgCo2k=
-=P75M
------END PGP SIGNATURE-----
diff --git a/dev-ruby/rcairo/files/rcairo-1.2.0-no-svg.patch b/dev-ruby/rcairo/files/rcairo-1.2.0-no-svg.patch
new file mode 100644 (file)
index 0000000..8da548d
--- /dev/null
@@ -0,0 +1,13 @@
+diff -ur rcairo-1.2.0/packages/cairo/ext/rb_cairo_constants.c rcairo-1.2.0.new/packages/cairo/ext/rb_cairo_constants.c
+--- rcairo-1.2.0/packages/cairo/ext/rb_cairo_constants.c       2006-07-01 21:45:55.000000000 +0700
++++ rcairo-1.2.0.new/packages/cairo/ext/rb_cairo_constants.c   2006-12-31 11:56:41.000000000 +0700
+@@ -97,7 +97,9 @@
+ DEFINE_RVAL2ENUM(format, FORMAT)
+ DEFINE_RVAL2ENUM(extend, EXTEND)
+ DEFINE_RVAL2ENUM(filter, FILTER)
++#if CAIRO_HAS_SVG_SURFACE
+ DEFINE_RVAL2ENUM(svg_version, SVG_VERSION)
++#endif
+ void
index 3519fd0fa98ccc38244a936d36643ab75a329c20..51f8821fff06694fc7cd01efe3c0d96e50b44048 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.2.0.ebuild,v 1.1 2006/07/09 15:55:08 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.2.0.ebuild,v 1.2 2006/12/31 05:01:31 pclouds Exp $
 
 inherit ruby
 
@@ -16,6 +16,7 @@ LICENSE="Ruby"
 KEYWORDS="~amd64 ~ia64 ~sparc ~x86"
 
 DEPEND=">=x11-libs/cairo-1.2.0"
+PATCHES="${FILESDIR}/${P}-no-svg.patch"
 
 src_install() {
        ruby_src_install --prefix="${D}"