From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBHi7-0001HD-FQ for guix-patches@gnu.org; Thu, 18 May 2017 05:27:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBHi2-0000T8-EK for guix-patches@gnu.org; Thu, 18 May 2017 05:27:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49219) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dBHi2-0000T3-Bk for guix-patches@gnu.org; Thu, 18 May 2017 05:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dBHi2-0003uv-6J for guix-patches@gnu.org; Thu, 18 May 2017 05:27:02 -0400 Subject: bug#26966: [PATCH 01/22] gnu: Add jikes. Resent-Message-ID: References: <87y3tvqupw.fsf@elephly.net> <20170517171905.7840-1-rekado@elephly.net> From: Roel Janssen In-reply-to: <20170517171905.7840-1-rekado@elephly.net> Date: Thu, 18 May 2017 11:25:54 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: Ricardo Wurmus , 26966@debbugs.gnu.org Ricardo Wurmus writes: > From: Ricardo Wurmus > > * gnu/packages/java.scm (jikes): New variable. > --- > gnu/packages/java.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) > > diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm > index 188ca7e97..c0f3e7784 100644 > --- a/gnu/packages/java.scm > +++ b/gnu/packages/java.scm > @@ -60,6 +60,48 @@ > #:use-module (srfi srfi-11) > #:use-module (ice-9 match)) > > + > +;;; > +;;; Java bootstrap toolchain. > +;;; > + > +;; The Java bootstrap begins with Jikes, a Java compiler. We use it to build > +;; the SableVM standard library and virtual machine. This is sufficient to > +;; build an older version of Ant, which is needed to build an older version of > +;; ECJ, an incremental Java compiler. > +;; > +;; ECJ is needed to build the latest release of GNU Classpath (0.99). > +;; Classpath (> 0.98) is a requirement for JamVM, a more modern implementation > +;; of the Java virtual machine. > +;; > +;; With JamVM we can build the latest development version of GNU Classpath, > +;; which has much more support for Java 1.6 than the latest release. Since > +;; the previous build of JamVM is limited by the use of GNU Classpath 0.99 we > +;; rebuild it with the latest development version of GNU Classpath. > +;; > +;; Finally, we use the bootstrap toolchain to build the OpenJDK with the > +;; Icedtea 1.x build framework. We then build the more recent JDKs Icedtea > +;; 2.x and Icedtea 3.x. > + > +(define 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") I had expected a much larger patch. ;) LGTM! Kind regards, Roel Janssen