summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Prugh <ken69267@gentoo.org>2008-08-18 01:51:58 +0000
committerKenneth Prugh <ken69267@gentoo.org>2008-08-18 01:51:58 +0000
commite531d41765bf398c6f3d7736dcd3f701cb1b2b86 (patch)
treea7e07ca5255550c5f644abab0aed4dca3f7d3823 /dev-java
parent- proxy commit for gengor (diff)
downloadgentoo-2-e531d41765bf398c6f3d7736dcd3f701cb1b2b86.tar.gz
gentoo-2-e531d41765bf398c6f3d7736dcd3f701cb1b2b86.tar.bz2
gentoo-2-e531d41765bf398c6f3d7736dcd3f701cb1b2b86.zip
version bump
(Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r4 x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/java-gnome/ChangeLog9
-rw-r--r--dev-java/java-gnome/files/java-gnome-4.0.8-disable-doc-snapshots.patch10
-rw-r--r--dev-java/java-gnome/java-gnome-4.0.8.ebuild63
3 files changed, 81 insertions, 1 deletions
diff --git a/dev-java/java-gnome/ChangeLog b/dev-java/java-gnome/ChangeLog
index fdc1fcfd793d..5387e994789c 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/ChangeLog,v 1.62 2008/08/17 00:31:12 ken69267 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/ChangeLog,v 1.63 2008/08/18 01:51:57 ken69267 Exp $
+
+*java-gnome-4.0.8 (18 Aug 2008)
+
+ 18 Aug 2008; Kenneth Prugh <ken69267@gentoo.org>
+ +files/java-gnome-4.0.8-disable-doc-snapshots.patch,
+ +java-gnome-4.0.8.ebuild:
+ version bump
17 Aug 2008; Kenneth Prugh <ken69267@gentoo.org> metadata.xml:
Add myself as maintainer
diff --git a/dev-java/java-gnome/files/java-gnome-4.0.8-disable-doc-snapshots.patch b/dev-java/java-gnome/files/java-gnome-4.0.8-disable-doc-snapshots.patch
new file mode 100644
index 000000000000..d4e9b471d2ec
--- /dev/null
+++ b/dev-java/java-gnome/files/java-gnome-4.0.8-disable-doc-snapshots.patch
@@ -0,0 +1,10 @@
+--- build/faster.old 2008-08-17 00:16:23.000000000 -0400
++++ build/faster 2008-08-17 00:16:29.000000000 -0400
+@@ -656,7 +656,6 @@
+
+ def generateDocumentation():
+ compileDocumentation()
+- takeSnapshots()
+
+ #
+ # Final miscallaneous execution targets, taking advantage of the fact that
diff --git a/dev-java/java-gnome/java-gnome-4.0.8.ebuild b/dev-java/java-gnome/java-gnome-4.0.8.ebuild
new file mode 100644
index 000000000000..bc1c35a35ea1
--- /dev/null
+++ b/dev-java/java-gnome/java-gnome-4.0.8.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2008 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.8.ebuild,v 1.1 2008/08/18 01:51:57 ken69267 Exp $
+
+EAPI=1
+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="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.12.13
+ >=x11-libs/gtk+-2.12
+ >=gnome-base/libglade-2.6.1
+ >=gnome-base/libgnome-2.18.0
+ >=gnome-base/gnome-desktop-2.18.0
+ >=virtual/jre-1.5"
+DEPEND="${RDEPEND}
+ dev-java/junit:0
+ dev-lang/python
+ >=virtual/jdk-1.5
+ dev-util/pkgconfig"
+
+# Needs X11
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-disable-doc-snapshots.patch"
+}
+
+src_compile() {
+ # Handwritten in perl so not using econf
+ ./configure --prefix=/usr || die
+
+ # Fails parallel build in case GCJ is detected
+ # See https://bugs.gentoo.org/show_bug.cgi?id=200550
+ emake -j1 || die "Compilation of java-gnome failed"
+
+ if use doc; then
+ emake -j1 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 doc/examples
+ use source && java-pkg_dosrc src/bindings/org
+}