gnu: Add and use default IcedTea.
* gnu/packages/java.scm (icedtea): New variable. (swt)[native-inputs]: Replace "icedtea6" with "icedtea". * gnu/packages/bioinformatics.scm (htsjdk)[native-inputs]: Likewise. (ngs-java)[inputs]: Likewise. * gnu/packages/kodi.scm (kodi)[native-inputs]: Replace "icedtea7" with "icedtea". * gnu/packages/ruby.scm (ruby-rjb)[native-inputs]: Replace "icedtea7" with "icedtea".
This commit is contained in:
parent
d91488908b
commit
d2540f80c2
|
@ -1644,7 +1644,7 @@ from high-throughput sequencing assays.")
|
||||||
'(configure install check)))))
|
'(configure install check)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("ant" ,ant)
|
`(("ant" ,ant)
|
||||||
("jdk" ,icedtea6 "jdk")))
|
("jdk" ,icedtea "jdk")))
|
||||||
(home-page "http://samtools.github.io/htsjdk/")
|
(home-page "http://samtools.github.io/htsjdk/")
|
||||||
(synopsis "Java API for high-throughput sequencing data (HTS) formats")
|
(synopsis "Java API for high-throughput sequencing data (HTS) formats")
|
||||||
(description
|
(description
|
||||||
|
@ -2539,7 +2539,7 @@ simultaneously.")
|
||||||
`(modify-phases ,phases
|
`(modify-phases ,phases
|
||||||
(replace 'enter-dir (lambda _ (chdir "ngs-java") #t)))))))
|
(replace 'enter-dir (lambda _ (chdir "ngs-java") #t)))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("jdk" ,icedtea6 "jdk")
|
`(("jdk" ,icedtea "jdk")
|
||||||
("ngs-sdk" ,ngs-sdk)))
|
("ngs-sdk" ,ngs-sdk)))
|
||||||
(synopsis "Java bindings for NGS SDK")))
|
(synopsis "Java bindings for NGS SDK")))
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
'build
|
'build
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((lib (string-append (assoc-ref outputs "out") "/lib")))
|
(let ((lib (string-append (assoc-ref outputs "out") "/lib")))
|
||||||
(setenv "JAVA_HOME" (assoc-ref inputs "icedtea6"))
|
(setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
|
||||||
|
|
||||||
;; Build shared libraries. Users of SWT have to set the system
|
;; Build shared libraries. Users of SWT have to set the system
|
||||||
;; property swt.library.path to the "lib" directory of this
|
;; property swt.library.path to the "lib" directory of this
|
||||||
|
@ -115,7 +115,7 @@
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("unzip" ,unzip)
|
("unzip" ,unzip)
|
||||||
("icedtea6" ,icedtea6 "jdk")))
|
("jdk" ,icedtea "jdk")))
|
||||||
(home-page "https://www.eclipse.org/swt/")
|
(home-page "https://www.eclipse.org/swt/")
|
||||||
(synopsis "Widget toolkit for Java")
|
(synopsis "Widget toolkit for Java")
|
||||||
(description
|
(description
|
||||||
|
@ -740,3 +740,5 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
||||||
"03pggsrhkzpjnj939vhr3b7mcrhfp22b7yg3hkx52kcv8dqkg3yx"))
|
"03pggsrhkzpjnj939vhr3b7mcrhfp22b7yg3hkx52kcv8dqkg3yx"))
|
||||||
,@(fold alist-delete (package-native-inputs icedtea6)
|
,@(fold alist-delete (package-native-inputs icedtea6)
|
||||||
'("openjdk6-src")))))))
|
'("openjdk6-src")))))))
|
||||||
|
|
||||||
|
(define-public icedtea icedtea7)
|
||||||
|
|
|
@ -149,7 +149,7 @@
|
||||||
("doxygen" ,doxygen)
|
("doxygen" ,doxygen)
|
||||||
("gawk" ,gawk)
|
("gawk" ,gawk)
|
||||||
("gettext" ,gnu-gettext)
|
("gettext" ,gnu-gettext)
|
||||||
("icedtea7" ,icedtea7) ; needed at build-time only, mandatory
|
("icedtea" ,icedtea) ; needed at build-time only, mandatory
|
||||||
("libtool" ,libtool)
|
("libtool" ,libtool)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("swig" ,swig)
|
("swig" ,swig)
|
||||||
|
|
|
@ -466,7 +466,7 @@ supported: XML Markup and XML Events.")
|
||||||
(setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
|
(setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
|
||||||
#t)))))
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("jdk" ,icedtea7 "jdk")))
|
`(("jdk" ,icedtea "jdk")))
|
||||||
(synopsis "Ruby-to-Java bridge using the Java Native Interface")
|
(synopsis "Ruby-to-Java bridge using the Java Native Interface")
|
||||||
(description "RJB is a bridge program that connects Ruby and Java via the
|
(description "RJB is a bridge program that connects Ruby and Java via the
|
||||||
Java Native Interface.")
|
Java Native Interface.")
|
||||||
|
|
Loading…
Reference in New Issue