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/swidgets | |
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/swidgets')
-rw-r--r-- | dev-java/swidgets/Manifest | 1 | ||||
-rw-r--r-- | dev-java/swidgets/files/build.xml | 17 | ||||
-rw-r--r-- | dev-java/swidgets/metadata.xml | 6 | ||||
-rw-r--r-- | dev-java/swidgets/swidgets-0.1.1-r1.ebuild | 53 |
4 files changed, 77 insertions, 0 deletions
diff --git a/dev-java/swidgets/Manifest b/dev-java/swidgets/Manifest new file mode 100644 index 000000000000..46503a2b5da5 --- /dev/null +++ b/dev-java/swidgets/Manifest @@ -0,0 +1 @@ +DIST swidgets-0.1.1-src.zip 60925 SHA256 adee6311304c67cba2ab9238112b941656c0ca6a9b3a3f0c526d5ef8abec0f5c SHA512 2dcc7e1ffefadb1df96e8d5c7d134b0496169689d1fd9bbcb38af7d0e0be3fa4b358901f4871155afe23f7be8cc097d88752c1f6d2816c8aac507795859eb9db WHIRLPOOL a3743769776b2305552c7925dfdaa488cc9d80fae1de4988f837ad0a1422edb7a775033a64c6dd78775e6f9cf0678813adccf6954142010075b34f4f515268ce diff --git a/dev-java/swidgets/files/build.xml b/dev-java/swidgets/files/build.xml new file mode 100644 index 000000000000..ab287881393a --- /dev/null +++ b/dev-java/swidgets/files/build.xml @@ -0,0 +1,17 @@ +<project name="swidgets" default="jar" basedir="."> + <property file="build.properties"/> + + <target name="init"> + <tstamp/> + <mkdir dir="${build}"/> + <mkdir dir="${dest}"/> + </target> + + <target name="compile" depends="init"> + <javac classpath="${classpath}" srcdir="${src}" destdir="${build}"/> + </target> + + <target name="jar" depends="compile"> + <jar destfile="${dest}/swidgets-${version}.jar" basedir="${build}"/> + </target> +</project> diff --git a/dev-java/swidgets/metadata.xml b/dev-java/swidgets/metadata.xml new file mode 100644 index 000000000000..604e0a4238bb --- /dev/null +++ b/dev-java/swidgets/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> + diff --git a/dev-java/swidgets/swidgets-0.1.1-r1.ebuild b/dev-java/swidgets/swidgets-0.1.1-r1.ebuild new file mode 100644 index 000000000000..200822864427 --- /dev/null +++ b/dev-java/swidgets/swidgets-0.1.1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Various reusable SWING components" +HOMEPAGE="http://swidgets.tigris.org" +SRC_URI="http://swidgets.tigris.org/files/documents/1472/18566/${P}-src.zip" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.3 + dev-java/toolbar" + +DEPEND="${RDEPEND} + >=virtual/jdk-1.3 + app-arch/unzip" + +src_unpack() { + unpack ${A} + + # Remove the CVS directories + ecvs_clean + + # Create the directory structor + mkdir "${S}" + + # Move the broken out source file + mv src "${S}" + mv LabelledLayout.java "${S}"/src/org/tigris/swidgets/ + + # Copy the build.xml + cp "${FILESDIR}"/build.xml "${S}" || die "Unable to copy the build file!" + + cat > "${S}"/build.properties <<- EOF + src=src + dest=dest + build=build + version=${PV} + classpath=$(java-config -p toolbar) + EOF +} + +src_install() { + java-pkg_newjar dest/swidgets-${PV}.jar ${PN}.jar + use source && java-pkg_dosrc "${S}"/src/org/ +} |