Add HighlightFilter patch to work without HighlightFilter.java and rm src/java/net...
[debian/jabref.git] / debian / patches / 01_free_javac.patch
index 1c36af42f2223dfab851065f68e05e6bdefe1513..c88407eed07c171b357ba29cac4c1e1b07168a86 100644 (file)
@@ -1,16 +1,17 @@
-Author: <gregor+debian@comodo.priv.at>
+Author: gregor herrmann <gregoa@debian.org>
+Author: Philip Rinn <rinni@gmx.net>
 Description: Changes to be able to compile JabRef with free java compilers.
 --- a/src/java/net/sf/jabref/JabRef.java
 +++ b/src/java/net/sf/jabref/JabRef.java
-@@ -46,7 +46,6 @@
- import com.jgoodies.looks.plastic.Plastic3DLookAndFeel;
- import com.jgoodies.looks.plastic.PlasticLookAndFeel;
--import com.jgoodies.looks.windows.WindowsLookAndFeel;
+@@ -29,7 +29,6 @@
  import com.jgoodies.looks.FontSet;
  import com.jgoodies.looks.FontSets;
- import com.jgoodies.looks.FontPolicy;
-@@ -598,27 +597,6 @@
+ import com.jgoodies.looks.plastic.Plastic3DLookAndFeel;
+-import com.jgoodies.looks.windows.WindowsLookAndFeel;
+ import gnu.dtools.ritopt.BooleanOption;
+ import gnu.dtools.ritopt.Options;
+ import gnu.dtools.ritopt.StringOption;
+@@ -606,27 +605,6 @@
  
                      //Plastic3DLookAndFeel plLnf = (Plastic3DLookAndFeel) lnf;
                  }
@@ -38,13 +39,3 @@ Description: Changes to be able to compile JabRef with free java compilers.
  
                  if (lnf != null) {
                      try {
---- a/src/java/net/sf/jabref/export/VerifyingWriter.java
-+++ b/src/java/net/sf/jabref/export/VerifyingWriter.java
-@@ -1,7 +1,5 @@
- package net.sf.jabref.export;
--import sun.misc.CharacterEncoder;
--
- import java.io.*;
- import java.nio.charset.Charset;
- import java.nio.charset.CharsetEncoder;