[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/13: gnu: openjdk17: Define with make-openjdk.
From: |
guix-commits |
Subject: |
10/13: gnu: openjdk17: Define with make-openjdk. |
Date: |
Tue, 27 Sep 2022 10:10:58 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit b2aa42435bf394b147d7df3471d20c244064997d
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Sep 26 21:57:45 2022 -0400
gnu: openjdk17: Define with make-openjdk.
* gnu/packages/java.scm (openjdk17): Define with make-openjdk.
[phases]: Use gexps.
---
gnu/packages/java.scm | 49 ++++++++++++-------------------------------------
1 file changed, 12 insertions(+), 37 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 44266fe107..bc5009ead7 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2154,43 +2154,18 @@ blacklisted.certs.pem"
"1ggddsbsar4dj2fycfqqqagqil7prhb30afvq6933rz7pa9apm2f"))
(define-public openjdk17
- (package
- (inherit openjdk16)
- (name "openjdk")
- (version "17.0.3")
- (source (origin
- (inherit (package-source openjdk16))
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/openjdk/jdk17u";)
- (commit (string-append "jdk-" version "-ga"))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0slmd6ww947gxpp4yr2wmr5z975bg86qh7zqfp2radf2q77ql65b"))
- (patches
- (search-patches "openjdk-15-xcursor-no-dynamic.patch"))))
- (native-inputs
- `(("autoconf" ,autoconf)
- ("openjdk16:jdk" ,openjdk16 "jdk")
- ("pkg-config" ,pkg-config)
- ("unzip" ,unzip)
- ("which" ,which)
- ("zip" ,zip)))
- (arguments
- (substitute-keyword-arguments (package-arguments openjdk16)
- ((#:phases phases)
- #~(modify-phases #$phases
- (replace 'fix-java-shebangs
- (lambda _
- ;; This file was "fixed" by patch-source-shebangs, but it
- ;; requires this exact first line.
- (substitute*
"make/data/blockedcertsconverter/blocked.certs.pem"
- (("^#!.*") "#! java BlockedCertsConverter SHA-256\n"))))))))
- (native-inputs
- (modify-inputs (package-native-inputs openjdk16)
- (replace "openjdk" openjdk16)))
- (home-page "https://openjdk.java.net/projects/jdk/17";)))
+ (make-openjdk
+ openjdk16 "17.0.3"
+ "0slmd6ww947gxpp4yr2wmr5z975bg86qh7zqfp2radf2q77ql65b"
+ (arguments
+ (substitute-keyword-arguments (package-arguments openjdk16)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'fix-java-shebangs
+ (lambda _
+ ;; 'blacklisted' was renamed back to 'blocked'.
+ (substitute* "make/data/blockedcertsconverter/blocked.certs.pem"
+ (("^#!.*") "#! java BlockedCertsConverter SHA-256\n"))))))))))
;; (define-public openjdk18
;; (package
- branch master updated (79b8e52e64 -> 052c1b0643), guix-commits, 2022/09/27
- 12/13: gnu: docbook-xsl-ns: Rename to docbook-xsl-1.79.1 and use gexps., guix-commits, 2022/09/27
- 11/13: gnu: openjdk: Update to 18., guix-commits, 2022/09/27
- 06/13: gnu: openjdk13: Define with make-openjdk., guix-commits, 2022/09/27
- 10/13: gnu: openjdk17: Define with make-openjdk.,
guix-commits <=
- 09/13: gnu: openjdk16: Define with make-openjdk., guix-commits, 2022/09/27
- 03/13: gnu: opendjk11: Improve regular expressions., guix-commits, 2022/09/27
- 01/13: gnu: opendjk11: Remove trailing #t and use gexps., guix-commits, 2022/09/27
- 02/13: gnu: opendjk11: Remove input labels., guix-commits, 2022/09/27
- 04/13: gnu: opendjk11: Reduce size by removing extraneous files., guix-commits, 2022/09/27
- 07/13: gnu: openjdk14: Define with make-openjdk., guix-commits, 2022/09/27
- 05/13: gnu: openjdk12: Introduce 'make-openjdk' syntax and use it., guix-commits, 2022/09/27
- 13/13: gnu: colord: Update to 1.4.6., guix-commits, 2022/09/27
- 08/13: gnu: openjdk15: Define with make-openjdk., guix-commits, 2022/09/27