From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-java/laf-plugin/Manifest | 6 ++++ .../laf-plugin/files/laf-plugin-0.2-enum.patch | 42 ++++++++++++++++++++++ dev-java/laf-plugin/laf-plugin-0.2-r2.ebuild | 31 ++++++++++++++++ dev-java/laf-plugin/laf-plugin-1.1-r1.ebuild | 36 +++++++++++++++++++ dev-java/laf-plugin/metadata.xml | 8 +++++ 5 files changed, 123 insertions(+) create mode 100644 dev-java/laf-plugin/Manifest create mode 100644 dev-java/laf-plugin/files/laf-plugin-0.2-enum.patch create mode 100644 dev-java/laf-plugin/laf-plugin-0.2-r2.ebuild create mode 100644 dev-java/laf-plugin/laf-plugin-1.1-r1.ebuild create mode 100644 dev-java/laf-plugin/metadata.xml (limited to 'dev-java/laf-plugin') diff --git a/dev-java/laf-plugin/Manifest b/dev-java/laf-plugin/Manifest new file mode 100644 index 000000000000..eee6dd9e8cd2 --- /dev/null +++ b/dev-java/laf-plugin/Manifest @@ -0,0 +1,6 @@ +AUX laf-plugin-0.2-enum.patch 1987 BLAKE2B 9098169cdc3af4f3497542a4a92a37ee3dfa7be9843887d1f8ffdd7f4c40a8cd6bb3ee3efdf76a4fc6fefca7d803189cfb01179e57506feac30c3ae7984dd780 SHA512 3f32b546c95033add7647a209ea269ee398b90a3e286e60479dff83f20cb93c78318d80f961c544ed728c09b1f61297e492b7963736eb56e802ec7401298b801 +DIST laf-plugin-0.2.tar.bz2 13799 BLAKE2B b466053ccc064cc067f408a2d57e9ff99ae1d0e421ec70fe789baa865aa8ad12dae0143591b06ee9f19ce7d59b3c41e75ccb2adfe597d40923f5e4a4f156e144 SHA512 91ac3f9f5ebfcd70e7cc76f2e028e9578c6113a848b0ccdc6b001fff006bf5aaa12af08b1752851693d218d4b2d7d053f62461481e49d5a0bde21e5a7d086331 +DIST laf-plugin-1.1.jar 8105 BLAKE2B 45d065389b25f2e6cf8a06058edba8f056bb02a8e1eb038d0e88c04e086ba09b4ede4064f7bd8c618a0daf328e20781fa15d4902cf7889d41110af92bcf5e5a7 SHA512 2ca265d23ac95e5d194e4905ead4c975cb8739a0aa30096c028d2f6467b148de2ac0ff71c6730752a666eee53551867d9d8c852d25238a873fbd4bd994cf80c0 +EBUILD laf-plugin-0.2-r2.ebuild 562 BLAKE2B 6ef5df70d3626203651159800a1f4d3ff59283e2f367886e91227dbdca200f2b3981216de16f0a094013732bd75d2023a270f2abc6dc11d509ec888c27c0a9e6 SHA512 63ac19a8ec061503532f040ecd85c809f088fe0f263714afc9ae92177f6e599aaefbf4f5278bf76100e8b8377409217f928d823f2acc1e2001646c6ed95317d9 +EBUILD laf-plugin-1.1-r1.ebuild 648 BLAKE2B a3e386472b23de79162574227eb866422090efa8fa326413111768f897445c5b2030712a92ac26306c540bffedbe946d75038ad7d78dc1d0bab57503d02c1a91 SHA512 4d788eacf78c97ebc3f873766d2872f93a408bca6be7524c09c095350b4825df1e995a6a26437a3c4cf34959d6ccef0461f6e1afab9f88551f781b924a9da9b4 +MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 diff --git a/dev-java/laf-plugin/files/laf-plugin-0.2-enum.patch b/dev-java/laf-plugin/files/laf-plugin-0.2-enum.patch new file mode 100644 index 000000000000..35d818ead30a --- /dev/null +++ b/dev-java/laf-plugin/files/laf-plugin-0.2-enum.patch @@ -0,0 +1,42 @@ +--- a/src/org/jvnet/lafplugin/XMLElement.java 2017-03-24 19:08:40.320048066 +0000 ++++ b/src/org/jvnet/lafplugin/XMLElement.java 2017-03-24 19:10:18.490049991 +0000 +@@ -478,9 +478,9 @@ + this.children = new Vector(); + this.entities = entities; + this.lineNr = 0; +- Enumeration enum = this.entities.keys(); +- while (enum.hasMoreElements()) { +- Object key = enum.nextElement(); ++ Enumeration myEnum = this.entities.keys(); ++ while (myEnum.hasMoreElements()) { ++ Object key = myEnum.nextElement(); + Object value = this.entities.get(key); + if (value instanceof String) { + value = ((String) value).toCharArray(); +@@ -2168,10 +2168,10 @@ + writer.write('<'); + writer.write(this.name); + if (! this.attributes.isEmpty()) { +- Enumeration enum = this.attributes.keys(); +- while (enum.hasMoreElements()) { ++ Enumeration myEnum = this.attributes.keys(); ++ while (myEnum.hasMoreElements()) { + writer.write(' '); +- String key = (String) enum.nextElement(); ++ String key = (String) myEnum.nextElement(); + String value = (String) this.attributes.get(key); + writer.write(key); + writer.write('='); writer.write('"'); +@@ -2189,9 +2189,9 @@ + writer.write('/'); writer.write('>'); + } else { + writer.write('>'); +- Enumeration enum = this.enumerateChildren(); +- while (enum.hasMoreElements()) { +- XMLElement child = (XMLElement) enum.nextElement(); ++ Enumeration myEnum = this.enumerateChildren(); ++ while (myEnum.hasMoreElements()) { ++ XMLElement child = (XMLElement) myEnum.nextElement(); + child.write(writer); + } + writer.write('<'); writer.write('/'); diff --git a/dev-java/laf-plugin/laf-plugin-0.2-r2.ebuild b/dev-java/laf-plugin/laf-plugin-0.2-r2.ebuild new file mode 100644 index 000000000000..03ba88053fbc --- /dev/null +++ b/dev-java/laf-plugin/laf-plugin-0.2-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Look'n'feel Java library" +HOMEPAGE="http://laf-plugin.dev.java.net/" +SRC_URI="mirror://gentoo/${P}-src.tar.bz2 -> ${P}.tar.bz2" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="BSD" + +DEPEND=">=virtual/jdk-1.6" +RDEPEND=">=virtual/jre-1.6" + +S="${WORKDIR}/${P}" + +PATCHES=( "${FILESDIR}/${P}-enum.patch" ) + +src_prepare() { + default +} + +src_install() { + java-pkg-simple_src_install +} diff --git a/dev-java/laf-plugin/laf-plugin-1.1-r1.ebuild b/dev-java/laf-plugin/laf-plugin-1.1-r1.ebuild new file mode 100644 index 000000000000..0c34f8779fc1 --- /dev/null +++ b/dev-java/laf-plugin/laf-plugin-1.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Look'n'feel Java library" +HOMEPAGE="http://laf-plugin.dev.java.net" +SRC_URI="https://repo1.maven.org/maven2/net/java/dev/${PN}/${PN}/${PV}/${P}-sources.jar -> ${P}.jar" +LICENSE="BSD" +SLOT="1" +KEYWORDS="~amd64 ~x86" + +CDEPEND="dev-java/nanoxml:0" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.6" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +JAVA_GENTOO_CLASSPATH="nanoxml" + +src_prepare() { + default + java-pkg_clean +} + +src_install() { + java-pkg-simple_src_install +} diff --git a/dev-java/laf-plugin/metadata.xml b/dev-java/laf-plugin/metadata.xml new file mode 100644 index 000000000000..2444066aa02b --- /dev/null +++ b/dev-java/laf-plugin/metadata.xml @@ -0,0 +1,8 @@ + + + + + java@gentoo.org + Java + + -- cgit v1.2.3