diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/swingx-ws |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/swingx-ws')
-rw-r--r-- | dev-java/swingx-ws/Manifest | 6 | ||||
-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, 139 insertions, 0 deletions
diff --git a/dev-java/swingx-ws/Manifest b/dev-java/swingx-ws/Manifest new file mode 100644 index 000000000000..7cd5238ece9e --- /dev/null +++ b/dev-java/swingx-ws/Manifest @@ -0,0 +1,6 @@ +DIST swingx-ws-1.0-sources.jar 281598 SHA256 b90e5915f959e25ba5789fb8e48821b1f6c7e8a10d0eb28dac264465de37db13 SHA512 722f8642e3a7c7825dd44cf01eca624b1d8a6bbfa829dbd7be326b53bf9d5467f48293489bbac6466ba9e74d991caaa6c9d56f0b7a08d205133926413517ca28 WHIRLPOOL ca2b512f5ec376f774df46d7b67f9ef01bce93cb0e41057cefe374e35d2558c1a7d9ed6bc5d5de0b205e5b2732490f200d562cb59a30876659abf8579a671157 +DIST swingx-ws-2011_05_15-src.zip 7010679 SHA256 30783793463d43a2b8303324059b0783466bef5bd889a8af4797b8aa39e65cf2 SHA512 1929bcd5d615e336fbf77f5c0406a15f0b8aae1ea2167106b8efe2708bf365b39a2313d2a22b5f77ca9559b161db5c50dc18d0cc4cebfcf7a0e4e0c978d4d5da WHIRLPOOL 96551039365386a70137d35a252299479a38389c38d26fc9dbf1e57035d40b96bbaa59c14c7f23f4a9b56f828fe10eb48c76cb886f6ab35c4d0a2cf2d2287ee1 +EBUILD swingx-ws-1.0-r1.ebuild 1392 SHA256 b52400345dfceae864b82c773a7a1ac06c7d6ffce39cc8cd007132c0a6e01641 SHA512 7fba5f418d1f17920d2e5813a33692c615c028455457637e8e7ba8e9a479ceebe39500dd98ab3184291836552f0cbd3ebaf9498694b2b91519a49b905507eb16 WHIRLPOOL e3dc3cb796411d1a1da713d8a4df15eb1700e2f5d94dcf7a201daad3efdc065a79e26df18766f5c9485b6e5de1514685b3690ef98d545e114026a79a2be53029 +EBUILD swingx-ws-1.0_p20110515-r1.ebuild 1740 SHA256 a7496dd85f47a8c1264e96a22784da6a2b8c8c46e378414abd0cfd37a7f543fa SHA512 d3d3dc25a9c6e60f8d781aed453d160237b886ee5042aaa54c1fa04c74dbde3a1a2745b4fe62db8df88a795c739e2bbfac5cd4a65c32e5e627e862ac18603719 WHIRLPOOL 15ae121cf7321be9451108238891245b3979d6863eb08361e8e1548c69d7d8d80345fa28f30ac02c2373f66607797b85ee0c892cd1b59081020cefef3dee7abc +MISC ChangeLog 1539 SHA256 63ae6edff18f7fe8c557ebfd64895da4a16b035b318304330cea1627189c6e27 SHA512 d126ddaa2e345db762234eb56f05a6c169a746f066cd3b270c32e6f3661b9534bba570c79f0d114ee3c91e4a91749281af75e8ad9534ce30b80db5deab6356ff WHIRLPOOL c1edbc8b3b83d4259ce42dc60cfac182d111e5ad9c049af0389ec8ebdaca52bfdb45231830c9a7c9f38744805330c50e9e16358ad2d568e5d0e20dbec226ef91 +MISC metadata.xml 459 SHA256 185066de9224df98ddaccddcd57369a2cac7b7a4a10431e032fd05759da8afde SHA512 ba6627622238e8d5ebfac52de63029eee448edd37a4819cc08677abd2f04601be6f29943785ff5abb16e602e919d04ec15427de0b371962cf03e1d35da6315d9 WHIRLPOOL fb1726b4eac72a5772c2d2218fcfbba7cdeca4888c051ad19f4038db485721b950d5f1945544574aa779392dc7035fcfa03b7c1901b463b5065530d253709feb 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 +} |