[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/13: gnu: openjdk14: Define with make-openjdk.
From: |
guix-commits |
Subject: |
07/13: gnu: openjdk14: Define with make-openjdk. |
Date: |
Tue, 27 Sep 2022 10:10:57 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 068dfa33dede9caf35fbb339fe7290e0d8b4c619
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Sep 26 21:51:43 2022 -0400
gnu: openjdk14: Define with make-openjdk.
* gnu/packages/java.scm (openjdk14): Define with make-openjdk.
[source]: Remove trailing #t from snippet field and improve regexp.
---
gnu/packages/java.scm | 58 +++++++++++----------------------------------------
1 file changed, 12 insertions(+), 46 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index f32ff47254..6fc5500ba2 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2117,52 +2117,18 @@ blacklisted.certs.pem"
"0wrrr0d7lz1v8qqm752mn4gz5l2vpl2kmx4ac3ysvk4mljc924hp"))
(define-public openjdk14
- (package
- (inherit openjdk13)
- (name "openjdk")
- (version "14.0.2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/openjdk/jdk14u")
- (commit (string-append "jdk-" version "-ga"))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "07k9bsbxwyf2z2n50z96nvhsdai916mxdxcr5lm44jz7f6xrwfq6"))
- (modules '((guix build utils)))
- (snippet
- `(begin
- ;; The m4 macro uses 'help' to search for builtins, which is
- ;; not available in bash-minimal
- (substitute* "make/autoconf/basics.m4"
- (("if help") "if command -v"))
- (for-each delete-file (find-files "." ".*.(bin|exe|jar)$"))
- #t))))
- (inputs
- `(("alsa-lib" ,alsa-lib)
- ("cups" ,cups)
- ("fontconfig" ,fontconfig)
- ("freetype" ,freetype)
- ("giflib" ,giflib)
- ("lcms" ,lcms)
- ("libjpeg" ,libjpeg-turbo)
- ("libpng" ,libpng)
- ("libx11" ,libx11)
- ("libxext" ,libxext)
- ("libxrandr" ,libxrandr)
- ("libxrender" ,libxrender)
- ("libxt" ,libxt)
- ("libxtst" ,libxtst)))
- (native-inputs
- `(("autoconf" ,autoconf)
- ("make@4.2" ,gnu-make-4.2)
- ("openjdk13:jdk" ,openjdk13 "jdk")
- ("pkg-config" ,pkg-config)
- ("unzip" ,unzip)
- ("which" ,which)
- ("zip" ,zip)))
- (home-page "https://openjdk.java.net/projects/jdk/14")))
+ (make-openjdk
+ openjdk13 "14.0.2"
+ "07k9bsbxwyf2z2n50z96nvhsdai916mxdxcr5lm44jz7f6xrwfq6"
+ (source (origin
+ (inherit (package-source base))
+ (snippet ;override snippet
+ '(begin
+ ;; The m4 macro uses 'help' to search for builtins, which is
+ ;; not available in bash-minimal
+ (substitute* "make/autoconf/basics.m4"
+ (("if help") "if command -v"))
+ (for-each delete-file (find-files "."
"\\.(bin|exe|jar)$"))))))))
(define-public openjdk15
(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, 2022/09/27
- 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 <=
- 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