unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26861: [PATCH 00/31] Even more Java things
@ 2017-05-09 21:07 Ricardo Wurmus
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
  2017-05-15 20:32 ` bug#26861: [PATCH 00/31] Even more Java things Ricardo Wurmus
  0 siblings, 2 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:07 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

Hi Guix,

you remember when I told you that I had some more Java things for you?  Here
it comes!  This all depends on the previous patch set, of course.

Thanks in advance for taking the time to review part of this!

The last two patches are the beginning of a new bootstrap for Java, hopefully
replacing GCJ (and with it the binary bootstrap ecj.jar) at some point.

~~ Ricardo

Ricardo Wurmus (31):
  gnu: Add libusb4java.
  gnu: Add java-usb4java.
  gnu: Add java-rsyntaxtextarea.
  gnu: Add java-simple-xml.
  gnu: Add java-osgi-annotation.
  gnu: Add java-osgi-core.
  gnu: Add java-eclipse-osgi.
  gnu: Add java-eclipse-equinox-common.
  gnu: Add java-osgi-service-event.
  gnu: Add java-eclipse-core-jobs.
  gnu: Add java-eclipse-equinox-registry.
  gnu: Add java-eclipse-equinox-app.
  gnu: Add java-eclipse-equinox-preferences.
  gnu: Add java-eclipse-core-contenttype.
  gnu: Add java-eclipse-core-runtime.
  gnu: Add java-eclipse-core-filesystem.
  gnu: Add java-eclipse-core-expressions.
  gnu: Add java-eclipse-core-variables.
  gnu: Add java-eclipse-ant-core.
  gnu: Add java-eclipse-core-resources.
  gnu: Add java-icu4j.
  gnu: Add java-eclipse-compare-core.
  gnu: Add java-eclipse-team-core.
  gnu: Add java-eclipse-core-commands.
  gnu: Add java-eclipse-text.
  gnu: Add java-eclipse-jdt-core.
  gnu: Add java-log4j-api.
  licenses: Add EDL 1.0.
  gnu: Add java-javax-mail.
  gnu: Add jikes.
  gnu: Add classpath-minimal-0.93.

 gnu/packages/icu4c.scm     |  29 ++
 gnu/packages/java.scm      | 742 +++++++++++++++++++++++++++++++++++++++++++++
 gnu/packages/libusb.scm    | 100 +++++-
 gnu/packages/textutils.scm |  36 ++-
 gnu/packages/xml.scm       |  31 ++
 guix/licenses.scm          |   6 +
 6 files changed, 942 insertions(+), 2 deletions(-)

-- 
2.12.2

^ permalink raw reply	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 01/31] gnu: Add libusb4java.
  2017-05-09 21:07 bug#26861: [PATCH 00/31] Even more Java things Ricardo Wurmus
@ 2017-05-09 21:28 ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 02/31] gnu: Add java-usb4java Ricardo Wurmus
                     ` (29 more replies)
  2017-05-15 20:32 ` bug#26861: [PATCH 00/31] Even more Java things Ricardo Wurmus
  1 sibling, 30 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/libusb.scm (libusb4java): New variable.
---
 gnu/packages/libusb.scm | 40 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 39 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 4c80de236..3932f1e66 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
-;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Theodoros Foradis <theodoros.for@openmailbox.org>
 ;;;
@@ -27,12 +27,15 @@
   #:use-module (guix packages)
   #:use-module (guix utils)
   #:use-module (guix download)
+  #:use-module (guix git-download)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system python)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gtk)
+  #:use-module (gnu packages java)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages mp3)
   #:use-module (gnu packages pkg-config)
@@ -91,6 +94,41 @@ devices on various operating systems.")
 version of libusb to run with newer libusb.")
     (license lgpl2.1+)))
 
+(define-public libusb4java
+  ;; There is no public release so we take the latest version from git.
+  (let ((commit "396d642a57678a0d9663b062c980fe100cc0ea1e")
+        (revision "1"))
+    (package
+      (name "libusb4java")
+      (version (string-append "0-" revision "." (string-take commit 9)))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/usb4java/libusb4java.git")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "0wqgapalhfh9v38ycbl6i2f5lh1wpr6fzwn5dwd0rdacypkd1gml"))))
+      (build-system cmake-build-system)
+      (arguments
+       `(#:tests? #f                    ; there are no tests
+         #:phases
+         (modify-phases %standard-phases
+           (add-before 'configure 'set-JAVA_HOME
+             (lambda* (#:key inputs #:allow-other-keys)
+               (setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
+               #t)))))
+      (inputs
+       `(("libusb" ,libusb)))
+      (native-inputs
+       `(("jdk" ,icedtea "jdk")))
+      (home-page "https://github.com/usb4java/libusb4java/")
+      (synopsis "JNI bindings to libusb")
+      (description
+       "This package provides Java JNI bindings to the libusb library for use
+with usb4java.")
+      (license expat))))
+
 (define-public python-pyusb
   (package
     (name "python-pyusb")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 02/31] gnu: Add java-usb4java.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 03/31] gnu: Add java-rsyntaxtextarea Ricardo Wurmus
                     ` (28 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/libusb.scm (java-usb4java): New variable.
---
 gnu/packages/libusb.scm | 60 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 3932f1e66..ffbe5b1a8 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -28,6 +28,7 @@
   #:use-module (guix utils)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix build-system ant)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system glib-or-gtk)
@@ -129,6 +130,65 @@ version of libusb to run with newer libusb.")
 with usb4java.")
       (license expat))))
 
+(define-public java-usb4java
+  (package
+    (name "java-usb4java")
+    (version "1.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/usb4java/usb4java/"
+                                  "archive/usb4java-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0gzpsnzwgsdyra3smq288yvxnwrgvdwxr6g8jbknnsk56kv6wc34"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "usb4java.jar"
+       #:phases
+       (modify-phases %standard-phases
+         ;; Usually, native libusb4java libraries for all supported systems
+         ;; would be included in the jar and extracted at runtime.  Since we
+         ;; build everything from source we cannot just bundle pre-built
+         ;; binaries for other systems.  Instead, we patch the loader to
+         ;; directly return the appropriate library for this system.  The
+         ;; downside is that the jar will only work on the same architecture
+         ;; that it was built on.
+         (add-after 'unpack 'copy-libusb4java
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "src/main/java/org/usb4java/Loader.java"
+               (("private static String extractLibrary" line)
+                (string-append
+                 line "(final String a, final String b) {"
+                 "return \""
+                 (assoc-ref inputs "libusb4java") "/lib/libusb4java.so"
+                 "\"; }\n"
+                 "private static String _extractLibrary")))
+             #t))
+         (add-after 'unpack 'disable-broken-tests
+           (lambda _
+             (with-directory-excursion "src/test/java/org/usb4java"
+               ;; These tests should only be run when USB devices are present.
+               (substitute* '("LibUsbGlobalTest.java"
+                              "TransferTest.java")
+                 (("this.context = new Context\\(\\);")
+                  "this.context = null;")
+                 (("LibUsb.init") "//"))
+               (substitute* "DeviceListIteratorTest.java"
+                 (("this.iterator.remove" line)
+                  (string-append "assumeUsbTestsEnabled();" line))))
+             #t)))))
+    (inputs
+     `(("libusb4java" ,libusb4java)
+       ("java-commons-lang3" ,java-commons-lang3)
+       ("java-junit" ,java-junit)
+       ("java-hamcrest-core" ,java-hamcrest-core)))
+    (home-page "http://usb4java.org/")
+    (synopsis "USB library for Java")
+    (description
+     "This package provides a USB library for Java based on libusb and
+implementing @code{javax.usb} (JSR-80).")
+    (license expat)))
+
 (define-public python-pyusb
   (package
     (name "python-pyusb")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 03/31] gnu: Add java-rsyntaxtextarea.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 02/31] gnu: Add java-usb4java Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 04/31] gnu: Add java-simple-xml Ricardo Wurmus
                     ` (27 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/textutils.scm (java-rsyntaxtextarea): New variable.
---
 gnu/packages/textutils.scm | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index dbd71c2e8..e364a68f2 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
-;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2015, 2016 Ben Woodcroft <donttrustben@gmail.com>
 ;;; Copyright © 2015 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
@@ -31,11 +31,13 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix build-system ant)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages java)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
@@ -518,3 +520,35 @@ categories.")
      "C library for creating and parsing configuration files.")
     (license (list license:lgpl2.1         ; Main distribution.
                    license:asl1.1))))      ; src/readdir.{c,h}
+
+(define-public java-rsyntaxtextarea
+  (package
+    (name "java-rsyntaxtextarea")
+    (version "2.6.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/bobbylight/"
+                                  "RSyntaxTextArea/archive/"
+                                  version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0c5mqg2klj5rvf8fhycrli8rf6s37l9p7a8knw9gpp65r1c120q2"))))
+    (build-system ant-build-system)
+    (arguments
+     `(;; FIXME: some tests fail because locale resources cannot be found.
+       ;; Even when I add them to the class path,
+       ;; RSyntaxTextAreaEditorKitDumbCompleteWordActionTest fails.
+       #:tests? #f
+       #:jar-name "rsyntaxtextarea.jar"))
+    (native-inputs
+     `(("java-junit" ,java-junit)
+       ("java-hamcrest-core" ,java-hamcrest-core)))
+    (home-page "https://bobbylight.github.io/RSyntaxTextArea/")
+    (synopsis "Syntax highlighting text component for Java Swing")
+    (description "RSyntaxTextArea is a syntax highlighting, code folding text
+component for Java Swing.  It extends @code{JTextComponent} so it integrates
+completely with the standard @code{javax.swing.text} package.  It is fast and
+efficient, and can be used in any application that needs to edit or view
+source code.")
+    (license license:bsd-3)))
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 04/31] gnu: Add java-simple-xml.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 02/31] gnu: Add java-usb4java Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 03/31] gnu: Add java-rsyntaxtextarea Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 05/31] gnu: Add java-osgi-annotation Ricardo Wurmus
                     ` (26 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/xml.scm (java-simple-xml): New variable.
---
 gnu/packages/xml.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 7801c6cdb..69bb67171 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -44,6 +44,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix build-system ant)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system perl)
@@ -1175,3 +1176,33 @@ to read and write XML data.  A shared library is provided for parsing,
 generating, manipulating, and validating XML documents using the DOM, SAX, and
 SAX2 APIs.")
     (license license:asl2.0)))
+
+(define-public java-simple-xml
+  (package
+    (name "java-simple-xml")
+    (version "2.7.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/simple/simple-xml-"
+                                  version ".zip"))
+              (sha256
+               (base32
+                "0w19k1awslmihpwsxwjbg89hv0vjhk4k3i0vrfchy3mqknd988y5"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:build-target "build"
+       #:test-target "test"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'install (install-jars "jar")))))
+    (native-inputs
+     `(("unzip" ,unzip)))
+    (home-page "http://simple.sourceforge.net/")
+    (synopsis "XML serialization framework for Java")
+    (description "Simple is a high performance XML serialization and
+configuration framework for Java.  Its goal is to provide an XML framework
+that enables rapid development of XML configuration and communication systems.
+This framework aids the development of XML systems with minimal effort and
+reduced errors.  It offers full object serialization and deserialization,
+maintaining each reference encountered.")
+    (license license:asl2.0)))
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 05/31] gnu: Add java-osgi-annotation.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (2 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 04/31] gnu: Add java-simple-xml Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 06/31] gnu: Add java-osgi-core Ricardo Wurmus
                     ` (25 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-osgi-annotation): New variable.
---
 gnu/packages/java.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 35e1c315e..bda57a304 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2319,6 +2319,31 @@ working with compressed files such as ar, cpio, Unix dump, tar, zip, gzip, XZ,
 Pack200, bzip2, 7z, arj, lzma, snappy, DEFLATE, lz4 and Z files.")
     (license license:asl2.0)))
 
+(define-public java-osgi-annotation
+  (package
+    (name "java-osgi-annotation")
+    (version "6.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/osgi/org.osgi.annotation/" version "/"
+                                  "org.osgi.annotation-" version "-sources.jar"))
+              (sha256
+               (base32
+                "1q718mb7gqg726rh6pc2hcisn8v50nv35abbir0jypmffhiii85w"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests
+       #:jar-name "osgi-annotation.jar"))
+    (home-page "http://www.osgi.org")
+    (synopsis "Annotation module of OSGi framework")
+    (description
+     "OSGi, for Open Services Gateway initiative framework, is a module system
+and service platform for the Java programming language.  This package contains
+the OSGi annotation module, providing additional services to help dynamic
+components.")
+    (license license:asl2.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 06/31] gnu: Add java-osgi-core.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (3 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 05/31] gnu: Add java-osgi-annotation Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 07/31] gnu: Add java-eclipse-osgi Ricardo Wurmus
                     ` (24 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-osgi-core): New variable.
---
 gnu/packages/java.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index bda57a304..2e4f37fd3 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2344,6 +2344,32 @@ the OSGi annotation module, providing additional services to help dynamic
 components.")
     (license license:asl2.0)))
 
+(define-public java-osgi-core
+  (package
+    (name "java-osgi-core")
+    (version "6.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/osgi/org.osgi.core/" version "/"
+                                  "org.osgi.core-" version "-sources.jar"))
+              (sha256
+               (base32
+                "19bpf5jx32jq9789gyhin35q5v7flmw0p9mk7wbgqpxqfmxyiabv"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests
+       #:jar-name "osgi-core.jar"))
+    (inputs
+     `(("java-osgi-annotation" ,java-osgi-annotation)))
+    (home-page "http://www.osgi.org")
+    (synopsis "Core module of OSGi framework")
+    (description
+     "OSGi, for Open Services Gateway initiative framework, is a module system
+and service platform for the Java programming language.  This package contains
+the OSGi Core module.")
+    (license license:asl2.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 07/31] gnu: Add java-eclipse-osgi.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (4 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 06/31] gnu: Add java-osgi-core Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 08/31] gnu: Add java-eclipse-equinox-common Ricardo Wurmus
                     ` (23 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-osgi): New variable.
---
 gnu/packages/java.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 2e4f37fd3..4eb4686a0 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2370,6 +2370,31 @@ and service platform for the Java programming language.  This package contains
 the OSGi Core module.")
     (license license:asl2.0)))
 
+(define-public java-eclipse-osgi
+  (package
+    (name "java-eclipse-osgi")
+    (version "3.11.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.osgi/"
+                                  version "/org.eclipse.osgi-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "00cqc6lb29n0zv68b4l842vzkwawvbr7gshfdygsk8sicvcq2c7b"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-equinox-osgi.jar"))
+    (inputs
+     `(("java-osgi-annotation" ,java-osgi-annotation)))
+    (home-page "http://www.eclipse.org/equinox/")
+    (synopsis "Eclipse Equinox OSGi framework")
+    (description "This package provides an implementation of the OSGi Core
+specification.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 08/31] gnu: Add java-eclipse-equinox-common.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (5 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 07/31] gnu: Add java-eclipse-osgi Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 09/31] gnu: Add java-osgi-service-event Ricardo Wurmus
                     ` (22 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-equinox-common): New variable.
---
 gnu/packages/java.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 4eb4686a0..9e21050b4 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2395,6 +2395,30 @@ the OSGi Core module.")
 specification.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-equinox-common
+  (package
+    (name "java-eclipse-equinox-common")
+    (version "3.8.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.equinox.common/"
+                                  version "/org.eclipse.equinox.common-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "12aazpkgw46r1qj0pr421jzwhbmsizd97r37krd7njnbrdgfzksc"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-equinox-common.jar"))
+    (inputs
+     `(("java-eclipse-osgi" ,java-eclipse-osgi)))
+    (home-page "http://www.eclipse.org/equinox/")
+    (synopsis "Common Eclipse runtime")
+    (description "This package provides the common Eclipse runtime.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 09/31] gnu: Add java-osgi-service-event.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (6 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 08/31] gnu: Add java-eclipse-equinox-common Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 10/31] gnu: Add java-eclipse-core-jobs Ricardo Wurmus
                     ` (21 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-osgi-service-event): New variable.
---
 gnu/packages/java.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 9e21050b4..17e436619 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2370,6 +2370,34 @@ and service platform for the Java programming language.  This package contains
 the OSGi Core module.")
     (license license:asl2.0)))
 
+(define-public java-osgi-service-event
+  (package
+    (name "java-osgi-service-event")
+    (version "1.3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/osgi/org.osgi.service.event/"
+                                  version "/org.osgi.service.event-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "1nyhlgagwym75bycnjczwbnpymv2iw84zbhvvzk84g9q736i6qxm"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests
+       #:jar-name "osgi-service-event.jar"))
+    (inputs
+     `(("java-osgi-annotation" ,java-osgi-annotation)
+       ("java-osgi-core" ,java-osgi-core)))
+    (home-page "http://www.osgi.org")
+    (synopsis "OSGi service event module")
+    (description
+     "OSGi, for Open Services Gateway initiative framework, is a module system
+and service platform for the Java programming language.  This package contains
+the OSGi @code{org.osgi.service.event} module.")
+    (license license:asl2.0)))
+
 (define-public java-eclipse-osgi
   (package
     (name "java-eclipse-osgi")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 10/31] gnu: Add java-eclipse-core-jobs.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (7 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 09/31] gnu: Add java-osgi-service-event Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 11/31] gnu: Add java-eclipse-equinox-registry Ricardo Wurmus
                     ` (20 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-core-jobs): New variable.
---
 gnu/packages/java.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 17e436619..f46192c07 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2447,6 +2447,31 @@ specification.")
     (description "This package provides the common Eclipse runtime.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-core-jobs
+  (package
+    (name "java-eclipse-core-jobs")
+    (version "3.8.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.core.jobs/"
+                                  version "/org.eclipse.core.jobs-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "0395b8lh0km8vhzjnchvs1rii1qz48hyvb2wqfaq4yhklbwihq4b"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-core-jobs.jar"))
+    (inputs
+     `(("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-osgi" ,java-eclipse-osgi)))
+    (home-page "http://www.eclipse.org/equinox/")
+    (synopsis "Eclipse jobs mechanism")
+    (description "This package provides the Eclipse jobs mechanism.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 11/31] gnu: Add java-eclipse-equinox-registry.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (8 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 10/31] gnu: Add java-eclipse-core-jobs Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 12/31] gnu: Add java-eclipse-equinox-app Ricardo Wurmus
                     ` (19 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-equinox-registry): New variable.
---
 gnu/packages/java.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index f46192c07..8076f6366 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2472,6 +2472,33 @@ specification.")
     (description "This package provides the Eclipse jobs mechanism.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-equinox-registry
+  (package
+    (name "java-eclipse-equinox-registry")
+    (version "3.6.100")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.equinox.registry/"
+                                  version "/org.eclipse.equinox.registry-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "1i9sgymh2fy5vdgk5y7s3qvrlbgh4l93ddqi3v4zmca7hwrlhf9k"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-equinox-registry.jar"))
+    (inputs
+     `(("java-eclipse-core-jobs" ,java-eclipse-core-jobs)
+       ("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-osgi" ,java-eclipse-osgi)))
+    (home-page "http://www.eclipse.org/equinox/")
+    (synopsis "Eclipse extension registry support")
+    (description "This package provides support for the Eclipse extension
+registry.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 12/31] gnu: Add java-eclipse-equinox-app.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (9 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 11/31] gnu: Add java-eclipse-equinox-registry Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 13/31] gnu: Add java-eclipse-equinox-preferences Ricardo Wurmus
                     ` (18 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-equinox-app): New variable.
---
 gnu/packages/java.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 8076f6366..75cbcaea6 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2499,6 +2499,34 @@ specification.")
 registry.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-equinox-app
+  (package
+    (name "java-eclipse-equinox-app")
+    (version "1.3.400")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.equinox.app/"
+                                  version "/org.eclipse.equinox.app-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "0nhvbp93y203ar7y59gb0mz3w2d3jlqhr0c9hii9bcfpmr7imdab"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-equinox-app.jar"))
+    (inputs
+     `(("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-equinox-registry" ,java-eclipse-equinox-registry)
+       ("java-eclipse-osgi" ,java-eclipse-osgi)
+       ("java-osgi-service-event" ,java-osgi-service-event)))
+    (home-page "http://www.eclipse.org/equinox/")
+    (synopsis "Equinox application container")
+    (description "This package provides the Equinox application container for
+Eclipse.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 13/31] gnu: Add java-eclipse-equinox-preferences.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (10 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 12/31] gnu: Add java-eclipse-equinox-app Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 14/31] gnu: Add java-eclipse-core-contenttype Ricardo Wurmus
                     ` (17 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-equinox-preferences): New variable.
---
 gnu/packages/java.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 75cbcaea6..9be5cffa8 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2527,6 +2527,33 @@ registry.")
 Eclipse.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-equinox-preferences
+  (package
+    (name "java-eclipse-equinox-preferences")
+    (version "3.6.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.equinox.preferences/"
+                                  version "/org.eclipse.equinox.preferences-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "0k7w6c141sqym4fy3af0qkwpy4pdh2vsjpjba6rp5fxyqa24v0a2"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-equinox-preferences.jar"))
+    (inputs
+     `(("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-equinox-registry" ,java-eclipse-equinox-registry)
+       ("java-eclipse-osgi" ,java-eclipse-osgi)))
+    (home-page "http://www.eclipse.org/equinox/")
+    (synopsis "Eclipse preferences mechanism")
+    (description "This package provides the Eclipse preferences mechanism with
+the module @code{org.eclipse.equinox.preferences}.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 14/31] gnu: Add java-eclipse-core-contenttype.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (11 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 13/31] gnu: Add java-eclipse-equinox-preferences Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 15/31] gnu: Add java-eclipse-core-runtime Ricardo Wurmus
                     ` (16 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-core-contenttype): New variable.
---
 gnu/packages/java.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 9be5cffa8..4db59d01e 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2554,6 +2554,34 @@ Eclipse.")
 the module @code{org.eclipse.equinox.preferences}.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-core-contenttype
+  (package
+    (name "java-eclipse-core-contenttype")
+    (version "3.5.100")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.core.contenttype/"
+                                  version "/org.eclipse.core.contenttype-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "1wcqcv7ijwv5rh748vz3x9pkmjl9w1r0k0026k56n8yjl4rrmspi"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-core-contenttype.jar"))
+    (inputs
+     `(("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-equinox-preferences" ,java-eclipse-equinox-preferences)
+       ("java-eclipse-equinox-registry" ,java-eclipse-equinox-registry)
+       ("java-eclipse-osgi" ,java-eclipse-osgi)))
+    (home-page "http://www.eclipse.org/")
+    (synopsis "Eclipse content mechanism")
+    (description "This package provides the Eclipse content mechanism in the
+@code{org.eclipse.core.contenttype} module.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 15/31] gnu: Add java-eclipse-core-runtime.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (12 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 14/31] gnu: Add java-eclipse-core-contenttype Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 16/31] gnu: Add java-eclipse-core-filesystem Ricardo Wurmus
                     ` (15 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-core-runtime): New variable.
---
 gnu/packages/java.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 4db59d01e..b2cd3e9ad 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2582,6 +2582,37 @@ the module @code{org.eclipse.equinox.preferences}.")
 @code{org.eclipse.core.contenttype} module.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-core-runtime
+  (package
+    (name "java-eclipse-core-runtime")
+    (version "3.12.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.core.runtime/"
+                                  version "/org.eclipse.core.runtime-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "16mkf8jgj35pgzms7w1gyfq0gfm4ixw6c5xbbxzdj1la56c758ya"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-core-runtime.jar"))
+    (inputs
+     `(("java-eclipse-core-contenttype" ,java-eclipse-core-contenttype)
+       ("java-eclipse-core-jobs" ,java-eclipse-core-jobs)
+       ("java-eclipse-equinox-app" ,java-eclipse-equinox-app)
+       ("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-equinox-registry" ,java-eclipse-equinox-registry)
+       ("java-eclipse-equinox-preferences" ,java-eclipse-equinox-preferences)
+       ("java-eclipse-osgi" ,java-eclipse-osgi)))
+    (home-page "https://www.eclipse.org/")
+    (synopsis "Eclipse core runtime")
+    (description "This package provides the Eclipse core runtime with the
+module @code{org.eclipse.core.runtime}.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 16/31] gnu: Add java-eclipse-core-filesystem.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (13 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 15/31] gnu: Add java-eclipse-core-runtime Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 17/31] gnu: Add java-eclipse-core-expressions Ricardo Wurmus
                     ` (14 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-core-filesystem): New variable.
---
 gnu/packages/java.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index b2cd3e9ad..91dd0da29 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2613,6 +2613,33 @@ the module @code{org.eclipse.equinox.preferences}.")
 module @code{org.eclipse.core.runtime}.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-core-filesystem
+  (package
+    (name "java-eclipse-core-filesystem")
+    (version "1.6.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.core.filesystem/"
+                                  version "/org.eclipse.core.filesystem-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "0km1bhwjim4rfy3pkvjhvy31kgsyf2ncx0mlkmbf5n6g57pphdyj"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-core-filesystem.jar"))
+    (inputs
+     `(("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-equinox-registry" ,java-eclipse-equinox-registry)
+       ("java-eclipse-osgi" ,java-eclipse-osgi)))
+    (home-page "https://www.eclipse.org/")
+    (synopsis "Eclipse core file system")
+    (description "This package provides the Eclipse core file system with the
+module @code{org.eclipse.core.filesystem}.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 17/31] gnu: Add java-eclipse-core-expressions.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (14 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 16/31] gnu: Add java-eclipse-core-filesystem Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 18/31] gnu: Add java-eclipse-core-variables Ricardo Wurmus
                     ` (13 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-core-expressions): New variable.
---
 gnu/packages/java.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 91dd0da29..13bbd8666 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2640,6 +2640,35 @@ module @code{org.eclipse.core.runtime}.")
 module @code{org.eclipse.core.filesystem}.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-core-expressions
+  (package
+    (name "java-eclipse-core-expressions")
+    (version "3.5.100")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.core.expressions/"
+                                  version "/org.eclipse.core.expressions-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "18bw2l875gmygvpagpgk9l24qzbdjia4ag12nw6fi8v8yaq4987f"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-core-expressions.jar"))
+    (inputs
+     `(("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-equinox-registry" ,java-eclipse-equinox-registry)
+       ("java-eclipse-equinox-preferences" ,java-eclipse-equinox-preferences)
+       ("java-eclipse-core-runtime" ,java-eclipse-core-runtime)
+       ("java-eclipse-osgi" ,java-eclipse-osgi)))
+    (home-page "https://www.eclipse.org/")
+    (synopsis "Eclipse core expression language")
+    (description "This package provides the Eclipse core expression language
+with the @code{org.eclipse.core.expressions} module.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 18/31] gnu: Add java-eclipse-core-variables.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (15 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 17/31] gnu: Add java-eclipse-core-expressions Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 19/31] gnu: Add java-eclipse-ant-core Ricardo Wurmus
                     ` (12 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-core-variables): New variable.
---
 gnu/packages/java.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 13bbd8666..a2a4c38ea 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2669,6 +2669,35 @@ module @code{org.eclipse.core.filesystem}.")
 with the @code{org.eclipse.core.expressions} module.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-core-variables
+  (package
+    (name "java-eclipse-core-variables")
+    (version "3.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.core.variables/"
+                                  version "/org.eclipse.core.variables-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "12dirh03zi4n5x5cj07vzrhkmnqy6h9q10h9j605pagmpmifyxmy"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-core-variables.jar"))
+    (inputs
+     `(("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-equinox-registry" ,java-eclipse-equinox-registry)
+       ("java-eclipse-equinox-preferences" ,java-eclipse-equinox-preferences)
+       ("java-eclipse-core-runtime" ,java-eclipse-core-runtime)
+       ("java-eclipse-osgi" ,java-eclipse-osgi)))
+    (home-page "https://www.eclipse.org/platform")
+    (synopsis "Eclipse core variables")
+    (description "This package provides the Eclipse core variables module
+@code{org.eclipse.core.variables}.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 19/31] gnu: Add java-eclipse-ant-core.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (16 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 18/31] gnu: Add java-eclipse-core-variables Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 20/31] gnu: Add java-eclipse-core-resources Ricardo Wurmus
                     ` (11 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-ant-core): New variable.
---
 gnu/packages/java.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index a2a4c38ea..df48ec10c 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2698,6 +2698,38 @@ with the @code{org.eclipse.core.expressions} module.")
 @code{org.eclipse.core.variables}.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-ant-core
+  (package
+    (name "java-eclipse-ant-core")
+    (version "3.4.100")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.ant.core/"
+                                  version "/org.eclipse.ant.core-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "11g3if794qjlk98mz9zch22rr56sd7z63vn4i7k2icr8cq5bfqg7"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-ant-core.jar"))
+    (inputs
+     `(("java-eclipse-equinox-app" ,java-eclipse-equinox-app)
+       ("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-equinox-registry" ,java-eclipse-equinox-registry)
+       ("java-eclipse-equinox-preferences" ,java-eclipse-equinox-preferences)
+       ("java-eclipse-core-contenttype" ,java-eclipse-core-contenttype)
+       ("java-eclipse-core-runtime" ,java-eclipse-core-runtime)
+       ("java-eclipse-core-variables" ,java-eclipse-core-variables)
+       ("java-eclipse-osgi" ,java-eclipse-osgi)))
+    (home-page "https://www.eclipse.org/platform")
+    (synopsis "Ant build tool core libraries")
+    (description "This package provides the ant build tool core libraries with
+the module @code{org.eclipse.ant.core}.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 20/31] gnu: Add java-eclipse-core-resources.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (17 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 19/31] gnu: Add java-eclipse-ant-core Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 21/31] gnu: Add java-icu4j Ricardo Wurmus
                     ` (10 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-core-resources): New variable.
---
 gnu/packages/java.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index df48ec10c..140a86edd 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2730,6 +2730,40 @@ with the @code{org.eclipse.core.expressions} module.")
 the module @code{org.eclipse.ant.core}.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-core-resources
+  (package
+    (name "java-eclipse-core-resources")
+    (version "3.11.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.core.resources/"
+                                  version "/org.eclipse.core.resources-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "1hrfxrll6cpcagfksk2na1ypvkcnsp0fk6n3vcsrn97qayf9mx9l"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-core-resources.jar"))
+    (inputs
+     `(("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-equinox-preferences" ,java-eclipse-equinox-preferences)
+       ("java-eclipse-equinox-registry" ,java-eclipse-equinox-registry)
+       ("java-eclipse-core-contenttype" ,java-eclipse-core-contenttype)
+       ("java-eclipse-core-expressions" ,java-eclipse-core-expressions)
+       ("java-eclipse-core-filesystem" ,java-eclipse-core-filesystem)
+       ("java-eclipse-core-jobs" ,java-eclipse-core-jobs)
+       ("java-eclipse-core-runtime" ,java-eclipse-core-runtime)
+       ("java-eclipse-ant-core" ,java-eclipse-ant-core)
+       ("java-eclipse-osgi" ,java-eclipse-osgi)))
+    (home-page "https://www.eclipse.org/")
+    (synopsis "Eclipse core resource management")
+    (description "This package provides the Eclipse core resource management
+module @code{org.eclipse.core.resources}.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 21/31] gnu: Add java-icu4j.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (18 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 20/31] gnu: Add java-eclipse-core-resources Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 22/31] gnu: Add java-eclipse-compare-core Ricardo Wurmus
                     ` (9 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/icu4c.scm (java-icu4j): New variable.
---
 gnu/packages/icu4c.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index 9f465b102..3e9652005 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
+;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -25,6 +26,7 @@
   #:use-module (guix licenses)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix build-system ant)
   #:use-module (guix build-system gnu))
 
 (define-public icu4c
@@ -75,3 +77,30 @@ C/C++ part.")
               (patches
                (search-patches "icu4c-CVE-2017-7867-CVE-2017-7868.patch"
                                "icu4c-reset-keyword-list-iterator.patch"))))))
+
+(define-public java-icu4j
+  (package
+    (name "java-icu4j")
+    (version "59.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://download.icu-project.org/files/icu4j/"
+                                  version "/icu4j-"
+                                  (string-map (lambda (x)
+                                                (if (char=? x #\.) #\_ x))
+                                              version)
+                                  "-src.jar"))
+              (sha256
+               (base32
+                "0bgxsvgi0qcwj60pvcxrf7a3fbk7aksyxnfwpbzavyfrfzixqh0c"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f                      ; no tests included
+       #:jar-name "icu4j.jar"))
+    (home-page "http://site.icu-project.org/")
+    (synopsis "International Components for Unicode")
+    (description
+     "ICU is a set of C/C++ and Java libraries providing Unicode and
+globalisation support for software applications.  This package contains the
+Java part.")
+    (license x11)))
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 22/31] gnu: Add java-eclipse-compare-core.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (19 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 21/31] gnu: Add java-icu4j Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 23/31] gnu: Add java-eclipse-team-core Ricardo Wurmus
                     ` (8 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-compare-core): New variable.
---
 gnu/packages/java.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 140a86edd..bcc1d950b 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -44,6 +44,7 @@
   #:use-module (gnu packages ghostscript) ;lcms
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
+  #:use-module (gnu packages icu4c)
   #:use-module (gnu packages image)
   #:use-module (gnu packages linux) ;alsa
   #:use-module (gnu packages wget)
@@ -2764,6 +2765,34 @@ the module @code{org.eclipse.ant.core}.")
 module @code{org.eclipse.core.resources}.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-compare-core
+  (package
+    (name "java-eclipse-compare-core")
+    (version "3.6.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.compare.core/"
+                                  version "/org.eclipse.compare.core-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "10g37r0pbiffyv2wk35c6g5lwzkdipkl0kkjp41v84dln46xm4dg"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-compare-core.jar"))
+    (inputs
+     `(("java-eclipse-core-runtime" ,java-eclipse-core-runtime)
+       ("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-osgi" ,java-eclipse-osgi)
+       ("java-icu4j" ,java-icu4j)))
+    (home-page "https://www.eclipse.org/")
+    (synopsis "Eclipse core compare support")
+    (description "This package provides the Eclipse core compare support
+module @code{org.eclipse.compare.core}.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 23/31] gnu: Add java-eclipse-team-core.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (20 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 22/31] gnu: Add java-eclipse-compare-core Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 24/31] gnu: Add java-eclipse-core-commands Ricardo Wurmus
                     ` (7 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-team-core): New variable.
---
 gnu/packages/java.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index bcc1d950b..d8c10b5de 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2793,6 +2793,40 @@ module @code{org.eclipse.core.resources}.")
 module @code{org.eclipse.compare.core}.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-team-core
+  (package
+    (name "java-eclipse-team-core")
+    (version "3.8.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.team.core/"
+                                  version "/org.eclipse.team.core-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "02j2jzqgb26zx2d5ahxmvijw6j4r0la90zl5c3i65x6z19ciyam7"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-team-core.jar"))
+    (inputs
+     `(("java-eclipse-compare-core" ,java-eclipse-compare-core)
+       ("java-eclipse-core-contenttype" ,java-eclipse-core-contenttype)
+       ("java-eclipse-core-filesystem" ,java-eclipse-core-filesystem)
+       ("java-eclipse-core-jobs" ,java-eclipse-core-jobs)
+       ("java-eclipse-core-resources" ,java-eclipse-core-resources)
+       ("java-eclipse-core-runtime" ,java-eclipse-core-runtime)
+       ("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-equinox-registry" ,java-eclipse-equinox-registry)
+       ("java-eclipse-equinox-preferences" ,java-eclipse-equinox-preferences)
+       ("java-eclipse-osgi" ,java-eclipse-osgi)))
+    (home-page "https://www.eclipse.org/platform")
+    (synopsis "Eclipse team support core")
+    (description "This package provides the Eclipse team support core module
+@code{org.eclipse.team.core}.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 24/31] gnu: Add java-eclipse-core-commands.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (21 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 23/31] gnu: Add java-eclipse-team-core Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 25/31] gnu: Add java-eclipse-text Ricardo Wurmus
                     ` (6 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-core-commands): New variable.
---
 gnu/packages/java.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index d8c10b5de..411f4916e 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2827,6 +2827,31 @@ module @code{org.eclipse.compare.core}.")
 @code{org.eclipse.team.core}.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-core-commands
+  (package
+    (name "java-eclipse-core-commands")
+    (version "3.8.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.core.commands/"
+                                  version "/org.eclipse.core.commands-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "0yjn482qndcfrsq3jd6vnhcylp16420f5aqkrwr8spsprjigjcr9"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-core-commands.jar"))
+    (inputs
+     `(("java-eclipse-equinox-common" ,java-eclipse-equinox-common)))
+    (home-page "https://www.eclipse.org/platform")
+    (synopsis "Eclipse core commands")
+    (description "This package provides Eclipse core commands in the module
+@code{org.eclipse.core.commands}.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 25/31] gnu: Add java-eclipse-text.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (22 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 24/31] gnu: Add java-eclipse-core-commands Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 26/31] gnu: Add java-eclipse-jdt-core Ricardo Wurmus
                     ` (5 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-text): New variable.
---
 gnu/packages/java.scm | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 411f4916e..00827d4e9 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2852,6 +2852,61 @@ module @code{org.eclipse.compare.core}.")
 @code{org.eclipse.core.commands}.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-text
+  (package
+    (name "java-eclipse-text")
+    (version "3.6.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/platform/org.eclipse.text/"
+                                  version "/org.eclipse.text-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "0scz70vzz5qs5caji9f5q01vkqnvip7dpri1q07l8wbbdcxn4cq1"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-text.jar"
+       #:phases
+       (modify-phases %standard-phases
+         ;; When creating a new category we must make sure that the new list
+         ;; matches List<Position>.  By default it seems to be too generic
+         ;; (ArrayList<Object>), so we specialize it to ArrayList<Position>.
+         ;; Without this we get this error:
+         ;;
+         ;; [javac] .../src/org/eclipse/jface/text/AbstractDocument.java:376:
+         ;;      error: method put in interface Map<K,V> cannot be applied to given types;
+         ;; [javac] 			fPositions.put(category, new ArrayList<>());
+         ;; [javac] 			          ^
+         ;; [javac]   required: String,List<Position>
+         ;; [javac]   found: String,ArrayList<Object>
+         ;; [javac]   reason: actual argument ArrayList<Object> cannot be converted
+         ;;              to List<Position> by method invocation conversion
+         ;; [javac]   where K,V are type-variables:
+         ;; [javac]     K extends Object declared in interface Map
+         ;; [javac]     V extends Object declared in interface Map
+         ;;
+         ;; I don't know if this is a good fix.  I suspect it is not, but it
+         ;; seems to work.
+         (add-after 'unpack 'fix-compilation-error
+           (lambda _
+             (substitute* "src/org/eclipse/jface/text/AbstractDocument.java"
+               (("Positions.put\\(category, new ArrayList<>\\(\\)\\);")
+                "Positions.put(category, new ArrayList<Position>());"))
+             #t)))))
+    (inputs
+     `(("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-core-commands" ,java-eclipse-core-commands)
+       ("java-icu4j" ,java-icu4j)))
+    (home-page "http://www.eclipse.org/platform")
+    (synopsis "Eclipse text library")
+    (description "Platform Text is part of the Platform UI project and
+provides the basic building blocks for text and text editors within Eclipse
+and contributes the Eclipse default text editor.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 26/31] gnu: Add java-eclipse-jdt-core.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (23 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 25/31] gnu: Add java-eclipse-text Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 27/31] gnu: Add java-log4j-api Ricardo Wurmus
                     ` (4 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-eclipse-jdt-core): New variable.
---
 gnu/packages/java.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 00827d4e9..639364f6d 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2907,6 +2907,41 @@ provides the basic building blocks for text and text editors within Eclipse
 and contributes the Eclipse default text editor.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-jdt-core
+  (package
+    (name "java-eclipse-jdt-core")
+    (version "3.12.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "org/eclipse/jdt/org.eclipse.jdt.core/"
+                                  version "/org.eclipse.jdt.core-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "191xw4lc7mjjkprh4ji5vnpjvr5r4zvbpwkriy4bvsjqrz35vh1j"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests included
+       #:jar-name "eclipse-jdt-core.jar"))
+    (inputs
+     `(("java-eclipse-core-contenttype" ,java-eclipse-core-contenttype)
+       ("java-eclipse-core-filesystem" ,java-eclipse-core-filesystem)
+       ("java-eclipse-core-jobs" ,java-eclipse-core-jobs)
+       ("java-eclipse-core-resources" ,java-eclipse-core-resources)
+       ("java-eclipse-core-runtime" ,java-eclipse-core-runtime)
+       ("java-eclipse-equinox-app" ,java-eclipse-equinox-app)
+       ("java-eclipse-equinox-common" ,java-eclipse-equinox-common)
+       ("java-eclipse-equinox-preferences" ,java-eclipse-equinox-preferences)
+       ("java-eclipse-equinox-registry" ,java-eclipse-equinox-registry)
+       ("java-eclipse-osgi" ,java-eclipse-osgi)
+       ("java-eclipse-text" ,java-eclipse-text)))
+    (home-page "https://www.eclipse.org/jdt")
+    (synopsis "Java development tools core libraries")
+    (description "This package provides the core libraries of the Eclipse Java
+development tools.")
+    (license license:epl1.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 27/31] gnu: Add java-log4j-api.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (24 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 26/31] gnu: Add java-eclipse-jdt-core Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 28/31] licenses: Add EDL 1.0 Ricardo Wurmus
                     ` (3 subsequent siblings)
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>

* gnu/packages/java.scm (java-log4j-api): New variable.
---
 gnu/packages/java.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 639364f6d..5247414ea 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2942,6 +2942,45 @@ and contributes the Eclipse default text editor.")
 development tools.")
     (license license:epl1.0)))
 
+(define-public java-log4j-api
+  (package
+    (name "java-log4j-api")
+    (version "2.4.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://apache/logging/log4j/" version
+                                  "/apache-log4j-" version "-src.tar.gz"))
+              (sha256
+               (base32
+                "0j5p9gik0jysh37nlrckqbky12isy95cpwg2gv5fas1rcdqbraxd"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; tests require unpackaged software
+       #:jar-name "log4j-api.jar"
+       #:make-flags
+       (list (string-append "-Ddist.dir=" (assoc-ref %outputs "out")
+                            "/share/java"))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'enter-dir
+           (lambda _ (chdir "log4j-api") #t))
+         ;; FIXME: The tests require additional software that has not been
+         ;; packaged yet, such as
+         ;; * org.apache.maven
+         ;; * org.apache.felix
+         (add-after 'enter-dir 'delete-tests
+           (lambda _ (delete-file-recursively "src/test") #t)))))
+    (inputs
+     `(("java-osgi-core" ,java-osgi-core)
+       ("java-hamcrest-core" ,java-hamcrest-core)
+       ("java-junit" ,java-junit)))
+    (home-page "http://logging.apache.org/log4j/2.x/")
+    (synopsis "API module of the Log4j logging framework for Java")
+    (description
+     "This package provides the API module of the Log4j logging framework for
+Java.")
+    (license license:asl2.0)))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 28/31] licenses: Add EDL 1.0.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (25 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 27/31] gnu: Add java-log4j-api Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-10  4:25     ` Leo Famulari
  2017-05-09 21:28   ` bug#26861: [PATCH 29/31] gnu: Add java-javax-mail Ricardo Wurmus
                     ` (2 subsequent siblings)
  29 siblings, 1 reply; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* guix/licenses.scm (edl1.0): New variable.
---
 guix/licenses.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/guix/licenses.scm b/guix/licenses.scm
index a95f89a7b..02ea596d1 100644
--- a/guix/licenses.scm
+++ b/guix/licenses.scm
@@ -43,6 +43,7 @@
             artistic2.0 clarified-artistic
             copyleft-next
             cpl1.0
+            edl1.0
             epl1.0
             expat
             freetype
@@ -231,6 +232,11 @@ at URI, which may be a file:// URI pointing the package's tree."
            "http://directory.fsf.org/wiki/License:CPLv1.0"
            "https://www.gnu.org/licenses/license-list#CommonPublicLicense10"))
 
+(define edl1.0
+  (license "EDL 1.0"
+           "http://directory.fsf.org/wiki/License:EDLv1.0"
+           "https://www.gnu.org/licenses/license-list#EDL"))
+
 (define epl1.0
   (license "EPL 1.0"
            "http://directory.fsf.org/wiki/License:EPLv1.0"
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 29/31] gnu: Add java-javax-mail.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (26 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 28/31] licenses: Add EDL 1.0 Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 30/31] gnu: Add jikes Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 31/31] gnu: Add classpath-minimal-0.93 Ricardo Wurmus
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

* gnu/packages/java.scm (java-javax-mail): New variable.
---
 gnu/packages/java.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 5247414ea..c0703ef6c 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2942,6 +2942,32 @@ and contributes the Eclipse default text editor.")
 development tools.")
     (license license:epl1.0)))
 
+(define-public java-javax-mail
+  (package
+    (name "java-javax-mail")
+    (version "1.5.6")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://repo1.maven.org/maven2/"
+                                  "com/sun/mail/javax.mail/"
+                                  version "/javax.mail-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "0sdlfgsc2b5s89xv1261y8i0jijcja019k2x1c8ngfn582w4jly9"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f ; no tests
+       #:jar-name "javax-mail.jar"))
+    (home-page "https://javamail.java.net")
+    (synopsis "Reference implementation of the JavaMail API")
+    (description
+     "This package provides versions of the JavaMail API implementation, IMAP,
+SMTP, and POP3 service providers, some examples, and documentation for the
+JavaMail API.")
+    ;; GPLv2 only with "classpath exception".
+    (license license:gpl2)))
+
 (define-public java-log4j-api
   (package
     (name "java-log4j-api")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 30/31] gnu: Add jikes.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (27 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 29/31] gnu: Add java-javax-mail Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-09 21:28   ` bug#26861: [PATCH 31/31] gnu: Add classpath-minimal-0.93 Ricardo Wurmus
  29 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>

* gnu/packages/java.scm (jikes): New variable.
---
 gnu/packages/java.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index c0703ef6c..fe73608a2 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -59,6 +59,25 @@
   #:use-module (srfi srfi-11)
   #:use-module (ice-9 match))
 
+(define-public jikes
+  (package
+    (name "jikes")
+    (version "1.22")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/jikes/Jikes/"
+                                  version "/jikes-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "1qqldrp74pzpy5ly421srqn30qppmm9cvjiqdngk8hf47dv2rc0c"))))
+    (build-system gnu-build-system)
+    (home-page "http://jikes.sourceforge.net/")
+    (synopsis "Compiler for the Java language")
+    (description "Jikes is a compiler that translates Java source files as
+defined in The Java Language Specification into the bytecoded instruction set
+and binary format defined in The Java Virtual Machine Specification.")
+    (license license:ibmpl1.0)))
+
 (define-public java-swt
   (package
     (name "java-swt")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 31/31] gnu: Add classpath-minimal-0.93.
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
                     ` (28 preceding siblings ...)
  2017-05-09 21:28   ` bug#26861: [PATCH 30/31] gnu: Add jikes Ricardo Wurmus
@ 2017-05-09 21:28   ` Ricardo Wurmus
  2017-05-10 13:32     ` Ricardo Wurmus
  29 siblings, 1 reply; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-09 21:28 UTC (permalink / raw)
  To: 26861; +Cc: Ricardo Wurmus

From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>

* gnu/packages/java.scm (classpath-minimal-0.93): New variable.
---
 gnu/packages/java.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index fe73608a2..447be65c9 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -78,6 +78,41 @@ defined in The Java Language Specification into the bytecoded instruction set
 and binary format defined in The Java Virtual Machine Specification.")
     (license license:ibmpl1.0)))
 
+;; This is the last version of GNU Classpath that does not require ecj.
+(define-public classpath-minimal-0.93
+  (package
+    (name "classpath-minimal")
+    (version "0.93")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnu/classpath/classpath-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0i99wf9xd3hw1sj2sazychb9prx8nadxh2clgvk3zlmb28v0jbfz"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       (list "--with-jikes"
+             "--disable-Werror"
+             "--disable-gmp"
+             "--disable-gtk-peer"
+             "--disable-jni"
+             "--disable-plugin"
+             "--disable-dssi"
+             "--disable-alsa"
+             "--disable-gjdoc")))
+    (native-inputs
+     `(("jikes" ,jikes)
+       ("fastjar" ,fastjar)))
+    (home-page "https://www.gnu.org/software/classpath/")
+    (synopsis "Essential libraries for Java")
+    (description " GNU Classpath is a project to create core class libraries
+for use with runtimes, compilers and tools for the Java programming
+language.")
+    ;; GPLv2 or later, with special linking exception.
+    (license license:gpl2+)))
+
 (define-public java-swt
   (package
     (name "java-swt")
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 28/31] licenses: Add EDL 1.0.
  2017-05-09 21:28   ` bug#26861: [PATCH 28/31] licenses: Add EDL 1.0 Ricardo Wurmus
@ 2017-05-10  4:25     ` Leo Famulari
  2017-05-10  5:32       ` Ricardo Wurmus
  0 siblings, 1 reply; 36+ messages in thread
From: Leo Famulari @ 2017-05-10  4:25 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 26861

On Tue, May 09, 2017 at 11:28:45PM +0200, Ricardo Wurmus wrote:
> * guix/licenses.scm (edl1.0): New variable.

> +(define edl1.0
> +  (license "EDL 1.0"
> +           "http://directory.fsf.org/wiki/License:EDLv1.0"
> +           "https://www.gnu.org/licenses/license-list#EDL"))

Neither of these pages say about about the EDL. Is that expected?

It seems similar to the 3-clause BSD license:

https://eclipse.org/org/documents/edl-v10.php

Eclipse Distribution License - v 1.0

Copyright (c) 2007, Eclipse Foundation, Inc. and its licensors.

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 the Eclipse Foundation, Inc. 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.

^ permalink raw reply	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 28/31] licenses: Add EDL 1.0.
  2017-05-10  4:25     ` Leo Famulari
@ 2017-05-10  5:32       ` Ricardo Wurmus
  0 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-10  5:32 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 26861


Leo Famulari <leo@famulari.name> writes:

> On Tue, May 09, 2017 at 11:28:45PM +0200, Ricardo Wurmus wrote:
>> * guix/licenses.scm (edl1.0): New variable.
>
>> +(define edl1.0
>> +  (license "EDL 1.0"
>> +           "http://directory.fsf.org/wiki/License:EDLv1.0"
>> +           "https://www.gnu.org/licenses/license-list#EDL"))
>
> Neither of these pages say about about the EDL. Is that expected?

Oh.  I should have checked this old commit before sending it…

> It seems similar to the 3-clause BSD license:
>
> https://eclipse.org/org/documents/edl-v10.php

I’ll change the URL in the license object to this one.  Thanks!

> Eclipse Distribution License - v 1.0
>
> Copyright (c) 2007, Eclipse Foundation, Inc. and its licensors.
>
> 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 the Eclipse Foundation, Inc. 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.

Yes, it does sound like BSD-3.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 31/31] gnu: Add classpath-minimal-0.93.
  2017-05-09 21:28   ` bug#26861: [PATCH 31/31] gnu: Add classpath-minimal-0.93 Ricardo Wurmus
@ 2017-05-10 13:32     ` Ricardo Wurmus
  0 siblings, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-10 13:32 UTC (permalink / raw)
  To: 26861


Ricardo Wurmus <rekado@elephly.net> writes:

> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
>
> * gnu/packages/java.scm (classpath-minimal-0.93): New variable.
> ---

I just realised that this is an early version of this patch.  It is not
a good idea to disable JNI, because this will make it impossible to
build a JVM.

Attached is the current version of this patch.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net


commit 0ac918e744b7f62536123f29dca4b67d82ad7558
Author: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date:   Mon May 8 16:53:37 2017 +0200

    gnu: Add classpath-minimal-0.93.
    
    * gnu/packages/java.scm (classpath-minimal-0.93): New variable.

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index fe73608a2..c508887d1 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -78,6 +78,44 @@ defined in The Java Language Specification into the bytecoded instruction set
 and binary format defined in The Java Virtual Machine Specification.")
     (license license:ibmpl1.0)))
 
+;; This is the last version of GNU Classpath that does not require ecj.
+(define-public classpath-minimal-0.93
+  (package
+    (name "classpath-minimal")
+    (version "0.93")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnu/classpath/classpath-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0i99wf9xd3hw1sj2sazychb9prx8nadxh2clgvk3zlmb28v0jbfz"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       (list "--with-jikes"
+             "--disable-Werror"
+             "--disable-gmp"
+             "--disable-gtk-peer"
+             "--disable-plugin"
+             "--disable-dssi"
+             "--disable-alsa"
+             "--disable-gjdoc")))
+    (inputs
+     `(("gconf" ,gconf)
+       ("gtk+" ,gtk+-2)))
+    (native-inputs
+     `(("jikes" ,jikes)
+       ("fastjar" ,fastjar)
+       ("pkg-config" ,pkg-config)))
+    (home-page "https://www.gnu.org/software/classpath/")
+    (synopsis "Essential libraries for Java")
+    (description " GNU Classpath is a project to create core class libraries
+for use with runtimes, compilers and tools for the Java programming
+language.")
+    ;; GPLv2 or later, with special linking exception.
+    (license license:gpl2+)))
+
 (define-public java-swt
   (package
     (name "java-swt")

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* bug#26861: [PATCH 00/31] Even more Java things
  2017-05-09 21:07 bug#26861: [PATCH 00/31] Even more Java things Ricardo Wurmus
  2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
@ 2017-05-15 20:32 ` Ricardo Wurmus
  1 sibling, 0 replies; 36+ messages in thread
From: Ricardo Wurmus @ 2017-05-15 20:32 UTC (permalink / raw)
  To: 26861-done


> Ricardo Wurmus (31):
>   gnu: Add libusb4java.
>   gnu: Add java-usb4java.
>   gnu: Add java-rsyntaxtextarea.
>   gnu: Add java-simple-xml.
>   gnu: Add java-osgi-annotation.
>   gnu: Add java-osgi-core.
>   gnu: Add java-eclipse-osgi.
>   gnu: Add java-eclipse-equinox-common.
>   gnu: Add java-osgi-service-event.
>   gnu: Add java-eclipse-core-jobs.
>   gnu: Add java-eclipse-equinox-registry.
>   gnu: Add java-eclipse-equinox-app.
>   gnu: Add java-eclipse-equinox-preferences.
>   gnu: Add java-eclipse-core-contenttype.
>   gnu: Add java-eclipse-core-runtime.
>   gnu: Add java-eclipse-core-filesystem.
>   gnu: Add java-eclipse-core-expressions.
>   gnu: Add java-eclipse-core-variables.
>   gnu: Add java-eclipse-ant-core.
>   gnu: Add java-eclipse-core-resources.
>   gnu: Add java-icu4j.
>   gnu: Add java-eclipse-compare-core.
>   gnu: Add java-eclipse-team-core.
>   gnu: Add java-eclipse-core-commands.
>   gnu: Add java-eclipse-text.
>   gnu: Add java-eclipse-jdt-core.
>   gnu: Add java-log4j-api.
>   licenses: Add EDL 1.0.
>   gnu: Add java-javax-mail.

I have pushed all of these patches.

>   gnu: Add jikes.
>   gnu: Add classpath-minimal-0.93.

I have not pushed these.  For the new Java bootstrap I’ll submit a new
patch set.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2017-05-15 20:33 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-09 21:07 bug#26861: [PATCH 00/31] Even more Java things Ricardo Wurmus
2017-05-09 21:28 ` bug#26861: [PATCH 01/31] gnu: Add libusb4java Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 02/31] gnu: Add java-usb4java Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 03/31] gnu: Add java-rsyntaxtextarea Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 04/31] gnu: Add java-simple-xml Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 05/31] gnu: Add java-osgi-annotation Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 06/31] gnu: Add java-osgi-core Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 07/31] gnu: Add java-eclipse-osgi Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 08/31] gnu: Add java-eclipse-equinox-common Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 09/31] gnu: Add java-osgi-service-event Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 10/31] gnu: Add java-eclipse-core-jobs Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 11/31] gnu: Add java-eclipse-equinox-registry Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 12/31] gnu: Add java-eclipse-equinox-app Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 13/31] gnu: Add java-eclipse-equinox-preferences Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 14/31] gnu: Add java-eclipse-core-contenttype Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 15/31] gnu: Add java-eclipse-core-runtime Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 16/31] gnu: Add java-eclipse-core-filesystem Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 17/31] gnu: Add java-eclipse-core-expressions Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 18/31] gnu: Add java-eclipse-core-variables Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 19/31] gnu: Add java-eclipse-ant-core Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 20/31] gnu: Add java-eclipse-core-resources Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 21/31] gnu: Add java-icu4j Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 22/31] gnu: Add java-eclipse-compare-core Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 23/31] gnu: Add java-eclipse-team-core Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 24/31] gnu: Add java-eclipse-core-commands Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 25/31] gnu: Add java-eclipse-text Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 26/31] gnu: Add java-eclipse-jdt-core Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 27/31] gnu: Add java-log4j-api Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 28/31] licenses: Add EDL 1.0 Ricardo Wurmus
2017-05-10  4:25     ` Leo Famulari
2017-05-10  5:32       ` Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 29/31] gnu: Add java-javax-mail Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 30/31] gnu: Add jikes Ricardo Wurmus
2017-05-09 21:28   ` bug#26861: [PATCH 31/31] gnu: Add classpath-minimal-0.93 Ricardo Wurmus
2017-05-10 13:32     ` Ricardo Wurmus
2017-05-15 20:32 ` bug#26861: [PATCH 00/31] Even more Java things Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).