summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2005-05-01 16:32:37 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2005-05-01 16:32:37 +0000
commite5abe9da08aef775978ac474153ac41757a30871 (patch)
tree0014a0fa2ab64a7e2ac8a7030b6443f4cf7a368d /dev-java/libgconf-java
parentversion bump (diff)
downloadgentoo-2-e5abe9da08aef775978ac474153ac41757a30871.tar.gz
gentoo-2-e5abe9da08aef775978ac474153ac41757a30871.tar.bz2
gentoo-2-e5abe9da08aef775978ac474153ac41757a30871.zip
Updates from Andrew, partial fix for #87978.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/libgconf-java')
-rw-r--r--dev-java/libgconf-java/ChangeLog10
-rw-r--r--dev-java/libgconf-java/files/digest-libgconf-java-2.10.11
-rw-r--r--dev-java/libgconf-java/files/libgconf-java-2.10.0_fix-install-dir.patch11
-rw-r--r--dev-java/libgconf-java/libgconf-java-2.10.1.ebuild78
-rw-r--r--dev-java/libgconf-java/libgconf-java-2.8.3.1.ebuild3
5 files changed, 101 insertions, 2 deletions
diff --git a/dev-java/libgconf-java/ChangeLog b/dev-java/libgconf-java/ChangeLog
index d8b4c14f323a..f01499648923 100644
--- a/dev-java/libgconf-java/ChangeLog
+++ b/dev-java/libgconf-java/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-java/libgconf-java
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/libgconf-java/ChangeLog,v 1.6 2005/03/31 18:34:25 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/libgconf-java/ChangeLog,v 1.7 2005/05/01 16:32:37 karltk Exp $
+
+*libgconf-java-2.10.1 (01 May 2005)
+
+ 01 May 2005; Karl Trygve Kalleberg <karltk@gentoo.org>
+ +files/libgconf-java-2.10.0_fix-install-dir.patch,
+ libgconf-java-2.8.3.1.ebuild, +libgconf-java-2.10.1.ebuild:
+ Updates from Andrew Cowie <andrew@operationaldynamics.com>, partial fix for
+ #87978.
31 Mar 2005; Thomas Matthijs <axxo@gentoo.org>
libgconf-java-2.8.3.1.ebuild:
diff --git a/dev-java/libgconf-java/files/digest-libgconf-java-2.10.1 b/dev-java/libgconf-java/files/digest-libgconf-java-2.10.1
new file mode 100644
index 000000000000..a943d309c2c6
--- /dev/null
+++ b/dev-java/libgconf-java/files/digest-libgconf-java-2.10.1
@@ -0,0 +1 @@
+MD5 73efb6effd65e1fe1b949adb8c70d5db libgconf-java-2.10.1.tar.bz2 232533
diff --git a/dev-java/libgconf-java/files/libgconf-java-2.10.0_fix-install-dir.patch b/dev-java/libgconf-java/files/libgconf-java-2.10.0_fix-install-dir.patch
new file mode 100644
index 000000000000..c45768f4f94e
--- /dev/null
+++ b/dev-java/libgconf-java/files/libgconf-java-2.10.0_fix-install-dir.patch
@@ -0,0 +1,11 @@
+--- libgconf-java-2.10.0/Makefile.in 2005-03-06 17:05:12.000000000 -0500
++++ fixed/Makefile.in 2005-04-04 00:42:45.000000000 -0400
+@@ -1066,7 +1066,7 @@
+ @BUILD_JAVADOC_TRUE@ touch doc-stamp
+
+ install-data-hook:
+- cd $(DESTDIR)$(datadir)/java && \
++ cd $(DESTDIR)$(jardir) && \
+ mv -f gconf$(apiversion).jar gconf$(apiversion)-$(VERSION).jar && \
+ $(LN_S) gconf$(apiversion)-$(VERSION).jar gconf$(apiversion).jar
+
diff --git a/dev-java/libgconf-java/libgconf-java-2.10.1.ebuild b/dev-java/libgconf-java/libgconf-java-2.10.1.ebuild
new file mode 100644
index 000000000000..8751ea22a6c3
--- /dev/null
+++ b/dev-java/libgconf-java/libgconf-java-2.10.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/libgconf-java/libgconf-java-2.10.1.ebuild,v 1.1 2005/05/01 16:32:37 karltk Exp $
+
+#
+# WARNING: Because java-gnome is a set of bindings to native GNOME libraries,
+# it has, like any GNOME project, a massive autoconf setup, and unlike many
+# other java libraries, it has its own [necessary] `make install` step.
+# As a result, this ebuild is VERY sensitive to the internal layout of the
+# upstream project. Because these issues are currently evolving upstream,
+# simply version bumping this ebuild is not likely to work but FAILURES WILL
+# BE VERY SUBTLE IF IT DOES NOT WORK.
+#
+
+inherit eutils gnome.org
+
+DESCRIPTION="Java bindings for GConf (allows GNOME/GTK applications writen in Java to store configuration information in gconf)"
+HOMEPAGE="http://java-gnome.sourceforge.net/"
+RDEPEND=">=gnome-base/gconf-2.10.0
+ >=dev-java/libgtk-java-2.6.2
+ >=dev-java/libgnome-java-2.10.1
+ >=virtual/jre-1.2"
+
+DEPEND="${RDEPEND}
+ >=virtual/jdk-1.2
+ app-arch/zip"
+
+#
+# Critical that this match gconf's apiversion
+#
+SLOT="2.10"
+LICENSE="LGPL-2.1"
+KEYWORDS="~x86 ~ppc"
+IUSE="gcj"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/libgconf-java-2.10.0_fix-install-dir.patch
+
+ sed -i \
+ -e "s:/share/${PN}/:/share/${PN}-${SLOT}/:" \
+ -e "s:/share/java/:/share/${PN}-${SLOT}/lib/:" \
+ configure || die "sed configure error"
+}
+
+src_compile() {
+ local conf
+
+ use gcj || conf="${conf} --without-gcj-compile"
+
+ cd ${S}
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --with-jardir=/usr/share/${PN}-${SLOT}/lib \
+ ${conf} || die "./configure failed"
+ make || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "install failed"
+
+ mkdir ${D}/usr/share/${PN}-${SLOT}/src
+ cd ${S}/src/java
+ find . -name '*.java' | xargs zip ${D}/usr/share/${PN}-${SLOT}/src/libgconf-java-${PV}.src.zip
+
+ # with dojar misbehaving, better do to this manually for the
+ # time being. Yes, this is bad hard coding, but what in this ebuild isn't?
+
+ echo "DESCRIPTION=${DESCRIPTION}" \
+ > ${D}/usr/share/${PN}-${SLOT}/package.env
+
+ echo "CLASSPATH=/usr/share/${PN}-${SLOT}/lib/gconf${SLOT}.jar" \
+ >> ${D}/usr/share/${PN}-${SLOT}/package.env
+}
diff --git a/dev-java/libgconf-java/libgconf-java-2.8.3.1.ebuild b/dev-java/libgconf-java/libgconf-java-2.8.3.1.ebuild
index 7b7dcda7f6b2..9e305c5895fd 100644
--- a/dev-java/libgconf-java/libgconf-java-2.8.3.1.ebuild
+++ b/dev-java/libgconf-java/libgconf-java-2.8.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/libgconf-java/libgconf-java-2.8.3.1.ebuild,v 1.2 2005/03/31 18:34:25 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/libgconf-java/libgconf-java-2.8.3.1.ebuild,v 1.3 2005/05/01 16:32:37 karltk Exp $
#
# WARNING: Because java-gnome is a set of bindings to native GNOME libraries,
@@ -52,6 +52,7 @@ src_compile() {
--host=${CHOST} \
--prefix=/usr \
${conf} || die "./configure failed"
+
make INCLUDES="-I${JDK_HOME}/include -I${JDK_HOME}/include/linux/" || die
}