* Add patch 03_external_apps to change the default settings for some debian/2.2-01-6
authorgregor herrmann <gregoa@debian.org>
Fri, 27 Apr 2007 14:25:27 +0000 (14:25 -0000)
committergregor herrmann <gregoa@debian.org>
Fri, 27 Apr 2007 14:25:27 +0000 (14:25 -0000)
  external applications; thanks to Cédric Augonnet (closes: #421227).
* Convert debian/changelog to UTF-8 (again).

debian/changelog
debian/patches/00list
debian/patches/03_external_apps.dpatch [new file with mode: 0755]

index 3758e0081ba7aa6acc324af041f220128fc21936..ae2999da555983143e45d0e0f1d7d1088db1adee 100644 (file)
@@ -1,3 +1,11 @@
+jabref (2.2-01-6) unstable; urgency=low
+
+  * Add patch 03_external_apps to change the default settings for some
+    external applications; thanks to Cédric Augonnet (closes: #421227).
+  * Convert debian/changelog to UTF-8 (again).
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Fri, 27 Apr 2007 15:07:18 +0200
+
 jabref (2.2-01-5) unstable; urgency=low
 
   * Exec the Java interpreter in /usr/bin/jabref; thanks to Tobias Richter
index 2a20555a733acfcd9507970f2944784fe4617f94..eaab941117fe377bd0ced1ff13c92e5d258c35d4 100644 (file)
@@ -1 +1,2 @@
 01_free_javac
+03_external_apps
diff --git a/debian/patches/03_external_apps.dpatch b/debian/patches/03_external_apps.dpatch
new file mode 100755 (executable)
index 0000000..2ac4d87
--- /dev/null
@@ -0,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_external_apps.dpatch by  <gregor+debian@comodo.priv.at>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Change the default path to some external applications.
+
+@DPATCH@
+diff -urNad jabref~/src/java/net/sf/jabref/JabRefPreferences.java jabref/src/java/net/sf/jabref/JabRefPreferences.java
+--- jabref~/src/java/net/sf/jabref/JabRefPreferences.java      2007-02-02 14:51:14.000000000 +0100
++++ jabref/src/java/net/sf/jabref/JabRefPreferences.java       2007-04-27 16:18:43.000000000 +0200
+@@ -97,10 +97,12 @@
+                       defaults.put("psviewer", "cmd.exe /c start /b");
+                       defaults.put("htmlviewer", "cmd.exe /c start /b");
+                       defaults.put("lookAndFeel", "com.jgoodies.plaf.windows.ExtWindowsLookAndFeel");
++                      defaults.put("winEdtPath", "C:\\Program Files\\WinEdt Team\\WinEdt\\WinEdt.exe");
++                      defaults.put("latexEditorPath", "C:\\TEMP\\Led.exe");
+               } else {
+-                      defaults.put("pdfviewer", "acroread");
++                      defaults.put("pdfviewer", "gv");
+                       defaults.put("psviewer", "gv");
+-                      defaults.put("htmlviewer", "mozilla");
++                      defaults.put("htmlviewer", "x-www-browser");
+                       defaults.put("lookAndFeel", "com.jgoodies.plaf.plastic.Plastic3DLookAndFeel");
+               }
+         defaults.put("useDefaultLookAndFeel", Boolean.TRUE);
+@@ -180,8 +182,6 @@
+         defaults.put("highlightGroupsMatchingAll", Boolean.FALSE);
+         defaults.put("searchPanelVisible", Boolean.FALSE);
+         defaults.put("defaultEncoding", System.getProperty("file.encoding"));
+-        defaults.put("winEdtPath", "C:\\Program Files\\WinEdt Team\\WinEdt\\WinEdt.exe");
+-        defaults.put("latexEditorPath", "C:\\TEMP\\Led.exe");
+         defaults.put("groupsVisibleRows", new Integer(8));
+         defaults.put("defaultOwner", System.getProperty("user.name"));
+         defaults.put("preserveFieldFormatting", Boolean.FALSE);