From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:56431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMXpH-0006Ws-1O for guix-patches@gnu.org; Fri, 03 May 2019 09:02:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMXpF-0000hg-R2 for guix-patches@gnu.org; Fri, 03 May 2019 09:02:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34527) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMXpF-0000hD-Ne for guix-patches@gnu.org; Fri, 03 May 2019 09:02:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hMXpF-0005tX-Jx for guix-patches@gnu.org; Fri, 03 May 2019 09:02:05 -0400 Subject: [bug#35545] [PATCH 07/17] gnu: Add java-openjfx-build. Resent-Message-ID: From: Julien Lepiller Date: Fri, 3 May 2019 15:01:24 +0200 Message-Id: <20190503130134.24788-7-julien@lepiller.eu> In-Reply-To: <20190503130134.24788-1-julien@lepiller.eu> References: <20190503145820.606f37db@sybil.lepiller.eu> <20190503130134.24788-1-julien@lepiller.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 35545@debbugs.gnu.org * gnu/packages/java.scm (java-openjfx-build): New variable. --- gnu/packages/java.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index b203856e2f..65d2baef21 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -2216,6 +2216,47 @@ new Date();")) `(("java-junit" ,java-junit) ,@(package-inputs ant/java8))))) +(define-public java-openjfx-build + (package + (name "java-openjfx-build") + ;; This is a java-8 version + (version "8.202") + (source (origin + (method url-fetch) + (uri (string-append "http://hg.openjdk.java.net/openjfx/8u-dev/rt" + "/archive/85d09981ae0d.tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "038yg2c9swmckw5ch8cvzxf5hw0fdvxa3wljnw5yhbhqgvawpz3a")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "java-openjfx.jar" + #:source-dir "buildSrc/src/main/java" + #:test-dir "buildSrc/src/test" + #:phases + (modify-phases %standard-phases + (add-before 'configure 'generate-jsl-parser + (lambda _ + (invoke "antlr3" "-o" + "buildSrc/src/main/java/com/sun/scenario/effect/compiler" + "buildSrc/src/main/antlr/JSL.g")))))) + (inputs + `(("antlr3" ,antlr3) + ("java-stringtemplate" ,java-stringtemplate))) + (native-inputs + `(("java-junit" ,java-junit) + ("java-hamcrest-core" ,java-hamcrest-core))) + (home-page "https://openjfx.io") + (synopsis "Graphical application toolkit in Java") + (description "OpenJFX is a free, next generation client application +platform for desktop, mobile and embedded systems built on Java. Its goal +is to produce a modern, efficient, and fully featured toolkit for developing +rich client applications. This package contains base classes for the +OpenJFX distribution and helper classes for building other parts of the +distribution.") + (license license:gpl2)));with classpath exception + (define-public javacc-4 (package (name "javacc") -- 2.21.0