summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2006-08-18 17:59:58 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2006-08-18 17:59:58 +0000
commit547504e6c89031923e80f11d59f847c81c9eac20 (patch)
treec714e2e32521efe238a1fc788d629f88aef22a61 /dev-java/jgoodies-looks
parentLower gcc-sparc64 mask to <4.0.3 (diff)
downloadgentoo-2-547504e6c89031923e80f11d59f847c81c9eac20.tar.gz
gentoo-2-547504e6c89031923e80f11d59f847c81c9eac20.tar.bz2
gentoo-2-547504e6c89031923e80f11d59f847c81c9eac20.zip
version bump from upstream
(Portage version: 2.1.1_pre5-r2)
Diffstat (limited to 'dev-java/jgoodies-looks')
-rw-r--r--dev-java/jgoodies-looks/ChangeLog9
-rw-r--r--dev-java/jgoodies-looks/files/build-2.0.4.xml81
-rw-r--r--dev-java/jgoodies-looks/files/digest-jgoodies-looks-1.3.1-r12
-rw-r--r--dev-java/jgoodies-looks/files/digest-jgoodies-looks-2.0.43
-rw-r--r--dev-java/jgoodies-looks/files/plastic-2.0.4.txt8
-rw-r--r--dev-java/jgoodies-looks/jgoodies-looks-2.0.4.ebuild46
6 files changed, 148 insertions, 1 deletions
diff --git a/dev-java/jgoodies-looks/ChangeLog b/dev-java/jgoodies-looks/ChangeLog
index 8e96405f891d..85b456327e7e 100644
--- a/dev-java/jgoodies-looks/ChangeLog
+++ b/dev-java/jgoodies-looks/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/jgoodies-looks
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-looks/ChangeLog,v 1.14 2006/08/04 01:37:54 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-looks/ChangeLog,v 1.15 2006/08/18 17:59:58 compnerd Exp $
+
+*jgoodies-looks-2.0.4 (18 Aug 2006)
+
+ 18 Aug 2006; Saleem Abdulrasool <compnerd@gentoo.org>
+ +files/plastic-2.0.4.txt, +files/build-2.0.4.xml,
+ +jgoodies-looks-2.0.4.ebuild:
+ Version bump from upstream
*jgoodies-looks-1.3.2-r1 (04 Aug 2006)
*jgoodies-looks-1.2.2-r1 (04 Aug 2006)
diff --git a/dev-java/jgoodies-looks/files/build-2.0.4.xml b/dev-java/jgoodies-looks/files/build-2.0.4.xml
new file mode 100644
index 000000000000..8af2916ac2be
--- /dev/null
+++ b/dev-java/jgoodies-looks/files/build-2.0.4.xml
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+
+<project name="Looks" default="jar" basedir=".">
+
+ <!-- This is a customized build.xml for portage! -->
+ <!--
+ <property file="${basedir}/build.properties"/>
+ <property file="${basedir}/default.properties"/>
+ -->
+
+ <!-- Specification data -->
+ <property name="spec.title" value="JGoodies Looks API Specification"/>
+ <property name="spec.version" value="2.0"/>
+ <property name="spec.vendor" value="JGoodies Karsten Lentzsch"/>
+
+ <!-- Implementation data -->
+ <property name="impl.title" value="JGoodies Looks"/>
+ <property name="impl.version" value="2.0.4"/>
+ <property name="impl.vender" value="JGoodies Karsten Lentzsch"/>
+
+ <!-- Directory structure information -->
+ <property name="build" value="${basedir}/build"/>
+ <property name="src" value="${basedir}/src/core"/>
+
+ <!-- JavaDoc information -->
+ <property name="packages" value="com.jgoodies.*"/>
+
+ <target name="init">
+ <tstamp />
+ <mkdir dir="${build}"/>
+ <mkdir dir="${build}/doc"/>
+ <mkdir dir="${build}/doc/api"/>
+ </target>
+
+ <target name="manifest" depends="init">
+ <manifest file="MANIFEST.MF" mode="update">
+ <attribute name="Built-By" value="Gentoo Portage"/>
+ <attribute name="Specification-Title" value="${spec.title}"/>
+ <attribute name="Specification-Version" value="${spec.version}"/>
+ <attribute name="Specification-Vendor" value="${spec.vendor}"/>
+ <attribute name="Implementation-Title" value="${impl.title}"/>
+ <attribute name="Implementation-Version" value="${impl.version}"/>
+ <attribute name="Implementation-Vendor" value="${impl.vendor}"/>
+ </manifest>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${src}" destdir="${build}" source="1.4" target="1.4" encoding="ISO-8859-1">
+ <exclude name="examples/**/*"/>
+ <exclude name="photoshop/**/*"/>
+ <exclude name="test/**/*"/>
+ </javac>
+
+ <!--
+ Copy application resources
+ NOTE: THIS MAY NEED TO BE CHANGED IN FUTURE VERSIONS!!
+ -->
+ <copy toDir="${build}/com/jgoodies/looks/common">
+ <fileset dir="${src}/com/jgoodies/looks/common" includes="shadow.png"/>
+ </copy>
+ <copy toDir="${build}/com/jgoodies/looks/plastic">
+ <fileset dir="${src}/com/jgoodies/looks/plastic" includes="icons/**/*"/>
+ </copy>
+ <copy toDir="${build}/com/jgoodies/looks/windows">
+ <fileset dir="${src}/com/jgoodies/looks/windows" includes="icons/**/*"/>
+ </copy>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <javadoc sourcepath="${src}" packagenames="${packages}" destdir="${build}/docs/"/>
+ </target>
+
+ <target name="jar" depends="compile,manifest">
+ <jar jarfile="looks-${impl.version}.jar" manifest="MANIFEST.MF">
+ <fileset dir="${build}"/>
+ <zipfileset dir="${basedir}"
+ includes="plastic.txt"
+ fullpath="META-INF/services/javax.swing.LookAndFeel"/>
+ </jar>
+ </target>
+</project>
diff --git a/dev-java/jgoodies-looks/files/digest-jgoodies-looks-1.3.1-r1 b/dev-java/jgoodies-looks/files/digest-jgoodies-looks-1.3.1-r1
index 48e3e8c1180c..d8c3483b3f16 100644
--- a/dev-java/jgoodies-looks/files/digest-jgoodies-looks-1.3.1-r1
+++ b/dev-java/jgoodies-looks/files/digest-jgoodies-looks-1.3.1-r1
@@ -1 +1,3 @@
MD5 f8b28647b2d1801ef1877748e39737ef looks-1_3_1.zip 1794865
+RMD160 08b4018d2358b3f25a8f9e5019e7b9cc14077554 looks-1_3_1.zip 1794865
+SHA256 f01f6be9ee4bc81e5536c05d3937832b0cefbbfb788bb3f1ebd6060171871e8a looks-1_3_1.zip 1794865
diff --git a/dev-java/jgoodies-looks/files/digest-jgoodies-looks-2.0.4 b/dev-java/jgoodies-looks/files/digest-jgoodies-looks-2.0.4
new file mode 100644
index 000000000000..b33c5f7b0276
--- /dev/null
+++ b/dev-java/jgoodies-looks/files/digest-jgoodies-looks-2.0.4
@@ -0,0 +1,3 @@
+MD5 d4a4c1cc7f334a592d42b303a72528a8 looks-2_0_4.zip 1952358
+RMD160 730242eeb54cc4bbf89809ae1bdec3f2cbe05c00 looks-2_0_4.zip 1952358
+SHA256 203cfd1f12f0e5e0b901a145f91701106adad1131694823f0104b54b4ed0c619 looks-2_0_4.zip 1952358
diff --git a/dev-java/jgoodies-looks/files/plastic-2.0.4.txt b/dev-java/jgoodies-looks/files/plastic-2.0.4.txt
new file mode 100644
index 000000000000..e887d9d13da6
--- /dev/null
+++ b/dev-java/jgoodies-looks/files/plastic-2.0.4.txt
@@ -0,0 +1,8 @@
+# JGoodies Plastic L&F- replacement for Metal
+com.jgoodies.looks.plastic.PlasticLookAndFeel
+# JGoodies Plastic 3D L&F
+com.jgoodies.looks.plastic.Plastic3DLookAndFeel
+# JGoodies Plastic XP L&F
+com.jgoodies.looks.plastic.PlasticXPLookAndFeel
+# JGoodies Windows L&F
+com.jgoodies.looks.windows.WindowsLookAndFeel
diff --git a/dev-java/jgoodies-looks/jgoodies-looks-2.0.4.ebuild b/dev-java/jgoodies-looks/jgoodies-looks-2.0.4.ebuild
new file mode 100644
index 000000000000..07001e206667
--- /dev/null
+++ b/dev-java/jgoodies-looks/jgoodies-looks-2.0.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-looks/jgoodies-looks-2.0.4.ebuild,v 1.1 2006/08/18 17:59:58 compnerd Exp $
+
+inherit java-pkg-2 java-ant-2
+
+MY_V=${PV//./_}
+
+DESCRIPTION="JGoodies Looks Library"
+HOMEPAGE="http://www.jgoodies.com/"
+SRC_URI="http://www.jgoodies.com/download/libraries/looks-${MY_V}.zip"
+
+LICENSE="BSD"
+SLOT="2.0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc"
+
+DEPEND=">=virtual/jdk-1.4.2
+ dev-java/ant-core
+ app-arch/unzip"
+RDEPEND=">=virtual/jre-1.4.2"
+
+S="${WORKDIR}/looks-${PV}"
+
+src_unpack() {
+ unpack ${A} || die "unpack failed"
+ cd ${S}
+
+ # Clean up the structure
+ rm -rf *.jar build.xml default.properties LICENSE.txt demo/ lib/
+
+ # Copy the Gentoo'ized build.xml
+ cp ${FILESDIR}/build-${PV}.xml ${S}/build.xml
+ cp ${FILESDIR}/plastic-${PV}.txt ${S}/plastic.txt
+}
+
+src_compile() {
+ eant jar $(use_doc javadoc)
+}
+
+src_install() {
+ java-pkg_newjar looks-${PV}.jar looks.jar
+
+ dodoc RELEASE-NOTES.txt
+ use doc && java-pkg_dohtml -r build/docs/*
+}