guix-patches
[Top][All Lists]
Advanced

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

bug#26861: [PATCH 31/31] gnu: Add classpath-minimal-0.93.


From: Ricardo Wurmus
Subject: bug#26861: [PATCH 31/31] gnu: Add classpath-minimal-0.93.
Date: Wed, 10 May 2017 15:32:57 +0200
User-agent: mu4e 0.9.18; emacs 25.2.1

Ricardo Wurmus <address@hidden> writes:

> From: Ricardo Wurmus <address@hidden>
>
> * 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 <address@hidden>
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")






reply via email to

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