This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository jabref.
commit 529a70c8314f338e076a17fafc0aa3368396b9d3 Author: gregor herrmann <[email protected]> Date: Wed May 7 22:04:45 2014 +0200 Add patch to fix headless BibTeX output. Thanks: Vincent Fourmond for the bug report and the patch. Closes: #723100 --- debian/patches/fix-headless-bibtex-output.diff | 27 ++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 28 insertions(+) diff --git a/debian/patches/fix-headless-bibtex-output.diff b/debian/patches/fix-headless-bibtex-output.diff new file mode 100644 index 0000000..41c0710 --- /dev/null +++ b/debian/patches/fix-headless-bibtex-output.diff @@ -0,0 +1,27 @@ +Description: fix headless BibTeX output +Origin: vendor +Bug: http://sourceforge.net/p/jabref/bugs/1228/ +Bug-Debian: https://bugs.debian.org/723100 +Forwarded: http://sourceforge.net/p/jabref/bugs/1228/ +Author: Vincent Fourmond <[email protected]> +Reviewed-by: gregor herrmann <[email protected]> +Last-Update: 2014-05-07 + +--- a/src/java/net/sf/jabref/BibtexEntry.java ++++ b/src/java/net/sf/jabref/BibtexEntry.java +@@ -105,13 +105,13 @@ + } + + String suffix = ""; +- if (JabRef.jrf.prefs.getBoolean(JabRefPreferences.WRITEFIELD_ADDSPACES)) { ++ if (JabRefPreferences.getInstance().getBoolean(JabRefPreferences.WRITEFIELD_ADDSPACES)) { + for (int i = maxFieldLength - field.length(); i > 0; i--) + suffix += " "; + } + + String res; +- if (JabRef.jrf.prefs.getBoolean(JabRefPreferences.WRITEFIELD_CAMELCASENAME)) { ++ if (JabRefPreferences.getInstance().getBoolean(JabRefPreferences.WRITEFIELD_CAMELCASENAME)) { + if (tagDisplayNameMap.containsKey(field.toLowerCase())) { + res = tagDisplayNameMap.get(field.toLowerCase()) + suffix; + } else { diff --git a/debian/patches/series b/debian/patches/series index 9ed273d..9e1b7df 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ debian_libs.patch mrDlib_jayatana.patch generated_JabRefPlugin.java.patch +fix-headless-bibtex-output.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jabref.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

