First new (build) dependencies added: antlr3-runtime, jna.
[debian/jabref.git] / debian / patches / debian_libs.patch
index 737032d392645584859fe601b9384ef797d866ed..8246968ed480f7e614884f4ac10f91b094931b23 100644 (file)
@@ -3,24 +3,24 @@ Forwarded: not needed
 Author: Gerardo Curiel <gerardo@sophie.gerardo.com.ve>,
  Philip Rinn <rinni@gmx.net>
 Reviewed-by: gregor herrmann <gregoa@debian.org>
 Author: Gerardo Curiel <gerardo@sophie.gerardo.com.ve>,
  Philip Rinn <rinni@gmx.net>
 Reviewed-by: gregor herrmann <gregoa@debian.org>
-Last-Update: 2013-01-01
+Last-Update: 2015-05-19
 
 --- a/build.xml
 +++ b/build.xml
 
 --- a/build.xml
 +++ b/build.xml
-@@ -76,8 +76,10 @@
-       <property name="help.dir" value="${src.dir}/help" />
-       <property name="extensions.dir" value="${src.dir}/extensions" />
-       <property name="layout.dir" value="${src.dir}/resource/layout" />
+@@ -71,8 +71,10 @@
+       <property name="help.dir" value="${resources.dir}/help" />
+       <property name="extensions.dir" value="${resources.dir}/extensions" />
+       <property name="layout.dir" value="${resources.dir}/resource/layout" />
 -      <property name="lib.dir" value="lib" />
 -      <property name="buildlib.dir" value="buildlib" />
 +      <property name="lib.dir" value="/usr/share/java" />
 +      <property name="oo.dir" value="/usr/lib/libreoffice/program/classes" />
 +      <property name="ure.dir" value="/usr/lib/ure/share/java" />
 +      <property name="buildlib.dir" value="/usr/share/java" />
 -      <property name="lib.dir" value="lib" />
 -      <property name="buildlib.dir" value="buildlib" />
 +      <property name="lib.dir" value="/usr/share/java" />
 +      <property name="oo.dir" value="/usr/lib/libreoffice/program/classes" />
 +      <property name="ure.dir" value="/usr/lib/ure/share/java" />
 +      <property name="buildlib.dir" value="/usr/share/java" />
-       <property name="tests.dir" value="${src.dir}/tests" />
  
        <property name="osxbin.dir" value="osx" />
  
        <property name="osxbin.dir" value="osx" />
-@@ -102,33 +104,35 @@
+@@ -96,36 +98,38 @@
  
        <fileset id="jarsFileset" dir="${lib.dir}">
                <include name="antlr.jar" />
  
        <fileset id="jarsFileset" dir="${lib.dir}">
                <include name="antlr.jar" />
@@ -28,12 +28,16 @@ Last-Update: 2013-01-01
 -        <include name="jgoodies-common-1.4.0.jar" />
 -              <include name="jgoodies-looks-2.5.2.jar" />
 -              <include name="jgoodies-forms-1.6.0.jar" />
 -        <include name="jgoodies-common-1.4.0.jar" />
 -              <include name="jgoodies-looks-2.5.2.jar" />
 -              <include name="jgoodies-forms-1.6.0.jar" />
--              <include name="jayatana-1.2.4.jar" />
 +              <include name="antlr3.jar" />
 +              <include name="antlr3-runtime.jar" />
 +        <include name="jgoodies-common.jar" />
 +              <include name="jgoodies-looks.jar" />
 +              <include name="jgoodies-forms.jar" />
 +              <include name="antlr3.jar" />
 +              <include name="antlr3-runtime.jar" />
 +        <include name="jgoodies-common.jar" />
 +              <include name="jgoodies-looks.jar" />
 +              <include name="jgoodies-forms.jar" />
+         <include name="jgoodies/jgoodies-uif-lite.jar" />
+-        <include name="jna-4.1.0.jar" />
++        <include name="jna.jar" />
+         <include name="ritopt/ritopt-0.2.1-bin.jar" />
+-              <include name="jayatana-1.2.4.jar" />
                <include name="spin.jar" />
 -              <include name="glazedlists-1.8.0_java15.jar" />
 +              <include name="glazedlists.jar" />
                <include name="spin.jar" />
 -              <include name="glazedlists-1.8.0_java15.jar" />
 +              <include name="glazedlists.jar" />
@@ -76,27 +80,15 @@ Last-Update: 2013-01-01
      </fileset>
  
      <!-- Done by MrDlib -->
      </fileset>
  
      <!-- Done by MrDlib -->
-@@ -151,14 +155,15 @@
+@@ -146,6 +150,7 @@
          <!-- Done by MrDlib -->
                <fileset refid="jarsFileset" />
          <fileset refid="ooFileset" />
 +        <fileset refid="ureFileset" />
        </path>
  
          <!-- Done by MrDlib -->
                <fileset refid="jarsFileset" />
          <fileset refid="ooFileset" />
 +        <fileset refid="ureFileset" />
        </path>
  
-       <!-- Classpath for running the code generator -->
-       <path id="codegenerator">
--              <pathelement location="${lib.dir}/plugin/JPFCodeGenerator.jar" />
--              <pathelement location="${lib.dir}/plugin/jpf.jar" />
--              <pathelement location="${lib.dir}/plugin/jpf-boot.jar" />
--              <pathelement location="${lib.dir}/plugin/velocity-dep-1.5.jar" />
-+              <pathelement location="${lib.dir}/JPFCodeGenerator.jar" />
-+              <pathelement location="${lib.dir}/jpf.jar" />
-+              <pathelement location="${lib.dir}/jpf-boot.jar" />
-+              <pathelement location="${lib.dir}/velocity.jar" />
-       </path>
-       <!-- Classpath for tests -->
-@@ -238,7 +243,7 @@
+       <target name="run" depends="build">
+@@ -188,7 +193,7 @@
        </target>
  
        <!-- Jars up project -->
        </target>
  
        <!-- Jars up project -->
@@ -105,12 +97,12 @@ Last-Update: 2013-01-01
                <mkdir dir="${build.lib}" />
  
                <mkdir dir="${build.tmp}" />
                <mkdir dir="${build.lib}" />
  
                <mkdir dir="${build.tmp}" />
-@@ -645,8 +650,6 @@
-               </jalopy>
-       </target>
+@@ -510,8 +515,6 @@
+          Auxiliary targets
+         +++++++++++++++++++++++++++++++++++++++++++++++++-->
  
 -      <taskdef name="jarbundler" classpath="${buildlib.dir}/jarbundler-2.2.0.jar" classname="net.sourceforge.jarbundler.JarBundler" />
 -
  
 -      <taskdef name="jarbundler" classpath="${buildlib.dir}/jarbundler-2.2.0.jar" classname="net.sourceforge.jarbundler.JarBundler" />
 -
-       <target name="compresssrc">
-               <!-- clone current repo into tmp dir. Reason: we want to have a clean src.zip, but do not want to execute "git clean -xdf" to allow developers having some temporary files (and user.properties) -->
-               <mkdir dir="${temp.dir}"/>
+       <macrodef name="compresssrc">
+         <attribute name="git-core-autocrlf" />
+         <attribute name="temp-dir" />