diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-03-28 13:49:54 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-03-28 13:51:03 +0200 |
commit | 1350dd10be23a6a43e6a451f839bc6f273397b19 (patch) | |
tree | 9d6f80f380ef63b83fbf189c7791bd9d4e5eccbf /dev-java/appframework | |
parent | net-dialup/freeradius: Bump to version 3.0.13 (diff) | |
download | gentoo-1350dd10be23a6a43e6a451f839bc6f273397b19.tar.gz gentoo-1350dd10be23a6a43e6a451f839bc6f273397b19.tar.bz2 gentoo-1350dd10be23a6a43e6a451f839bc6f273397b19.zip |
dev-java/appframework: add patch to get rid of swing-worker dependency.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --force
Diffstat (limited to 'dev-java/appframework')
-rw-r--r-- | dev-java/appframework/Manifest | 1 | ||||
-rw-r--r-- | dev-java/appframework/appframework-1.03-r5.ebuild | 51 | ||||
-rw-r--r-- | dev-java/appframework/files/appframework-1.03-fix-imports.patch | 24 |
3 files changed, 76 insertions, 0 deletions
diff --git a/dev-java/appframework/Manifest b/dev-java/appframework/Manifest index 4d977184e10d..7c2b159f1198 100644 --- a/dev-java/appframework/Manifest +++ b/dev-java/appframework/Manifest @@ -1 +1,2 @@ DIST AppFramework-1.03-src.zip 413438 SHA256 9fad98a0b70e6c67cc38dfe9d01b00fe7b7fedf51fa50ac68e7a86d7d1c38fcd SHA512 7d24329361f0d5f2225a7248ba30b1f0db364efd93e0581e1f10d0f8e2b6354f9d578d585ff1a08b27846dfae0b805b0f609711234be616b3f0a065dc1801309 WHIRLPOOL ef3e4ea022bc3f902334255e26703bc12910f939aa87c12dd6191326c33b2ea9da3abfbf5f29d6d5fa8ad6e65af329520c7cc7c90e36407a1b7b6f384f13c8ea +DIST appframework-1.03.zip 413438 SHA256 9fad98a0b70e6c67cc38dfe9d01b00fe7b7fedf51fa50ac68e7a86d7d1c38fcd SHA512 7d24329361f0d5f2225a7248ba30b1f0db364efd93e0581e1f10d0f8e2b6354f9d578d585ff1a08b27846dfae0b805b0f609711234be616b3f0a065dc1801309 WHIRLPOOL ef3e4ea022bc3f902334255e26703bc12910f939aa87c12dd6191326c33b2ea9da3abfbf5f29d6d5fa8ad6e65af329520c7cc7c90e36407a1b7b6f384f13c8ea diff --git a/dev-java/appframework/appframework-1.03-r5.ebuild b/dev-java/appframework/appframework-1.03-r5.ebuild new file mode 100644 index 000000000000..1ba6578c43ad --- /dev/null +++ b/dev-java/appframework/appframework-1.03-r5.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc examples source" + +inherit java-pkg-2 java-pkg-simple + +MY_PN="AppFramework" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Set of Java classes to build desktop applications easily" +HOMEPAGE="https://java.net/projects/appframework" +SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${MY_P}-src.zip -> ${P}.zip" + +LICENSE="LGPL-2.1" + +SLOT="0" +KEYWORDS="amd64 x86" + +CDEPEND="dev-java/jnlp-api:0" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.6" + +JAVA_GENTOO_CLASSPATH="jnlp-api" + +JAVA_SRC_DIR="src" + +PATCHES=( "${FILESDIR}/${P}-fix-imports.patch" ) + +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + java-pkg_clean + mv src/examples "${S}" || die +} + +src_install() { + java-pkg-simple_src_compile + use examples && java-pkg_doexamples examples +} diff --git a/dev-java/appframework/files/appframework-1.03-fix-imports.patch b/dev-java/appframework/files/appframework-1.03-fix-imports.patch new file mode 100644 index 000000000000..3e5a958597e2 --- /dev/null +++ b/dev-java/appframework/files/appframework-1.03-fix-imports.patch @@ -0,0 +1,24 @@ +--- a/src/org/jdesktop/application/Task.java 2017-03-28 11:24:05.988108949 +0000 ++++ b/src/org/jdesktop/application/Task.java 2017-03-28 11:24:09.433122008 +0000 +@@ -15,8 +15,8 @@ + import java.util.concurrent.TimeUnit; + import java.util.logging.Level; + import java.util.logging.Logger; +-import org.jdesktop.swingworker.SwingWorker; +-import org.jdesktop.swingworker.SwingWorker.StateValue; ++import javax.swing.SwingWorker; ++import javax.swing.SwingWorker.StateValue; + + + /** +--- a/src/org/jdesktop/application/TaskMonitor.java 2017-03-28 11:24:18.988158228 +0000 ++++ b/src/org/jdesktop/application/TaskMonitor.java 2017-03-28 11:24:31.895207149 +0000 +@@ -9,7 +9,7 @@ + import java.util.Iterator; + import java.util.LinkedList; + import java.util.List; +-import org.jdesktop.swingworker.SwingWorker.StateValue; ++import javax.swing.SwingWorker.StateValue; + + + /** |