From patchwork Fri Apr 19 02:32:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuval Langer X-Patchwork-Id: 63149 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 D07BF27BBEA; Fri, 19 Apr 2024 03:34:09 +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 DBE8F27BBE9 for ; Fri, 19 Apr 2024 03:34:07 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxe4T-0005Sw-VD; Thu, 18 Apr 2024 22:33:49 -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 1rxe4T-0005Si-0y for guix-patches@gnu.org; Thu, 18 Apr 2024 22:33:49 -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 1rxe4S-0001A7-Pf for guix-patches@gnu.org; Thu, 18 Apr 2024 22:33:48 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rxe4g-0004im-B4 for guix-patches@gnu.org; Thu, 18 Apr 2024 22:34:02 -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: Fri, 19 Apr 2024 02:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 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.171349400417896 (code B ref -1); Fri, 19 Apr 2024 02:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Apr 2024 02:33:24 +0000 Received: from localhost ([127.0.0.1]:56046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxe44-0004ea-1m for submit@debbugs.gnu.org; Thu, 18 Apr 2024 22:33:24 -0400 Received: from lists.gnu.org ([2001:470:142::17]:41106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxe42-0004eC-9p for submit@debbugs.gnu.org; Thu, 18 Apr 2024 22:33:22 -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 1rxe3j-0005Pk-3i for guix-patches@gnu.org; Thu, 18 Apr 2024 22:33:03 -0400 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxe3h-00017W-2o for guix-patches@gnu.org; Thu, 18 Apr 2024 22:33:02 -0400 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2d895e2c6efso20950491fa.0 for ; Thu, 18 Apr 2024 19:33:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713493978; x=1714098778; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=9sF9hq9/ugsY89X3n0h2UJ0Q9aqsnC/6M204EgTqf5Y=; b=Ht0YNrYWMrhLFguWgGQDQ1z+vFS/UQ6FknulhUwD1K7TJMII5ps0bDUnaJiHEF2Ibl 6W/GTzrneUfnnqHNg8oAvQB9OcV7xzS+fYEWuXfG3emr2N4nDXBSEadSIQwmvkgZstst A8gdc1HPeWr9YHqjmZh30Y9gbNxCeIm3de3kDwC87JoHOuzgZi5VXI3Zdyf4BoYW0Kj5 v7a/Rnwm1OBNsdQ5c6GaX3UtQErV6GkLkkaMlViw/xev+3h8T/d6e5L+p4opWkOK7xoa eelrb+grxhykka1YPVlVFri12h4mBZWLRhZSh9pZyxsaiQ8qSTtV6080MDHF4Kc5wakh lB+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713493978; x=1714098778; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9sF9hq9/ugsY89X3n0h2UJ0Q9aqsnC/6M204EgTqf5Y=; b=aRfccPt8fUQBQ8EkWAMnx/2NFLF9Hfu53wHbFmd2aTLfkba1iLGqcQUzdIWVQq24nx tThuvr2pmDoKLTPRXv/lOXwORo6NDGkLJsikgAY9tOd+g+5/F03TVuzMQJFTL1+Rt5Yv cnrTwym7q7O22LbUnceLxVnBn50eDvYdfpB0b/n307eQQK7itrnIwqfUYTQ610UA9Q19 MW3YX5CvJQtQGk0RGEgicfEz4IcA+LLzInAdry8bCpT1mSPCFlUp5g3cj43kYlywLtU/ JJjYAqxb27LzcpujSRTH2TyW2cNPr4eNYvvXC/q9IVo46mGhrfdxoY+wmaxN10OITZ24 jaTA== X-Gm-Message-State: AOJu0YxhR80oeyypyernu0nBjnMaxnE8yVl2oAbD9irIGH9skBVXVBdL n/PxDP3UtrV4qcBcaMNcYhQcaWSw0DsN8pALOGwVXrnssC0fwLbL3iQhnuH5v0+mUbcAFcJSoCq 8LApZpAL/EV3mP9zncfAwViPN1H64ozrE X-Google-Smtp-Source: AGHT+IE+pL/zVW6X7xvbpHtXyduaeaUb/5XcnI12alNWZmk/ykHfMXxBIOob1buj1txfD3or/G8wAcBJ5OHLzEHw1kc= X-Received: by 2002:a2e:9cc9:0:b0:2d8:930c:bbfa with SMTP id g9-20020a2e9cc9000000b002d8930cbbfamr367093ljj.5.1713493978144; Thu, 18 Apr 2024 19:32:58 -0700 (PDT) MIME-Version: 1.0 From: Yuval Langer Date: Fri, 19 Apr 2024 05:32:21 +0300 Message-ID: Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=yuval.langer@gmail.com; helo=mail-lj1-x22b.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 Hi, provided is a package definition for the Wolfgang Corcoran-Mathe Texinfo adaptation[1] of the R7RS-small standard. Hope it would come in handy, Yuval (Yulav) Langer. [1]: From 6304e1faabe79eb601ff09ed5d95c8db11780576 Mon Sep 17 00:00:00 2001 Message-Id: <6304e1faabe79eb601ff09ed5d95c8db11780576.1713493331.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 | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index a91a2d693d..9177801800 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -1314,3 +1314,47 @@ 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 "2")) + (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 + #: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