me
/
guix
Archived
1
0
Fork 0
Commit Graph

1062 Commits (d11b96eb5493231a5a35045505ff8ae8aa746b8e)

Author SHA1 Message Date
Remco van 't Veer 6dfc83ca34
gnu: Update openjdk variable to openjdk21.
* gnu/packages/java.scm (openjdk): Update to openjdk21.

Change-Id: I132dcb6722f604cfe42fdfbc81066d614d4519b9
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-06-24 08:51:43 -04:00
Karl Hallsby 3e19432416
gnu: tla2tools: Add UseParallelGC to Java command in wrapper scripts.
* gnu/packages/java.scm: Add -XX:+UseParallelGC to generated wrapper scripts
for TLA+'s binary tools.

TLA+'s tools request (and throw a warning message) when you invoke them
without Java's parallel GC flag. Including this flag removes the warning
message and should improve performance (theoretically).

Change-Id: I12f7432db21db31ae2b0b30cc7f41f4a6af58b0a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-31 13:55:43 +02:00
Efraim Flashner d1feac0049
gnu: java-jctools-core-1: Skip tests on aarch64-linux.
* gnu/packages/java.scm (java-jctools-core-1)[arguments]: When building
on aarch64-linux skip the tests.

Change-Id: I83a40b5eb352be48b9083aa57dd10e87b525c7be
2024-05-15 15:42:42 +03:00
Efraim Flashner 1987243ad2
gnu: java-swt: Update source URI.
* gnu/packages/java.scm (java-swt)[source]: Update to new source
location.

Change-Id: Iba0ba8143192b4388d498e768ff923b7f31bfc0e
2024-05-15 15:42:42 +03:00
Efraim Flashner 884cf293f5
gnu: java-swt: Fix build on some systems.
* gnu/packages/java.scm (java-swt)[arguments]: Adjust the custom
'build-native phase to set the C compiler.

Change-Id: Ie961ea91e5cd2ce9fc7b2228e08d082a5a1cfe06
2024-05-15 15:42:42 +03:00
Danny Milosavljevic 259372b7a9
gnu: jbr: Update to 17.0.10b1207.6.
* gnu/packages/java.scm (jbr): Update to 17.0.10b1207.6.

Change-Id: Iefcc3cb8cae593b5659a646314fe846cc509c666
2024-04-25 23:14:03 +02:00
Danny Milosavljevic 57a5a91596
gnu: jbr: Update to 21.0.2b397.7.
* gnu/packages/java.scm (jbr): Update to 21.0.2b397.7.

Change-Id: Ie32e4aa7fcdbfb2c3deead80a85b5ae55c3891dd
2024-04-25 23:09:26 +02:00
Ricardo Wurmus f0268853de
gnu: java-easymock-class-extension: Use java-asm-8.
This is necessary to avoid invalid instructions coming from the incompatible
build of java-asm.

* gnu/packages/java.scm (java-easymock-class-extension)[inputs]: Replace
java-asm with java-asm-8.

Change-Id: Iff11a54fe62ba71a6d5e62fe80c08b1539c6cee0
2024-04-22 11:29:31 +02:00
Julien Lepiller 92af4ea17f
gnu: java-powermock-reflect: Update to 2.0.9.
* gnu/packages/java.scm (java-powermock-reflect): Update to 2.0.9.
[source]: Use git source.
(java-powermock-reflect, java-powermock-core, java-powermock-api-support)
(java-powermock-junit4-common, java-powermock-junit4)
(java-powermock-api-easymock): Update inputs and use new style.
* gnu/packages/patches/java-powermock-fix-java-files.patch: Update
  patch.

Change-Id: I856e5f923b094b9fcfa78f5f1d6ca2e4c2af41a7
2024-04-20 18:34:41 +02:00
Julien Lepiller bb3a631f24
gnu: Add java-byte-buddy-dep.
* gnu/packages/java.scm (java-byte-buddy-dep): New variable.

Change-Id: I7907fffe783d6edec65d8b0c496b6e16db53c24d
2024-04-20 18:34:37 +02:00
Julien Lepiller 12c7f5299b
gnu: Add java-asm-commons-9.
* gnu/packages/java.scm (java-asm-commons-9): New variable.

Change-Id: Ie289193efd14957d3cbba437cc1a129665c59bfa
2024-04-20 18:34:31 +02:00
Julien Lepiller 0336ffb49a
gnu: Add java-asm-util-9.
* gnu/packages/java.scm (java-asm-util-9): New variable.

Change-Id: I41eaa0c7d74d0aee569e8b6b80ec9fee876a1af1
2024-04-20 18:33:03 +02:00
Julien Lepiller 8318deb555
gnu: Add java-asm-analysis-9.
* gnu/packages/java.scm (java-asm-analysis-9): New variable.

Change-Id: I11d959b9cf3116a0614689ba24dbfd1b746a3b6f
2024-04-20 18:32:57 +02:00
Julien Lepiller 7634bfca4a
gnu: Add java-asm-tree-9.
* gnu/packages/java.scm (java-asm-tree-9): New variable.

Change-Id: I6fd32ee00de8488ff980bccd079636abe09ea773
2024-04-20 18:32:48 +02:00
Julien Lepiller 4ba0614677
gnu: Add java-asm-9.
* gnu/packages/java.scm (java-asm-9): New variable.

Change-Id: Ib54e81dc4d55909541851abca34fabde631c8c55
2024-04-20 18:32:39 +02:00
Julien Lepiller 7ce7464934
gnu: java-guava: Update to 31.1.
* gnu/packages/patches/java-guava-remove-annotation-deps.patch: New
  file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/java.scm (java-guava): Update to 31.1.
[source]: Use patch.
(java-guava-futures-failureaccess): New variable.
* gnu/packages/bioinformatics.scm (java-picard, java-picard-2.10.3): Fix for
  newer guava.
* gnu/packages/maven.scm (maven): Add java-guava-futures-failureaccess.

Change-Id: Id2553c48e11c6001fb45a0589720cef1551804d9
2024-04-20 18:31:34 +02:00
Julien Lepiller f1ed3d4699
gnu: java-cglib: Update to 3.3.0.
cglib now requires asm-8 at runtime, so propagate it and do not use
asm-6 in dependents.

* gnu/packages/java.scm (java-cglib): Update to 3.3.0.
(java-plexus-component-metadata-1.7, java-easymock, java-jmock)
(java-jmock-legacy, java-jmock-junit4, java-ops4j-pax-exam-core-spi)
(java-guice, java-fest-assert, java-testng, java-lmax-disruptor)
(java-powermock-reflect, java-powermock-modules-junit4)
(java-kafka-clients, java-jline-2, java-xmlunit, java-eclipse-sisu-plexus)
(java-logback-core): Remove `java-asm` from inputs or native-inputs.
(java-httpcomponents-httpclient-cache)
(java-httpcomponents-httpclient-osgi): Disable tests.
* gnu/packages/batik.scm (java-xmlgraphics-commons): Remove `java-asm`
  from inputs or native inputs.
* gnu/packages/maven.scm (maven-resolver-transport-file)
(maven-resolver-transport-http, maven-model, maven-repository-metadata)
(maven-compat): Remove `java-asm` from inputs or native-inputs.

Change-Id: I92a939e7522d92b185715d7935aabed5ddb77451
2024-04-20 18:31:29 +02:00
Julien Lepiller 415a4d0115
gnu: Add java-error-prone-annotations.
* gnu/packages/java.scm (java-error-prone-annotations): New variable.

Change-Id: I42b79a7c338f8866617b474cb39bc2ea75160d4a
2024-04-20 18:31:15 +02:00
Julien Lepiller def5129341
gnu: java-bsh: Update to 2.1.1.
* gnu/packages/java.scm (java-bsh): Update to 2.1.1.

Change-Id: I70fd1e5ed63195cb8feb9fe14bd7331d34d6da4f
2024-04-20 18:30:56 +02:00
Julien Lepiller c5fd96a0cd
gnu: java-objenesis: Update to 3.3.
* gnu/packages/java.scm (java-objenesis): Update to 3.3.

Change-Id: I2739d203cace8e7a14396c7a78531b1eb2222251
2024-04-20 18:30:35 +02:00
Greg Hogan b5bd0d3a7e
gnu: openjdk21: Update to 21.0.2.
* gnu/packages/java.scm (openjdk21): Update to 21.0.2.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-14 13:27:14 +00:00
Greg Hogan 37073f9dd2
gnu: openjdk20: Update to 20.0.2.
* gnu/packages/java.scm (openjdk20): Update to 20.0.2.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-14 13:27:13 +00:00
Greg Hogan 289666a09c
gnu: openjdk18: Update to 18.0.2.1.
* gnu/packages/java.scm (openjdk18): Update to 18.0.2.1.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-14 13:27:13 +00:00
Greg Hogan b844b81dce
gnu: openjdk17: Update to 17.0.10.
* gnu/packages/java.scm (openjdk17): Update to 17.0.10.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-14 13:27:13 +00:00
Greg Hogan 62c7f9947e
gnu: openjdk15: Update to 15.0.10.
* gnu/packages/java.scm (openjdk15): Update to 15.0.10.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-14 13:27:13 +00:00
Greg Hogan 6d96d7c4e7
gnu: openjdk13: Update to 13.0.14.
* gnu/packages/java.scm (openjdk13): Update to 13.0.14.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-14 13:27:13 +00:00
Greg Hogan d200159b8e
gnu: openjdk12: Update source hash.
* gnu/packages/java.scm (openjdk12): Update source hash.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Change-Id: I03cbaf3fc21c045c67cd89bb37e232716b03bb30
2024-03-14 13:26:44 +00:00
Greg Hogan 59bd15a7c6
gnu: openjdk11: Update to 11.0.22.
* gnu/packages/java.scm (openjdk11): Update to 11.0.22.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-14 13:26:30 +00:00
Paul A. Patience 56e607efc8
gnu: abcl: Fix quoting in wrapper script.
* gnu/packages/java.scm (abcl)[arguments]<#:phases>: Fix quoting in
installed wrapper script. Also set hash-bang to bash since '[[' is used.

Change-Id: I09ee266764c455194ab6097f096378ee1a986bcb
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2024-03-08 09:50:36 +01:00
Danny Milosavljevic c0f88cd186
gnu: jbr21: Update to 21.0.2b375.1.
* gnu/packages/java.scm (jbr21): Update to 21.0.2b375.1.

Change-Id: Ib85e6cefcc7e2103f073cb460b0d75742594bd38
2024-02-24 00:02:01 +01:00
Danny Milosavljevic f93d86aaaf
gnu: openjdk11: Fix ".so" file path patching.
* gnu/packages/java.scm (openjdk11)[arguments]<#:phases>[patch-jni-libs]:
Fix ".so" file path patching.

Change-Id: If705ef237a2afe537af41227479cd2f91efe5ae2
2024-02-24 00:01:46 +01:00
Danny Milosavljevic afdcba7855
gnu: jbr: Update to 17.0.10-b1211.2.
* gnu/packages/java.scm (jbr): Update to 17.0.10-b1211.2.

Change-Id: If08dc1f7d0c00f6ca2d2ebfb7daeca35cf3f665c
2024-02-21 11:42:36 +01:00
Ludovic Courtès db43edaa0a
gnu: Make intermediate packages public but hidden.
This makes those packages visible to (gnu ci), giving them first class
in the eyes of Cuirass and similar tools, in turn ensuring substitutes
are available (this was discovered by running ‘guix weather -c 10’).

* gnu/packages/rust.scm (rust-bootstrap, rust-1.55)
(rust-1.56, rust-1.57, rust-1.58, rust-1.59, rust-1.60)
(rust-1.61, rust-1.62, rust-1.63, rust-1.64, rust-1.65)
(rust-1.66, rust-1.67, rust-1.68, rust-1.69, rust-1.70)
(rust-1.71, rust-1.72, rust-1.73): Make variable public and add
‘hidden?’ property.
(rust): Remove ‘hidden?’ property.
* gnu/packages/java.scm (java-hamcrest-parent-pom)
(java-org-ow2-parent-pom-1.3, java-asm-bootstrap): Make variable public
and add ‘hidden?’ property.
* gnu/packages/ocaml.scm (dune-bootstrap)
(ocaml4.09-dune-bootstrap, ocaml5.0-dune-bootstrap): Likewise.

Change-Id: I32b0ea639a4f1c39466875acdbc9cbadf75c7668
2024-01-14 23:00:02 +01:00
Ricardo Wurmus 3bf2465faa
gnu: openjdk11: Fix time bomb in ‘GenerateCurrencyData.java’.
Fixes <https://issues.guix.gnu.org/68333>, as well.
This is a companion to commit 5c0f77f424.

* gnu/packages/java.scm (openjdk11)[source]: Add patch.

Change-Id: I5ff53b8dd90598721a6c3814980c6553013b347c
2024-01-10 22:26:23 +01:00
Ricardo Wurmus d255944400
gnu: openjdk10: Simplify.
* gnu/packages/java.scm (openjdk10)[arguments]: Remove trailing #T from build
phase.

Change-Id: Icdb082b250704fe6de3a5e4323f29fa5db8446c7
2024-01-10 22:10:15 +01:00
Ricardo Wurmus fc891f004a
gnu: openjdk10: Fix time bomb in ‘GenerateCurrencyData.java’.
Fixes <https://issues.guix.gnu.org/68333>, as well.
This is a companion to commit 5c0f77f424.

* gnu/packages/java.scm (openjdk10)[source]: Add patch.
* gnu/packages/patches/openjdk-currency-time-bomb2.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Change-Id: I42fc14d305883f672cd6764a0ee6462852e41a5b
2024-01-10 22:09:49 +01:00
Ricardo Wurmus cf11f07588
gnu: openjdk9: Simplify.
* gnu/packages/java.scm (openjdk9)[source]: Remove BEGIN.
[arguments]: Delete trailing #T from build phases.

Change-Id: If011dc595c1b9b0d79fd5bb727a8680d1ad4d100
2024-01-10 21:54:16 +01:00
Ricardo Wurmus db7488a7fb
gnu: openjdk9: Fix time bomb in ‘GenerateCurrencyData.java’.
Fixes <https://issues.guix.gnu.org/68333>, as well.
This is a companion to commit 5c0f77f424.

* gnu/packages/java.scm (openjdk9)[source]: Add patch.
* gnu/packages/patches/openjdk-currency-time-bomb.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Change-Id: I45ca1fe5bad922307eba64d46a330a8f233c0f55
2024-01-10 21:52:33 +01:00
Ludovic Courtès 5c0f77f424
gnu: icedtea: Fix time bomb in ‘GenerateCurrencyData.java’.
Fixes <https://issues.guix.gnu.org/68333>.

* gnu/packages/java.scm (icedtea-7)[drop]: Add optional ‘patches’
parameter and honor it.
[native-inputs]: Add patch for “jdk-drop”.
(icedtea-8): Likewise.
* gnu/packages/patches/jdk-currency-time-bomb.patch,
gnu/packages/patches/jdk-currency-time-bomb2.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.

Change-Id: I3b4cf562ce4bedb87ce0e7c289e431fbb0dbb6f8
2024-01-10 16:42:03 +01:00
Julien Lepiller 8ba7a4a042
gnu: Add java-jakarta-annotations-api.
* gnu/packages/java.scm (java-jakarta-annotations-api): New variable.

Change-Id: I374d1be6f1c509c9c6391e0551de5362eae13357
2024-01-01 10:36:51 +01:00
Julien Lepiller a640ce3fb2
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
2023-12-02 19:07:51 +01:00
Julien Lepiller 406e46a159
gnu: javacc: Do not reference a jdk.
The jdk provides java and javac, while a jre only provides the necessary
java, reducing the closure size by 350MB.

* gnu/packages/java.scm (javacc): Remove #t at end of phases.
[inputs]: Add icedtea-8 as the jre.
[arguments]: Use it instead of the jdk.

Change-Id: Icb218c40915550b7ff1db96a48a3c48fa6ef52b4
2023-12-02 19:07:45 +01:00
Julien Lepiller dd631a891c
gnu: Add java-parsson.
* gnu/packages/java.scm (java-parsson): New variable.

Change-Id: Ie564924329e4e0a866e6ed5fe9135c841fb66ae8
2023-11-09 19:08:59 +01:00
Julien Lepiller 14e01e313d
gnu: Add java-jakarta-json.
* gnu/packages/java.scm (java-jakarta-json): New variable.

Change-Id: I2c123710f9d31bf71e8fb86ff0d336b6fcfa9674
2023-11-09 19:08:51 +01:00
Julien Lepiller 5392d9db46
gnu: openjdk9: Install default certificates.
* gnu/packages/java.scm (openjdk9)[arguments]: Add a phase to install
certificates from nss-certs to the expected location.
(openjdk10, openjdk11): Adapt to also install the certificates.

Change-Id: I6ef626324386419e84a9c0eace5a278ca11c573c
2023-11-09 19:08:24 +01:00
Efraim Flashner 4826856977
gnu: icedtea-7: Fix building on powerpc-linux.
* gnu/packages/java.scm (icedtea-7)[arguments]: Adjust custom
'install-libjvm phase to add support for powerpc-linux.

Change-Id: Ie77a2b53fdef1e0ddc0351e6c2d0241d08b80508
2023-11-05 08:42:48 +02:00
Artyom Bologov 1da091366a
gnu: abcl: Update to 1.9.2.
* gnu/packages/java.scm (abcl): Update to 1.9.2.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-10-25 10:42:22 +02:00
Efraim Flashner a7e6b4c98b
gnu: openjdk-12: Fix building on aarch64-linux.
* gnu/packages/java.scm (openjdk-12)[arugments]: When building for
aarch64-linux add a phase to remove a duplicate line.
2023-10-06 16:21:44 +03:00
Efraim Flashner a31725ff90
gnu: openjdk-10: Fix building on aarch64-linux.
* gnu/packages/java.scm (openjdk-10)[arguments]: Replace inherited
'patch-for-aarch64 phase for changes in source code layout.

Co-authored-by: Christopher Baines <mail@cbaines.net>
Co-authored-by: Tim Johann <t1m@phrogstar.de>
2023-10-05 09:54:04 +03:00
Danny Milosavljevic 5ef168f91c
gnu: Add jbr@21-b240.22.
* gnu/packages/java.scm (jbr21): New variable.
2023-09-21 20:36:13 +02:00