summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-08-19 12:30:47 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-08-19 12:30:47 +0000
commitfaefae19dc1b271f93d81d82fd9848f12eb26361 (patch)
tree5172beebe39eb5a6857aed29987407854dc5673e /dev-java/java-gnome
parentMask >=dev-java/java-gnome-4.0 as it needs GNOME 2.18 that is also masked here. (diff)
downloadgentoo-2-faefae19dc1b271f93d81d82fd9848f12eb26361.tar.gz
gentoo-2-faefae19dc1b271f93d81d82fd9848f12eb26361.tar.bz2
gentoo-2-faefae19dc1b271f93d81d82fd9848f12eb26361.zip
Version bump. Fixes bug #180353. Thanks to xerxes <xerxesmc@web.de> and Andrew Cowie <andrew@operationaldynamics.com>.
(Portage version: 2.1.3)
Diffstat (limited to 'dev-java/java-gnome')
-rw-r--r--dev-java/java-gnome/ChangeLog9
-rw-r--r--dev-java/java-gnome/files/4.0.3-ccache-workaround.patch22
-rw-r--r--dev-java/java-gnome/files/digest-java-gnome-4.0.33
-rw-r--r--dev-java/java-gnome/java-gnome-4.0.3.ebuild49
4 files changed, 82 insertions, 1 deletions
diff --git a/dev-java/java-gnome/ChangeLog b/dev-java/java-gnome/ChangeLog
index 668e198fccee..03a9109adb0e 100644
--- a/dev-java/java-gnome/ChangeLog
+++ b/dev-java/java-gnome/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/java-gnome
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/ChangeLog,v 1.36 2007/03/31 09:55:25 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/ChangeLog,v 1.37 2007/08/19 12:30:47 betelgeuse Exp $
+
+*java-gnome-4.0.3 (19 Aug 2007)
+
+ 19 Aug 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +files/4.0.3-ccache-workaround.patch, +java-gnome-4.0.3.ebuild:
+ Version bump. Fixes bug #180353. Thanks to xerxes <xerxesmc@web.de> and
+ Andrew Cowie <andrew@operationaldynamics.com>.
31 Mar 2007; Petteri Räty <betelgeuse@gentoo.org>
-java-gnome-2.12.3.ebuild:
diff --git a/dev-java/java-gnome/files/4.0.3-ccache-workaround.patch b/dev-java/java-gnome/files/4.0.3-ccache-workaround.patch
new file mode 100644
index 000000000000..6821437c7ff5
--- /dev/null
+++ b/dev-java/java-gnome/files/4.0.3-ccache-workaround.patch
@@ -0,0 +1,22 @@
+=== modified file 'configure'
+--- old/configure 2007-07-30 11:50:09 +0000
++++ new/configure 2007-08-18 15:19:06 +0000
+@@ -1422,10 +1422,16 @@
+ } elsif ($os) {
+ my $gcc_candidate;
+
+- if ($gcj_home) {
++ if (($gcj_home) && ($gcj)) {
+ $gcc_candidate = "$gcj_home/bin/gcc";
+ } else {
+ $gcc_candidate = which("gcc");
++
++ # Workaround ccache needing to be symlinked as gcc
++ # to perform _as_ gcc. Gentoo bug #180353
++ if (basename($gcc_candidate) eq "ccache") {
++ $gcc_candidate = `which gcc`;
++ }
+ }
+
+ check_CC($cc, "GNU gcc", $gcc_candidate, "");
+
diff --git a/dev-java/java-gnome/files/digest-java-gnome-4.0.3 b/dev-java/java-gnome/files/digest-java-gnome-4.0.3
new file mode 100644
index 000000000000..e4cf35a57396
--- /dev/null
+++ b/dev-java/java-gnome/files/digest-java-gnome-4.0.3
@@ -0,0 +1,3 @@
+MD5 50227b3f9985e7a0250bbb2d26e17950 java-gnome-4.0.3.tar.bz2 302252
+RMD160 d652cf414b1d1ac6eb3c32c7ea2ee47eaa310a6f java-gnome-4.0.3.tar.bz2 302252
+SHA256 417e197df8dad9cabe7b987cd9c0789901e88ae5f05ef2020f58a57393cb4165 java-gnome-4.0.3.tar.bz2 302252
diff --git a/dev-java/java-gnome/java-gnome-4.0.3.ebuild b/dev-java/java-gnome/java-gnome-4.0.3.ebuild
new file mode 100644
index 000000000000..01162e920e54
--- /dev/null
+++ b/dev-java/java-gnome/java-gnome-4.0.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/java-gnome-4.0.3.ebuild,v 1.1 2007/08/19 12:30:47 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc examples source"
+
+inherit eutils versionator java-pkg-2
+
+DESCRIPTION="Java bindings for GTK and GNOME"
+HOMEPAGE="http://java-gnome.sourceforge.net/"
+SRC_URI="mirror://gnome/sources/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="4.0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.12.13
+ >=x11-libs/gtk+-2.10.14
+ >=gnome-base/libglade-2.6.1
+ >=gnome-base/libgnome-2.18.0
+ >=gnome-base/gnome-desktop-2.18.0
+ >=virtual/jre-1.4"
+DEPEND="${RDEPEND}
+ dev-lang/python
+ >=virtual/jdk-1.4"
+
+src_compile() {
+ epatch "${FILESDIR}/4.0.3-ccache-workaround.patch"
+
+ ./configure --prefix=/usr || die
+
+ make || die "Compilation of java-gnome failed"
+
+ if use doc; then
+ make doc || die "Making documentation failed"
+ fi
+}
+
+src_install(){
+ java-pkg_doso tmp/*.so
+ java-pkg_dojar tmp/*.jar
+
+ dodoc AUTHORS HACKING NEWS README || die
+
+ use doc && java-pkg_dojavadoc doc/api
+ use examples && java-pkg_doexamples tests/prototype
+ use source && java-pkg_dosrc src/bindings/org
+}