From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:57735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMZu0-0001rf-4W for guix-patches@gnu.org; Fri, 03 May 2019 11:15:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMZty-0003gN-5m for guix-patches@gnu.org; Fri, 03 May 2019 11:15:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35778) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMZtu-0003Y6-IK for guix-patches@gnu.org; Fri, 03 May 2019 11:15:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hMZtu-0002yb-B1 for guix-patches@gnu.org; Fri, 03 May 2019 11:15:02 -0400 Subject: [bug#35545] [PATCH 07/17] gnu: Add java-openjfx-build. Resent-Message-ID: From: Nicolas Goaziou References: <20190503145820.606f37db@sybil.lepiller.eu> <20190503130134.24788-1-julien@lepiller.eu> <20190503130134.24788-7-julien@lepiller.eu> Date: Fri, 03 May 2019 17:14:32 +0200 In-Reply-To: <20190503130134.24788-7-julien@lepiller.eu> (Julien Lepiller's message of "Fri, 3 May 2019 15:01:24 +0200") Message-ID: <87woj7vacn.fsf@nicolasgoaziou.fr> 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: Julien Lepiller Cc: 35545@debbugs.gnu.org Hello, Julien Lepiller writes: Thank you! > +(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 "free" can be removed in Guix. Also, "next generation" can be skipped: "OpenJFX is a client application platform..." Ditto for other inherited packages. Regards, -- Nicolas Goaziou