diff options
author | 2013-01-21 00:04:55 +0200 | |
---|---|---|
committer | 2013-01-21 00:04:55 +0200 | |
commit | a48353f5b0cbf7f2e0354b9208355e0ce3d42e16 (patch) | |
tree | fae9afc638d5fcd44ee87afbf47e1c136849bf2a | |
parent | update slot (diff) | |
download | dmol-a48353f5b0cbf7f2e0354b9208355e0ce3d42e16.tar.gz dmol-a48353f5b0cbf7f2e0354b9208355e0ce3d42e16.tar.bz2 dmol-a48353f5b0cbf7f2e0354b9208355e0ce3d42e16.zip |
version bump wrt#385751
Package-Manager: portage-2.1.11.31
Manifest-Sign-Key: 9BF3548C
-rw-r--r-- | app-text/jabref/Manifest | 20 | ||||
-rw-r--r-- | app-text/jabref/files/jabref-2.9.2-build.xml.patch | 33 | ||||
-rw-r--r-- | app-text/jabref/files/jabref-2.9.2-remove-ayatana.patch | 20 | ||||
-rw-r--r-- | app-text/jabref/files/jabref-2.9.2-remove-oo-support.patch | 63 | ||||
-rw-r--r-- | app-text/jabref/files/jabref-2.9.2-remove-sciplore-support.patch | 86 | ||||
-rw-r--r-- | app-text/jabref/jabref-2.9.2.ebuild | 97 |
6 files changed, 319 insertions, 0 deletions
diff --git a/app-text/jabref/Manifest b/app-text/jabref/Manifest index b586efa..9cda2c4 100644 --- a/app-text/jabref/Manifest +++ b/app-text/jabref/Manifest @@ -1,7 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX jabref-2.8.1-build.xml.patch 849 SHA256 2a6d707ca84e0ae81836f7f500c9b10e144efc8ee711413ed35177b387073527 SHA512 66e06c1a494c4acba729b7052b0366ca1be7d0bc96b5963180ce8e3218d8f994fffe919679482b2be3310698f512de79b8cd9476135010b94f5e7d7e97c88292 WHIRLPOOL 8df77dd53f5a30061357574ff9aefb1d5420cd1e9d6dafe768a25dd4a9de029ff85c2ec859f2b7cd25b7323fa5e9a1da61dbaeb558e82eced1b9d1bd8ee18ace AUX jabref-2.8.1-remove-com.sun.star-import.patch 423 SHA256 ff579e1cb929d113fb23df848a485677bbf5abb019ee640cad15ffac18e3d77d SHA512 4bf60d40378296d39212badbe478b42025093b61eb77e01cdb5b4834c0660f7ad72b92a1a6acd8c398ef27f38c07067bee9d94eef4d2f7038d63f5b32a7bc9c9 WHIRLPOOL 51c010335cfcfc09a660df824d86400b6dc17ec39675358b27dc80f481b85a9f0eb79b07e48e091ad1db38ca2e038fb1a7aa80f52ef6e1d1c2802bb4a042885c AUX jabref-2.8.1-remove-oo-support.patch 2622 SHA256 91fe5a5fca12f57c5056dc7943427079456884d839b59daee9d041e5c39e03de SHA512 902eac657ffa8b3b40587a299872174a3f67e72a0bb7dcc49b32438dc1376a0597de7e2daa3a9654a7205245341f5e8334ff7ecb7725cd1e278c982ebdbde1ac WHIRLPOOL 4abea869ba9b2e45ece3e10bc91041ac1ce99a73667738107ab6e31e80e9f6955c26813f17c50492df5399a056517935714aa5f7173003f5bf3094d8b789cfd4 AUX jabref-2.8.1-remove-sciplore-support.patch 3619 SHA256 41f3a1108234e15c4d7a7681d3213b43a22604657bbca429c1a94823c1f47f39 SHA512 1b87ecf1ea09d5bdeb0b4f9b8bedb55f07419aa6bdfe11e61dfe99f664d685958cff6502c95d290b4ce53eeb06ec06be00c7192346b77f2098763408603bd090 WHIRLPOOL 49aa7ed10442515c5ca691e90dfdedc7a89f7e21375b45edb3ab43cb4f711387c18c60ad191018fa098a2c8ca741e9ace3aee23d45f7bec3c3f41105f8b8701b +AUX jabref-2.9.2-build.xml.patch 1271 SHA256 d1da0494ec33a0e3aaaeeb7042b6e18ebd0f6dd908ab5706719dbc60ca705c75 SHA512 07a4561eb36eb1107a350907e39e82a590b181dcfd3e533cff3fbe995e621121b933baae37ea7d41ae8950cd6ce43099470c4f54ade066bca6492f4c9982f514 WHIRLPOOL bba5aeb5c884254b35e70fecefc81fbf56c3802353d6a9af91157063d45a55f4622b4be4d7020caba11ffef2a2963abbd4e5acc3e4b1d08b8388e6202e0cedd0 +AUX jabref-2.9.2-remove-ayatana.patch 893 SHA256 cce5cab79734f53f92f2482b1377e873d4f383fc9e1c7f355a92b7b65cdb0fba SHA512 4b75a8693454d489244d91f55a1b850c04241218e85c5bb3b16792616e28f3daa14651fda96fe1aab95365a9b69cdd1392207cfa4f5e32a2ae43682aea72996a WHIRLPOOL dd3bfa0d3e3fda75becb9448381ee70d7003253fe6d40f5dfb591c49e52bbe76b11f62ba9f95a02cc3adfc44c10fd99e0986b43145a80cfd8aa2e4259361645f +AUX jabref-2.9.2-remove-oo-support.patch 3173 SHA256 6088ae3b6a06b8d97f5279406f3c2ae412e18fa0fd3375d753d2fed4fcd78863 SHA512 502d2b3c2fd32f8674e305b1ef5b0d28f059e549d8fd773f22c4c73ace732625a215abfec69622f9f587a1b37a48c073eac3506494f7d4e3cb2966fd4eb93c80 WHIRLPOOL c13fc5fc00714f563e33cea11ee010623e3f6ce0f25580358a71001247c2ff8c1f9cb063ee9b8e4f4bf8ddabd99e0bff20f1d48a211e007cd7686f4350e93328 +AUX jabref-2.9.2-remove-sciplore-support.patch 4775 SHA256 6c0122097515890d0b89a6edc634887905890f6dee3133b04755f71bd8e32eee SHA512 98643c1f2f10d64767119821b0d1ccc041b1bbf8b6ab2572e154ae3cb2703ec01abc07bf8a3c087f2f197b96652889ecbe8ee09e593b0bdbb03e8d1121062fe4 WHIRLPOOL 73361053a272b2198282ad6dd41ac65b9214521783ee971aee921c8f18601334d758cc8a2475c1eb49fcc5d661068c8b9852ffedc73fcb587add72f8e6f8bebf DIST JabRef-2.8.1-src.tar.bz2 14185660 SHA256 5ed7413bc97344c8bddfd48a8ca7a3708a28af05334e88eeecf4a4bfae197e92 SHA512 1807d59e13b24ad091336fe5a7403296040ae48a1b3a1a66212a989a009fcfe6a702c81512e7f8510f5d934086750c9da5a591138a5913a284b80b262935de11 WHIRLPOOL 551791fea77fb70123b598cafd4d1a59ebdd4c1f286a9fbc24884c7da0b5f6f68face44e533976c635bd2ae790f7b80bcea11daf24f6253d91223dc28fce71ec +DIST JabRef-2.9.2-src.tar.bz2 16664284 SHA256 12bc7e489709bc6f57327bf8e15c6bc9ceaa600369dca6452b7c13d792215e83 SHA512 40eb5d3f3528e92c4d5c62abce12d87ea63b84a58778a32151cd1af2a0198c49aa354ee295f8b3c9449d5b078f7119163babd3c29f358b0d56b3776980292463 WHIRLPOOL d2115e497066f31a3772085510f6820e46a55fbe36778471e6c81a4973f45607761cca80655cfefffb1308f65315ef72fb17791fe964d004826f345322ca0dcf EBUILD jabref-2.8.1.ebuild 2663 SHA256 be57ad2e6d827e905d4e4a3b20553f3e048bce23736132d01b728f2d77f992f9 SHA512 5165df470cc600976b6b5105db6986da9cdb9d8576850aa858868e7b1674b1baf17be921867f95ff45cae9731c31245ddea04cc027ac0d0674c7fc1961c5f067 WHIRLPOOL ba740b12a6992492685fdace3d9eec69b97a1f4af7ebf7f8b33eb0f53733b29d59509dd7d82d6019fb4db7322620413c6e4d16cac580e79687f14904c93c49cd +EBUILD jabref-2.9.2.ebuild 2780 SHA256 72b36ae5697c583aa7e81b4ab6624cd17cad6a33821b659ddcccaf77c281206b SHA512 91cda4c8baa2f02d21daf892b001a37af5e34a20e59624b42f04fce3e0f150372ef121173a8dd971c784095d7733b610378177ebd4f18058e1b0ddc88b36b957 WHIRLPOOL 95b8bb390a84c48d6253bec48367910f823d95cb64e521a48ba3efe1592494c2c09ceaeebcbfc7cb0b624d0f6ecf0e57fabed70e56148c9aa44880388312c56c MISC metadata.xml 205 SHA256 2ff0740a5424b0e10c7888541a248d1bd363a60911b0921b4cfe5c36590498ce SHA512 e7c77c724739d0af43cc338ded09dcbeee2a710eb0e49f1e656dc4c891bee85bfd6935bf70a191a1c5823f473643e676d64970416e5f1820ea466681016757c5 WHIRLPOOL 5b7f0c2a5243244fa06b072c8f0d9f53e7b6f45c7e1b74a0d945bdcc28b7137fddfd58e85b0d3e721e80963916ceae0d4cca59f48114ba26c47b24a91d6abb27 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJQ/GoGAAoJEMw3yeub81SMQjcH/Rfxxr9OdCJYqd4CLmChHpvi +ytqddSVg6PkslRBlr5l/bNb1nfg2Gy8tY2ZKjMryFU/gFQu9IHngbC6KO/Tl47nh +D0HpNnYm9sBQgwdvrvOYJhA01kEFCBiOThbKbFYc3LLpU26lhExYquzh6VNaeHbw +RC6RKcp0QfESOMNdbnEtyX2xTZXuJUseTI/xY/lAtU7DZA7m0kZxYH6d0i70qNGz +jm1N+zCATbV9I5Xp97e3popUTDxVNpU7Pxoq4C0uq5CXtb5lyvC+Ia8C5kLtW9xm +Nc3MlaT9KDmK+M+Dpi0dm+Q614CVb7a4GSD+oh+PGxBul1oc30Hf+MlMlf9IXkE= +=I1ZH +-----END PGP SIGNATURE----- diff --git a/app-text/jabref/files/jabref-2.9.2-build.xml.patch b/app-text/jabref/files/jabref-2.9.2-build.xml.patch new file mode 100644 index 0000000..a7d07f7 --- /dev/null +++ b/app-text/jabref/files/jabref-2.9.2-build.xml.patch @@ -0,0 +1,33 @@ +--- build.xml.orig 2013-01-12 17:12:24.000000000 +0200 ++++ build.xml 2013-01-20 21:48:26.319725267 +0200 +@@ -239,7 +239,7 @@ + </target> + + <!-- Jars up project --> +- <target name="jars" depends="build, unjarlib"> ++ <target name="jars" depends="build"> + <mkdir dir="${build.lib}" /> + + <mkdir dir="${build.tmp}" /> +@@ -258,12 +258,6 @@ + <fileset dir="${src.dir}"> + <include name="plugins/**" /> + </fileset> +- <!-- Done by MrDlib --> +- <fileset dir ="${java.dir}"> +- <include name="spl/localization/spljabref.properties"/> +- <include name="spl/gui/ajax-loader.gif"/> +- <include name="spl/gui/mrdlib header.png"/> +- </fileset> + <!-- Done by MrDlib --> + <fileset dir="${lib.dir}"> + <include name="EndNote.zip" /> +@@ -645,8 +639,6 @@ + </jalopy> + </target> + +- <taskdef name="jarbundler" classpath="${buildlib.dir}/jarbundler-2.2.0.jar" classname="net.sourceforge.jarbundler.JarBundler" /> +- + <target name="compresssrc"> + <!-- clone current repo into tmp dir. Reason: we want to have a clean src.zip, but do not want to execute "git clean -xdf" to allow developers having some temporary files (and user.properties) --> + <mkdir dir="${temp.dir}"/> diff --git a/app-text/jabref/files/jabref-2.9.2-remove-ayatana.patch b/app-text/jabref/files/jabref-2.9.2-remove-ayatana.patch new file mode 100644 index 0000000..b714828 --- /dev/null +++ b/app-text/jabref/files/jabref-2.9.2-remove-ayatana.patch @@ -0,0 +1,20 @@ +diff -Nru /tmp/jabref-2.9.2/src/java/net/sf/jabref/JabRefFrame.java src/java/net/sf/jabref/JabRefFrame.java +--- /tmp/jabref-2.9.2/src/java/net/sf/jabref/JabRefFrame.java 2013-01-20 22:19:03.864705651 +0200 ++++ src/java/net/sf/jabref/JabRefFrame.java 2013-01-20 22:28:02.491217309 +0200 +@@ -40,7 +40,6 @@ + import javax.swing.event.ChangeEvent; + import javax.swing.event.ChangeListener; + +-import org.java.ayatana.ApplicationMenu; + + import net.sf.jabref.export.*; + import net.sf.jabref.external.ExternalFileTypeEditor; +@@ -555,8 +554,6 @@ + // The following sets up integration with Unity's global menu, but currently (Nov 18, 2012) + // this doesn't work with OpenJDK 6 (leads to crash), only with 7. + String javaVersion = System.getProperty("java.version", null); +- if (javaVersion.compareTo("1.7") >= 0) +- ApplicationMenu.tryInstall(this); + + } + diff --git a/app-text/jabref/files/jabref-2.9.2-remove-oo-support.patch b/app-text/jabref/files/jabref-2.9.2-remove-oo-support.patch new file mode 100644 index 0000000..8dcf4d0 --- /dev/null +++ b/app-text/jabref/files/jabref-2.9.2-remove-oo-support.patch @@ -0,0 +1,63 @@ +diff -Nru /tmp/jabref-2.92/src/java/net/sf/jabref/JabRefFrame.java src/java/net/sf/jabref/JabRefFrame.java +--- /tmp/jabref-2.92/src/java/net/sf/jabref/JabRefFrame.java 2013-01-20 23:21:29.474660307 +0200 ++++ src/java/net/sf/jabref/JabRefFrame.java 2013-01-20 23:24:02.924826605 +0200 +@@ -63,7 +63,6 @@ + import net.sf.jabref.label.IncollectionLabelRule; + import net.sf.jabref.label.InproceedingsLabelRule; + import net.sf.jabref.label.LabelMaker; +-import net.sf.jabref.oo.OpenOfficePanel; + import net.sf.jabref.plugin.PluginCore; + import net.sf.jabref.plugin.PluginInstallerAction; + import net.sf.jabref.plugin.core.JabRefPlugin; +@@ -1364,9 +1363,6 @@ + //tools.add(downloadFullText); + tools.add(newSubDatabaseAction); + tools.add(writeXmpAction); +- OpenOfficePanel otp = OpenOfficePanel.getInstance(); +- otp.init(this, sidePaneManager); +- tools.add(otp.getMenuItem()); + tools.add(pushExternalButton.getMenuAction()); + tools.addSeparator(); + tools.add(manageSelectors); +diff -Nru /tmp/jabref-2.92/src/java/net/sf/jabref/external/PushToApplicationButton.java src/java/net/sf/jabref/external/PushToApplicationButton.java +--- /tmp/jabref-2.92/src/java/net/sf/jabref/external/PushToApplicationButton.java 2013-01-20 23:21:29.513659854 +0200 ++++ src/java/net/sf/jabref/external/PushToApplicationButton.java 2013-01-20 23:25:08.468035141 +0200 +@@ -20,7 +20,6 @@ + import net.sf.jabref.Globals; + import net.sf.jabref.JabRefFrame; + import net.sf.jabref.MnemonicAwareAction; +-import net.sf.jabref.oo.OpenOfficePanel; + import net.sf.jabref.plugin.PluginCore; + import net.sf.jabref.plugin.core.JabRefPlugin; + import net.sf.jabref.plugin.core.generated._JabRefPlugin; +@@ -80,7 +79,6 @@ + applications.add(new PushToWinEdt()); + applications.add(new PushToLatexEditor()); + applications.add(new PushToVim()); +- applications.add(OpenOfficePanel.getInstance()); + applications.add(new PushToTeXstudio()); + + // Finally, sort the entries: +diff -Nru /tmp/jabref-2.92/src/java/net/sf/jabref/imports/BibteXMLImporter.java src/java/net/sf/jabref/imports/BibteXMLImporter.java +--- /tmp/jabref-2.92/src/java/net/sf/jabref/imports/BibteXMLImporter.java 2013-01-20 23:21:29.502659983 +0200 ++++ src/java/net/sf/jabref/imports/BibteXMLImporter.java 2013-01-20 23:28:03.004948729 +0200 +@@ -27,8 +27,6 @@ + import javax.xml.parsers.SAXParser; + import javax.xml.parsers.SAXParserFactory; + +-import com.sun.star.logging.LogLevel; +- + import net.sf.jabref.BibtexEntry; + import net.sf.jabref.OutputPrinter; + +diff -Nru /tmp/jabref-2.92/src/java/net/sf/jabref/util/ManageKeywordsAction.java src/java/net/sf/jabref/util/ManageKeywordsAction.java +--- /tmp/jabref-2.92/src/java/net/sf/jabref/util/ManageKeywordsAction.java 2013-01-20 23:21:29.487660156 +0200 ++++ src/java/net/sf/jabref/util/ManageKeywordsAction.java 2013-01-20 23:28:31.521604579 +0200 +@@ -62,7 +62,6 @@ + import com.jgoodies.forms.builder.ButtonBarBuilder; + import com.jgoodies.forms.builder.DefaultFormBuilder; + import com.jgoodies.forms.layout.FormLayout; +-import com.sun.star.bridge.oleautomation.Date; + + /** + * An Action for launching mass field. diff --git a/app-text/jabref/files/jabref-2.9.2-remove-sciplore-support.patch b/app-text/jabref/files/jabref-2.9.2-remove-sciplore-support.patch new file mode 100644 index 0000000..3d1acf2 --- /dev/null +++ b/app-text/jabref/files/jabref-2.9.2-remove-sciplore-support.patch @@ -0,0 +1,86 @@ +diff -Nru /tmp/jabref-2.92/src/java/net/sf/jabref/JabRefPreferences.java src/java/net/sf/jabref/JabRefPreferences.java +--- /tmp/jabref-2.92/src/java/net/sf/jabref/JabRefPreferences.java 2013-01-20 23:00:14.985998208 +0200 ++++ src/java/net/sf/jabref/JabRefPreferences.java 2013-01-20 23:00:32.765781853 +0200 +@@ -475,9 +475,6 @@ + + //defaults.put("keyPattern", new LabelPattern(KEY_PATTERN)); + +- defaults.put(ImportSettingsTab.PREF_IMPORT_ALWAYSUSE, Boolean.FALSE); +- defaults.put(ImportSettingsTab.PREF_IMPORT_DEFAULT_PDF_IMPORT_STYLE, ImportSettingsTab.DEFAULT_STYLE); +- defaults.put(ImportSettingsTab.PREF_IMPORT_FILENAMEPATTERN, ImportSettingsTab.DEFAULT_FILENAMEPATTERNS[0]); + + restoreKeyBindings(); + +diff -Nru /tmp/jabref-2.92/src/java/net/sf/jabref/PrefsDialog3.java src/java/net/sf/jabref/PrefsDialog3.java +--- /tmp/jabref-2.92/src/java/net/sf/jabref/PrefsDialog3.java 2013-01-20 23:00:14.985998208 +0200 ++++ src/java/net/sf/jabref/PrefsDialog3.java 2013-01-20 23:00:32.766781842 +0200 +@@ -87,7 +87,6 @@ + tabs.add(new TabLabelPattern(prefs, parent.helpDiag)); + tabs.add(new PreviewPrefsTab(prefs)); + tabs.add(new NameFormatterTab(parent.helpDiag)); +- tabs.add(new ImportSettingsTab()); + tabs.add(new XmpPrefsTab()); + tabs.add(new AdvancedTab(prefs, parent.helpDiag)); + +diff -Nru /tmp/jabref-2.92/src/java/net/sf/jabref/Util.java src/java/net/sf/jabref/Util.java +--- /tmp/jabref-2.92/src/java/net/sf/jabref/Util.java 2013-01-20 23:00:14.984998220 +0200 ++++ src/java/net/sf/jabref/Util.java 2013-01-20 23:11:35.257772992 +0200 +@@ -3025,7 +3025,7 @@ + */ + public static String getLinkedFileName(BibtexDatabase database, BibtexEntry entry) { + String targetName = entry.getCiteKey() == null ? "default" : entry.getCiteKey(); +- StringReader sr = new StringReader(Globals.prefs.get(ImportSettingsTab.PREF_IMPORT_FILENAMEPATTERN)); ++ StringReader sr = new StringReader("\\bibtexkey"); + Layout layout = null; + try { + layout = new LayoutHelper(sr).getLayoutFromText(Globals.FORMATTER_PACKAGE); +diff -Nru /tmp/jabref-2.92/src/java/net/sf/jabref/groups/EntryTableTransferHandler.java src/java/net/sf/jabref/groups/EntryTableTransferHandler.java +--- /tmp/jabref-2.92/src/java/net/sf/jabref/groups/EntryTableTransferHandler.java 2013-01-20 23:00:15.022997779 +0200 ++++ src/java/net/sf/jabref/groups/EntryTableTransferHandler.java 2013-01-20 23:00:32.770781798 +0200 +@@ -45,8 +45,6 @@ + import net.sf.jabref.imports.OpenDatabaseAction; + import net.sf.jabref.imports.ParserResult; + import net.sf.jabref.net.URLDownload; +-import spl.PdfImporter; +-import spl.Tools; + + public class EntryTableTransferHandler extends TransferHandler { + +@@ -379,7 +377,7 @@ + new Thread(new Runnable() { + public void run() { + // Done by MrDlib +- final String[] newfileNames = new PdfImporter(frame, panel, entryTable, dropRow).importPdfFiles(fileNames, frame); ++ final String[] newfileNames = new String[]{}; + if(newfileNames.length > 0){ + loadOrImportFiles(newfileNames, dropRow); + } +diff -Nru /tmp/jabref-2.92/src/java/net/sf/jabref/gui/CleanUpAction.java src/java/net/sf/jabref/gui/CleanUpAction.java +--- /tmp/jabref-2.92/src/java/net/sf/jabref/gui/CleanUpAction.java 2013-01-20 23:00:15.020997801 +0200 ++++ src/java/net/sf/jabref/gui/CleanUpAction.java 2013-01-20 23:08:38.204916521 +0200 +@@ -34,7 +34,6 @@ + import net.sf.jabref.CheckBoxMessage; + import net.sf.jabref.GUIGlobals; + import net.sf.jabref.Globals; +-import net.sf.jabref.ImportSettingsTab; + import net.sf.jabref.JabRefFrame; + import net.sf.jabref.Util; + import net.sf.jabref.external.ExternalFileType; +@@ -125,7 +124,7 @@ + optionsPanel = new JPanel(); + retrieveSettings(); + +- FormLayout layout = new FormLayout("left:15dlu,pref:grow", "pref, pref, pref, pref, pref, pref, pref, pref, pref, pref, pref, pref"); ++ FormLayout layout = new FormLayout("left:15dlu,pref:grow", "pref, pref, pref, pref, pref, pref, pref, pref, pref, pref, pref, pref") ; + DefaultFormBuilder builder = new DefaultFormBuilder(layout, optionsPanel); + builder.setDefaultDialogBorder(); + CellConstraints cc = new CellConstraints(); +@@ -139,8 +138,6 @@ + builder.add(cleanUpUpgradeExternalLinks, cc.xyw(1, 8, 2)); + builder.add(cleanUpMakePathsRelative, cc.xyw(1,9,2)); + builder.add(cleanUpRenamePDF, cc.xyw(1,10,2)); +- String currentPattern = Globals.lang("File name format pattern").concat(": ").concat(Globals.prefs.get(ImportSettingsTab.PREF_IMPORT_FILENAMEPATTERN)); +- builder.add(new JLabel(currentPattern), cc.xyw(2,11,1)); + builder.add(cleanUpRenamePDFonlyRelativePaths, cc.xyw(2,12,1)); + } + diff --git a/app-text/jabref/jabref-2.9.2.ebuild b/app-text/jabref/jabref-2.9.2.ebuild new file mode 100644 index 0000000..a45da08 --- /dev/null +++ b/app-text/jabref/jabref-2.9.2.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +#WANT_ANT_TASKS="dev-java/jarbundler:0" +#docs aren't builded correctly? +JAVA_PKG_IUSE="" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="GUI frontend for BibTeX, written in Java" +HOMEPAGE="http://jabref.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/JabRef-${PV}-src.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="mysql" + +#don't include, use shipped: antlr-3.4-complete.jar, jpfcodegen +# >=dev-java/antlr-2.7.3:0[java] +CDEPEND="dev-java/spin:0 + dev-java/glazedlists:1.8 + dev-java/jempbox:1.7 + dev-java/pdfbox:1.7 + dev-java/jgoodies-forms:1.6 + dev-java/jgoodies-looks:2.5 + >=dev-java/microba-0.4.3:0 + dev-java/commons-logging:0 + dev-java/jpf:1.5 + mysql? ( dev-java/jdbc-mysql:0 )" + +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.6 + ${CDEPEND}" + +S="${WORKDIR}/${P}" + +JAVA_ANT_REWRITE_CLASSPATH="true" +#EANT_ANT_TASKS="jarbundler" +EANT_BUILD_TARGET="jars" +EANT_DOC_TARGET="docs" + +#do not include antlr-3, use shipped antlr-3.0b5.jar +EANT_GENTOO_CLASSPATH="commons-logging,glazedlists-1.8,jempbox-1.7,jgoodies-forms-1.6,jgoodies-looks-2.5,jpf-1.5,microba,pdfbox-1.7,spin" +EANT_GENTOO_CLASSPATH_EXTRA="${S}/lib/antlr-3.4-complete.jar" +#for codegenerator +JAVA_ANT_CLASSPATH_TAGS+=" java" + +java_prepare() { + # moves jarbundler definition to where it's needed (not by us) --- ??? + # don't call unjarlib, don't want to absorb deps + # failonerror in jpfcodegen + epatch "${FILESDIR}/${P}-build.xml.patch" + + #ubuntu-specific and shipped with so-files... + epatch "${FILESDIR}/${P}-remove-ayatana.patch" + + #preserve some libraries + mkdir libs + mv lib/{plugin,antlr-3.4-complete.jar} libs/ + find "${S}/"{lib,gradle,buildlib} -name '*.jar' -delete + mv libs/{plugin,antlr-3.4-complete.jar} lib/ + + #drop open office support + rm -rfv src/java/net/sf/jabref/oo || die + epatch "${FILESDIR}"/${P}-remove-oo-support.patch + + #drop sciplore support + rm -rfv src/java/spl/ src/java/net/sf/jabref/ImportSettingsTab.java || die + epatch "${FILESDIR}"/${P}-remove-sciplore-support.patch +} + +src_install() { + java-pkg_newjar build/lib/JabRef-${PV}.jar + java-pkg_dojar lib/antlr-3.4-complete.jar + java-pkg_dojar lib/plugin/JPFCodeGenerator-rt.jar + + #are not builded? Investigate why + #use doc && java-pkg_dojavadoc build/docs/API + dodoc src/txt/README + + java-pkg_dolauncher ${PN} \ + --main net.sf.jabref.JabRef + + dodir /usr/share/${PN}/lib/plugins + keepdir /usr/share/${PN}/lib/plugins + + java-pkg_register-optional-dependency jdbc-mysql + + newicon src/images/JabRef-icon-48.png JabRef-icon.png || die + make_desktop_entry ${PN} JabRef JabRef-icon Office + echo "MimeType=text/x-bibtex;" >> "${D}/usr/share/applications/${PN}-${PN}.desktop" +} |