diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/appframework | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/appframework')
-rw-r--r-- | dev-java/appframework/Manifest | 4 | ||||
-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 | ||||
-rw-r--r-- | dev-java/appframework/metadata.xml | 16 |
4 files changed, 95 insertions, 0 deletions
diff --git a/dev-java/appframework/Manifest b/dev-java/appframework/Manifest new file mode 100644 index 000000000000..14ec3ee0a9e8 --- /dev/null +++ b/dev-java/appframework/Manifest @@ -0,0 +1,4 @@ +AUX appframework-1.03-fix-imports.patch 859 BLAKE2B a42eaa58f066d831ec50d07e356d7b29a31b6e3b60686b8c17a808af210fce56f731b791c42fca50cd829a7a5ae7274168e25aeeb921ca03714aa7badb70e814 SHA512 9fcf414f952d19b78d26eceee80ea8367491e29c26ef195593c54eaeeba296f9874adedca0a119197cde56a7be48955c8b6a4e78a6440c7100120354b15b1541 +DIST appframework-1.03.zip 413438 BLAKE2B 8f7c397e1d1f8fcfd62b648648650f0a736615317ec37fbc2f8a9c2834e3e18b4a754f89f1b6d94836e2f775010135b740dd474d10ff13e3e115f554380060fb SHA512 7d24329361f0d5f2225a7248ba30b1f0db364efd93e0581e1f10d0f8e2b6354f9d578d585ff1a08b27846dfae0b805b0f609711234be616b3f0a065dc1801309 +EBUILD appframework-1.03-r5.ebuild 916 BLAKE2B 7bf95c011766f287bd7c47de8b59f7b9c0de323c25054761ea132e194d5cffd1f60be2781111b9cd6a29f5efa88b9a02e6dbe71e39c07422466f00bce5134587 SHA512 86d9b9e9e20f3001c65389444312c748a89b9fd0d9d9c43e76cfa3ed957a9bd8570a853638e089b0332f2f16b1be899e0e1bd7b64186e911f026492c2ce55703 +MISC metadata.xml 980 BLAKE2B 73187a55f372e134ba07bafd9c84d85fa7a4d8f9fb5be49f6e6840c1bb82e0e74d348c48a1079f06f4f7ee84c9b1826f6c69c3324c86ab13c26e6c68e68a8ffe SHA512 182e31f0a6cbf64e1707e08a27ac11b70a54b33f3ce717654cfa1f4435774311895efe7e9efc36c587722dc15b6c052d57a63e55a56a886bdd4f9bcaaa2ee08a 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..5d1988117424 --- /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="https://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_install + 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; + + + /** diff --git a/dev-java/appframework/metadata.xml b/dev-java/appframework/metadata.xml new file mode 100644 index 000000000000..d217a05000e5 --- /dev/null +++ b/dev-java/appframework/metadata.xml @@ -0,0 +1,16 @@ +<?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 lang="en"> + The JSR-296 Swing Application Framework prototype implementation is a small set of Java classes that simplify building desktop applications. The prototype provides infrastructure that's common to most desktop applications: + + * Application lifecyle, notably GUI startup and shutdown. + * Support for managing and loading resources, like strings, formatted messages, images, colors, fonts, and other types common to desktop applications. + * Support for defining, managing, and binding Actions, including Actions that run asynchronously (in the "background"). + * Persistent session state: support for automatically and selectively saving GUI state from one run of an application to the next. + </longdescription> +</pkgmetadata> |