From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: 62171@debbugs.gnu.org
Cc: Julien Lepiller <julien@lepiller.eu>
Subject: [bug#62171] [PATCH 1/2] gnu: openjdk9: Build from hg.
Date: Mon, 13 Mar 2023 23:52:30 +0100 [thread overview]
Message-ID: <20230313235230.6d78a2e5@tangletp> (raw)
In-Reply-To: <20230313234935.39a40ac0@tangletp>
[-- Attachment #1: Type: text/plain, Size: 2047 bytes --]
* gnu/packages/java.scm (openjdk9)[source]: Use HG-DOWNLOAD.
[homepage]: Update.
This fixes <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62071>
for OpenJDK 9.
---
gnu/packages/java.scm | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 388e9d127f..dff513913c 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -852,18 +852,17 @@ (define-public openjdk9
(name "openjdk")
(version "9.181")
(source (origin
- (method url-fetch)
- (uri
"https://hg.openjdk.java.net/jdk/jdk/archive/3cc80be736f2.tar.bz2")
- (file-name (string-append name "-" version ".tar.bz2"))
+ (method hg-fetch)
+ (uri (hg-reference (url "https://hg.openjdk.org/jdk/jdk")
+ (changeset "jdk-9+181")))
+ (file-name (hg-file-name name version))
+ (modules '((guix build utils)))
+ (snippet `(begin
+ (for-each delete-file
+ (find-files "."
".*.(bin|exe|jar)$")) #t)) (sha256
(base32
-
"01ihmyf7k5z17wbr7xig7y40l9f01d5zjgkcmawn1102hw5kchpq"))
- (modules '((guix build utils)))
- (snippet
- `(begin
- (for-each delete-file
- (find-files "." ".*.(bin|exe|jar)$"))
- #t))))
+
"1v92nzdqx07c35x945awzir4yk0fk22vky6fpp8mq9js930sxsz0"))))
(build-system gnu-build-system) (outputs '("out" "jdk" "doc"))
(arguments
@@ -1024,7 +1023,7 @@ (define (icedtea-or-openjdk? path)
("unzip" ,unzip)
("which" ,which)
("zip" ,zip)))
- (home-page "https://openjdk.java.net/projects/jdk9/")
+ (home-page "https://openjdk.org/projects/jdk9/")
(synopsis "Java development kit")
(description
"This package provides the Java development kit OpenJDK.")
--
2.39.1
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2023-03-13 22:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-13 22:49 [bug#62171] [PATCH 0/2] Fix source build of OpenJDK 9 and 10 Björn Höfling
2023-03-13 22:52 ` Björn Höfling [this message]
2023-03-14 7:02 ` Julien Lepiller
2023-03-16 9:10 ` bug#62171: " Björn Höfling
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230313235230.6d78a2e5@tangletp \
--to=bjoern.hoefling@bjoernhoefling.de \
--cc=62171@debbugs.gnu.org \
--cc=julien@lepiller.eu \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.