From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBIlt-0001Vo-U3 for guix-patches@gnu.org; Thu, 18 May 2017 06:35:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBIlq-00055k-RN for guix-patches@gnu.org; Thu, 18 May 2017 06:35:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49303) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dBIlq-00055g-ON for guix-patches@gnu.org; Thu, 18 May 2017 06:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dBIlq-0006i0-J0 for guix-patches@gnu.org; Thu, 18 May 2017 06:35:02 -0400 Subject: bug#26966: [PATCH 03/22] gnu: Add sablevm. Resent-Message-ID: References: <20170517171905.7840-1-rekado@elephly.net> <20170517171905.7840-3-rekado@elephly.net> From: Roel Janssen In-reply-to: <20170517171905.7840-3-rekado@elephly.net> Date: Thu, 18 May 2017 12:34:41 +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: 26966@debbugs.gnu.org Ricardo Wurmus writes: > * gnu/packages/java.scm (sablevm): New variable. > --- > gnu/packages/java.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 45 insertions(+) > > diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm > index 0dc90f03a..d1efc3c4c 100644 > --- a/gnu/packages/java.scm > +++ b/gnu/packages/java.scm > @@ -141,6 +141,51 @@ etc.). SableVM is no longer maintained. > This package provides the classpath library.") > (license license:lgpl2.1+))) > > +(define sablevm > + (package > + (name "sablevm") > + (version "1.13") > + (source (origin > + (method url-fetch) > + (uri (string-append "mirror://sourceforge/sablevm/sablevm/" > + version "/sablevm-" version ".tar.gz")) > + (sha256 > + (base32 > + "1jyg4bsym6igz94wps5443c7wiwlzinqzkchcw972nz4kf1cql6g")))) > + (build-system gnu-build-system) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'patch-path-to-classpath > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* "Makefile.in" > + (("@datadir@/sablevm-classpath") > + (string-append (assoc-ref inputs "classpath") > + "/share/sablevm-classpath"))) > + (substitute* "src/libsablevm/Makefile.in" > + (("\\$\\(libdir\\)/sablevm-classpath") > + (string-append (assoc-ref inputs "classpath") > + "/lib/sablevm-classpath")) > + (("\\$\\(datadir\\)/sablevm-classpath") > + (string-append (assoc-ref inputs "classpath") > + "/share/sablevm-classpath"))) > + #t))))) > + (inputs > + `(("classpath" ,sablevm-classpath) > + ("jikes" ,jikes) > + ("zlib" ,zlib))) > + (native-inputs > + `(("libltdl" ,libltdl))) > + (home-page "http://sablevm.org/") > + (synopsis "Java Virtual Machine") > + (description "SableVM is a clean-room, highly portable and efficient Java > +virtual machine. Its goals are to be reasonably small, fast, and compliant > +with the various specifications (JVM specification, JNI, invocation interface, > +etc.). SableVM is no longer maintained. > + > +This package provides the virtual machine.") > + (license license:lgpl2.1+))) > + > (define-public java-swt > (package > (name "java-swt") It seems this project is no longer "actively" maintained either. Nevertheless, the patch is LGTM! Kind regards, Roel Janssen