guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/11: gnu: Remove jamvm-bootstrap.


From: Ricardo Wurmus
Subject: 08/11: gnu: Remove jamvm-bootstrap.
Date: Sun, 25 Mar 2018 15:42:40 -0400 (EDT)

rekado pushed a commit to branch rhel6
in repository guix.

commit 9c6273652b6b486a0bc4d42f67d24ad07962c7c4
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Mar 25 21:14:06 2018 +0200

    gnu: Remove jamvm-bootstrap.
    
    * gnu/packages/java.scm (jamvm-bootstrap): Remove variable.
    (classpath-devel)[native-inputs]: Use "jamvm-1-bootstrap" instead of
    "jamvm-bootstrap".
    (jamvm): Inherit from jamvm-1-bootstrap.
---
 gnu/packages/java.scm | 49 +++++++++++++++++--------------------------------
 1 file changed, 17 insertions(+), 32 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index c78ab81..6f6398b 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -544,35 +544,6 @@ the standard javac executable.")))
        ("libltdl" ,libltdl)
        ("pkg-config" ,pkg-config)))))
 
-(define jamvm-bootstrap
-  (package
-    (name "jamvm")
-    (version "2.0.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "mirror://sourceforge/jamvm/jamvm/"
-                                  "JamVM%20" version "/jamvm-"
-                                  version ".tar.gz"))
-              (sha256
-               (base32
-                "1nl0zxz8y5x8gwsrm7n32bry4dx8x70p8z3s9jbdvs8avyb8whkn"))))
-    (build-system gnu-build-system)
-    (arguments
-     `(#:configure-flags
-       (list (string-append "--with-classpath-install-dir="
-                            (assoc-ref %build-inputs "classpath")))))
-    (inputs
-     `(("classpath" ,classpath-on-sablevm)
-       ("ecj-javac-wrapper" ,ecj-javac-wrapper)
-       ("zlib" ,zlib)))
-    (home-page "http://jamvm.sourceforge.net/";)
-    (synopsis "Small Java Virtual Machine")
-    (description "JamVM is a Java Virtual Machine conforming to the JVM
-specification edition 2 (blue book).  It is extremely small.  However, unlike
-other small VMs it supports the full spec, including object finalisation and
-JNI.")
-    (license license:gpl2+)))
-
 ;; We need this because the tools provided by the latest release of GNU
 ;; Classpath don't actually work with sablevm.
 (define classpath-jamvm-wrappers
@@ -769,12 +740,26 @@ the standard javac executable.  The tool runs on JamVM 
instead of SableVM.")))
          ("ecj-bootstrap" ,ecj-bootstrap)
          ("ecj-javac-wrapper" ,ecj-javac-on-jamvm-wrapper)
          ("fastjar" ,fastjar)
-         ("jamvm" ,jamvm-bootstrap)
+         ("jamvm" ,jamvm-1-bootstrap)
          ("libltdl" ,libltdl)
          ("pkg-config" ,pkg-config))))))
 
-(define-public jamvm
-  (package (inherit jamvm-bootstrap)
+(define jamvm
+  (package (inherit jamvm-1-bootstrap)
+    (version "2.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/jamvm/jamvm/"
+                                  "JamVM%20" version "/jamvm-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "1nl0zxz8y5x8gwsrm7n32bry4dx8x70p8z3s9jbdvs8avyb8whkn"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       (list (string-append "--with-classpath-install-dir="
+                            (assoc-ref %build-inputs "classpath")))))
     (inputs
      `(("classpath" ,classpath-devel)
        ("ecj-javac-wrapper" ,ecj-javac-on-jamvm-wrapper)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]