[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#35545] [PATCH 08/17] gnu: Add java-openjfx-base.
From: |
Julien Lepiller |
Subject: |
[bug#35545] [PATCH 08/17] gnu: Add java-openjfx-base. |
Date: |
Fri, 3 May 2019 15:01:25 +0200 |
* 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
[bug#35545] [PATCH 07/17] gnu: Add java-openjfx-build., Julien Lepiller, 2019/05/03
[bug#35545] [PATCH 07/17] gnu: Add java-openjfx-build., Björn Höfling, 2019/05/05
[bug#35545] [PATCH 09/17] gnu: Add java-openjfx-graphics., Julien Lepiller, 2019/05/03