From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SOc5Dy8lVGInkgAAgWs5BA (envelope-from ) for ; Mon, 11 Apr 2022 14:55:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mDd0DC8lVGKaXgAA9RJhRA (envelope-from ) for ; Mon, 11 Apr 2022 14:55:11 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CE13D25107 for ; Mon, 11 Apr 2022 14:55:10 +0200 (CEST) Received: from localhost ([::1]:58332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndtZV-0005at-KV for larch@yhetil.org; Mon, 11 Apr 2022 08:55:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndtZP-0005aN-79 for guix-patches@gnu.org; Mon, 11 Apr 2022 08:55:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49137) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndtZO-0001yz-TW for guix-patches@gnu.org; Mon, 11 Apr 2022 08:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndtZO-0005ox-PV for guix-patches@gnu.org; Mon, 11 Apr 2022 08:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54852] [PATCH] gnu: Add openjdk18. Resent-From: Rostislav Svoboda Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Apr 2022 12:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54852 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54852@debbugs.gnu.org Cc: Rostislav Svoboda X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164968165222306 (code B ref -1); Mon, 11 Apr 2022 12:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Apr 2022 12:54:12 +0000 Received: from localhost ([127.0.0.1]:43034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndtYL-0005n9-5a for submit@debbugs.gnu.org; Mon, 11 Apr 2022 08:54:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:45220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndtYJ-0005n0-7z for submit@debbugs.gnu.org; Mon, 11 Apr 2022 08:53:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndtYI-00054E-W5 for guix-patches@gnu.org; Mon, 11 Apr 2022 08:53:55 -0400 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]:43716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndtYH-0001pX-1U for guix-patches@gnu.org; Mon, 11 Apr 2022 08:53:54 -0400 Received: by mail-ej1-x62a.google.com with SMTP id g18so5700857ejc.10 for ; Mon, 11 Apr 2022 05:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NKTmFNZkGeSs/ReIQdlynZItcukBNUbhLAJsWD59tKk=; b=gnu1B9NHgEBcGjizrvjHgeK98MEDpoZgTM80HBhEVJOgYXTXvuqtxTjFDX16Q3Mtsw 7iUMp9uBTr4lNvwdoYUMB/nzp+aExP1+SJXt7Jg2Vfxcom6EnujplVV88dUBBgzw16X9 V1JFyabQd1BhIJt6WchBMoxtutJXPpEfyAk1fDlnZAVNXhJM+0UrT4IHPPqiEsuh3N/F w4/5abgQgTDwkE1p115Pbs4eXDsajpl5TBz9S4aR4JhSp2ILv7FkU+Aqdzw+G8Xibdwd HmZZgjqXt0BBumvIGfAiDd4qI5b5V67RmQoI5hqkMyjmE0NM0GPMW993y++FTpCPUz9y 78Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NKTmFNZkGeSs/ReIQdlynZItcukBNUbhLAJsWD59tKk=; b=dn98kPuNfGYIh+a+K2s2XjFZGw+Mx7Qci2TSh01DAygfzyxxkChu2Z04cwlSlwOJGx 57vXuu4W2+VQBkpggQzXt9izu5f901f9Jm6WxG1t9a6oU9NTy/yWxu9NByXdxxJFdpCi chCEMXSGSuXinfKDtKLEt7NLs+n7yRUmIIw7xtXXNyRONimjNtcctlkR0fVC4UOU/pN+ JGkzoGTl1zVB11vi4frUi2loVbehekxbahYDi5Fl5G5qptppBT8fIOxxEcsulgUiot3j yBoCfNCr83DXAp2435DZfzOIPa7cPI2P3HiA9WiURnGyhiF+nAHTsW9EjPPS6LeCFqFR Pmnw== X-Gm-Message-State: AOAM533NP5EPdeXE+u5Y57UcmBsgHXfIKFtPXK8bW5R6cnaUK5AkXxmy hzIOTt/4i7ZgksOZJXOOBv4w6IYN/08= X-Google-Smtp-Source: ABdhPJyfknxpzsh+1Fk5aDzSihsdyqRoYosrvospXMPCjegqBWA8bd5VCAcbRJEV/5B999cJ93d20A== X-Received: by 2002:a17:906:3a15:b0:6cf:ea4e:a1cc with SMTP id z21-20020a1709063a1500b006cfea4ea1ccmr30844987eje.753.1649681630487; Mon, 11 Apr 2022 05:53:50 -0700 (PDT) Received: from ecke.fritz.box (dynamic-077-190-191-076.77.190.pool.telefonica.de. [77.190.191.76]) by smtp.googlemail.com with ESMTPSA id e26-20020a50ec9a000000b004193fe50151sm15527926edr.9.2022.04.11.05.53.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Apr 2022 05:53:49 -0700 (PDT) From: Rostislav Svoboda X-Google-Original-From: Rostislav Svoboda Date: Mon, 11 Apr 2022 14:53:35 +0200 Message-Id: <20220411125335.4047-1-Rostislav.Svoboda@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=rostislav.svoboda@gmail.com; helo=mail-ej1-x62a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649681710; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=YpRHpjWQ4ZfFAvK+SVNtOiiRDGvc+cXdKdgRHiHewvI=; b=uqYIfTWm8jZvTKNxKAkGb7CZIp8xwq81bGXgVSLilQlMYeUdR5oHd6skaX/o+sj8e/YnbT srKVHkmWFd5wlpkpBTn1StgPhT/xbdXNhn00Jeo2S4lqKhf5m36ylWGVuAsxVaUi3W31nJ uKh3i6FXIbGYX22qGshMDqDz5lwlab5/cFK2M0fBrPcGrf5kFGwS9zsgqViL40dxOgPMIJ grdjBhOKaQcSv8Hr2kbYXNF5x/YZmgBc4kvDv1l2rGmP+dyugDyBzopsiesLMIll1DOdX6 7g9d/chcYZ7wU7VVSAPdcAVSdgJXyC+wa80HQo9Hf4h/A6RB/qccqi7Y0oyUmQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649681710; a=rsa-sha256; cv=none; b=g5zVspW6HnnznUW3NNm2Ic5WqMOeGJX1ofQ4BRR+SfEFEVbyKtuO9lTusXYlRyGRC3adgF QL/MwBDWY6dwlG0BqdYEjJrRwsufWgbN4k53KYsJznokj/NUY30YvONF5gb0iJzo+cYcEV jUcI3+0qEgfQx0A8uJXBrW91DLQSTADkWgKazrkEidVq7M8M8HfWbmeioouGlyfiR8Knm3 TpkcmdX+8K6jPSGMPRfjf3c2eCr9T+nTvuZxczB/ekkQCgk+4e7oKXnfvtoW/K6UctZ5Tu NGK0zu4IFKrzNdzPKuJTApXQRP6i18+Bkni7wZ3UBPjdjYnSWEd9rhz+0lJNMQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=gnu1B9NH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=gnu1B9NH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CE13D25107 X-Spam-Score: 5.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: xxxdHDkeFAY2 --- 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) -- 2.35.1