From patchwork Tue Feb 8 15:13:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 609 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 43CF327BBEA; Tue, 8 Feb 2022 16:22:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C613327BBE9 for ; Tue, 8 Feb 2022 16:22:35 +0000 (GMT) Received: from localhost ([::1]:38724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHTGE-00086v-VB for patchwork@mira.cbaines.net; Tue, 08 Feb 2022 11:22:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHSBu-0007kg-CU for guix-patches@gnu.org; Tue, 08 Feb 2022 10:14:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54408) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHSBu-0007CJ-32 for guix-patches@gnu.org; Tue, 08 Feb 2022 10:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHSBt-0006eD-Tn; Tue, 08 Feb 2022 10:14:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53878] [RFC PATCH 0/9] Update Racket to 8.4. Adjust Chez Scheme packages. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: philip@philipmcgrath.com, guix-patches@gnu.org Resent-Date: Tue, 08 Feb 2022 15:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53878 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53878@debbugs.gnu.org Cc: Philip McGrath X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Philip McGrath Received: via spool by submit@debbugs.gnu.org id=B.164433320425495 (code B ref -1); Tue, 08 Feb 2022 15:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Feb 2022 15:13:24 +0000 Received: from localhost ([127.0.0.1]:48304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHSBI-0006d8-FY for submit@debbugs.gnu.org; Tue, 08 Feb 2022 10:13:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:48924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHSBG-0006d1-SU for submit@debbugs.gnu.org; Tue, 08 Feb 2022 10:13:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHSBG-0007G5-Iy for guix-patches@gnu.org; Tue, 08 Feb 2022 10:13:22 -0500 Received: from [2607:f8b0:4864:20::a35] (port=45788 helo=mail-vk1-xa35.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHSBE-000755-Am for guix-patches@gnu.org; Tue, 08 Feb 2022 10:13:22 -0500 Received: by mail-vk1-xa35.google.com with SMTP id l14so9919497vko.12 for ; Tue, 08 Feb 2022 07:13:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZiPiADDfFL30/ot2+angaoDI+VIsbhxDMmgvstn2p9Q=; b=T1AkTCg45QXhHn9mGXkFYD+U+lTrReflBN44jS3p8rOlSVMM3AfpOEgmQ8LxJ1z6CI smpJO5aLymV9EtuaYmpKrgAEMMZpeCQAIwy4rVNZ/m8vY5eEcKACXCFGFSYLKQCHj03q /yTwA9+yDnkjnYtLlw4fH2QgYM0GQ1yIw6eSlh+N8hcQE4jChZsuIHi6c/qJOK8yqIDU GfJVPJxBO0mo/EMa0tdzswqZOMyCPlpk5A3ezZKolqomwN1gFeU7nCgQp9NnFlEzcK1S /GSr8WO97Dv7wkVHF3MJBK7ZTo7RZfrGNfz5TnxbL62e9JzEDjdKRiZXYuWpN2ZL7Ma3 5OrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZiPiADDfFL30/ot2+angaoDI+VIsbhxDMmgvstn2p9Q=; b=CdGOfPTzwDLSO140sPUz3Evos9nBWA3xwzBqGSY2PU/yKVIoz7GVTIl8cFda/VUu4S vPaziLJ0J27EzEMjGSI1MhzABuP8FnyHoT1Gl3prUwKqxnzQEUTsQLnVpn3/DNYKJrLj O8eXPzv0Ge1x8UJRwJ+LaQ4MHb76axj38rIN5MFGoOaU+sjgUrj2KTwRGR6ttn2BBOHm ETa6tNkpJSD+a10SN3nAFxLcxRoJNz5t3okPFcARYQZR5GunoWQhy2VMSrLeIB5Yg4Sb u6lsyHAAQjdJKV0VhXvjUyH0/bmD7Pia5So/cTaUKk2lLC+knGJh51f5cKN34SIZk42K Y1nQ== X-Gm-Message-State: AOAM532ecZfSi4I7zaIaVe0xjyTDfiwnudn4XBHsZGKUbVBU4lYHM+BC KUgQ0AF81BtUc0mhco9TjTT3gDwRxf2GonETOg4= X-Google-Smtp-Source: ABdhPJyq4ZVDm6B7VcUQgd5g7UYLBbs9gRbQJ61Rm866OFF6yg55ov/Z3KOm0jdpEEEWPDxW6UThbQ== X-Received: by 2002:a1f:78cd:: with SMTP id t196mr289298vkc.24.1644333198230; Tue, 08 Feb 2022 07:13:18 -0800 (PST) Received: from localhost (c-73-125-98-51.hsd1.fl.comcast.net. [73.125.98.51]) by smtp.gmail.com with UTF8SMTPSA id r26sm662483uaw.12.2022.02.08.07.13.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Feb 2022 07:13:18 -0800 (PST) From: Philip McGrath Date: Tue, 8 Feb 2022 10:13:16 -0500 Message-Id: <20220208151316.1897345-1-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::a35 (failed) Received-SPF: neutral client-ip=2607:f8b0:4864:20::a35; envelope-from=philip@philipmcgrath.com; helo=mail-vk1-xa35.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Racket 8.4 hasn't been released yet (expect it in a matter of days), but I wanted to solicit feedback on these changes early. On the Racket side of things, discussions upstream and with other distribution packagers have clarified what a ``minimal Racket'' package ought to consist of, which in turn suggested a nice new boundary between the lowest-level Racket VM packages, which are concerned with bootstrapping and platform support, and a more uniform use of layered and tethered installations for both the 'racket-minimal' and 'racket' packages. I've also started getting the sources for the other main-distribution Racket packages directly from their respective repositories, rather than extracting them from the bundled tarballs. All in all, it's a few steps closer to the goal of a build system for Racket packages. For Chez Scheme, I set out to package Racket's variant of Chez Scheme---which supports architectures not yet supported upstream, e.g. aarch64---and to share more between the upstream and Racket packages. I also tweaked various things I found along the way: hopefully some are clear improvements, though there are some prime opportunities for bikeshedding about naming things. Let me know what you think! -Philip Philip McGrath (9): gnu: chez-scheme: Move to (gnu packages chez-and-racket-bootstrap). gnu: chez-scheme: Use "lib/chez-scheme" for search path. gnu: chez-scheme: Use shared zlib and lz4. gnu: chez-and-racket-bootstrap: Add utilities for Chez machine types. gnu: Add stex. gnu: Add chez-nanopass. gnu: chez-scheme: Explicitly package bootstrap bootfiles. gnu: Add chez-scheme-racket-variant. gnu: racket: Update to 8.3.900. gnu/local.mk | 5 +- gnu/packages/chez-and-racket-bootstrap.scm | 1108 ++++++++++++ gnu/packages/chez.scm | 628 +++---- gnu/packages/emacs-xyz.scm | 4 +- gnu/packages/loko.scm | 4 +- .../racket-enable-scheme-backport.patch | 465 +++++ ...acket-gui-tethered-launcher-backport.patch | 26 + gnu/packages/racket.scm | 1552 +++++++++++------ 8 files changed, 2850 insertions(+), 942 deletions(-) create mode 100644 gnu/packages/chez-and-racket-bootstrap.scm create mode 100644 gnu/packages/patches/racket-enable-scheme-backport.patch create mode 100644 gnu/packages/patches/racket-gui-tethered-launcher-backport.patch