me
/
guix
Archived
1
0
Fork 0

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
master
Julien Lepiller 2023-11-09 19:49:18 +01:00
parent 406e46a159
commit a640ce3fb2
No known key found for this signature in database
GPG Key ID: 53D457B2D636EE82
1 changed files with 3 additions and 1 deletions

View File

@ -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.