Add patch 09_looks2.5.patch to build against libjgoodies-looks-java >= 2.5.0.
authorgregor herrmann <gregoa@debian.org>
Fri, 10 Feb 2012 20:09:12 +0000 (21:09 +0100)
committergregor herrmann <gregoa@debian.org>
Fri, 10 Feb 2012 20:09:12 +0000 (21:09 +0100)
debian/patches/09_looks2.5.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/09_looks2.5.patch b/debian/patches/09_looks2.5.patch
new file mode 100644 (file)
index 0000000..c1c320b
--- /dev/null
@@ -0,0 +1,24 @@
+Description: LookUtils.IS_LAF_WINDOWS_XP_ENABLED was removed in JGoodies Looks 2.5.0
+Origin: vendor
+Forwarded: no
+Author: gregor herrmann <gregoa@debian.org>
+Last-Update: 2012-02-10
+
+--- a/src/java/com/jgoodies/uif_lite/panel/SimpleInternalFrame.java
++++ b/src/java/com/jgoodies/uif_lite/panel/SimpleInternalFrame.java
+@@ -370,8 +370,6 @@
+             UIManager.getColor("SimpleInternalFrame.activeTitleBackground");
+         if (c != null)
+             return c;
+-        if (LookUtils.IS_LAF_WINDOWS_XP_ENABLED)
+-            c = UIManager.getColor("InternalFrame.activeTitleGradient");
+         return c != null
+             ? c
+             : UIManager.getColor("InternalFrame.activeTitleBackground");
+@@ -472,4 +470,4 @@
+         }
+     }
+-}
+\ No newline at end of file
++}
index 7da9af0..6e8547f 100644 (file)
@@ -4,3 +4,4 @@
 06_BibtexEntry.patch
 07_pdfbox1.5.patch
 08_doubleextensions.patch
+09_looks2.5.patch