1 |
commit: c2d81203011805abd24ae7adb6c8afc14ea02949 |
2 |
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Mon Apr 3 15:45:26 2017 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Mon Apr 3 15:45:26 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c2d81203 |
7 |
|
8 |
sci-biology/igv: version bump, cannot compile FlowSignalDistributionPanel.java:222 |
9 |
|
10 |
It seem this is related to Gentoo ebuild unbundling some of the bundled libs. |
11 |
I can compile vanilla sources using ant without this issue. |
12 |
|
13 |
[javac] Compiling 889 source files to /scratch/var/tmp/portage/sci-biology/igv-2.3.88/work/igv-2.3.88/tmp |
14 |
[javac] /scratch/var/tmp/portage/sci-biology/igv-2.3.88/work/igv-2.3.88/src/org/broad/igv/tools/sort/BAMSorter.java:33: warning: NotImplementedException is internal proprietary API and may be removed in a future release |
15 |
[javac] import sun.reflect.generics.reflectiveObjects.NotImplementedException; |
16 |
[javac] ^ |
17 |
[javac] /scratch/var/tmp/portage/sci-biology/igv-2.3.88/work/igv-2.3.88/src/com/iontorrent/views/FlowSignalDistributionPanel.java:222: error: cannot access PublicCloneable |
18 |
[javac] dataset.addValue(data[j], seriename, cat); |
19 |
[javac] ^ |
20 |
[javac] class file for org.jfree.util.PublicCloneable not found |
21 |
[javac] /scratch/var/tmp/portage/sci-biology/igv-2.3.88/work/igv-2.3.88/src/com/iontorrent/views/FlowSignalDistributionPanel.java:266: error: cannot access Drawable |
22 |
[javac] CategoryPlot plot = freechart.getCategoryPlot(); |
23 |
[javac] ^ |
24 |
[javac] class file for org.jfree.ui.Drawable not found |
25 |
[javac] /scratch/var/tmp/portage/sci-biology/igv-2.3.88/work/igv-2.3.88/src/org/broad/igv/tools/sort/BAMSorter.java:102: warning: NotImplementedException is internal proprietary API and may be removed in a future release |
26 |
[javac] throw new NotImplementedException(); |
27 |
|
28 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
29 |
|
30 |
sci-biology/igv/igv-2.3.92.ebuild | 87 +++++++++++++++++++++++++++++++++++++++ |
31 |
1 file changed, 87 insertions(+) |
32 |
|
33 |
diff --git a/sci-biology/igv/igv-2.3.92.ebuild b/sci-biology/igv/igv-2.3.92.ebuild |
34 |
new file mode 100644 |
35 |
index 000000000..72b0dcff1 |
36 |
--- /dev/null |
37 |
+++ b/sci-biology/igv/igv-2.3.92.ebuild |
38 |
@@ -0,0 +1,87 @@ |
39 |
+# Copyright 1999-2017 Gentoo Foundation |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=5 |
43 |
+ |
44 |
+inherit java-pkg-2 java-ant-2 |
45 |
+ |
46 |
+[ "$PV" == "9999" ] && inherit git-r3 |
47 |
+ |
48 |
+if [ "$PV" == "9999" ]; then |
49 |
+ #ESVN_REPO_URI="http://igv.googlecode.com/svn/trunk" |
50 |
+ #ESVN_REPO_URI="http://igv.googlecode.com/svn/tags/Version_${PV}" |
51 |
+ EGIT_REPO_URI="https://github.com/broadinstitute/IGV.git" |
52 |
+ KEYWORDS="" |
53 |
+else |
54 |
+ SRC_URI="https://github.com/broadinstitute/IGV/archive/v${PV}.zip -> ${P}.zip" |
55 |
+ KEYWORDS="" |
56 |
+ # binaries |
57 |
+ # http://www.broadinstitute.org/igv/projects/downloads/IGV_2.3.40.zip |
58 |
+ # http://www.broadinstitute.org/igv/projects/downloads/igvtools_2.3.40.zip |
59 |
+fi |
60 |
+ |
61 |
+DESCRIPTION="Integrative Genomics Viewer" |
62 |
+HOMEPAGE="http://www.broadinstitute.org/igv/" |
63 |
+ |
64 |
+LICENSE="LGPL-2.1" |
65 |
+SLOT="0" |
66 |
+IUSE="" |
67 |
+KEYWORDS="" # see upstream issue #332 |
68 |
+ |
69 |
+# actually more exactly the COMMON_DEPS should contain: |
70 |
+# >=dev-java/commons-compress-1.11 # use bundled library until dev-java/commons-compress is bumped, see bug #591696 |
71 |
+COMMON_DEPS=" |
72 |
+ dev-java/absolutelayout:0 |
73 |
+ dev-java/jama:0 |
74 |
+ dev-java/commons-compress |
75 |
+ dev-java/commons-logging:0 |
76 |
+ >=dev-java/commons-io-2.1:1 |
77 |
+ >=dev-java/commons-math-2:* |
78 |
+ >=dev-java/commons-jexl-2:* |
79 |
+ dev-java/jcommon:* |
80 |
+ >=dev-java/jfreechart-1.0:* |
81 |
+ dev-java/jlfgr:0 |
82 |
+ dev-java/log4j:0 |
83 |
+ >=dev-java/gson-2.2.2:* |
84 |
+ =dev-java/guava-17:* |
85 |
+ >=dev-java/swing-layout-1 |
86 |
+ dev-java/jgrapht:0 |
87 |
+ >=dev-java/junit-4" |
88 |
+ |
89 |
+DEPEND=">=virtual/jdk-1.7 |
90 |
+ app-arch/unzip |
91 |
+ ${COMMON_DEPS}" |
92 |
+RDEPEND=">=virtual/jre-1.7 |
93 |
+ ${COMMON_DEPS}" |
94 |
+ |
95 |
+S="${WORKDIR}/igv-${PV}" # if the file unpacks into IGV_"${PV}" then you fetched wrong file with the precompiled jar |
96 |
+ |
97 |
+EANT_BUILD_TARGET="all" |
98 |
+JAVA_ANT_REWRITE_CLASSPATH="true" |
99 |
+EANT_NEEDS_TOOLS="true" |
100 |
+EANT_EXTRA_ARGS="-Dnotests=true" |
101 |
+ |
102 |
+EANT_GENTOO_CLASSPATH="absolutelayout,jama,commons-logging,commons-math-2,commons-jexl-2,jfreechart-1.0,jlfgr,log4j,commons-io-1," |
103 |
+EANT_GENTOO_CLASSPATH+="gson-2.2.2,guava-20,swing-layout-1,jgrapht,junit-4" |
104 |
+ |
105 |
+java_prepare() { |
106 |
+ mv lib oldlib || die |
107 |
+ mkdir lib || die |
108 |
+ |
109 |
+ mv -v oldlib/{htsjdk-1.139-patched.jar,jide-oss-3.5.5.jar,goby-io-igv__V1.0.jar,jargs.jar,mongo-java-driver-2.11.3.jar,na12878kb-utils.jar,picard-lib.jar,mysql-connector-java-3.1.14-bin.jar} lib || die |
110 |
+ mv -v oldlib/batik* lib || die |
111 |
+ |
112 |
+ rm -rvf oldlib/* || die |
113 |
+} |
114 |
+ |
115 |
+src_install() { |
116 |
+ java-pkg_newjar igv.jar |
117 |
+ |
118 |
+ for i in lib/*.jar; do java-pkg_dojar $i; done |
119 |
+ |
120 |
+ java-pkg_dolauncher igv --jar igv.jar --main org.broad.igv.ui.Main |
121 |
+} |
122 |
+ |
123 |
+pkg_postinst(){ |
124 |
+ einfo "You may want to install sci-biology/blat for easy sequence searches inside igv" |
125 |
+} |