summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2009-07-06 10:36:09 +0000
committerAlistair Bush <ali_bush@gentoo.org>2009-07-06 10:36:09 +0000
commit7a777471e63817ae62c3add4219b7552acd42099 (patch)
tree5a1275b80901b16e6c41c436b4775b8e57eb57a5 /dev-java/appframework
parentStable for HPPA (bug #276640). (diff)
downloadgentoo-2-7a777471e63817ae62c3add4219b7552acd42099.tar.gz
gentoo-2-7a777471e63817ae62c3add4219b7552acd42099.tar.bz2
gentoo-2-7a777471e63817ae62c3add4219b7552acd42099.zip
Add to main tree and keyword ~x86
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'dev-java/appframework')
-rw-r--r--dev-java/appframework/ChangeLog24
-rw-r--r--dev-java/appframework/appframework-1.03.ebuild64
-rw-r--r--dev-java/appframework/metadata.xml14
3 files changed, 102 insertions, 0 deletions
diff --git a/dev-java/appframework/ChangeLog b/dev-java/appframework/ChangeLog
new file mode 100644
index 000000000000..244142f6cd5f
--- /dev/null
+++ b/dev-java/appframework/ChangeLog
@@ -0,0 +1,24 @@
+# ChangeLog for dev-java/appframework
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/appframework/ChangeLog,v 1.1 2009/07/06 10:36:09 ali_bush Exp $
+
+*appframework-1.03 (06 Jul 2009)
+
+ 06 Jul 2009; <alistair@gentoo.org> +metadata.xml,
+ +appframework-1.03.ebuild:
+ Move to tree and keyword ~x86.
+
+ 21 May 2009; Alistair Bush <ali_bush@gentoo.org> appframework-1.03.ebuild:
+ Fix javadoc install
+
+ 03 Sep 2008; Miroslav Šulc <fordfrog@gentoo.org>
+ appframework-1.03.ebuild:
+ Fixed installation of the jar
+
+ 16 Jun 2008; Serkan Kaba <serkan@gentoo.org> appframework-1.03.ebuild:
+ Fix tests and javadoc. Add src_test()
+
+ 08 Jan 2008; <alistair@gentoo.org> +metadata.xml,
+ +appframework-1.03.ebuild:
+ Adding appframework
+
diff --git a/dev-java/appframework/appframework-1.03.ebuild b/dev-java/appframework/appframework-1.03.ebuild
new file mode 100644
index 000000000000..9769aea416d9
--- /dev/null
+++ b/dev-java/appframework/appframework-1.03.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/appframework/appframework-1.03.ebuild,v 1.1 2009/07/06 10:36:09 ali_bush Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="doc examples source test"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PN="AppFramework"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A small set of Java classes that simplify building desktop applications."
+HOMEPAGE="https://appframework.dev.java.net/"
+SRC_URI="https://appframework.dev.java.net/downloads/${MY_P}-src.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+COMMON_DEP="dev-java/swing-worker
+ dev-java/jnlp-bin"
+
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip
+ ${COMMON_DEP}
+ test?
+ (
+ dev-java/junit:0
+ dev-java/ant-junit
+ )"
+
+S="${WORKDIR}/${MY_P}"
+RESTRICT="test"
+
+EANT_GENTOO_CLASSPATH="jnlp-bin,swing-worker"
+JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}" || die
+ rm -v lib/*.jar || die
+ java-ant_rewrite-classpath
+ java-ant_rewrite-classpath nbproject/build-impl.xml
+}
+
+src_install() {
+ java-pkg_newjar "${S}/dist/AppFramework.jar" "${PN}.jar"
+ use doc && java-pkg_dojavadoc dist/javadoc
+ use source && java-pkg_dosrc src/org
+ use examples && java-pkg_doexamples src/examples/*
+}
+
+src_test() {
+ local cp=$(java-pkg_getjars --build-only junit):$(java-pkg_getjars swing-worker)
+ ANT_TASKS="ant-junit" eant \
+ -Duser.home="${T}" \
+ -Drun.test.classpath="${cp}:dist/${MY_PN}.jar:build/test/classes" \
+ -Dgentoo.classpath="${cp}" test
+}
diff --git a/dev-java/appframework/metadata.xml b/dev-java/appframework/metadata.xml
new file mode 100644
index 000000000000..fd5a55423e4f
--- /dev/null
+++ b/dev-java/appframework/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <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>
+