# ChangeLog for dev-java/jmi-interface
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jmi-interface/ChangeLog,v 1.8 2006/12/09 09:21:33 flameeyes Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmi-interface/ChangeLog,v 1.9 2007/01/16 12:07:09 caster Exp $
+
+*jmi-interface-1.0-r3 (16 Jan 2007)
+
+ 16 Jan 2007; Vlastimil Babka <caster@gentoo.org>
+ +jmi-interface-1.0-r3.ebuild:
+ Revbump to fix bug #162328 by Mikhail V. Vorozhtsov
+ <mikhail.vorozhtsov@gmail.com> - mof-1.0.xml is installed also as mof.xml
+ for compatibility with netbeans 5.5.
09 Dec 2006; Diego Pettenò <flameeyes@gentoo.org>
jmi-interface-1.0-r2.ebuild:
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX jmi-interface-1.0-build.xml 1676 RMD160 365e1cbefd8d0708e87b528f1b4beac061d8c81d SHA1 cb7b49e029a2020a007d0800a9239ba37e1e1aed SHA256 70e713494df10336cb8c4aa6646579158106ac6c7c1c1aefe515c0d767ff3d7c
MD5 1edf4d1017b6758ffd9c2ea3a64f3277 files/jmi-interface-1.0-build.xml 1676
RMD160 365e1cbefd8d0708e87b528f1b4beac061d8c81d files/jmi-interface-1.0-build.xml 1676
MD5 7f70aa9f13da6a4361613ca1f6558459 jmi-interface-1.0-r2.ebuild 1300
RMD160 80b7dcd7580c54fec89450d3912775bbbcbf5b62 jmi-interface-1.0-r2.ebuild 1300
SHA256 3ad547191f4f7d732305afb76bfcd39aa942f4a0164a51917cc4fee2e29f2a57 jmi-interface-1.0-r2.ebuild 1300
-MISC ChangeLog 1627 RMD160 7ad01c7e0ea1d3107ce7d79229360e9673cc2ccf SHA1 29139cad1c517da36888fd07d8b9370719fba71d SHA256 b28a17c806701e346fd83881003ad68460b9604aa212783d56792f7e3334072d
-MD5 fb7e4104f768e98771e8220d9a0ea34e ChangeLog 1627
-RMD160 7ad01c7e0ea1d3107ce7d79229360e9673cc2ccf ChangeLog 1627
-SHA256 b28a17c806701e346fd83881003ad68460b9604aa212783d56792f7e3334072d ChangeLog 1627
+EBUILD jmi-interface-1.0-r3.ebuild 1336 RMD160 b7b896701f6285a53a776d3aabc8ab73cdb4d30f SHA1 cad4917296f862dee2b988cf5204a88476269b96 SHA256 60f1c087b3890227ff4e275eca864a0e36f932e68c534168807257dcad66dafd
+MD5 d358dbe1874415ec3fa7fa212be40d30 jmi-interface-1.0-r3.ebuild 1336
+RMD160 b7b896701f6285a53a776d3aabc8ab73cdb4d30f jmi-interface-1.0-r3.ebuild 1336
+SHA256 60f1c087b3890227ff4e275eca864a0e36f932e68c534168807257dcad66dafd jmi-interface-1.0-r3.ebuild 1336
+MISC ChangeLog 1914 RMD160 408e589cdf80665b78f58aee5c0a23f030718541 SHA1 4d53aa5762cab94b13ace9fec0266ed6df89438f SHA256 63d6b3d555bab8feb7c1ba6931ed3ffa019e344e0b0e69384872b2ae55db780e
+MD5 54599d0fbd8cdc55a3e98854bcc1c1f5 ChangeLog 1914
+RMD160 408e589cdf80665b78f58aee5c0a23f030718541 ChangeLog 1914
+SHA256 63d6b3d555bab8feb7c1ba6931ed3ffa019e344e0b0e69384872b2ae55db780e ChangeLog 1914
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
MD5 834035ecd597fc900901d3849bbf0135 files/digest-jmi-interface-1.0-r2 473
RMD160 d094ea34e03da69554afa1d99206296a744fb18f files/digest-jmi-interface-1.0-r2 473
SHA256 26fa297fb4780c73a3e85333524378ec3cf6245ea153306e47a9bd3454feaa02 files/digest-jmi-interface-1.0-r2 473
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
-
-iD8DBQFFeoAjAiZjviIA2XgRArM0AJ4/5tzIZOpE8caM4gMwOlPUxEkGBQCfRnP7
-y6nDfdLqp6/MWMjThRricKo=
-=2dCP
------END PGP SIGNATURE-----
+MD5 834035ecd597fc900901d3849bbf0135 files/digest-jmi-interface-1.0-r3 473
+RMD160 d094ea34e03da69554afa1d99206296a744fb18f files/digest-jmi-interface-1.0-r3 473
+SHA256 26fa297fb4780c73a3e85333524378ec3cf6245ea153306e47a9bd3454feaa02 files/digest-jmi-interface-1.0-r3 473
--- /dev/null
+MD5 9a974f9df7a9eefe440ac91b18fef5a7 jmi-1_0-fr-interfaces.zip 38946
+RMD160 9394c77b176bf83287dc2b86e5f8067b7ff7c416 jmi-1_0-fr-interfaces.zip 38946
+SHA256 a5b99f353ffee25b34c8fd628ae896d4fb9af70d2e6433db9e74669ffe456da2 jmi-1_0-fr-interfaces.zip 38946
+MD5 53713768742685cdbaef23e001e958ac mof-1.0.xml.bz2 7076
+RMD160 4cf4dfe3e2f0c7ca0de41cd4b28bd957647e307c mof-1.0.xml.bz2 7076
+SHA256 e4b1f36ec115624625912894f3df07eb705246ec3aa1091d376763521dfc7db1 mof-1.0.xml.bz2 7076
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmi-interface/jmi-interface-1.0-r3.ebuild,v 1.1 2007/01/16 12:07:09 caster Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Java Metadata Interface Sample Class Interface"
+HOMEPAGE="http://java.sun.com/products/jmi/"
+JMI_ZIP="jmi-${PV/./_}-fr-interfaces.zip"
+MOF_XML="mof-${PV}.xml.bz2"
+SRC_URI="mirror://gentoo/${JMI_ZIP}
+ mirror://gentoo/${MOF_XML}"
+
+LICENSE="sun-bcla-jmi"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="doc source"
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ dev-java/ant-core
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ mkdir "${S}/src" && cd "${S}/src"
+ unpack ${JMI_ZIP}
+
+ cd "${S}"
+ # rename enum keywords because javadoc hates them
+ # even with -source 1.4, bummer
+ epatch "${FILESDIR}/${P}-enum.patch"
+ cp "${FILESDIR}/${P}-build.xml" build.xml
+
+ #adding mof.xml required by Netbeans #98603
+ mkdir -p "${S}/build/javax/jmi/model/resources"
+ cd "${S}/build/javax/jmi/model/resources"
+ unpack ${MOF_XML}
+ # bug #162328
+ cp mof-1.0.xml mof.xml
+}
+
+src_compile() {
+ eant jar $(use_doc)
+}
+
+src_install() {
+ java-pkg_dojar dist/*.jar
+
+ use doc && java-pkg_dojavadoc doc
+ use source && java-pkg_dosrc src/javax
+}