diff options
Diffstat (limited to 'dev-java/jgoodies-looks/files')
3 files changed, 152 insertions, 0 deletions
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
|