summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-03-12 19:25:34 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-03-12 19:25:34 +0000
commitb175a159b54dc1de6ae61616b94f51cffe84b0c3 (patch)
tree36492bccb7d66d91b20e8508c7f84ee0bc7ee521 /dev-java/libgconf-java
parentnew upstream version, partially closes #83366. added ~amd64 to KEYWORDS. ebui... (diff)
downloadgentoo-2-b175a159b54dc1de6ae61616b94f51cffe84b0c3.tar.gz
gentoo-2-b175a159b54dc1de6ae61616b94f51cffe84b0c3.tar.bz2
gentoo-2-b175a159b54dc1de6ae61616b94f51cffe84b0c3.zip
new upstream version, partially closes #83366. added ~amd64 to KEYWORDS. ebuilds and patches contributed by Andrew Cowie <andrew@operationaldynamics.com>.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/libgconf-java')
-rw-r--r--dev-java/libgconf-java/ChangeLog13
-rw-r--r--dev-java/libgconf-java/Manifest13
-rw-r--r--dev-java/libgconf-java/files/digest-libgconf-java-2.8.3.11
-rw-r--r--dev-java/libgconf-java/files/libgconf-java-2.8.3.1_gentoo-PN-SLOT.patch12
-rw-r--r--dev-java/libgconf-java/libgconf-java-2.8.2.ebuild4
-rw-r--r--dev-java/libgconf-java/libgconf-java-2.8.3.1.ebuild92
6 files changed, 121 insertions, 14 deletions
diff --git a/dev-java/libgconf-java/ChangeLog b/dev-java/libgconf-java/ChangeLog
index 8aed17864935..84c62e088690 100644
--- a/dev-java/libgconf-java/ChangeLog
+++ b/dev-java/libgconf-java/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-java/libgconf-java
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/libgconf-java/ChangeLog,v 1.4 2004/12/28 12:55:12 axxo Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/libgconf-java/ChangeLog,v 1.5 2005/03/12 19:25:34 luckyduck Exp $
+
+*libgconf-java-2.8.3.1 (12 Mar 2005)
+
+ 12 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ +files/libgconf-java-2.8.3.1_gentoo-PN-SLOT.patch,
+ +libgconf-java-2.8.3.1.ebuild:
+ new upstream version, partially closes #83366. added ~amd64 to KEYWORDS.
+ ebuilds and patches contributed by Andrew Cowie
+ <andrew@operationaldynamics.com>.
28 Dec 2004; Thomas Matthijs <axxo@gentoo.org> libgconf-java-2.8.2.ebuild:
make it find jni.h
diff --git a/dev-java/libgconf-java/Manifest b/dev-java/libgconf-java/Manifest
index ceccf85ffbd1..4543854ae509 100644
--- a/dev-java/libgconf-java/Manifest
+++ b/dev-java/libgconf-java/Manifest
@@ -1,15 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 0d0d2bae27f2305e11a75db15cac921d ChangeLog 760
MD5 39b0d1bcd2ea46c03b2cb7b59f66443c libgconf-java-2.8.2.ebuild 3383
MD5 2e1952c33e5bcce8813dec9d43203e29 metadata.xml 1042
+MD5 0b0c78a712e16e9101f34fd1a579e23c libgconf-java-2.8.3.1.ebuild 2733
MD5 f68363dbf78345af0bea956d309d2f66 files/digest-libgconf-java-2.8.2 71
+MD5 073d974cdf39c3e94b0da21e0b2e9231 files/libgconf-java-2.8.3.1_gentoo-PN-SLOT.patch 508
MD5 03c4b5ccb943b51e5259e5046ff30719 files/libgconf-java-2.8.2_gentoo-PN-SLOT.patch 994
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFB0VfL/rLF9B432nYRAly9AJ0VKM8IgUUIsp8qsYt/iIDxyUeIdgCfR9s2
-FokM9L0edCBsJxH4onxXagQ=
-=Kb88
------END PGP SIGNATURE-----
+MD5 fa4698389381ae96bb70cc672750fe57 files/digest-libgconf-java-2.8.3.1 74
diff --git a/dev-java/libgconf-java/files/digest-libgconf-java-2.8.3.1 b/dev-java/libgconf-java/files/digest-libgconf-java-2.8.3.1
new file mode 100644
index 000000000000..a04272ef5151
--- /dev/null
+++ b/dev-java/libgconf-java/files/digest-libgconf-java-2.8.3.1
@@ -0,0 +1 @@
+MD5 0536a0433b0fffbbabcdb6ad5c59ea93 libgconf-java-2.8.3.1.tar.bz2 233574
diff --git a/dev-java/libgconf-java/files/libgconf-java-2.8.3.1_gentoo-PN-SLOT.patch b/dev-java/libgconf-java/files/libgconf-java-2.8.3.1_gentoo-PN-SLOT.patch
new file mode 100644
index 000000000000..6e5d7080a469
--- /dev/null
+++ b/dev-java/libgconf-java/files/libgconf-java-2.8.3.1_gentoo-PN-SLOT.patch
@@ -0,0 +1,12 @@
+diff -Nuar libgconf-java-2.8.3.1-ORIG/configure libgconf-java-2.8.3.1-WORK/configure
+--- libgconf-java-2.8.3.1-ORIG/configure 2005-02-12 13:03:15.000000000 +1100
++++ libgconf-java-2.8.3.1-WORK/configure 2005-02-24 17:34:16.000000000 +1100
+@@ -19563,7 +19563,7 @@
+ apiversion="2.8"
+ VERSION="2.8.3.1"
+
+-INSTALLED_CLASSPATH=\${prefix}/share/java/gconf${apiversion}-${VERSION}.jar
++INSTALLED_CLASSPATH=\${prefix}/share/${PN}-${SLOT}/lib/gconf${apiversion}-${VERSION}.jar
+ INSTALLED_JNI_DIR=\${prefix}/lib/
+
+
diff --git a/dev-java/libgconf-java/libgconf-java-2.8.2.ebuild b/dev-java/libgconf-java/libgconf-java-2.8.2.ebuild
index 7971dbf554b5..67f4adca65e4 100644
--- a/dev-java/libgconf-java/libgconf-java-2.8.2.ebuild
+++ b/dev-java/libgconf-java/libgconf-java-2.8.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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.2.ebuild,v 1.2 2004/12/28 12:55:12 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/libgconf-java/libgconf-java-2.8.2.ebuild,v 1.3 2005/03/12 19:25:34 luckyduck Exp $
#
# WARNING: Because java-gnome is a set of bindings to native GNOME libraries,
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
new file mode 100644
index 000000000000..9bda0a24a319
--- /dev/null
+++ b/dev-java/libgconf-java/libgconf-java-2.8.3.1.ebuild
@@ -0,0 +1,92 @@
+# 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.1 2005/03/12 19:25:34 luckyduck 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.8.0
+ >=dev-java/libgtk-java-2.4.8.1
+ >=virtual/jre-1.2"
+
+# It's not clear whether gnome is a gconf dependency or not.
+# >=dev-java/libgnome-java-2.8.2-r1
+
+DEPEND="${RDEPEND}
+ >=virtual/jdk-1.2
+ app-arch/zip"
+
+#
+# Critical that this match gconf's apiversion
+#
+SLOT="2.8"
+LICENSE="LGPL-2.1"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="gcj"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/libgconf-java-2.8.3.1_gentoo-PN-SLOT.patch
+}
+
+src_compile() {
+ local conf
+
+ use gcj || conf="${conf} --without-gcj-compile"
+
+ cd ${S}
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ ${conf} || die "./configure failed"
+ make || die
+}
+
+src_install() {
+ # workaround Makefile bug not creating necessary parent directories
+ mkdir -p ${D}/usr/lib
+ mkdir -p ${D}/usr/share/java
+ mkdir -p ${D}/usr/lib/pkgconfig
+ mkdir -p ${D}/usr/share/doc/libgconf${SLOT}-java
+
+ make prefix=${D}/usr install || die
+
+ # actually, at time of writing, there were no DOCUMENTS, but leave it here...
+ mv ${D}/usr/share/doc/libgconf${SLOT}-java ${D}/usr/share/doc/${PF}
+
+ # the upstream install scatters things around a bit. The following cleans
+ # that up to make it policy compliant.
+
+ # I originally tried java-pkg_dojar here, but it has a few glitches
+ # like not copying symlinks as symlinks which makes a mess.
+
+ dodir /usr/share/${PN}-${SLOT}/lib
+ mv ${D}/usr/share/java/*.jar ${D}/usr/share/${PN}-${SLOT}/lib
+ rm -rf ${D}/usr/share/java
+
+ mkdir ${D}/usr/share/${PN}-${SLOT}/src
+ cd ${S}/src/java
+ zip -r ${D}/usr/share/${PN}-${SLOT}/src/libgconf-java-${PV}.src.zip *
+
+ # again, 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
+}