Refresh debian-libs.patch.
authorgregor herrmann <gregoa@debian.org>
Sun, 16 May 2010 15:43:07 +0000 (15:43 -0000)
committergregor herrmann <gregoa@debian.org>
Sun, 16 May 2010 15:43:07 +0000 (15:43 -0000)
debian/changelog
debian/patches/debian-libs.patch [new file with mode: 0644]

index a4cecb3f5be60dfe655cfcf0c6723955cc00c8a0..5d00f06a851a6fe09015a6bb4dbca0b14ce3260f 100644 (file)
@@ -2,6 +2,7 @@ jabref-plugin-oo (0.7.4+ds-1) UNRELEASED; urgency=low
 
   * New upstream release.
   * debian/jabref-plugin-oo.docs: the HTML documentation was renamed.
+  * Refresh debian-libs.patch.
 
  -- gregor herrmann <gregoa@debian.org>  Sun, 16 May 2010 17:39:49 +0200
 
diff --git a/debian/patches/debian-libs.patch b/debian/patches/debian-libs.patch
new file mode 100644 (file)
index 0000000..c7a243b
--- /dev/null
@@ -0,0 +1,33 @@
+Author: gregor herrmann <gregoa@debian.org>
+Description: build against the Debian jars
+Debian-Specific: yes
+
+--- a/build.xml
++++ b/build.xml
+@@ -14,17 +14,23 @@
+       <!-- Properties -->
+       <property name="version" value="0.7.4" />
+       <property name="build.classes" value="classes" />
+-      <property name="jabref.build.dir" value="lib" />
++      <property name="jabref.dir" value="/usr/share/java" />
++      <property name="oo.dir" value="/usr/share/java/openoffice" />
+     <property name="jar.dir" value="dist" />
+     <property name="jar" value="${jar.dir}/${ant.project.name}-${version}.jar" />
+       
+       <path id="classpath">
+-              <fileset dir="${jabref.build.dir}">
++              <fileset dir="${oo.dir}">
+             <include name="jurt.jar" />
+             <include name="juh.jar" />
+             <include name="unoil.jar" />
+             <include name="ridl.jar" />
+-            <include name="JabRef-2.6.jar" />
++              </fileset>
++              <fileset dir="${jabref.dir}">
++            <include name="jabref.jar" />
++            <include name="glazedlists.jar" />
++            <include name="antlr3.jar" />
++            <include name="forms.jar" />
+               </fileset>
+       </path>