[jabref] 02/03: remove 070_remove_lookup_DOI.patch

Tony Mancill tmancill at moszumanska.debian.org
Mon Dec 12 04:12:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

tmancill pushed a commit to branch dev
in repository jabref.

commit c1634c568af8f9007b47d95c9e014944d7fc37ba
Author: tony mancill <tmancill at debian.org>
Date:   Sun Dec 11 20:11:12 2016 -0800

    remove 070_remove_lookup_DOI.patch
    
    The "Lookup DOI" functionality works correctly in JabRef 3.8
---
 debian/copyright                           |  1 -
 debian/patches/070_remove_lookup_DOI.patch | 37 ------------------------------
 debian/patches/series                      |  1 -
 3 files changed, 39 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index cae1bcb..ef17ebf 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -60,7 +60,6 @@ Copyright: 2005-2016, gregor herrmann <gregoa at debian.org>
 License: Expat
 
 Files: debian/patches/020_disable_automatic_upgrade_check.patch
- debian/patches/070_remove_lookup_DOI.patch
 Copyright: 2016, Oliver Kopp <oliver.kopp at gmail.com>
 License: Expat
 
diff --git a/debian/patches/070_remove_lookup_DOI.patch b/debian/patches/070_remove_lookup_DOI.patch
deleted file mode 100644
index 755288e..0000000
--- a/debian/patches/070_remove_lookup_DOI.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Author: Oliver Kopp <kopp.dev at gmail.com>
-Date: Wed, 7 Dec 2016 23:22:46 +0100
-Subject: [PATCH] Remove "Lookup DOI" as it does not work at JabRef 3.6
-Forwarded: not-needed
-Origin: https://github.com/koppor/jabref/commit/ca49873efe2c90453e4fff4e9f690d9083f399f4
-
----
- .../net/sf/jabref/gui/entryeditor/FieldExtraComponents.java   | 11 -----------
- 1 file changed, 11 deletions(-)
-
---- a/src/main/java/net/sf/jabref/gui/entryeditor/FieldExtraComponents.java
-+++ b/src/main/java/net/sf/jabref/gui/entryeditor/FieldExtraComponents.java
-@@ -154,16 +154,6 @@
-                 panel.output(Localization.lang("Unable to open link."));
-             }
-         });
--        // lookup doi
--        JButton doiButton = new JButton(Localization.lang("Lookup DOI"));
--        doiButton.addActionListener(actionEvent -> {
--            Optional<DOI> doi = DOI.fromBibEntry(entryEditor.getEntry());
--            if (doi.isPresent()) {
--                entryEditor.getEntry().setField(FieldName.DOI, doi.get().getDOI());
--            } else {
--                panel.frame().setStatus(Localization.lang("No %0 found", FieldName.getDisplayName(FieldName.DOI)));
--            }
--        });
-         // fetch bibtex data
-         JButton fetchButton = new JButton(
-                 Localization.lang("Get BibTeX data from %0", FieldName.getDisplayName(FieldName.DOI)));
-@@ -174,7 +164,6 @@
-         });
- 
-         controls.add(button, BorderLayout.NORTH);
--        controls.add(doiButton, BorderLayout.CENTER);
-         controls.add(fetchButton, BorderLayout.SOUTH);
- 
-         // enable/disable button
diff --git a/debian/patches/series b/debian/patches/series
index 105772b..88f64bf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,4 +3,3 @@
 030_xjc.patch
 040_disable_macadapter.patch
 050_unirest_json.patch
-070_remove_lookup_DOI.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jabref.git



More information about the pkg-java-commits mailing list