[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: openjdk: Update to 19.
From: |
guix-commits |
Subject: |
branch master updated: gnu: openjdk: Update to 19. |
Date: |
Wed, 18 Jan 2023 04:53:35 -0500 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new e4db832a0e gnu: openjdk: Update to 19.
e4db832a0e is described below
commit e4db832a0ec8e3d9d4f01843e4bb7d92c458199e
Author: Greg Hogan <code@greghogan.com>
AuthorDate: Mon Dec 12 21:19:38 2022 +0000
gnu: openjdk: Update to 19.
* gnu/packages/java.scm (openjdk): Update to 19.
(openjdk19): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/java.scm | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 0d0f3129bc..15a4e62de1 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1493,8 +1493,25 @@ blacklisted.certs.pem"
(make-openjdk openjdk17 "18.0.2"
"1yimfdkwpinhg5cf1mcrzk9xvjwnray3cx762kypb9jcwbranjwx"))
+(define-public openjdk19
+ (make-openjdk openjdk18 "19.0.1"
+ "0kyalb391znw6idmfn3dsx6c2mal1hl63f0bwa4mlnsxfl380bi1"
+ (arguments
+ (substitute-keyword-arguments (package-arguments openjdk18)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'fix-java-shebangs
+ (lambda _
+ ;; Update file path.
+ (substitute*
"src/java.base/share/data/blockedcertsconverter/blocked.certs.pem"
+ (("^#!.*") "#! java BlockedCertsConverter SHA-256\n"))))
+ (add-before 'configure 'define-java-environment-variables
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Fix for "valid range 1980-01-01T00:00:02Z to
2099-12-31T23:59:59Z".
+ (setenv "SOURCE_DATE_EPOCH" "1234567890")))))))))
+
;;; Convenience alias to point to the latest version of OpenJDK.
-(define-public openjdk openjdk18)
+(define-public openjdk openjdk19)
(define-public ant/java8
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: openjdk: Update to 19.,
guix-commits <=