guix-patches
[Top][All Lists]
Advanced

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

bug#26966: [PATCH 03/22] gnu: Add sablevm.


From: Roel Janssen
Subject: bug#26966: [PATCH 03/22] gnu: Add sablevm.
Date: Thu, 18 May 2017 12:34:41 +0200
User-agent: mu4e 0.9.18; emacs 25.2.1

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





reply via email to

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