From patchwork Sun May 12 00:21:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yuval Langer X-Patchwork-Id: 64364 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 0EEDD27BBE9; Sun, 12 May 2024 01:22:30 +0100 (BST) 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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,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 9E3C027BBE2 for ; Sun, 12 May 2024 01:22:26 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5wyZ-0000Wl-AD; Sat, 11 May 2024 20:22:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5wyY-0000Wc-Hj for guix-patches@gnu.org; Sat, 11 May 2024 20:22:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s5wyY-0001g7-77 for guix-patches@gnu.org; Sat, 11 May 2024 20:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5wyX-0008HH-IW for guix-patches@gnu.org; Sat, 11 May 2024 20:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70467] Add the Texinfo adaptation of the R7RS-small standard. Resent-From: Yuval Langer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 May 2024 00:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70467 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 70467@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171547331831810 (code B ref -1); Sun, 12 May 2024 00:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 May 2024 00:21:58 +0000 Received: from localhost ([127.0.0.1]:51285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5wyT-0008H0-Q9 for submit@debbugs.gnu.org; Sat, 11 May 2024 20:21:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:41668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5wyS-0008Gu-IE for submit@debbugs.gnu.org; Sat, 11 May 2024 20:21:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5wyS-0000WF-LT for guix-patches@gnu.org; Sat, 11 May 2024 20:21:56 -0400 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s5wyP-0001fu-LD for guix-patches@gnu.org; Sat, 11 May 2024 20:21:55 -0400 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2e0a34b2899so47815421fa.3 for ; Sat, 11 May 2024 17:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715473312; x=1716078112; darn=gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=ukZKWwGjHKB8jAZM7W/Xfg2kQy7FPbUYcNesfc1bh9g=; b=ThzckOpLToYShra9GYnU8GudxI2Vb9db5dsC/YUdNoKO4RdExfQgvS6bRJLu8pgrZi 3S4ejdojvETCFBKnKsVyjrHeOdo4LnSkR75aHLUFBRpyVJnzfOsUhT2fybz1sydKjyLp G/hK0aKOM4X5n3Q92Bxn06U3wYCKN0sL++V0vLQ+i/DL50PcltSZUFKskyHm8xQ4kNnd /MOCg9EHmhqqypAm4MczxL6EMlHCNZzgHOVBxbAHQz7T1Q8TbLsBXN3vFg0er3GU2m9l xHXrmKP9u+rDz5QmRk3LsZ91cErrrj93duyWIMP8h1JiWtzEDnnrB39xNVtt8xB74VET UfNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715473312; x=1716078112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ukZKWwGjHKB8jAZM7W/Xfg2kQy7FPbUYcNesfc1bh9g=; b=VFX6RLcTvTKcgR3hNy8J9g9n7Gm/IGLTkGGLflhPNfV9BC5CLQXJYaN2X/4xPYdpQ+ Ew+G5pSMsQIi89vmHq+Ih2ZhGrDg9l1kHjDPjnxRPF73C0q01IyUJdRkL68mX/hY49xc 56Xis21FEgZY1guJWph6z7+xOfuPHf161KnR5NNexM9qWmgE2nibsxf/8w0Zd9ytmtCH iMkZ8y08gP6MQG/8ZoPBvVEjwde/1v5S5ka0U8UWgN3gu3f2GDVclz+UtFSz6oRtz1+P yc99COBb/8DO1d+LLLg9ptuFl1gE5dloCIodhYHpzpeyg0nCmAWUD6MXq2zzsChpRPIb MJpw== X-Gm-Message-State: AOJu0YyMAgBxOW5T7SDxP9w0XC4pj88Y8GWXEHg4kXd8PQb8Z40FMYoq eRKWKlPt/AYbBcQwKMWmgss7Z/qYvEluaLor9Ma4IbusvLt0df01CQt6BCqWtRZhRjxRp/GmxZt h33O1pSnc1SUOC2PS3h2kiJyJ7iumEg== X-Google-Smtp-Source: AGHT+IHOHyBq30vrnfV6RbYVSE6nX3ow0nfzL4mv/eWRNrJzyYENaGCScsP8O//pHWS43N3pSO2caxU4VPX5Uchy4CI= X-Received: by 2002:a2e:9bcd:0:b0:2e3:9350:a7ca with SMTP id 38308e7fff4ca-2e51fd3fdaemr59141511fa.6.1715473311734; Sat, 11 May 2024 17:21:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Yuval Langer Date: Sun, 12 May 2024 03:21:14 +0300 Message-ID: Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=yuval.langer@gmail.com; helo=mail-lj1-x232.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 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches On Sun, May 12, 2024 at 3:16 AM Yuval Langer wrote: > > […] I fixed a problem in this patch. […] Oops, sent the old one. Now it's definitely the fixed one. From 030218776a77edf8d5c1c68ca715f5e5d276d901 Mon Sep 17 00:00:00 2001 Message-Id: <030218776a77edf8d5c1c68ca715f5e5d276d901.1715473093.git.yuval.langer@gmail.com> From: Yuval Langer Date: Fri, 19 Apr 2024 05:22:08 +0300 Subject: [PATCH] Add the Texinfo adaptation of the R7RS-small Scheme standard. --- gnu/packages/scheme.scm | 45 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index a91a2d693d..47754800f9 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -1314,3 +1314,48 @@ as well as light. The implementation is based on an ad-hoc Virtual Machine. STklos can also be compiled as a library and embedded in an application.") (license gpl2+))) + +(define-public r7rs-small-texinfo + (let ((commit "38a703976ea6353e32b52a5187dbdaf77fb2f050") + (revision "3")) + (package + (name "r7rs-small-texinfo") + (version (git-version "0.1.0" revision commit)) + (home-page "https://codeberg.org/Zipheir/r7rs-small-texinfo/") + (source + (origin + (uri (git-reference + (url home-page) + (commit commit))) + (method git-fetch) + (file-name (git-file-name name version)) + (sha256 + (base32 "1fr02fyhiwd364jkfy1n5w31pq3kx1rl5w634421g05702yb47x3")))) + (native-inputs (list bash texinfo)) + (inputs '()) + (build-system copy-build-system) + (arguments + (list + #:install-plan #~'(("r7rs-small.info" "share/info/")) + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'compile-the-files + (lambda _ + (let* ((source-directory-path (string-append (getcwd) + "/doc/r7rs-small")) + (build-script-path (string-append + source-directory-path + "/build.sh")) + (info-directory-path (string-append #$output + "/share/info"))) + (chdir source-directory-path) + (system* "bash" build-script-path "info") + (mkdir-p info-directory-path) + (copy-file (string-append source-directory-path + "/r7rs-small.info") + (string-append info-directory-path + "/r7rs-small.info")))))))) + (synopsis + "R7RS Small standard of the Scheme programming language in Info format") + (description + "Revised^7 Report of the Algorithmic Language Scheme adapted to Texinfo format.") + (license (non-copyleft "file://COPYING"))))) -- 2.30.2