diff options
Diffstat (limited to 'dev-java/swingx-ws')
-rw-r--r-- | dev-java/swingx-ws/Manifest | 5 | ||||
-rw-r--r-- | dev-java/swingx-ws/metadata.xml | 12 | ||||
-rw-r--r-- | dev-java/swingx-ws/swingx-ws-1.0-r1.ebuild | 54 | ||||
-rw-r--r-- | dev-java/swingx-ws/swingx-ws-1.0_p20110515-r1.ebuild | 67 |
4 files changed, 138 insertions, 0 deletions
diff --git a/dev-java/swingx-ws/Manifest b/dev-java/swingx-ws/Manifest new file mode 100644 index 000000000000..f757caf04eeb --- /dev/null +++ b/dev-java/swingx-ws/Manifest @@ -0,0 +1,5 @@ +DIST swingx-ws-1.0-sources.jar 281598 BLAKE2B bf978c90d302183818a9da0bc2151b03bc4284d83bac9064a9dfc4db1a1bc95f28e835c45e6aa57a6b47a407926d01273c8ec0ea3bfa22052608c0106ca52a53 SHA512 722f8642e3a7c7825dd44cf01eca624b1d8a6bbfa829dbd7be326b53bf9d5467f48293489bbac6466ba9e74d991caaa6c9d56f0b7a08d205133926413517ca28 +DIST swingx-ws-2011_05_15-src.zip 7010679 BLAKE2B 529507f3a7f48d38eb755001b2d442d040adf884a31a49c00f57fc638855e96b195a50813196fdb7318860b0a547eb8220fdd2d05ed613c2cd7d83cb8b7dd7fd SHA512 1929bcd5d615e336fbf77f5c0406a15f0b8aae1ea2167106b8efe2708bf365b39a2313d2a22b5f77ca9559b161db5c50dc18d0cc4cebfcf7a0e4e0c978d4d5da +EBUILD swingx-ws-1.0-r1.ebuild 1392 BLAKE2B b9b473f8dd3bb53e8a707c03f2356cd5716556078e45dd21c290ecaee4308149cdd88609ff314845aa2384334352bc1ddc671a70dbbbd2647c7a411ba9cce96c SHA512 7fba5f418d1f17920d2e5813a33692c615c028455457637e8e7ba8e9a479ceebe39500dd98ab3184291836552f0cbd3ebaf9498694b2b91519a49b905507eb16 +EBUILD swingx-ws-1.0_p20110515-r1.ebuild 1740 BLAKE2B 5463bd477386719d2aa4e089ec1ad99ef98280c773a56910949ad991af39f4c8c8015606714d200225e74431ea26022d69839f3f97980345319eeb1461f168fd SHA512 d3d3dc25a9c6e60f8d781aed453d160237b886ee5042aaa54c1fa04c74dbde3a1a2745b4fe62db8df88a795c739e2bbfac5cd4a65c32e5e627e862ac18603719 +MISC metadata.xml 459 BLAKE2B 33dce90cfd998c8a2c5ae695840604ff6092fe43765f6825af684689d30f69b6cd806b3b3ddf591c587bd397426dc8186449597bcdb9e14052ab029de9cb7ecb SHA512 ba6627622238e8d5ebfac52de63029eee448edd37a4819cc08677abd2f04601be6f29943785ff5abb16e602e919d04ec15427de0b371962cf03e1d35da6315d9 diff --git a/dev-java/swingx-ws/metadata.xml b/dev-java/swingx-ws/metadata.xml new file mode 100644 index 000000000000..89a4387936f7 --- /dev/null +++ b/dev-java/swingx-ws/metadata.xml @@ -0,0 +1,12 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <longdescription>Set of utilities and widgets to simplify interaction of Swing based GUIs with the web applications of any kind.</longdescription> + <upstream> + <remote-id type="sourceforge">bt747</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/swingx-ws/swingx-ws-1.0-r1.ebuild b/dev-java/swingx-ws/swingx-ws-1.0-r1.ebuild new file mode 100644 index 000000000000..bb050ca9a791 --- /dev/null +++ b/dev-java/swingx-ws/swingx-ws-1.0-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 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="Utilities and widgets to integrate Swing GUIs with web applications" +HOMEPAGE="https://java.net/projects/swingx-ws/" +SRC_URI="http://central.maven.org/maven2/org/swinglabs/${PN}/${PV}/${P}-sources.jar" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CP_DEPEND=" + dev-java/commons-httpclient:3 + dev-java/jdom:0 + dev-java/json:0 + dev-java/jtidy:0 + dev-java/rome:0 + dev-java/swingx:1.6 + dev-java/swingx-beaninfo:0 + dev-java/xerces:2 + dev-java/xml-commons-external:1.4" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.6" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.6 + app-arch/unzip" + +src_prepare() { + default + + # Fixes for newer swingx-beaninfo. + sed -i "s:BeanInfoSupport:org.jdesktop.beans.\0:g" org/jdesktop/swingx/*.java || die + find -name "*.java" -exec sed -i -r "s:org\.jdesktop\.swingx\.(editors|BeanInfoSupport|EnumerationValue):org.jdesktop.beans.\1:g" {} + || die + + # GraphicsUtilities moved in later SwingX versions. + sed -i "s:org\.jdesktop\.swingx\.graphics\.GraphicsUtilities:org.jdesktop.swingx.util.GraphicsUtilities:g" \ + org/jdesktop/swingx/mapviewer/AbstractTileFactory.java || die + + java-pkg-2_src_prepare +} + +src_compile() { + java-pkg-simple_src_compile + java-pkg_addres ${PN}.jar . +} diff --git a/dev-java/swingx-ws/swingx-ws-1.0_p20110515-r1.ebuild b/dev-java/swingx-ws/swingx-ws-1.0_p20110515-r1.ebuild new file mode 100644 index 000000000000..d417f67fd56f --- /dev/null +++ b/dev-java/swingx-ws/swingx-ws-1.0_p20110515-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P="${PN}-2011_05_15-src" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Utilities and widgets to integrate Swing GUIs with web applications" +HOMEPAGE="https://java.net/projects/swingx-ws/" +SRC_URI="mirror://sourceforge/bt747/Development/${MY_P}.zip" +LICENSE="LGPL-2.1" +SLOT="bt747" +KEYWORDS="~amd64 ~x86" + +CP_DEPEND=" + dev-java/jdom:0 + dev-java/json:0 + dev-java/rome:0 + dev-java/jtidy:0 + dev-java/xerces:2 + dev-java/swingx:1.6 + dev-java/swing-layout:1 + dev-java/swingx-beaninfo:0 + dev-java/commons-httpclient:3 + dev-java/xml-commons-external:1.4" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.6" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.6 + app-arch/unzip" + +S="${WORKDIR}/${MY_P}/src" +JAVA_SRC_DIR="beaninfo java" + +src_prepare() { + default + java-pkg_clean "${WORKDIR}" + + # SwingWorker has been built-in since Java 6. + find java -name "*.java" -exec sed -i -r "s:org\.jdesktop\.swingworker\.:javax.swing.:g" {} + || die + + # Fixes for newer swingx-beaninfo. + sed -i "s:BeanInfoSupport:org.jdesktop.beans.\0:g" beaninfo/org/jdesktop/swingx/*.java || die + find beaninfo -name "*.java" -exec sed -i -r "s:org\.jdesktop\.swingx\.(editors|BeanInfoSupport|EnumerationValue):org.jdesktop.beans.\1:g" {} + || die + + # GraphicsUtilities moved in later SwingX versions. + sed -i "s:org\.jdesktop\.swingx\.graphics\.GraphicsUtilities:org.jdesktop.swingx.util.GraphicsUtilities:g" \ + java/org/jdesktop/swingx/mapviewer/AbstractTileFactory.java || die + + java-pkg-2_src_prepare +} + +src_compile() { + java-pkg-simple_src_compile + + local DIR + for DIR in ${JAVA_SRC_DIR}; do + java-pkg_addres ${PN}.jar ${DIR} + done +} |