From patchwork Fri May 3 13:01:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 13847 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B05B916F8F; Fri, 3 May 2019 14:03:56 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 2F51616F8D for ; Fri, 3 May 2019 14:03:56 +0100 (BST) Received: from localhost ([127.0.0.1]:40492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMXr1-0008CG-Ng for patchwork@mira.cbaines.net; Fri, 03 May 2019 09:03:55 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#35545] [PATCH 07/17] gnu: Add java-openjfx-build. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 May 2019 13:02:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35545 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35545@debbugs.gnu.org Received: via spool by 35545-submit@debbugs.gnu.org id=B35545.155688850922533 (code B ref 35545); Fri, 03 May 2019 13:02:05 +0000 Received: (at 35545) by debbugs.gnu.org; 3 May 2019 13:01:49 +0000 Received: from localhost ([127.0.0.1]:48045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMXoy-0005r6-E8 for submit@debbugs.gnu.org; Fri, 03 May 2019 09:01:48 -0400 Received: from lepiller.eu ([89.234.186.109]:60756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMXov-0005pL-Fl for 35545@debbugs.gnu.org; Fri, 03 May 2019 09:01:46 -0400 Received: from localhost.localdomain (89-92-10-229.hfc.dyn.abo.bbox.fr [89.92.10.229]) by lepiller.eu (OpenSMTPD) with ESMTPSA id 3edbbe60 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <35545@debbugs.gnu.org>; Fri, 3 May 2019 13:01:40 +0000 (UTC) From: Julien Lepiller Date: Fri, 3 May 2019 15:01:24 +0200 Message-Id: <20190503130134.24788-7-julien@lepiller.eu> X-Mailer: git-send-email 2.21.0 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")