create changelog entry
[debian/openrocket] / debian / patches / use-system-libs.diff
index 28c1ddd217e1c6b7cc9649c24a21ba9355567315..0ea303c2f9d8abd7f8789c87f1e26e4f199a7fd4 100644 (file)
@@ -1,7 +1,7 @@
-diff --git a/build.xml b/build.xml
-index 0ebe470..fc12040 100644
---- a/build.xml
-+++ b/build.xml
+diff --git a/core/build.xml b/core/build.xml
+index 0e57a6b..0a3c045 100644
+--- a/core/build.xml
++++ b/core/build.xml
 @@ -13,7 +13,6 @@
        
        <property name="classes.dir" value="${dist.dir}"/>      <!-- Directory for classes -->
@@ -33,7 +33,7 @@ index 0ebe470..fc12040 100644
        </path>
        
  
-@@ -70,11 +74,8 @@
+@@ -68,11 +72,8 @@
                        <manifest>
                                <attribute name="Main-Class" value="${main-class}"/>
                                <attribute name="SplashScreen-Image" value="pix/splashscreen.png"/>
@@ -46,88 +46,19 @@ index 0ebe470..fc12040 100644
                </jar>
        </target>
        
-@@ -90,7 +91,7 @@
+@@ -88,7 +89,7 @@
                        <fileset dir="." includes="*" excludes="*.log">
                                <type type="file"/>
                        </fileset>
--                      <fileset dir="." includes="datafiles/ lib/ lib-test/ pix/ src/ test/ l10n/"/>
-+                      <fileset dir="." includes="datafiles/ pix/ src/ test/ l10n/"/>
+-                      <fileset dir="." includes="resources/ lib/ lib-test/ src/ test/"/>
++                      <fileset dir="." includes="resources/ src/ test/"/>
                </copy>
                <zip destfile="${dist.src}" basedir="${build.dir}" includes="${pkgname}/"/>
                <delete dir="${build.dir}/${pkgname}"/>
-@@ -214,4 +215,4 @@ ${nonascii}</fail>
+@@ -212,4 +213,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>