diff options
author | Caleb Tennis <caleb@gentoo.org> | 2007-07-24 12:06:28 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2007-07-24 12:06:28 +0000 |
commit | 7fbd44e0904b87d521a05e8bed4d5c297e3b89f1 (patch) | |
tree | ec73b114c9f5bd4213b63916d5ea3bc78b23ceb7 /dev-ruby/IceRuby | |
parent | unmask games-rpg/daimonin-client (diff) | |
download | gentoo-2-7fbd44e0904b87d521a05e8bed4d5c297e3b89f1.tar.gz gentoo-2-7fbd44e0904b87d521a05e8bed4d5c297e3b89f1.tar.bz2 gentoo-2-7fbd44e0904b87d521a05e8bed4d5c297e3b89f1.zip |
Bump for a cached connection fix
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-ruby/IceRuby')
-rw-r--r-- | dev-ruby/IceRuby/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/IceRuby/IceRuby-3.2.0-r1.ebuild | 62 | ||||
-rw-r--r-- | dev-ruby/IceRuby/files/cached_connection.patch | 11 | ||||
-rw-r--r-- | dev-ruby/IceRuby/files/digest-IceRuby-3.2.0-r1 | 3 |
4 files changed, 83 insertions, 1 deletions
diff --git a/dev-ruby/IceRuby/ChangeLog b/dev-ruby/IceRuby/ChangeLog index 66c5edd0c023..ea44d1b065cc 100644 --- a/dev-ruby/IceRuby/ChangeLog +++ b/dev-ruby/IceRuby/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/IceRuby # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/ChangeLog,v 1.4 2007/03/13 14:04:44 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/ChangeLog,v 1.5 2007/07/24 12:06:28 caleb Exp $ + +*IceRuby-3.2.0-r1 (24 Jul 2007) + + 24 Jul 2007; Caleb Tennis <caleb@gentoo.org> + +files/cached_connection.patch, +IceRuby-3.2.0-r1.ebuild: + bump to fix cached connection checking *IceRuby-3.2.0 (13 Mar 2007) diff --git a/dev-ruby/IceRuby/IceRuby-3.2.0-r1.ebuild b/dev-ruby/IceRuby/IceRuby-3.2.0-r1.ebuild new file mode 100644 index 000000000000..2ce8b6739eb5 --- /dev/null +++ b/dev-ruby/IceRuby/IceRuby-3.2.0-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/IceRuby-3.2.0-r1.ebuild,v 1.1 2007/07/24 12:06:28 caleb Exp $ + +inherit eutils + +DESCRIPTION="ICE middleware C++ bindings" +HOMEPAGE="http://www.zeroc.com/index.html" +SRC_URI="http://www.zeroc.com/download/Ice/3.2/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="test debug" + +RDEPEND="=dev-cpp/Ice-3.2* + >=dev-lang/ruby-1.8.4" + +DEPEND="${RDEPEND} + test? ( >=dev-lang/python-2.4 )" + +src_unpack() { +# export ICE_HOME=/usr + unpack ${A} + cd "${S}" + + epatch ${FILESDIR}/${P}-Makefile.patch + epatch ${FILESDIR}/cached_connection.patch + + mkdir -p ${S}/bin + mkdir -p ${S}/lib + + if use amd64; then + sed -i -e "s:^#LP64:LP64:g" ${S}/config/Make.rules \ + || die "Failed to set lib64 directory" + fi + + if ! use debug; then + sed -i -e "s:#OPTIMIZE:OPTIMIZE:" \ + ${S}/config/Make.rules || die "Failed to remove debug" + fi + + sed -i -e \ + "s:.*CXXFLAGS[^\+]*\=\s:CXXFLAGS = ${CXXFLAGS} :g" \ + ${S}/config/Make.rules.Linux || die "CXXFLAGS patching failed!" +} + +src_compile() { + cd ${S} +# export ICE_HOME=/usr + make || die "Died during make" +} + +src_install() { +# export ICE_HOME=/usr + make DESTDIR="${D}" install || die "Install Failed!" +} + +src_test() { +# export ICE_HOME=/usr + make test || die "Test failed" +} diff --git a/dev-ruby/IceRuby/files/cached_connection.patch b/dev-ruby/IceRuby/files/cached_connection.patch new file mode 100644 index 000000000000..2acd2f8f3868 --- /dev/null +++ b/dev-ruby/IceRuby/files/cached_connection.patch @@ -0,0 +1,11 @@ +--- src/IceRuby/Proxy.cpp.orig 2007-07-24 08:02:19.000000000 -0400 ++++ src/IceRuby/Proxy.cpp 2007-07-24 08:02:35.000000000 -0400 +@@ -990,7 +990,7 @@ + { + Ice::ObjectPrx p = getProxy(self); + Ice::ConnectionPtr conn = p->ice_getCachedConnection(); +- if(!conn) ++ if(conn) + { + return createConnection(conn); + } diff --git a/dev-ruby/IceRuby/files/digest-IceRuby-3.2.0-r1 b/dev-ruby/IceRuby/files/digest-IceRuby-3.2.0-r1 new file mode 100644 index 000000000000..657acb05e89f --- /dev/null +++ b/dev-ruby/IceRuby/files/digest-IceRuby-3.2.0-r1 @@ -0,0 +1,3 @@ +MD5 12acd1d20ea9ca0350651c1094a673e2 IceRuby-3.2.0.tar.gz 95823 +RMD160 56c8464918673820993a4c364a16069bf5420cbf IceRuby-3.2.0.tar.gz 95823 +SHA256 b3d89a8811f163dc6725bde1b56487675e6549d203129abad4abb6a6167ce87f IceRuby-3.2.0.tar.gz 95823 |