update branches/2.5 from beta1 to the 2.5 release
authorgregor herrmann <gregoa@debian.org>
Tue, 11 Aug 2009 15:35:19 +0000 (15:35 -0000)
committergregor herrmann <gregoa@debian.org>
Tue, 11 Aug 2009 15:35:19 +0000 (15:35 -0000)
25 files changed:
debian/README.Debian [new file with mode: 0644]
debian/README.source [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/install [new file with mode: 0644]
debian/jabref-wrapper [new file with mode: 0644]
debian/jabref.1 [new file with mode: 0644]
debian/jabref.desktop [new file with mode: 0644]
debian/jabref.mime [new file with mode: 0644]
debian/jabref.sharedmimeinfo [new file with mode: 0644]
debian/links [new file with mode: 0644]
debian/menu [new file with mode: 0644]
debian/patches/00list [new file with mode: 0644]
debian/patches/01_free_javac.dpatch [new file with mode: 0755]
debian/patches/02_libs.dpatch [new file with mode: 0755]
debian/patches/03_external_apps.dpatch [new file with mode: 0755]
debian/patches/04_HONOR_DISPLAY_PROPERTIES.dpatch [new file with mode: 0755]
debian/patches/05_PrintStream_File.dpatch [new file with mode: 0755]
debian/rules [new file with mode: 0755]
debian/watch [new file with mode: 0644]
lib/.cvsignore [deleted file]
src/resource/.cvsignore [deleted file]

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..03674c1
--- /dev/null
@@ -0,0 +1,15 @@
+JabRef for Debian
+-----------------
+
+Please note that JabRef needs OpenJDK (or Sun Java 5/6).
+
+Starting with version 2.2-01-4 /usr/bin/jabref should find and use your
+installed OpenJDK or Sun Java virtual machine.
+
+In case it doesn't find any of them it falls back to using another JVM it
+finds on your system.
+
+If you want to override this selection mechanism start JabRef with
+       JAVA_HOME=/path/to/your/JVM jabref
+
+ -- gregor herrmann <gregoa@debian.org>  Fri, 21 Nov 2008 21:27:10 +0100
diff --git a/debian/README.source b/debian/README.source
new file mode 100644 (file)
index 0000000..952a954
--- /dev/null
@@ -0,0 +1,4 @@
+This package uses quilt to manage patches against the upstream source code.
+
+If you want to work on the package and are not familiar with quilt,
+please take a look at /usr/share/doc/quilt/README.source.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..ebd6460
--- /dev/null
@@ -0,0 +1,382 @@
+jabref (2.5-1) UNRELEASED; urgency=low
+  
+  * New upstream release.
+
+ -- gregor herrmann <gregoa@debian.org>  Tue, 11 Aug 2009 17:33:38 +0200
+
+jabref (2.3.1-6) unstable; urgency=low
+
+  * debian/watch: back to the redirector at qa.debian.org.
+  * Use java-wrappers instead of the hand-crafted wrapper script; thanks to
+    Vincent Fourmond for the patch (closes: #506219).
+  * Update README.Debian: mention supported Java virtual machines and
+    JAVA_HOME (cf. LP: #258198).
+  * debian/rules: set JAVA_HOME=/usr/lib/jvm/default-java.
+
+ -- gregor herrmann <gregoa@debian.org>  Fri, 21 Nov 2008 21:46:28 +0100
+
+jabref (2.3.1-5) unstable; urgency=low
+
+  * Change runtime dependency from "sun-java6-jre | sun-java5-jre" to
+    "openjdk-6-jre | sun-java6-jre | sun-java5-jre" (closes: #383006).
+    [Jabref stays in contrib because it (build) depends on libspin-java and
+    libpdfbox-java which are in contrib because they build depend on packages
+    in contrib/non-free.]
+  * debian/copyright: wrap long line.
+
+ -- gregor herrmann <gregoa@debian.org>  Wed, 16 Jul 2008 22:24:25 +0200
+
+jabref (2.3.1-4) unstable; urgency=low
+
+  * New upstream release.
+  * Install the new upstream CHANGELOG instead of the removed
+    changelog_highlights.txt.
+  * Remove debian docs and install upstream README directly from
+    debian/rules.
+  * Adapt referenced filename in debian/links and debian/install.
+  * Refresh patch 01_free_javac.
+  * Add new patch 05_PrintStream_File, PrintStream(File) is undefined in
+    gcj.
+  * Move wrapper script in source package to debian/jabref-wrapper and
+    install it from debian/rules.
+  * Replace /usr/lib/jvm/java-7-icedtea with /usr/lib/jvm/java-6-openjdk in
+    wrapper script. Doesn't work on Debian yet but helps Ubuntu users (cf.
+    LP: #225450 and LP: #203636).
+  * Sync debian/copyright with output of Help/About.
+  * Sync manpage with output of --help.
+  * debian/watch: add uversionmangle to cope with upstream b(eta) releases.
+  * debian/control:
+    - change my email address
+    - replace java-gcj-compat-dev with default-jdk-builddep in
+      Build-Depends-Indep
+  * debian/watch: use sourceforge URL directly instead of the redirector
+    at qa.debian.org.
+  * Set Standards-Version to 3.8.0; add debian/README.source to document
+    the patch system.
+
+ -- gregor herrmann <gregoa@debian.org>  Sun, 20 Apr 2008 15:20:12 +0200
+
+jabref (2.3.1-2) unstable; urgency=low
+
+  * Change pdfviewer to pdf-viewer in Suggests:.
+  * Set Standards-Version to 3.7.3 (no changes required).
+  * debian/rules: explicitly set JAVA_HOME.
+  * Only set JAVA to $JAVA_HOME/jre/bin/java if JAVA_HOME is not empty;
+    thanks to Michael Piefel for the hint.
+  * Set debhelper compatibility level to 6.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Mon, 11 Feb 2008 17:00:15 +0100
+
+jabref (2.3.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Adapt referenced filename in debian/links and debian/install.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Fri, 30 Nov 2007 14:28:00 +0100
+
+jabref (2.3-2) unstable; urgency=low
+
+  * Add /usr/lib/jvm/java-7-icedtea to wrapper script. Doesn't work on
+    Debian yet but helps Ubuntu users (TODO: add dependency on
+    icedtea-java7-jre (not yet in Debian)).
+  * Reformat wrapper script.
+  * debian/rules: re-arrange targets and their dependencies.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Fri, 16 Nov 2007 18:38:18 +0100
+
+jabref (2.3-1) unstable; urgency=low
+
+  * New upstream release, closes a bunch of bugs reported in the Debian BTS:
+    - "bibtexkey auto-generation cannot deal with quotes" (closes: #448917).
+    - "File download via CGI adds QUERY_STRING to suggested filename"
+      (closes: #448027).
+    - "File download aborted on click of OK" (closes: #448060).
+    - "Improve directory/filename handling on downloading" (closes: #442475).
+    - "ctrl-g should cause record to be saved" (closes: #443078).
+    - "version 2.3 released" (closes: #450789).
+  * Change XS-Vcs-* fields to Vcs-*.
+  * Adapt referenced filename in debian/links and debian/install.
+  * Sync debian/copyright with output of Help/About and reference
+    /usr/share/common-licenses/GPL-2.
+  * Install changelog_highlights.txt as upstream changelog.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Sun, 11 Nov 2007 01:58:27 +0100
+
+jabref (2.3~beta3-1) unstable; urgency=low
+
+  * New upstream release.
+  * Remove debian/manpages.
+  * Clean up debian/rules.
+  * Move upstream URL from the description to the new Homepage field.
+  * Use ant clean instead of manually removing the build directory in
+    debian/rules. Move ant from Build-Depends-Indep to Build-Depends.
+  * Update patch 03_external_apps.
+  * Remove patch 04_logger, not needed anymore.
+  * Create new patch 04_HONOR_DISPLAY_PROPERTIES.dpatch.
+  * Adapt referenced filename in debian/links and debian/install.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Tue, 09 Oct 2007 19:12:09 +0200
+
+jabref (2.3~beta2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Add liblog4j1.2-java to build dependencies (and a new patch 04_logger to
+    be able to use it).
+  * Fix Categories entry in desktop file and remove Encoding.
+  * Sync debian/copyright with output of Help/About.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Wed, 29 Aug 2007 23:38:22 +0200
+
+jabref (2.3~beta1-2) unstable; urgency=low
+
+  * Change section in menu file to "Applications/Data Management" due to
+    the new Menu Policy starting with the upload of menu 2.1.35.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Wed, 04 Jul 2007 19:10:47 +0200
+
+jabref (2.3~beta1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Adapt patch 03_external_apps.
+  * Add suggests to ps- and pdfviewers.
+  * Adapt manpage to output of jabref --help.
+  * Sync debian/copyright with output of Help/About.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Sat, 30 Jun 2007 16:45:44 +0200
+
+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
+    (closes: #415019).
+  * Adapt README.Debian to the new wrapper script.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Fri, 16 Mar 2007 02:45:21 +0100
+
+jabref (2.2-01-4) unstable; urgency=low
+
+  * Change wrapper script /usr/bin/jabref to explicitly use the Sun Java
+    5 or 6 virtual machine (closes: #383019).
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Mon, 12 Mar 2007 20:01:27 +0100
+
+jabref (2.2-01-3) unstable; urgency=low
+
+  * Add call to dh_desktop to debian/rules.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Sun, 25 Feb 2007 15:56:32 +0100
+
+jabref (2.2-01-2) unstable; urgency=low
+
+  * Add mime support.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Mon,  5 Feb 2007 16:39:03 +0100
+
+jabref (2.2-01-1) unstable; urgency=low
+
+  * New upstream release.
+  * Change wrapper script, as "-v" acts as expcted; cf. #378189 for details
+    (also closes: #408081).
+  * Remove debian/source.lintian-overrides from source package, there are no longer
+    cvs remnants in the upstream tarball.
+  * Add .desktop file for easier integration into desktop environments.
+  * Add symlink /usr/share/java/JabRef-2.2.jar -> /usr/share/java/jabref.jar.
+  * Update debian/copright to reflect the changes as shown in the About Box.
+  * Add sun-java6-jre to Depends:, thanks to Gerhard Riener for the hint.
+  * Remove obsolete j2re1.5 | sun-j2sdk1.5 from Depends:.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Sat,  3 Feb 2007 15:48:11 +0100
+
+jabref (2.2~b2-1) unstable; urgency=low
+
+  * New upstream release:
+    - undistributable fonts no longer included (closes: #393676);
+    - remove j2re1.4 from Depends, JabRef now needs Java 1.5;
+    - includes the patch to make Enter work in dialogs, therefore remove
+      patch 02_button;
+    - update patch 01_free_javac;
+    - update debian/copyright (new contributors);
+    - update debian/rules (icon file name changed).
+  * Fix typo in long description.
+  * Shorten call to ant and remove "-k" from dh_clean in debian/rules.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Sun, 26 Nov 2006 22:28:46 +0100
+
+jabref (2.1-4) unstable; urgency=low
+
+  * Apply patch from Matthias Klose to enable building with a free java compiler -
+    thanks! (Cf. #383006)
+  * Change build dependencies accordingly.
+  * Apply patch from Morten Omholt Alver (upstream author) to enable 'enter' in
+    dialogs - thanks! (Closes: #387235)
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Mon, 25 Sep 2006 00:32:40 +0200
+
+jabref (2.1-3) unstable; urgency=low
+
+  * Change menu section to "Apps/Databases" and remove lintian override.
+    "Apps/Data Management" was premature, thanks to Frank Küster and 
+    Bill Allombert for pointing this out (cf. #386320).
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Mon, 11 Sep 2006 21:12:37 +0200
+
+jabref (2.1-2) unstable; urgency=low
+
+  * Change menu section to "Apps/Data Management", thanks to Frank Küster
+    (closes: #386320).
+  * Add lintian override for this new section.
+  * Convert changelog to UTF-8.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Thu,  7 Sep 2006 16:42:27 +0200
+
+jabref (2.1-1) unstable; urgency=low
+
+  * New upstream release (closes: #382310, #379704).
+  * Change back wrapper script, as the behaviour of "-v" changed in the
+    new release (cf. #378189 for details).
+  * Menu icons now created from PNGs in upstream tarball, therefore add build
+    dependency on imagemagick.
+  * Clean up README.Debian.
+  * Update debian/copright to reflect the changes as shown in the About Box.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Fri, 11 Aug 2006 12:09:45 +0200
+
+jabref (2.0.1+2.1b2-6) unstable; urgency=low
+
+  * Update menu icons, the new ones are kindly provided by Morten Omholt Alver
+    (upstream author) - thanks!
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Tue,  1 Aug 2006 22:31:16 +0200
+
+jabref (2.0.1+2.1b2-5) unstable; urgency=low
+
+  * Now really change debian/copyright.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Mon, 31 Jul 2006 21:40:47 +0200
+
+jabref (2.0.1+2.1b2-4) unstable; urgency=low
+
+  * Add icon to menu entry, thanks to LI Daobing for the idea
+    (closes: #380604).
+  * Remove references to the libraries Commons Logging and Commons HTTP Client
+    from debian/copyright, as they are not included in the upstream tarball 
+    any more.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Mon, 31 Jul 2006 16:37:47 +0200
+
+jabref (2.0.1+2.1b2-3) unstable; urgency=low
+
+  * Convert debian/copyright to UTF-8.
+  * Mention startup options in manpage, thanks to LI Daobing (closes: #378190).
+  * Change wrapper script to always pass "-n" if called with "-v" in order
+    to make jabref only print the version number and quit afterwards with
+    "-v". Thanks to LI Daobing (closes: #378189).
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Fri, 14 Jul 2006 13:23:58 +0200
+
+jabref (2.0.1+2.1b2-2) unstable; urgency=low
+
+  * Pass command line parameters to /usr/bin/jabref and add hint about Sun
+    Java and update-alternatives to README.Debian (closes: #377316).
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Sat,  8 Jul 2006 12:51:40 +0200
+
+jabref (2.0.1+2.1b2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Tue,  4 Jul 2006 16:42:35 +0200
+
+jabref (2.0.1+2.1b-3) unstable; urgency=low
+
+  * Changed order of Build-Depend-Indep.
+  * Cleaned up debian/rules.
+  * Moved dh_ calls in debian/rules to binary-indep target.
+  * Add lintian override (upstream tarball has .cvsignore stuff).
+  * Added Tony Mancill to Uploaders (thanks for sponsoring!).
+  * Clarified debian/copyright and fixed typo (thanks to Tony Mancill).
+  * Updated debhelper compatibility level to 5.
+  * Cleaned up debian/watch.
+  * Added menu entry.
+  * Intial upload to the Debian archive (closes: #205392).
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Wed, 14 Jun 2006 17:51:38 +0200
+
+jabref (2.0.1+2.1b-2) unstable; urgency=low
+
+  * Change dependencies to include several versions of the Sun JRE/JDK.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Tue, 30 May 2006 17:12:05 +0200
+
+jabref (2.0.1+2.1b-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Sat, 20 May 2006 17:06:49 +0200
+
+jabref (2.0.1-3) unstable; urgency=low
+
+  * Update to Standards-Version: 3.7.2 (no changes required).
+  * Change dependencies to new sun-java5-jre/jdk.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Wed, 17 May 2006 17:48:52 +0200
+
+jabref (2.0.1-2) unstable; urgency=low
+
+  * Update to Standards-Version: 3.7.0 (no changes required).
+  * Moved debhelper from Build-Depends-Indep to Build-Depends 
+    in debian/control.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Mon,  1 May 2006 14:44:02 +0200
+
+jabref (2.0.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Set debhelper compatibility level to 5.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Fri,  3 Feb 2006 21:18:29 +0100
+
+jabref (1.8.1-2) unstable; urgency=low
+
+  * Added homepage to debian/control.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Sun, 25 Dec 2005 14:30:28 +0100
+
+jabref (1.8.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Fri,  7 Oct 2005 22:30:10 +0200
+
+jabref (1.8-4) unstable; urgency=low
+
+  * Fixed error in /usr/bin/jabref.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Tue, 13 Sep 2005 18:44:57 +0200
+
+jabref (1.8-3) unstable; urgency=low
+
+  * Trimmed Depends: to j2re1.4.
+  * Added j2sdk1 to Build-Depends-Indep.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Sun, 11 Sep 2005 01:24:05 +0200
+
+jabref (1.8-2) unstable; urgency=low
+
+  * Moved jabref.jar from /usr/share/java/jabref to ../
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Sat,  3 Sep 2005 02:45:23 +0200
+
+jabref (1.8-1) unstable; urgency=low
+
+  * Initial release Closes: #205392
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Thu,  1 Sep 2005 23:18:00 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..1e8b314
--- /dev/null
@@ -0,0 +1 @@
+6
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..6159635
--- /dev/null
@@ -0,0 +1,24 @@
+Source: jabref
+Section: contrib/tex
+Priority: optional
+Maintainer: gregor herrmann <gregoa@debian.org>
+Uploaders: tony mancill <tmancill@debian.org>
+Build-Depends: debhelper (>= 6), dpatch, ant
+Build-Depends-Indep: default-jdk-builddep, imagemagick, liblog4j1.2-java
+Standards-Version: 3.8.0
+Homepage: http://jabref.sourceforge.net/
+Vcs-Svn: http://svn.toastfreeware.priv.at/debian/jabref/trunk/
+Vcs-Browser: http://svn.toastfreeware.priv.at/wsvn/ToastfreewareDebian/jabref/trunk/
+
+Package: jabref
+Architecture: all
+Depends: openjdk-6-jre | sun-java6-jre | sun-java5-jre, antlr, antlr3,
+ libjgoodies-looks-java, libjgoodies-forms-java, libspin-java,
+ libglazedlists-java, libmicroba-java, libpdfbox-java,
+ libjempbox-java (>= 0.2.0), java-wrappers (>= 0.1.6)
+Suggests: gv | postscript-viewer, xpdf | pdf-viewer
+Description: graphical frontend to manage BibTeX databases
+ JabRef is a GUI to manage BibTeX databases, the standard LaTeX bibliography
+ reference format. JabRef is built to be platform independent (requires Java
+ 1.5). It merges and extends the functionalities of BibKeeper (Morten O.
+ Alver) and JBibtexManager (Nizar Batada).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..6d06026
--- /dev/null
@@ -0,0 +1,153 @@
+This package was debianized by gregor herrmann <gregor+debian@comodo.priv.at> on
+Thu,  1 Sep 2005 23:18:00 +0200.
+
+It was downloaded from http://jabref.sourceforge.net/
+
+Copyright:
+
+(c) 2008
+Morten Alver <mortenalver@users.sourceforge.net>
+Nizar Batada <nbatada@users.sourceforge.net>
+
+License:
+
+JabRef is free open source software, distributed under the GNU General
+Public Licence. See the enclosed text file 'gpl.txt', or the About
+dialog, for details about the GPL.
+
+       On Debian GNU/Linux systems, the complete text of the GNU General
+       Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+JabRef also uses libraries distributed by other parties; see the About
+box for details.
+
+
+From the About box:
+
+(c) 2008
+JabRef is freely distributable under the terms of the GNU Public License,
+version 2.
+
+Developers:
+Morten O. Alver 
+Nizar N. Batada 
+Michel Baylac 
+Kolja Brix
+Frédéric Darboux
+Guillaume Gardey
+Cyrille d'Haese
+S M Mahbub Murshed
+Raik Nagel
+Christopher Oezbek
+Ellen Reitmayr
+Gert Renckens
+Andreas Rudert
+Michael Spiegel
+Ulrik Stervbo
+Dominik Waßenhoven
+Joerg K. Wegner
+Michael Wrighton
+Egon Willighagen
+Jörg Zieren
+
+Contributions from:
+Michael Beckmann
+Oliver Beckmann
+Fedor Bezrukov
+Aaron Chen
+Fabrice Dessaint
+Nathan Dunn
+Brian Van Essen
+Alexis Gallagher
+David Gleich
+Sascha Hunold
+Bernd Kalbfuss
+Martin Kähmer
+Ervin Kolenovic
+Krzysztof A. Kościuszkiewicz
+Christian Kopf
+Jeffrey Kuhn
+Alex Montgomery
+Ambrogio Oliva
+Stephan Rave
+John Relph
+Hannes Restel
+Moritz Ringler
+Andreas Rudert
+Mark Schenk
+Rudolf Seemann
+Toralf Senger
+Manuel Siebeneicher
+Mike Smoot
+Ulrich Stärk
+Martin Stolle
+David Weitzman
+Seb Wills
+John Zedlewski
+
+Thanks to:
+Samin Muhammad Ridwanul Karim 
+Stefan Robert 
+
+Third-party software used:
+
+JabRef uses JGoodies Looks 2.04 and JGoodies Forms 1.0.5, distributed by
+JGoodies (http://www.jgoodies.com) under the terms of the BSD License (see
+http://www.opensource.org/licenses/bsd-license.html for details).
+
+Also included are two additional classes (SimpleInternalFrame and
+UIFSplitPane) by Karsten Lentzsch, which are distributed under these terms. [0]
+
+Command line options are parsed using RitOpt
+(http://ritopt.sourceforge.net). RitOpt is distributed under the terms of
+the GNU Public License, version 2.
+
+JabRef uses the ANTLR parser generator for interpreting search strings.
+ANTLR is public domain software - see http://www.antlr.org/license.html for
+the licensing terms.
+
+For table presentation and filtering, JabRef uses the Glazed Lists library
+(http://publicobject.com/glazedlists), which is distributed under the Lesser
+GNU Public License.
+
+JabRef also uses the threading library Spin 1.3.1, which is distributed
+under the terms of the Lesser GNU Public License.
+
+Some GUI components from the Microba library are used, it is licensed under
+a BSD style license. See http://sourceforge.net/projects/microba/ for more
+informations.
+
+The majority of icons are from the Crystal Clear icon set by Everaldo
+(http://www.everaldo.com), which is distributed under the terms of the
+Lesser General Public License.
+
+JabRef uses the JempBox and PDFBox libraries for PDF handling, both of which
+are distributed under a BSD style license.
+
+[0]
+
+Copyright (c) 2003 JGoodies Karsten Lentzsch. All Rights Reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice,
+  this list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of JGoodies Karsten Lentzsch nor the names of its
+  contributors may be used to endorse or promote products derived from this
+  software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..6ef08e4
--- /dev/null
@@ -0,0 +1,4 @@
+usr/bin
+usr/share/java
+usr/share/pixmaps
+usr/share/applications
diff --git a/debian/install b/debian/install
new file mode 100644 (file)
index 0000000..cde0c70
--- /dev/null
@@ -0,0 +1,3 @@
+build/lib/JabRef-2.4b.jar usr/share/java
+build/*.xpm usr/share/pixmaps
+debian/jabref.desktop usr/share/applications
diff --git a/debian/jabref-wrapper b/debian/jabref-wrapper
new file mode 100644 (file)
index 0000000..e2b391d
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Include the wrappers utility script
+. /usr/lib/java-wrappers/java-wrappers.sh
+
+# We need openjdk6 or sun{5,6} runtime.
+find_java_runtime openjdk || find_java_runtime sunmin5
+
+find_jars jabref antlr antlr3 looks forms spin glazedlists microba pdfbox jempbox
+
+run_java net.sf.jabref.JabRefMain "$@"
diff --git a/debian/jabref.1 b/debian/jabref.1
new file mode 100644 (file)
index 0000000..8cdad33
--- /dev/null
@@ -0,0 +1,87 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH JABREF 1 "March 16, 2008"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+jabref \- graphical frontend to manage BibTeX databases
+.SH SYNOPSIS
+.B jabref [options] [bibtex\-file]
+.SH DESCRIPTION
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBjabref\fP is a graphical frontend to manage BibTeX databases, the
+standard LaTeX bibliography reference format. JabRef is build to be
+platform independent (requires Java 1.5 or newer). It merges and extends
+the functionalities of BibKeeper (Morten O. Alver) and JBibtexManager
+(Nizar Batada)
+.SH OPTIONS
+.TP
+\fB\-o\fR, \fB\-\-output\fR=<STRING>
+Output or export file: filename[,export format]
+.TP
+\fB\-p\fR, \fB\-\-primp\fR=<STRING>
+Import preferences from file
+.TP
+\fB\-f\fR, \fB\-\-fetch\fR=<STRING>
+Run Fetcher, e.g. "\-\-fetch=Medline:cancer"
+.TP
+\fB\-n\fR, \fB\-\-nogui\fR=<BOOLEAN>
+No GUI. Only process command line options.
+.TP
+\fB\-a\fR, \fB\-\-aux\fR=<STRING>
+Subdatabase from aux: file[.aux],new[.bib]
+.TP
+\fB\-h\fR, \fB\-\-help\fR=<BOOLEAN>
+Display help on command line options
+.TP
+\fB\-b\fR, \fB\-\-blank\fR=<BOOLEAN>
+Do not open any files at startup
+.TP
+\fB\-\-importToOpen\fR=<STRING>
+Import to open tab
+.TP
+\fB\-i\fR, \fB\-\-import\fR=<STRING>
+Import file: filename[,import format]
+.TP
+\fB\-s\fR, \fB\-\-nosplash\fR=<BOOLEAN>
+Do not show splash window at startup
+.TP
+\fB\-x\fR, \fB\-\-prexp\fR=<STRING>
+Export preferences to file
+.TP
+\fB\-v\fR, \fB\-\-version\fR=<BOOLEAN>
+Display version
+.TP
+\fB\-l\fR, \fB\-\-loads\fR=<BOOLEAN>
+Load session
+.SH JAVA-WRAPPERS NOTE
+This program is a shell script wrapper based on
+.BR java-wrappers (7).
+You therefore benefit from several features; please see the 
+.BR java-wrappers (7)
+manual page for more information about them.
+.SH SEE ALSO
+the included help
+.br
+http://jabref.sourceforge.net/
+.br
+.BR java-wrappers (7)
+.SH AUTHOR
+jabref was written by Morten O. Alver and Nizar Batada.
+.PP
+This manual page was written by gregor herrmann <gregor+debian@comodo.priv.at>,
+for the Debian project (but may be used by others).
diff --git a/debian/jabref.desktop b/debian/jabref.desktop
new file mode 100644 (file)
index 0000000..c0a35da
--- /dev/null
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=JabRef
+Comment=Graphical editor for BibTex bibliographies
+Comment[de]=Grafischer Editor für BibTex-Bibliographien
+Exec=jabref %f
+Icon=/usr/share/pixmaps/jabref32.xpm
+Terminal=false
+Type=Application
+Categories=Office;Database
+MimeType=text/x-bibtex
diff --git a/debian/jabref.mime b/debian/jabref.mime
new file mode 100644 (file)
index 0000000..05b6665
--- /dev/null
@@ -0,0 +1 @@
+text/x-bibtex; /usr/bin/jabref %s; edit=/usr/bin/jabref %s; description="BibTex document"; nametemplate=%s.bib; test=test -n "$DISPLAY"
diff --git a/debian/jabref.sharedmimeinfo b/debian/jabref.sharedmimeinfo
new file mode 100644 (file)
index 0000000..e051583
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info" >
+  <mime-type type="text/x-bibtex">
+    <sub-class-of type="text/plain"/>
+    <comment xml:lang="en">BibTeX document</comment>
+    <comment xml:lang="bg">Документ, формат BibTeX</comment>
+    <comment xml:lang="cs">Dokument BibTeX</comment>
+    <comment xml:lang="de">BibTeX-Dokument</comment>
+    <comment xml:lang="es">Documento BibTeX</comment>
+    <comment xml:lang="eu">BibTeX dokumentua</comment>
+    <comment xml:lang="hu">BibTeX dokumentum</comment>
+    <comment xml:lang="it">Documento BibTeX</comment>
+    <comment xml:lang="ko">BibTeX 문서</comment>
+    <comment xml:lang="nb">BibTeX-dokument</comment>
+    <comment xml:lang="nl">BibTeX-document</comment>
+    <comment xml:lang="nn">BibTeX-dokument</comment>
+    <comment xml:lang="sv">BibTeX-dokument</comment>
+    <comment xml:lang="uk">Документ BibTeX</comment>
+    <comment xml:lang="vi">Tài liệu BibTeX</comment>
+    <glob pattern="*.bib"/>
+  </mime-type>
+</mime-info>
diff --git a/debian/links b/debian/links
new file mode 100644 (file)
index 0000000..542938e
--- /dev/null
@@ -0,0 +1 @@
+usr/share/java/JabRef-2.4b.jar usr/share/java/jabref.jar
diff --git a/debian/menu b/debian/menu
new file mode 100644 (file)
index 0000000..35681a9
--- /dev/null
@@ -0,0 +1,7 @@
+?package(jabref):needs="x11"  \
+section="Applications/Data Management" \
+title="JabRef" \
+command="jabref" \
+icon="/usr/share/pixmaps/jabref32.xpm" \
+icon32x32="/usr/share/pixmaps/jabref32.xpm" \
+icon16x16="/usr/share/pixmaps/jabref16.xpm"
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644 (file)
index 0000000..a2d0cb3
--- /dev/null
@@ -0,0 +1,4 @@
+01_free_javac
+03_external_apps
+04_HONOR_DISPLAY_PROPERTIES
+05_PrintStream_File
diff --git a/debian/patches/01_free_javac.dpatch b/debian/patches/01_free_javac.dpatch
new file mode 100755 (executable)
index 0000000..6097c38
--- /dev/null
@@ -0,0 +1,47 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_free_javac.dpatch by  <gregor+debian@comodo.priv.at>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Changes to be able to compile JabRef with free java compilers.
+##     Thanks to Matthias Klose, cf. #383006
+
+@DPATCH@
+diff -urNad jabref~/src/java/net/sf/jabref/JabRef.java jabref/src/java/net/sf/jabref/JabRef.java
+--- jabref~/src/java/net/sf/jabref/JabRef.java 2008-03-16 16:09:28.000000000 +0100
++++ jabref/src/java/net/sf/jabref/JabRef.java  2008-03-16 16:11:42.000000000 +0100
+@@ -70,7 +70,6 @@
+ import com.jgoodies.looks.FontSet;
+ import com.jgoodies.looks.FontSets;
+ import com.jgoodies.looks.plastic.Plastic3DLookAndFeel;
+-import com.jgoodies.looks.windows.WindowsLookAndFeel;
+ /**
+  * JabRef Main Class - The application gets started here.
+@@ -609,27 +608,6 @@
+                     //Plastic3DLookAndFeel plLnf = (Plastic3DLookAndFeel) lnf;
+                 }
+-                else if ((lnf != null) && (lnf instanceof WindowsLookAndFeel)) {
+-
+-                    // Set a "model" icon size, so menu items are evenly spaced even though
+-                    // only some items have icons. We load an arbitrary icon and look at
+-                    // its size to determine what size to use:
+-                    int defaultIconSize = GUIGlobals.getImage("open").getIconWidth();
+-                    com.jgoodies.looks.Options.setDefaultIconSize
+-                        (new Dimension(defaultIconSize, defaultIconSize));
+-
+-                    if (overrideDefaultFonts) {
+-                        FontSet fontSet = FontSets.createDefaultFontSet(
+-                            new Font("Tahoma", Font.PLAIN, fontSizes),    // control font
+-                            new Font("Tahoma", Font.PLAIN, fontSizes),    // menu font
+-                            new Font("Tahoma", Font.BOLD, fontSizes)     // title font
+-                            );
+-                        FontPolicy fixedPolicy = FontPolicies.createFixedPolicy(fontSet);
+-                        WindowsLookAndFeel.setFontPolicy(fixedPolicy);
+-                    }
+-
+-                    //WindowsLookAndFeel plLnf = (WindowsLookAndFeel) lnf;
+-                }
+                 if (lnf != null) {
+                     try {
diff --git a/debian/patches/02_libs.dpatch b/debian/patches/02_libs.dpatch
new file mode 100755 (executable)
index 0000000..49c3926
--- /dev/null
@@ -0,0 +1,78 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_libs.dpatch by  <gregor+debian@comodo.priv.at>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Use debian packages of libraries instead of shipped ones.
+
+@DPATCH@
+diff -urNad jabref~/build.xml jabref/build.xml
+--- jabref~/build.xml  2007-10-01 00:34:10.000000000 +0200
++++ jabref/build.xml   2007-10-01 22:10:26.000000000 +0200
+@@ -87,6 +87,7 @@
+       <!-- Set the properties for library directories -->
+       <property name="library.directory" value="lib" />
++      <property name="library.directory.debian" value="/usr/share/java" />
+ <!--    <property name="nsis.executable" value="makensis.exe"/> -->
+@@ -111,15 +112,14 @@
+       <path id="classpath">
+               <pathelement path="${build.classes}" />
+               <pathelement path="${build.dir}" />
+-              <pathelement location="${library.directory}/antlr.jar" />
+-              <pathelement location="${library.directory}/antlr-3.0b5.jar" />
+-              <pathelement location="${library.directory}/looks-2.0.4.jar" />
+-              <pathelement location="${library.directory}/forms-1.0.4.jar" />
+-              <pathelement location="${library.directory}/spin.jar" />
+-              <pathelement location="${library.directory}/glazedlists-1.7.0_java15.jar" />
+-              <pathelement location="${library.directory}/microba.jar" />
+-              <pathelement location="${library.directory}/PDFBox-0.7.3-dev-reduced.jar" />
+-              <pathelement location="${library.directory}/JempBox-0.1.0-dev.jar" />
++              <pathelement location="${library.directory.debian}/antlr.jar" />
++              <pathelement location="${library.directory.debian}/looks.jar" />
++              <pathelement location="${library.directory.debian}/forms.jar" />
++              <pathelement location="${library.directory.debian}/spin.jar" />
++              <pathelement location="${library.directory.debian}/glazedlists.jar" />
++              <pathelement location="${library.directory.debian}/microba.jar" />
++              <pathelement location="${library.directory.debian}/pdfbox.jar" />
++              <pathelement location="${library.directory.debian}/jempbox.jar" />
+       </path>
+       <target name="run" depends="build">
+@@ -356,15 +356,14 @@
+       <!-- Unpacks jar needed jar files from lib directory into temp directory. -->
+       <target name="unjarlib" description="Unpacks jars from library">
+               <mkdir dir="${build.tmp}" />
+-              <unjar src="${library.directory}/antlr.jar" dest="${build.tmp}" />
+-              <unjar src="${library.directory}/antlr-3.0b5.jar" dest="${build.tmp}" />
+-              <unjar src="${library.directory}/looks-2.0.4.jar" dest="${build.tmp}" />
+-              <unjar src="${library.directory}/forms-1.0.4.jar" dest="${build.tmp}" />
+-              <unjar src="${library.directory}/spin.jar" dest="${build.tmp}" />
+-              <unjar src="${library.directory}/glazedlists-1.7.0_java15.jar" dest="${build.tmp}" />
+-              <unjar src="${library.directory}/microba.jar" dest="${build.tmp}" />
+-              <unjar src="${library.directory}/PDFBox-0.7.3-dev-reduced.jar" dest="${build.tmp}" />
+-              <unjar src="${library.directory}/JempBox-0.1.0-dev.jar" dest="${build.tmp}" />
++              <unjar src="${library.directory.debian}/antlr.jar" dest="${build.tmp}" />
++              <unjar src="${library.directory.debian}/looks" dest="${build.tmp}" />
++              <unjar src="${library.directory.debian}/forms" dest="${build.tmp}" />
++              <unjar src="${library.directory.debian}/spin.jar" dest="${build.tmp}" />
++              <unjar src="${library.directory.debian}/glazedlists.jar" dest="${build.tmp}" />
++              <unjar src="${library.directory.debian}/microba.jar" dest="${build.tmp}" />
++              <unjar src="${library.directory.debian}/pdfbox.jar" dest="${build.tmp}" />
++              <unjar src="${library.directory.debian}/jempbox.jar" dest="${build.tmp}" />
+               <delete dir="${build.tmp}/META-INF" />
+               <!-- rename the microba license file -->
+               <move file="${build.tmp}/license.txt" tofile="${build.tmp}/microba-license.txt" />
+diff -urNad jabref~/src/java/net/sf/jabref/EntryEditorTab.java jabref/src/java/net/sf/jabref/EntryEditorTab.java
+--- jabref~/src/java/net/sf/jabref/EntryEditorTab.java 2007-08-29 22:33:52.000000000 +0200
++++ jabref/src/java/net/sf/jabref/EntryEditorTab.java  2007-10-01 22:10:47.000000000 +0200
+@@ -133,7 +133,7 @@
+         String rowSpec = sb.toString();
+         DefaultFormBuilder builder = new DefaultFormBuilder
+-                (panel, new FormLayout(colSpec, rowSpec));
++                (new FormLayout(colSpec, rowSpec), panel);
+         for (int i = 0; i < fields.length; i++) {
+             // Create the text area:
diff --git a/debian/patches/03_external_apps.dpatch b/debian/patches/03_external_apps.dpatch
new file mode 100755 (executable)
index 0000000..cdab4a3
--- /dev/null
@@ -0,0 +1,22 @@
+#! /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 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-10-08 21:51:28.000000000 +0200
++++ jabref/src/java/net/sf/jabref/JabRefPreferences.java       2007-10-09 18:32:25.000000000 +0200
+@@ -109,9 +109,9 @@
+             defaults.put("winEdtPath", "C:\\Program Files\\WinEdt Team\\WinEdt\\WinEdt.exe");
+             defaults.put("latexEditorPath", "C:\\Program Files\\LEd\\LEd.exe");
+         } else {
+-                      defaults.put("pdfviewer", "evince");
++                      defaults.put("pdfviewer", "xpdf");
+                       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);
diff --git a/debian/patches/04_HONOR_DISPLAY_PROPERTIES.dpatch b/debian/patches/04_HONOR_DISPLAY_PROPERTIES.dpatch
new file mode 100755 (executable)
index 0000000..546b558
--- /dev/null
@@ -0,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04_HONOR_DISPLAY_PROPERTIES.dpatch by  <gregor+debian@comodo.priv.at>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: JEditorPane.HONOR_DISPLAY_PROPERTIES not understood by java-gcj-compat-dev ...
+
+@DPATCH@
+diff -urNad jabref~/src/java/net/sf/jabref/JabRefMain.java jabref/src/java/net/sf/jabref/JabRefMain.java
+--- jabref~/src/java/net/sf/jabref/JabRefMain.java     2007-10-08 21:51:47.000000000 +0200
++++ jabref/src/java/net/sf/jabref/JabRefMain.java      2007-10-09 18:55:12.000000000 +0200
+@@ -109,7 +109,6 @@
+                 "We are sorry for the trouble and thanks for reporting problems with JabRef!</html>");\r
+             pane.setEditable(false);\r
+             pane.setOpaque(false);\r
+-            pane.putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES, Boolean.TRUE);\r
+             \r
+             Component componentToDisplay;\r
+             if (pane.getPreferredSize().getHeight() > 700){\r
+@@ -157,7 +156,6 @@
+                 "<p>For more information visit <b>http://jabref.sf.net/faq.php</b>.</p></html>");\r
+             pane.setEditable(false);\r
+             pane.setOpaque(false);\r
+-            pane.putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES, Boolean.TRUE);\r
+             \r
+             JOptionPane.showMessageDialog(null, pane, "Insufficient Java Version Installed", JOptionPane.ERROR_MESSAGE);\r
+         }\r
diff --git a/debian/patches/05_PrintStream_File.dpatch b/debian/patches/05_PrintStream_File.dpatch
new file mode 100755 (executable)
index 0000000..793a7f3
--- /dev/null
@@ -0,0 +1,31 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05_PrintStream_File.dpatch by  <gregor+debian@comodo.priv.at>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: "The constructor PrintStream(File) is undefined"
+## DP: Work around with a FileOutputStream.
+
+@DPATCH@
+diff -urNad jabref~/src/java/net/sf/jabref/sql/SQLutil.java jabref/src/java/net/sf/jabref/sql/SQLutil.java
+--- jabref~/src/java/net/sf/jabref/sql/SQLutil.java    2008-03-16 17:01:04.000000000 +0100
++++ jabref/src/java/net/sf/jabref/sql/SQLutil.java     2008-03-18 03:26:59.000000000 +0100
+@@ -11,6 +11,8 @@
+ import java.io.File;
+ import java.io.PrintStream;
++import java.io.BufferedOutputStream;
++import java.io.FileOutputStream;
+ import java.sql.Connection;
+ import java.sql.DriverManager;
+ import java.sql.SQLException;
+@@ -261,8 +263,9 @@
+         if (outfile.exists())
+             outfile.delete();
++        BufferedOutputStream writer = new BufferedOutputStream( new FileOutputStream( outfile ) );
+         PrintStream fout = null;
+-        fout = new PrintStream(outfile);
++        fout = new PrintStream( writer );
+         exportDatabase_worker(dbtype, database, metaData, keySet, fout);
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..8fbbec9
--- /dev/null
@@ -0,0 +1,67 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+configure: configure-stamp
+configure-stamp: patch
+       dh_testdir
+       touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+       dh_testdir
+       JAVA_HOME=/usr/lib/jvm/default-java ant jars
+       convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
+       convert -geometry 16x16 src/images/JabRef-icon-48.png build/jabref16.xpm
+       touch build-stamp
+
+clean: unpatch
+       dh_testdir
+       dh_testroot
+       rm -f *-stamp
+       ant clean
+       dh_clean 
+
+install: install-stamp
+install-stamp: build-stamp
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+       install -m 755 debian/jabref-wrapper $(CURDIR)/debian/jabref/usr/bin/jabref
+       touch install-stamp
+                                                        
+# Build architecture-independent files here.
+binary-indep: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs src/txt/CHANGELOG
+       dh_installdocs src/txt/README
+       dh_install
+       dh_installmenu
+       dh_desktop
+       dh_installmime
+       dh_installman debian/jabref.1
+       dh_link
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do.
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..49f2706
--- /dev/null
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/(\D)$/${1}1/;s/b(?:eta)?(\d)?$/~beta${1}/" \
+http://sf.net/jabref/JabRef-(.+)-src\.tar\.bz2
diff --git a/lib/.cvsignore b/lib/.cvsignore
deleted file mode 100644 (file)
index 670be53..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-EndNote.zip
-JavaApplicationStub
-OSXAdapter.class
-PrepRelease.java
-aelfred-1.2.jar
-antlr.jar
-ccl.jar
-forms-1.0.4.jar
-forms-1.0.5.jar
-glazedlists-1.0.0.jar
-glazedlists-1.5.0_java14.jar
-jalopy-1.0b10.jar
-jalopy-ant-0.6.1.jar
-jarbundler-1.4.jar
-javancss.jar
-jaxen-core-1.0-fcs.jar
-jaxp-1.2.jar
-jdom-1.0b8.jar
-junit.jar
-log4j-1.2.6.jar
-log4j-1.2.9.jar
-looks-1.2.2.jar
-looks-2.0.1.jar
-oro-2.0.6.jar
-plastic-1.2.1.jar
-pmd-2.0.jar
-sax-2.0.1.jar
-saxpath-1.0-fcs.jar
-spin-1.4.jar
-spin.jar
-syncLang.py
-vizant.jar
-langproper.jar
diff --git a/src/resource/.cvsignore b/src/resource/.cvsignore
deleted file mode 100644 (file)
index 4288c68..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-.#JabRef_de.properties.1.113
-.#JabRef_de.properties.1.133
-.#JabRef_de.properties.1.150.2.1
-.#JabRef_de.properties.1.150.2.7
-.#JabRef_de.properties.1.72
-.#JabRef_de.properties.1.80
-.#JabRef_de.properties.1.83
-.#JabRef_de.properties.1.95
-.#JabRef_en.properties.1.137.2.1
-.#JabRef_en.properties.1.137.2.8
-.#JabRef_en.properties.1.71
-.#JabRef_en.properties.1.77
-.#JabRef_en.properties.1.79
-.#JabRef_en.properties.1.88
-.#JabRef_fr.properties.1.94.2.17
-.#JabRef_fr.properties.1.94.2.5
-.#JabRef_no.properties.1.115
-.#JabRef_no.properties.1.115.2.8
-.#build.properties.1.1
-.#build.properties.1.1.2.2
-JabRef_de.properties.bak
-JabRef_de.properties~
-JabRef_en.properties.bak
-JabRef_en.properties~
-JabRef_fr.properties.bak
-JabRef_no.properties.bak
-JabRef_no.properties~
-build.properties
-fields