update patch for 1.1.7
authorBdale Garbee <bdale@gag.com>
Sat, 13 Aug 2011 18:36:29 +0000 (12:36 -0600)
committerBdale Garbee <bdale@gag.com>
Sat, 13 Aug 2011 18:36:29 +0000 (12:36 -0600)
debian/patches/use-system-libs.diff

index 45cf8bed1c8e5a1e8479d96e5f69ede31c6dedc3..28c1ddd217e1c6b7cc9649c24a21ba9355567315 100644 (file)
@@ -1,5 +1,5 @@
 diff --git a/build.xml b/build.xml
-index 30f62d2..16ad504 100644
+index 0ebe470..fc12040 100644
 --- a/build.xml
 +++ b/build.xml
 @@ -13,7 +13,6 @@
@@ -33,7 +33,7 @@ index 30f62d2..16ad504 100644
        </path>
        
  
-@@ -69,11 +73,8 @@
+@@ -70,11 +74,8 @@
                        <manifest>
                                <attribute name="Main-Class" value="${main-class}"/>
                                <attribute name="SplashScreen-Image" value="pix/splashscreen.png"/>
@@ -46,19 +46,88 @@ index 30f62d2..16ad504 100644
                </jar>
        </target>
        
-@@ -89,7 +90,7 @@
-                       <fileset dir="." includes="*">
+@@ -90,7 +91,7 @@
+                       <fileset dir="." includes="*" excludes="*.log">
                                <type type="file"/>
                        </fileset>
--                      <fileset dir="." includes="datafiles/ lib/ lib-test/ pix/ src/ test/"/>
-+                      <fileset dir="." includes="datafiles/ pix/ src/ test/"/>
+-                      <fileset dir="." includes="datafiles/ lib/ lib-test/ pix/ src/ test/ l10n/"/>
++                      <fileset dir="." includes="datafiles/ pix/ src/ test/ l10n/"/>
                </copy>
                <zip destfile="${dist.src}" basedir="${build.dir}" includes="${pkgname}/"/>
                <delete dir="${build.dir}/${pkgname}"/>
-@@ -213,4 +214,4 @@ ${nonascii}</fail>
+@@ -214,4 +215,4 @@ ${nonascii}</fail>
                </echo>
        </target>
      
 -</project>
 \ No newline at end of file
 +</project>
+diff --git a/debian/patches/use-system-libs.diff b/debian/patches/use-system-libs.diff
+index 45cf8be..e69de29 100644
+--- a/debian/patches/use-system-libs.diff
++++ b/debian/patches/use-system-libs.diff
+@@ -1,64 +0,0 @@
+-diff --git a/build.xml b/build.xml
+-index 30f62d2..16ad504 100644
+---- a/build.xml
+-+++ b/build.xml
+-@@ -13,7 +13,6 @@
+-      
+-      <property name="classes.dir" value="${dist.dir}"/>      <!-- Directory for classes -->
+-      <property name="jar.dir"     value="${build.dir}/jar"/> <!-- Directory for built jar's -->
+--     <property name="lib.dir"     value="lib"/>                              <!-- Library source directory -->
+- 
+-      <property name="pkgname"     value="${ant.project.name}-${build.version}"/>
+-      
+-@@ -27,7 +26,12 @@
+-      
+-      <!-- Classpath definitions -->
+-      <path id="classpath">
+--             <fileset dir="${lib.dir}" includes="**/*.jar"/>
+-+             <!-- update manifest class-path definition below too when making changes here -->
+-+             <pathelement location="/usr/share/java/itext5.jar"/>
+-+             <pathelement location="/usr/share/java/jcommon.jar"/>
+-+             <pathelement location="/usr/share/java/jfreechart.jar"/>
+-+             <pathelement location="/usr/share/java/jmock2.jar"/>
+-+             <pathelement location="/usr/share/java/miglayout.jar"/>
+-      </path>
+-      
+-      <path id="test-classpath">
+-@@ -36,7 +40,7 @@
+-              <pathelement location="${build-test.dir}"/>
+-              <pathelement location="${classes.dir}"/>
+-              <pathelement location="${src-test.dir}"/>
+--             <fileset dir="lib-test/" includes="*.jar"/>
+-+             <pathelement location="/usr/share/java/junit4.jar"/>
+-      </path>
+-      
+- 
+-@@ -69,11 +73,8 @@
+-                      <manifest>
+-                              <attribute name="Main-Class" value="${main-class}"/>
+-                              <attribute name="SplashScreen-Image" value="pix/splashscreen.png"/>
+-+                             <attribute name="Class-Path" value="/usr/share/java/jcommon.jar /usr/share/java/jfreechart.jar /usr/share/java/miglayout.jar /usr/share/java/itext5.jar"/>
+-                      </manifest>
+--                     <zipfileset src="lib/miglayout15-swing.jar" />
+--                     <zipfileset src="lib/jcommon-1.0.16.jar" />
+--                     <zipfileset src="lib/jfreechart-1.0.13.jar" />
+--                     <zipfileset src="lib/iText-5.0.2.jar" />
+-              </jar>
+-      </target>
+-      
+-@@ -89,7 +90,7 @@
+-                      <fileset dir="." includes="*">
+-                              <type type="file"/>
+-                      </fileset>
+--                     <fileset dir="." includes="datafiles/ lib/ lib-test/ pix/ src/ test/"/>
+-+                     <fileset dir="." includes="datafiles/ pix/ src/ test/"/>
+-              </copy>
+-              <zip destfile="${dist.src}" basedir="${build.dir}" includes="${pkgname}/"/>
+-              <delete dir="${build.dir}/${pkgname}"/>
+-@@ -213,4 +214,4 @@ ${nonascii}</fail>
+-              </echo>
+-      </target>
+-     
+--</project>
+-\ No newline at end of file
+-+</project>