summaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2023-11-09 19:49:18 +0100
committerJulien Lepiller <julien@lepiller.eu>2023-12-02 19:07:51 +0100
commita640ce3fb20472c6aecc32b07fbb297298a5de7d (patch)
treea872ab59318d4ea22f49363f8aae36f528554405 /gnu/packages/java.scm
parent406e46a15965bcb9e68e7c0bf09f14b9c72c6498 (diff)
gnu: java-openjfx-graphics: Make java-swt optional.
It is used for an optional part of openjfx and not used by current packages in Guix. Swt has a reference to a library in the JDK and has a huge closure size because of that. This reduces closure by 1GB for this package and dependents (including josm). * gnu/packages/java.scm (java-openjfx-graphics)[native-inputs]: Move java-swt... [inputs]: ...to here. Change-Id: I7d8cb14569d5a9f451944695225a2dff143bf190
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index eded386a03..d73550c042 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2311,7 +2311,9 @@ distribution.")))
(string-append target new-name))))
(find-files "netbeans" "\\.so$"))))))))
(propagated-inputs
- (list java-openjfx-base java-swt))
+ (list java-openjfx-base))
+ (inputs
+ (list java-swt))
;; XXX: for unknown reasons
;; modules/graphics/src/main/native-prism-sw/JNativeSurface.c is missing
;; in this revision.