From patchwork Thu Aug 5 14:06:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Xinglu Chen X-Patchwork-Id: 253 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 5397B27BC78; Thu, 5 Aug 2021 15:11:53 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 15B6C27BC6B for ; Thu, 5 Aug 2021 15:11:53 +0100 (BST) Received: from localhost ([::1]:37564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBe6C-0006jI-5t for patchwork@mira.cbaines.net; Thu, 05 Aug 2021 10:11:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBe1X-0001nZ-1n for guix-patches@gnu.org; Thu, 05 Aug 2021 10:07:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36432) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBe1W-0006V9-QW for guix-patches@gnu.org; Thu, 05 Aug 2021 10:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBe1W-00070R-Lu for guix-patches@gnu.org; Thu, 05 Aug 2021 10:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49889] [PATCH 0/5] Add build system for Gerbil Scheme Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Aug 2021 14:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49889 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49889@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162817239626898 (code B ref -1); Thu, 05 Aug 2021 14:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Aug 2021 14:06:36 +0000 Received: from localhost ([127.0.0.1]:47978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe16-0006zm-DM for submit@debbugs.gnu.org; Thu, 05 Aug 2021 10:06:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:59822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe14-0006ze-8j for submit@debbugs.gnu.org; Thu, 05 Aug 2021 10:06:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBe13-0000Yo-VP for guix-patches@gnu.org; Thu, 05 Aug 2021 10:06:33 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:52732 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBe11-00065G-GG for guix-patches@gnu.org; Thu, 05 Aug 2021 10:06:33 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1628172381; bh=Q+L4SNAv4LuU8Tr5ahKB/9mcyMjIA1KhCMKGErYz+QE=; h=From:To:Subject:Date; b=a9zY+nefq5A+TbbnYTFy+AdYJNhzMVY7OvXsR18YQb4UiE1ydM5aXMCcIHNDshQOD g+oUUCZCz/TGWIjPi7vpblYu5P9a7s1q4n9DPNQKCCeo1CE3wej+msJYQ0lMI7HV+k xfJg2crXKjMNRsXDqFIlGS3k6n9Pe2obhWq6sB8s= Message-Id: Date: Thu, 05 Aug 2021 16:06:12 +0200 MIME-Version: 1.0 Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 23 X-Spam_score: 2.3 X-Spam_bar: ++ X-Spam_report: (2.3 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.924, PDS_OTHER_BAD_TLD=1.997, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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 This series adds the ‘gerbil-build-system’ for building Gerbil packages. The first patch moves the ‘gerbil’ package from (gnu packages scheme) to (gnu packages gerbil). The third patch adds the build system itself, and the fourth and fifth patches add two Gerbil packages that use the new ‘gerbil-build-system’. I don’t know if Gerbil packages should be ‘inputs’ or ‘propagated-inputs’. I found two Gerbil packages that depended on other Gerbil packages, but they both require a newer, unreleased Gerbil package (Gerbil hasn’t had a new release for more than a year). Maybe we should add a ‘gerbil-next’ package? ;-) Xinglu Chen (5): gnu: gerbil: Move to (gnu packages gerbil). gnu: gerbil: Add 'native-search-paths' field. guix: Add 'gerbil-build-system'. gnu: Add gerbil-srfi-54. gnu: Add gerbil-clojerbil. Makefile.am | 2 + doc/guix.texi | 21 +++ etc/snippets/scheme-mode/guix-package | 1 + gnu/local.mk | 2 + gnu/packages/gerbil.scm | 199 ++++++++++++++++++++++++++ gnu/packages/scheme.scm | 105 +------------- guix/build-system/gerbil.scm | 138 ++++++++++++++++++ guix/build/gerbil-build-system.scm | 78 ++++++++++ 8 files changed, 442 insertions(+), 104 deletions(-) create mode 100644 gnu/packages/gerbil.scm create mode 100644 guix/build-system/gerbil.scm create mode 100644 guix/build/gerbil-build-system.scm base-commit: 517dacdb99e15f35c0ead462c9156896b5728be4