processing-core (1.2.1-1) build-process.patch

Summary

 build.xml |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

We don't include the "methods" source or jar, so we skip that task. The upstream repository 
should contain a PApplet that matches with the other packages anyway. Also rename the jar 
file to processing-core.jar because a jar file called core.jar in /usr/share/java is going
to be confusing.

Index: processing-core-1.2.1/build.xml
===================================================================
--- processing-core-1.2.1.orig/build.xml	2010-02-07 20:53:59.000000000 +0000
+++ processing-core-1.2.1/build.xml	2011-04-09 23:20:01.610193586 +0100
@@ -3,14 +3,14 @@
 
   <target name="clean" description="Clean out the build directories">
     <delete dir="bin" />
-    <delete file="core.jar" />
+    <delete file="processing-core.jar" />
   </target>
   
   <target name="compile" description="Compile">
-    <taskdef name="methods" 
+<!--    <taskdef name="methods"
 	     classname="PAppletMethods" 
 	     classpath="methods/methods.jar" />
-    <methods dir="${basedir}/src/processing/core" />
+    <methods dir="${basedir}/src/processing/core" />-->
 
     <mkdir dir="bin" />
     <javac target="1.5" 
@@ -20,7 +20,7 @@
   </target>		
 
   <target name="build" depends="compile" description="Build core library">
-    <jar basedir="bin" destfile="core.jar" />
+    <jar basedir="bin" destfile="processing-core.jar" />
   </target>
   
 </project>