diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-12 19:29:33 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-12 19:29:33 +0000 |
commit | fe1ed961221cb197b71089f610406a6969cd35c0 (patch) | |
tree | e64e88f18deb27ed4631633080d51068e1859136 /dev-java/java-gnome | |
parent | arm/ia64 stable (diff) | |
download | gentoo-2-fe1ed961221cb197b71089f610406a6969cd35c0.tar.gz gentoo-2-fe1ed961221cb197b71089f610406a6969cd35c0.tar.bz2 gentoo-2-fe1ed961221cb197b71089f610406a6969cd35c0.zip |
new upstream version, finally fixes #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/java-gnome')
-rw-r--r-- | dev-java/java-gnome/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/java-gnome/Manifest | 2 | ||||
-rw-r--r-- | dev-java/java-gnome/files/digest-java-gnome-2.8.3 | 0 | ||||
-rw-r--r-- | dev-java/java-gnome/java-gnome-2.8.3.ebuild | 113 |
4 files changed, 122 insertions, 1 deletions
diff --git a/dev-java/java-gnome/ChangeLog b/dev-java/java-gnome/ChangeLog index 9ef10d7a8166..9f991610614b 100644 --- a/dev-java/java-gnome/ChangeLog +++ b/dev-java/java-gnome/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/java-gnome # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/ChangeLog,v 1.22 2005/02/17 17:33:53 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/ChangeLog,v 1.23 2005/03/12 19:29:33 luckyduck Exp $ + +*java-gnome-2.8.3 (12 Mar 2005) + + 12 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> +java-gnome-2.8.3.ebuild: + new upstream version, finally fixes #83366. added ~amd64 to KEYWORDS. ebuilds + and patches contributed by Andrew Cowie <andrew@operationaldynamics.com>. 17 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> java-gnome-2.8.2-r2.ebuild, java-gnome-2.8.2-r3.ebuild: diff --git a/dev-java/java-gnome/Manifest b/dev-java/java-gnome/Manifest index ca60a33766ec..1f352eac3596 100644 --- a/dev-java/java-gnome/Manifest +++ b/dev-java/java-gnome/Manifest @@ -1,4 +1,5 @@ MD5 1920322b7e7f90d04b39df535a4e56cf java-gnome-0.8.3.ebuild 1718 +MD5 54f6f138ff37f5555ca7d06d307cb4f0 java-gnome-2.8.3.ebuild 3667 MD5 dc04448f7107a94272809bab3ee30f54 java-gnome-2.8.2-r3.ebuild 3681 MD5 a913b8618deea9bc78baa4068d631c09 java-gnome-2.6.0.1-r1.ebuild 2769 MD5 87db35b4683d2c78db7d7adb8e6b926e java-gnome-2.6.0.1.ebuild 2702 @@ -12,3 +13,4 @@ MD5 3b0e994589f54485c4c6f43618005bc7 files/gentoo-java-gnome-2.6.0.1.patch 3574 MD5 a26e989caf78aa69cbd7e1572f1f6d35 files/digest-java-gnome-2.6.0.1 72 MD5 a26e989caf78aa69cbd7e1572f1f6d35 files/digest-java-gnome-2.6.0.1-r1 72 MD5 d0548db82a1916704411084a9a019f05 files/digest-java-gnome-0.8.3 70 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-java-gnome-2.8.3 0 diff --git a/dev-java/java-gnome/files/digest-java-gnome-2.8.3 b/dev-java/java-gnome/files/digest-java-gnome-2.8.3 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-java/java-gnome/files/digest-java-gnome-2.8.3 diff --git a/dev-java/java-gnome/java-gnome-2.8.3.ebuild b/dev-java/java-gnome/java-gnome-2.8.3.ebuild new file mode 100644 index 000000000000..77655b4f3ba4 --- /dev/null +++ b/dev-java/java-gnome/java-gnome-2.8.3.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/java-gnome-2.8.3.ebuild,v 1.1 2005/03/12 19:29:33 luckyduck Exp $ + +inherit eutils + +DESCRIPTION="A meta package for all the bindings libraries necessary to write GNOME/GTK applicatons in Java" +HOMEPAGE="http://java-gnome.sourceforge.net/" +DEPEND="!<dev-java/java-gnome-2.8 + >=dev-java/libgtk-java-2.4.8.1 + >=dev-java/libgnome-java-2.8.3.1 + >=dev-java/libgconf-java-2.8.3.1 + >=dev-java/libglade-java-2.8.3.1 + doc? ( >=virtual/jdk-1.2 )" + +SLOT="2.8" +LICENSE="as-is" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="doc" + +pkg_setup() { + + einfo "" + einfo "The java-gnome project has made considerably changes to its internal" + einfo "structure. Instead of one monolithic java-gnome package, there are" + einfo "now indiviudal builds for libgtk-java, libgnome-java, libglade-java, etc" + einfo "" + einfo "This java-gnome ebuild is now a meta package which simply depends on" + einfo "the various new ebuilds" + einfo "" + ewarn "While this ebuild is slotted 2.8, it is marked as being blocked by" + ewarn "the presence of older versions of java-gnome if they exist on your" + ewarn "system. Not only were the 2.6 bindings really buggy, but with the" + ewarn "major re-organization of this package into modular pieces, the" + ewarn "risk of library and/or jar naming collisions is too high." + einfo "" + einfo "By the time you see this message, the above issues have been" + einfo "resolved (ie the new lib*-java packages will all be merged," + einfo "and any old java-gnome packages are now removed)." + einfo "" +} + +src_compile() { + use doc || return + + # + # Upstream's reorg led to a total mess with the generated Javadoc. + # This attempts to replace it for the time being, creating Javadoc + # for all the java-gnome libraries at one go (which makes way more sense + # than one per library scattered all over) + # + + cd ${WORKDIR} + + # Yes, this is terrible hard coding. I'd welcome someone telling me + # how to do this better. + + unzip -o -q /usr/share/libgtk-java-2.4/src/libgtk-java-2.4.8.1.src.zip -d java + unzip -o -q /usr/share/libgnome-java-2.8/src/libgnome-java-2.8.3.1.src.zip -d java + unzip -o -q /usr/share/libgconf-java-2.8/src/libgconf-java-2.8.3.1.src.zip -d java + unzip -o -q /usr/share/libglade-java-2.8/src/libglade-java-2.8.3.1.src.zip -d java + + javadoc \ + -public -use -version -author \ + -windowtitle "java-gnome ${PV} API Reference" \ + -doctitle "API reference for <B><TT>java-gnome</TT></B>, version ${PV}" \ + -d api \ + -sourcepath java \ + org.gnu.glib \ + org.gnu.pango \ + org.gnu.atk \ + org.gnu.gdk \ + org.gnu.gtk \ + org.gnu.gtk.event \ + org.gnu.gnome \ + org.gnu.gnome.event \ + org.gnu.glade \ + org.gnu.gconf +} + +src_install() { + einfo "creating symlinks for convenience and backwards compatability" + + # + # This is just here for convenience and for legacy compatability. + # + # This isn't meant to be Java policy compliant. There is no + # package.env file for this ebuild because the individual libraries + # it depends on all have proper package.env (which this uses, in fact). + # + + mkdir -p ${D}/usr/share/java-gnome/lib + cd ${D}/usr/share/java-gnome/lib + + gtk_jar=`java-config -p libgtk-java-2.4` + ln -s $gtk_jar `basename $gtk_jar` + + gnome_jar=`java-config -p libgnome-java-2.8` + ln -s $gnome_jar `basename $gnome_jar` + + glade_jar=`java-config -p libglade-java-2.8` + ln -s $glade_jar `basename $glade_jar` + + gconf_jar=`java-config -p libgconf-java-2.8` + ln -s $gconf_jar `basename $gconf_jar` + + + use doc || return + + mkdir -p ${D}/usr/share/doc/${PF} + mv ${WORKDIR}/api ${D}/usr/share/doc/${PF} +} + |