From: Julien Lepiller <julien@lepiller.eu>
To: Rostislav Svoboda <rostislav.svoboda@gmail.com>, 54852@debbugs.gnu.org
Subject: [bug#54852] [PATCH] gnu: Add openjdk18.
Date: Mon, 11 Apr 2022 16:15:46 +0200 [thread overview]
Message-ID: <0A4C69EF-B0AA-4B99-AFC5-44C6602E7305@lepiller.eu> (raw)
In-Reply-To: <20220411125335.4047-1-Rostislav.Svoboda@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2330 bytes --]
Hi!
The patch looks great, but I wonder why you need to change che phases to tomething that looks like openjdk 17's phases? Am I missing something? Wouldn't it work without any change to the arguments?
I can't build and test because of my limited bandwidth. Hopefully another maintainer can rur the tests and maybe push if my issues aren't solved soon…
On April 11, 2022 2:53:35 PM GMT+02:00, Rostislav Svoboda <rostislav.svoboda@gmail.com> wrote:
>---
> gnu/packages/java.scm | 33 +++++++++++++++++++++++++++++++++
> 1 file changed, 33 insertions(+)
>
>diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
>index 6738b5dc35..10c84d2973 100644
>--- a/gnu/packages/java.scm
>+++ b/gnu/packages/java.scm
>@@ -2263,6 +2263,39 @@ (define-public openjdk17
> (("^#!.*") "#! java BlockedCertsConverter SHA-256\n"))))))))
> (home-page "https://openjdk.java.net/projects/jdk/17")))
>
>+(define-public openjdk18
>+ (package
>+ (inherit openjdk17)
>+ (name "openjdk")
>+ (version "18")
>+ (source (origin
>+ (method git-fetch)
>+ (uri (git-reference
>+ (url "https://github.com/openjdk/jdk18u")
>+ (commit (string-append "jdk-" version "-ga"))))
>+ (file-name (git-file-name name version))
>+ (sha256
>+ (base32
>+ "1bv6bdhkmwvn10l0xy8yi9xibds640hs5zsvx0jp7wrxa3qw4qy8"))))
>+ (native-inputs
>+ `(("autoconf" ,autoconf)
>+ ("openjdk17:jdk" ,openjdk17 "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"))))))))
>+ (home-page "https://openjdk.java.net/projects/jdk/18")))
>+
> (define-public icedtea icedtea-8)
>
> \f>
>--
>2.35.1
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 2683 bytes --]
next prev parent reply other threads:[~2022-04-11 14:24 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-11 12:53 [bug#54852] [PATCH] gnu: Add openjdk18 Rostislav Svoboda
2022-04-11 13:43 ` Maxime Devos
2022-04-12 13:03 ` Rostislav Svoboda
2022-04-11 13:44 ` Maxime Devos
2022-04-12 13:24 ` Rostislav Svoboda
2022-04-21 10:27 ` Rostislav Svoboda
2022-04-21 16:38 ` Maxime Devos
2022-04-22 10:59 ` Rostislav Svoboda
2022-04-23 14:38 ` Maxime Devos
2022-04-23 15:11 ` Rostislav Svoboda
2022-04-23 16:10 ` Maxime Devos
2022-04-11 14:15 ` Julien Lepiller [this message]
2022-04-13 7:51 ` Björn Höfling
2022-05-08 16:41 ` Maxime Devos
2022-05-09 19:11 ` Maxime Devos
2022-05-09 22:20 ` Rostislav Svoboda
2022-05-10 6:59 ` Maxime Devos
2022-05-11 15:37 ` Rostislav Svoboda
2022-05-11 18:13 ` Maxime Devos
2022-05-11 18:22 ` Maxime Devos
2022-05-11 18:30 ` Maxime Devos
2022-09-27 14:17 ` bug#54852: " Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0A4C69EF-B0AA-4B99-AFC5-44C6602E7305@lepiller.eu \
--to=julien@lepiller.eu \
--cc=54852@debbugs.gnu.org \
--cc=rostislav.svoboda@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).