summaryrefslogtreecommitdiff
path: root/dev-java/jgoodies-looks
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/jgoodies-looks
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jgoodies-looks')
-rw-r--r--dev-java/jgoodies-looks/Manifest12
-rw-r--r--dev-java/jgoodies-looks/files/jgoodies-looks-1.2.2-build.xml83
-rw-r--r--dev-java/jgoodies-looks/files/jgoodies-looks-1.2.2-plastic.txt8
-rw-r--r--dev-java/jgoodies-looks/files/jgoodies-looks-2.3.1-build.xml.patch61
-rw-r--r--dev-java/jgoodies-looks/jgoodies-looks-1.2.2-r2.ebuild48
-rw-r--r--dev-java/jgoodies-looks/jgoodies-looks-2.3.1-r1.ebuild60
-rw-r--r--dev-java/jgoodies-looks/jgoodies-looks-2.6.0.ebuild43
-rw-r--r--dev-java/jgoodies-looks/metadata.xml8
8 files changed, 323 insertions, 0 deletions
diff --git a/dev-java/jgoodies-looks/Manifest b/dev-java/jgoodies-looks/Manifest
new file mode 100644
index 000000000000..c1884cf7cb81
--- /dev/null
+++ b/dev-java/jgoodies-looks/Manifest
@@ -0,0 +1,12 @@
+AUX jgoodies-looks-1.2.2-build.xml 3035 SHA256 f651978e492c674d894648a131e9ffd845a7a2a27cf558c56512f521e10c19e6 SHA512 0653e5d3cf536f482198e003589a526759cebff89aae40916aa9d80f9d2c89d78fefd710dcc9460b26e794c4a64ebd4c0f039b94145c2dc5826f3170d30ae8e8 WHIRLPOOL ce3136c743de4f6a283512526eb3d8215a1516f34c15b5532344dd3ce6d5cca41ceb93fb987a9ef7eb07f0290fa5cd11f5fd1e43bab445c418c3d8af34942b55
+AUX jgoodies-looks-1.2.2-plastic.txt 308 SHA256 0f0601fbf99f2601e9b2a03c69ec71bd1f18f09475090db430a9322ae96f5544 SHA512 4b0212758a260a43b3d6e67d1b53e7fdccee3a584ffe9f2687b46cada832eaa2fe352ab0afb996df066ea4e03478f83a291b22681efdc25e20f963102624556c WHIRLPOOL f0fad2fc14ebf3164e2198405d99b7ff41a2f792bf9d071ab56e651a49a43c4153a65e26b1eded0219527adf3b6ee9f11e4c1811960d0aebbf4c0c9d673a87a6
+AUX jgoodies-looks-2.3.1-build.xml.patch 2443 SHA256 db48ce7fba36388ad4e05ba2104f585ff62dfa7fd91be06166b270ac16001df2 SHA512 478455b021091b6344f352a628c037013ea03eef53ba934f8599ee080349cb84231749b8a4a36f8528852529b02ffeb7de4b0a9f4e3138bf5747655bc6c0e4f8 WHIRLPOOL a6e2f160ca84df7af0624203c864330e5df2de496130de4dbc6cbc091d0e1ba49abcb9a76171afe9fed4fb4d866058c1bd1e04b4f1dd37d9e5381528a45a7972
+DIST jgoodies-looks-2_6_0.zip 2444893 SHA256 2f992c25309e00aadba7c6a3af5c6596b3d487bff64fb1a5e94921647929f7e5 SHA512 1c33413379f391109d1db35bdf301acf0cc6d66bf8aa1026280015946bddb230b4cc1d233b700d46a519fb02c169df4670c874058f5e636e1e924a9d3a42442a WHIRLPOOL f6848e9011001353cb115298465e7da981335d15f3839ca749418d975965358bc9595dbf9a1a36be9b240d0b92866a953dc4a7500b2eb8ecfe50ce46b5e40973
+DIST looks-1_2_2.zip 1811849 SHA256 d7b6cc296cf9284bcbeda9a2c9497e804abae66ae3fc3f31174cf19e9a0bebae SHA512 d9c5f0590a44dbc7d778a9da135361f5753eca4d47bef3636f21aa0d014df86dbad90031b5289928b99c352147ea702948028b18b36eb3bc44aef800326fb302 WHIRLPOOL 20b67ffb888322967103de3953ce825976582f5031ee1609acc91c86d9a621d22656b3337734ecee447c665b35784c595165f7732f2eb0fccc988fa4ac734235
+DIST looks-2_3_1.zip 2105839 SHA256 f66b7e79ca53e849d6082ba0d937f9056d855cd6269edb9b3c52dd1347b14b8d SHA512 61278cc0b8556ce19cfb5bdaaab2b42d7035fcdf71d614a8d3673629d5b04c5698e2be521df3e0518e781f78c03a8d3f466f1fdfba525f679e9de7409faf1088 WHIRLPOOL 964806f73587ed116e4cfb6c330f0231598fc651286085c40bd4a6acedc9a1565bdbe5a4ff48f3e7dfb976a4a28ca667994d146b3d3bc9bfbeacf3c520915425
+EBUILD jgoodies-looks-1.2.2-r2.ebuild 961 SHA256 a0f34d642817d26336e7d94dc5b962875c85b568b7b5ac924a4bdc29617c4888 SHA512 2987e72904bf7646c11679d18b7b8a0bd000d16dfea7b2f4b4f168cea5e574e8401bdb06691e846835c589c6bbfddb326b68b100a144f288fa4bd9b932ed601f WHIRLPOOL c22715dd244d45d2f3f43de24c7bf928d1b0c11c7aa2a1dfb089d6ae0479ec2a67385e4d8c714499e72371f0313984c1e2fc48406a747dd4863a1989d1275330
+EBUILD jgoodies-looks-2.3.1-r1.ebuild 1469 SHA256 8dbcd3bc8350c1aaff1afe5cb2d70f9ce9a6f17c697ab5f6425552c72cda97b5 SHA512 f22960412d85f1b3d50785b01301d8e0c8fd7fa21014c7010dec81c1f8cb763597d80e840d72012973d83684c664c1ba18bdac714385b694daee5a13688dc78c WHIRLPOOL b6281668f4cd8280d0991d56cd40385c3f1a8a578e6d78c51c5069152ab15e8b4affef9e10b4a576c5b95b73c7d489f9609c4f577440fd7003d94cd4fa6f3fcb
+EBUILD jgoodies-looks-2.6.0.ebuild 779 SHA256 d9ace357546d20ffcada3464a887a5bb70eb77aa125f7a9b10c840ca75a5ebc6 SHA512 c5999ca3a392652c2b3cb36e88dbc7081fa9ff0e2d24acc179bb0c983a414775eb3f67ca3adf66ef309d9dc275d2f6f25089c4705f59cdd9ca4522712771d788 WHIRLPOOL 783cc935f3700fdaaf47b3c9aedb99c5b60ecff8ef7127894097533ecae15d7787fe1fdb2bb04840f1937c3a5ee4ad5ba6d46da6ace127ab19bbc13f390d2836
+MISC ChangeLog 4565 SHA256 a320b8378ac6bc2bf1e1af32eb91d19e2561d653c832566fb4fe807e7ceecc6f SHA512 86872c7ed39d4e9bc40bd4ffcd61c95338088c4341c430baccb44ce598e6a5c9ba7e16b0a2041d24320a39c2ab1ad5936d3f83e805365d4965664e45bcd1115e WHIRLPOOL cc37e7c1aaae8c835f1700516c956be3e594c622cf12f969461f62d6784242351e7b3a7d368c5fa567bc2261baba4cba94d66f5fff12155e0cd268a82f5c0032
+MISC ChangeLog-2015 8194 SHA256 876619b104fc93eadb7c067b425bebbfb0e340315eca9bebfa32d319ef915d7b SHA512 f0cbd10ae498e269e2537182db7004768c7a90ffbef5593893e83c2ead4a7c51854a8e2f5cd4d2b75cc394727de55acef7cb73aa65cb30284a4e8a6b18fdb0e0 WHIRLPOOL d4d9506462af792fbf3059fb4e70c638b682b405159e4bc8909d0844bf114c0f1f98510880e1e80e66d07c722507dbdec9f2e3414a7d19ce1574cc963bb652b6
+MISC metadata.xml 236 SHA256 3e778d35b34b5cc1a4dd7ce105fe7d2a99b25fb6dfe24709455da94baa8a0548 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 WHIRLPOOL 7967660784d0d28e9a3c3c222c5bf85b3a8b59fd84b61780e4e7cc1aa5d8bd87bee40e4c5c42e646f15d6641fe182340bcbe8be94c785f40e0ac870c7a96e5cc
diff --git a/dev-java/jgoodies-looks/files/jgoodies-looks-1.2.2-build.xml b/dev-java/jgoodies-looks/files/jgoodies-looks-1.2.2-build.xml
new file mode 100644
index 000000000000..b24ec32156b4
--- /dev/null
+++ b/dev-java/jgoodies-looks/files/jgoodies-looks-1.2.2-build.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0"?>
+
+<project name="Plastic" default="jar" basedir=".">
+
+ <!-- This is a customized build.xml for portage! -->
+ <!--
+ <property file="${basedir}/build.properties"/>
+ <property file="${basedir}/default.properties"/>
+ -->
+
+ <property name="build" value="${basedir}/build"/>
+
+ <property name="spec.title" value="JGoodies Looks"/>
+ <property name="spec.version" value="1.2"/>
+ <property name="spec.vendor" value="Apache Software Foundation"/>
+ <property name="imp.title" value="com.jgoodies.plaf"/>
+ <property name="imp.version" value="1.2.2"/>
+ <property name="imp.vendor" value="Apache Software Foundation"/>
+
+ <property name="plaf.src" value="${basedir}/com/jgoodies/plaf"/>
+ <property name="clearlook.src" value="${basedir}/com/jgoodies/clearlook"/>
+
+ <property name="clearlook.javadoc" value="${build}/doc/clearlook"/>
+ <property name="clearlook.packages" value="com.jgoodies.clearlook.*"/>
+
+ <property name="plastic.javadoc" value="${build}/doc/plastic"/>
+ <property name="plastic.packages" value="com.jgoodies.clearlook.*"/>
+
+ <target name="init">
+ <tstamp />
+ <mkdir dir="${build}"/>
+ <mkdir dir="${build}/doc"/>
+ </target>
+
+ <target name="manifest" depends="init">
+ <manifest file="MANIFEST.MF" mode="update">
+ <attribute name="Built-By" value="Gentoo Portage"/>
+
+ <section name="com/jgoodies/plaf">
+ <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="${imp.title}"/>
+ <attribute name="Implementation-Version" value="${imp.version}"/>
+ <attribute name="Implementation-Vendor" value="${imp.vendor}"/>
+ </section>
+ </manifest>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${plaf.src};${clearlook.src}"
+ destdir="${build}"
+ source="1.4"
+ target="1.4"/>
+
+ <!--
+ Copy application resources
+ NOTE: THIS MAY NEED TO BE CHANGED IN FUTURE VERSIONS!!
+ -->
+ <copy toDir="${build}/com/jgoodies/plaf">
+ <fileset dir="${plaf.src}" excludes="**/*.java"/>
+ </copy>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <javadoc sourcepath="${basedir}"
+ destdir="${clearlook.javadoc}"
+ packagenames="${clearlook.packages}"/>
+ <javadoc sourcepath="${basedir}"
+ destdir="${plastic.javadoc}"
+ packagenames="${plastic.packages}"/>
+ </target>
+
+ <target name="jar" depends="compile,manifest">
+ <jar jarfile="looks.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/jgoodies-looks-1.2.2-plastic.txt b/dev-java/jgoodies-looks/files/jgoodies-looks-1.2.2-plastic.txt
new file mode 100644
index 000000000000..ab3737ca6a30
--- /dev/null
+++ b/dev-java/jgoodies-looks/files/jgoodies-looks-1.2.2-plastic.txt
@@ -0,0 +1,8 @@
+# JGoodies Plastic L&F- replacement for Metal
+com.jgoodies.plaf.plastic.PlasticLookAndFeel
+# JGoodies Plastic 3D L&F
+com.jgoodies.plaf.plastic.Plastic3DLookAndFeel
+# JGoodies Plastic XP L&F
+com.jgoodies.plaf.plastic.PlasticXPLookAndFeel
+# JGoodies Windows L&F
+com.jgoodies.plaf.windows.ExtWindowsLookAndFeel
diff --git a/dev-java/jgoodies-looks/files/jgoodies-looks-2.3.1-build.xml.patch b/dev-java/jgoodies-looks/files/jgoodies-looks-2.3.1-build.xml.patch
new file mode 100644
index 000000000000..e6c0a4be2330
--- /dev/null
+++ b/dev-java/jgoodies-looks/files/jgoodies-looks-2.3.1-build.xml.patch
@@ -0,0 +1,61 @@
+--- build.xml.orig 2006-10-12 23:54:26.000000000 +0200
++++ build.xml 2006-10-12 23:57:36.000000000 +0200
+@@ -100,7 +100,6 @@
+ srcdir ="${src.core.dir}"
+ destdir ="${build.core.dir}"
+ encoding ="${build.encoding}"
+- executable ="${build.compile.executable}"
+ fork ="${build.compile.fork}"
+ debug ="${build.compile.debug}"
+ depend ="${build.compile.depend}"
+@@ -109,8 +108,7 @@
+ optimize ="${build.compile.optimize}"
+ source ="${build.compile.source}"
+ target ="${build.compile.target}"
+- verbose ="${build.compile.verbose}"
+- bootclasspath="${build.boot.classpath}" />
++ verbose ="${build.compile.verbose}"/>
+
+ <copy toDir="${build.core.dir}" >
+ <fileset dir="${src.core.dir}"
+@@ -127,7 +125,6 @@
+ srcdir ="${src.demo.dir}"
+ destdir ="${build.demo.dir}"
+ encoding ="${build.encoding}"
+- executable ="${build.compile.executable}"
+ fork ="${build.compile.fork}"
+ debug ="${build.compile.debug}"
+ depend ="${build.compile.depend}"
+@@ -137,7 +134,6 @@
+ source ="${build.compile.source}"
+ target ="${build.compile.target}"
+ verbose ="${build.compile.verbose}"
+- bootclasspath="${build.boot.classpath}"
+ classpathref ="classpath.demo" />
+ </target>
+
+@@ -149,7 +145,6 @@
+ srcdir ="${src.test.dir}"
+ destdir ="${build.test.dir}"
+ encoding ="${build.encoding}"
+- executable ="${build.compile.executable}"
+ fork ="${build.compile.fork}"
+ debug ="${build.compile.debug}"
+ depend ="${build.compile.depend}"
+@@ -159,7 +154,6 @@
+ source ="${build.compile.source}"
+ target ="${build.compile.target}"
+ verbose ="${build.compile.verbose}"
+- bootclasspath="${build.boot.classpath}"
+ classpathref ="classpath.tests" />
+ </target>
+
+@@ -235,7 +229,7 @@
+ </target>
+
+ <!-- ***************************************************************** -->
+- <target name="jar-all" depends="compile, manifest"
++ <target name="jar-all" depends="compile-core, manifest"
+ description="Creates the library jar with all JGoodies l&amp;fs." >
+
+ <jar
diff --git a/dev-java/jgoodies-looks/jgoodies-looks-1.2.2-r2.ebuild b/dev-java/jgoodies-looks/jgoodies-looks-1.2.2-r2.ebuild
new file mode 100644
index 000000000000..f95a5a17998c
--- /dev/null
+++ b/dev-java/jgoodies-looks/jgoodies-looks-1.2.2-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source examples"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PN="looks"
+MY_PV="${PV//./_}"
+
+DESCRIPTION="JGoodies Looks Library"
+HOMEPAGE="http://www.jgoodies.com/"
+SRC_URI="http://www.jgoodies.com/download/libraries/${MY_PN}-${MY_PV}.zip"
+
+LICENSE="BSD"
+SLOT="1.2"
+KEYWORDS="amd64 x86 ~x86-fbsd"
+IUSE="doc"
+
+DEPEND="
+ >=virtual/jdk-1.5
+ app-arch/unzip"
+
+RDEPEND=">=virtual/jre-1.5"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+EANT_DOC_TARGET="javadoc"
+
+java_prepare() {
+ java-pkg_clean
+
+ cp "${FILESDIR}/${P}-build.xml" "${S}"/build.xml || die
+ cp "${FILESDIR}/${P}-plastic.txt" "${S}"/plastic.txt || die
+
+ unzip ${MY_PN}-${PV}-src.zip || die
+}
+
+src_install() {
+ java-pkg_dojar "${MY_PN}.jar"
+
+ dodoc RELEASE-NOTES.txt
+ use source && java-pkg_dosrc com
+ use doc && java-pkg_dohtml -r build/doc
+ use examples && java-pkg_doexamples src/examples
+}
diff --git a/dev-java/jgoodies-looks/jgoodies-looks-2.3.1-r1.ebuild b/dev-java/jgoodies-looks/jgoodies-looks-2.3.1-r1.ebuild
new file mode 100644
index 000000000000..f73bb7366c22
--- /dev/null
+++ b/dev-java/jgoodies-looks/jgoodies-looks-2.3.1-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source examples"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PN="looks"
+MY_PV="${PV//./_}"
+MY_P="${MY_PN}-${MY_PV}"
+
+DESCRIPTION="JGoodies Looks Library"
+HOMEPAGE="http://www.jgoodies.com/"
+SRC_URI="http://www.jgoodies.com/download/libraries/${MY_PN}/${MY_P}.zip"
+
+LICENSE="BSD"
+SLOT="2.0"
+KEYWORDS="amd64 x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="
+ >=virtual/jdk-1.4
+ app-arch/unzip"
+
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+# bug #150970
+EANT_FILTER_COMPILER="jikes"
+# jar target fails unless we make descriptors.dir an existing directory
+# update: it's where it looks for all.txt file
+EANT_EXTRA_ARGS="-Ddescriptors.dir=\"${S}\""
+
+EANT_BUILD_TARGET="jar-all"
+
+java_prepare() {
+ # remove the bootclasspath brokedness, make building demo optional
+ epatch "${FILESDIR}/${P}-build.xml.patch"
+
+ # unzip the look&feel settings from bundled jar before we delete it
+ unzip -j looks-${PV}.jar META-INF/services/javax.swing.LookAndFeel \
+ || die "unzip of javax.swing.LookAndFeel failed"
+ # and rename it to what build.xml expects
+ mv javax.swing.LookAndFeel all.txt || die
+
+ java-pkg_clean
+}
+
+src_install() {
+ java-pkg_dojar build/looks.jar
+
+ dodoc RELEASE-NOTES.txt || die
+ dohtml README.html || die
+ use doc && java-pkg_dojavadoc build/docs/api
+ use source && java-pkg_dosrc src/core/com
+ use examples && java-pkg_doexamples src/demo
+}
diff --git a/dev-java/jgoodies-looks/jgoodies-looks-2.6.0.ebuild b/dev-java/jgoodies-looks/jgoodies-looks-2.6.0.ebuild
new file mode 100644
index 000000000000..bc04265b83bd
--- /dev/null
+++ b/dev-java/jgoodies-looks/jgoodies-looks-2.6.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_PN="looks"
+MY_PV=${PV//./_}
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="JGoodies Looks Library"
+HOMEPAGE="http://www.jgoodies.com/"
+SRC_URI="http://www.jgoodies.com/download/libraries/${MY_PN}/${MY_P}.zip"
+
+LICENSE="BSD"
+SLOT="2.6"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+CDEPEND="dev-java/jgoodies-common:1.8"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ app-arch/unzip
+ >=virtual/jdk-1.6"
+
+S="${WORKDIR}"/${P}
+
+JAVA_SRC_DIR="src"
+JAVA_GENTOO_CLASSPATH="jgoodies-common-1.8"
+
+java_prepare() {
+ mkdir src || die
+ unzip ${P}-sources.jar -d src || die
+ rm "${S}"/pom.xml "${S}"/*.jar || die
+}
diff --git a/dev-java/jgoodies-looks/metadata.xml b/dev-java/jgoodies-looks/metadata.xml
new file mode 100644
index 000000000000..952a4b9b605c
--- /dev/null
+++ b/dev-java/jgoodies-looks/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>