From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:56439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMXpH-0006Xg-Cu 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 1hMXpG-0000i5-Dr for guix-patches@gnu.org; Fri, 03 May 2019 09:02:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34528) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMXpG-0000i0-AA for guix-patches@gnu.org; Fri, 03 May 2019 09:02:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hMXpG-0005te-5E for guix-patches@gnu.org; Fri, 03 May 2019 09:02:06 -0400 Subject: [bug#35545] [PATCH 08/17] gnu: Add java-openjfx-base. Resent-Message-ID: From: Julien Lepiller Date: Fri, 3 May 2019 15:01:25 +0200 Message-Id: <20190503130134.24788-8-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-base): New variable. --- gnu/packages/java.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 65d2baef21..9d2019ddc5 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -2257,6 +2257,37 @@ OpenJFX distribution and helper classes for building other parts of the distribution.") (license license:gpl2)));with classpath exception +(define-public java-openjfx-base + (package (inherit java-openjfx-build) + (name "java-openjfx-base") + (arguments + `(#:jar-name "java-openjfx-base.jar" + #:source-dir "modules/base/src/main/java:modules/base/src/main/java8:modules/base/src/main/version-info" + #:test-dir "modules/base/src/test" + #:phases + (modify-phases %standard-phases + (add-before 'check 'remove-empty-file + (lambda _ + (with-directory-excursion "modules/base/src/test/java" + ;; These files are completely commented, but junit expects them to + ;; contain a class, so tests fail. + (delete-file + "com/sun/javafx/property/adapter/PropertyDescriptorTest.java") + (delete-file + "com/sun/javafx/property/adapter/ReadOnlyPropertyDescriptorTest.java") + (delete-file "javafx/beans/property/PropertiesTest.java") + (delete-file + "javafx/beans/property/adapter/ReadOnlyJavaBeanPropertyBuilder_General_Test.java") + ;; This one fails + (delete-file "com/sun/javafx/runtime/VersionInfoTest.java"))))))) + (propagated-inputs + `(("java-openjfx-build" ,java-openjfx-build))) + (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."))) + (define-public javacc-4 (package (name "javacc") -- 2.21.0