diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/appframework | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/appframework')
-rw-r--r-- | dev-java/appframework/Manifest | 1 | ||||
-rw-r--r-- | dev-java/appframework/appframework-1.03-r3.ebuild | 70 | ||||
-rw-r--r-- | dev-java/appframework/metadata.xml | 14 |
3 files changed, 85 insertions, 0 deletions
diff --git a/dev-java/appframework/Manifest b/dev-java/appframework/Manifest new file mode 100644 index 000000000000..4d977184e10d --- /dev/null +++ b/dev-java/appframework/Manifest @@ -0,0 +1 @@ +DIST AppFramework-1.03-src.zip 413438 SHA256 9fad98a0b70e6c67cc38dfe9d01b00fe7b7fedf51fa50ac68e7a86d7d1c38fcd SHA512 7d24329361f0d5f2225a7248ba30b1f0db364efd93e0581e1f10d0f8e2b6354f9d578d585ff1a08b27846dfae0b805b0f609711234be616b3f0a065dc1801309 WHIRLPOOL ef3e4ea022bc3f902334255e26703bc12910f939aa87c12dd6191326c33b2ea9da3abfbf5f29d6d5fa8ad6e65af329520c7cc7c90e36407a1b7b6f384f13c8ea diff --git a/dev-java/appframework/appframework-1.03-r3.ebuild b/dev-java/appframework/appframework-1.03-r3.ebuild new file mode 100644 index 000000000000..05d9eb02d8e9 --- /dev/null +++ b/dev-java/appframework/appframework-1.03-r3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +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" + +COMMON_DEP="dev-java/swing-worker:0" + +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" + +DEPEND=">=virtual/jdk-1.5 + dev-java/jnlp-api:0 + app-arch/unzip:0 + ${COMMON_DEP} + test? + ( + dev-java/junit:0 + dev-java/ant-junit:0 + )" + +S="${WORKDIR}/${MY_P}" + +RESTRICT="test" + +EANT_GENTOO_CLASSPATH="swing-worker" +JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc" + +java_prepare() { + rm -v lib/*.jar || die + + java-ant_rewrite-classpath + java-ant_rewrite-classpath nbproject/build-impl.xml +} + +src_compile() { + EANT_GENTOO_CLASSPATH_EXTRA="$(java-pkg_getjars --build-only jnlp-api)" + java-pkg-2_src_compile +} + +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> + |