diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/jgoodies-looks | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/jgoodies-looks')
8 files changed, 321 insertions, 0 deletions
diff --git a/dev-java/jgoodies-looks/Manifest b/dev-java/jgoodies-looks/Manifest new file mode 100644 index 000000000000..5bc1f8dfce0f --- /dev/null +++ b/dev-java/jgoodies-looks/Manifest @@ -0,0 +1,10 @@ +AUX jgoodies-looks-1.2.2-build.xml 3035 BLAKE2B eac4c5cf00b69c27829b1ad7f61d602a9c69d4a5a1f84744665470b0f3f5cbf6173a1ad9404e7b746420a592e5d68385daf4a0f0f30dee890bddab6602844285 SHA512 0653e5d3cf536f482198e003589a526759cebff89aae40916aa9d80f9d2c89d78fefd710dcc9460b26e794c4a64ebd4c0f039b94145c2dc5826f3170d30ae8e8 +AUX jgoodies-looks-1.2.2-plastic.txt 308 BLAKE2B ac4bfd456bac7a5e8af3e45ff3e09fed253d8ed00a2a017e6f307b36ae10b30b1d6462588b2b3ccdfd86b234bbbac8ddd17fd3e356702e0effc351591075c37a SHA512 4b0212758a260a43b3d6e67d1b53e7fdccee3a584ffe9f2687b46cada832eaa2fe352ab0afb996df066ea4e03478f83a291b22681efdc25e20f963102624556c +AUX jgoodies-looks-2.3.1-build.xml.patch 2443 BLAKE2B 233024a28d66d68efb71d55cec9c24d69c91f3c80d76d82d32b93aba6bb6080428909d0c0cba3b4eedb9eda5a9b6a460e77fa260b8d8fbb27ac3a9cad3d3b2cf SHA512 478455b021091b6344f352a628c037013ea03eef53ba934f8599ee080349cb84231749b8a4a36f8528852529b02ffeb7de4b0a9f4e3138bf5747655bc6c0e4f8 +DIST jgoodies-looks-2_6_0.zip 2444893 BLAKE2B 97d00131cf07f609141c97e4fd3e6b3c93f67dc879eb0ad99469c602e7e30b0d78dc4bd59202db1a3a503dec6c92ea061a176ef11e6c5f4fc26a86c697cf961f SHA512 1c33413379f391109d1db35bdf301acf0cc6d66bf8aa1026280015946bddb230b4cc1d233b700d46a519fb02c169df4670c874058f5e636e1e924a9d3a42442a +DIST looks-1_2_2.zip 1811849 BLAKE2B 47dd516b5523b655757c08ba108b58e7b1e2e113ae4d0e90649db88c4353b66810f9a7b3cc810fe7bdbd5e9c1ad2a32d4b504665d3ffa2917f7a46647f444d09 SHA512 d9c5f0590a44dbc7d778a9da135361f5753eca4d47bef3636f21aa0d014df86dbad90031b5289928b99c352147ea702948028b18b36eb3bc44aef800326fb302 +DIST looks-2_3_1.zip 2105839 BLAKE2B 590412d7ed00d68a3fd8f8e5402802ca69039f2619e542619de787c6e9b4b2019096e87b7809e3b1f5a7d72963da3657fae7e465a245ef1ab0a5630219a968ed SHA512 61278cc0b8556ce19cfb5bdaaab2b42d7035fcdf71d614a8d3673629d5b04c5698e2be521df3e0518e781f78c03a8d3f466f1fdfba525f679e9de7409faf1088 +EBUILD jgoodies-looks-1.2.2-r2.ebuild 951 BLAKE2B 4ae873faf78ee14aa149df23dc3e8f35afa17e15aa4d465ee6faab2b8f5082d321c3a319131e1b5a6d06e78a5f9e8d302136bf1bc0a9310848d8fefccd49c2be SHA512 9fa06f4d662fa9be1fbabe0660d0f30ef6f128c930aa7683a11c0b32e885034807a4ea75ad969922e4900e502f51f218adf8675ea8328bafcdcc39079965007e +EBUILD jgoodies-looks-2.3.1-r1.ebuild 1459 BLAKE2B b95792fe921d627c9fb78fb1bdfdddab5a8bdc9346e5c799b1e651ca9969ae4c7bdf114486bc1630ccc83b80125f2140fdd5dee3d65619fbef979eb4840c8cab SHA512 2523a2f5755636626ce36eefbc7a28b56aa1c4ac6cda30d36c758b62a75510ec75d6737f9a6dcee4157b6730a34d2ddac93df2a0c321b1751bc4b2046d6a714a +EBUILD jgoodies-looks-2.6.0.ebuild 779 BLAKE2B 4acc9508d50f8be4892f2d082bb8949a5df0be8a2f8002b3568163a161dacf9333d6ba97131c8346ed0eeff1be0cdd67e738c2703b7369cf625776313a42bf50 SHA512 c5999ca3a392652c2b3cb36e88dbc7081fa9ff0e2d24acc179bb0c983a414775eb3f67ca3adf66ef309d9dc275d2f6f25089c4705f59cdd9ca4522712771d788 +MISC metadata.xml 236 BLAKE2B 5a64c4404c26415501f50132968e687d4f1b852738cb0e1a5aef8cc4de9e4ea623066f46068fce3d80514ff122d85304e3fd12282c4b1513a4084523ef8bef07 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 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&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..4dee649843f9 --- /dev/null +++ b/dev-java/jgoodies-looks/jgoodies-looks-1.2.2-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 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" +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..93852c012269 --- /dev/null +++ b/dev-java/jgoodies-looks/jgoodies-looks-2.3.1-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 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" +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> |