From patchwork Sun Feb 9 15:55:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ekaitz Zarraga X-Patchwork-Id: 20194 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 0D59417AFD; Sun, 9 Feb 2020 15:56:12 +0000 (GMT) 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,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 ESMTP id 5A52D17AEB for ; Sun, 9 Feb 2020 15:56:11 +0000 (GMT) Received: from localhost ([::1]:52360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0owM-00042b-U7 for patchwork@mira.cbaines.net; Sun, 09 Feb 2020 10:56:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52356) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0owG-00042U-LO for guix-patches@gnu.org; Sun, 09 Feb 2020 10:56:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0owE-0005p7-Br for guix-patches@gnu.org; Sun, 09 Feb 2020 10:56:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47133) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j0owE-0005oT-6m for guix-patches@gnu.org; Sun, 09 Feb 2020 10:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j0owE-0006Og-6o for guix-patches@gnu.org; Sun, 09 Feb 2020 10:56:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39372] Chicken Scheme: Update version to 5.1.0 and add gcc-toolchain Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 09 Feb 2020 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39372 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Julien Lepiller Cc: "39372@debbugs.gnu.org" <39372@debbugs.gnu.org> Received: via spool by 39372-submit@debbugs.gnu.org id=B39372.158126371924540 (code B ref 39372); Sun, 09 Feb 2020 15:56:02 +0000 Received: (at 39372) by debbugs.gnu.org; 9 Feb 2020 15:55:19 +0000 Received: from localhost ([127.0.0.1]:53106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0ovX-0006Nk-1Y for submit@debbugs.gnu.org; Sun, 09 Feb 2020 10:55:19 -0500 Received: from mail2.protonmail.ch ([185.70.40.22]:17606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0ovS-0006NT-Mz for 39372@debbugs.gnu.org; Sun, 09 Feb 2020 10:55:17 -0500 Date: Sun, 09 Feb 2020 15:55:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1581263707; bh=m36j8NUdegOP2oomZdLNZaP3zoVzxxjoZmYQTDo9vWM=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References: Feedback-ID:From; b=caf7KzRZExlSYZjDsGXq0ZBfkllc8tYAAnoxOlsbBmXuccad6toUvHMF9fikPV+lV OVRn93YmXBW3EjDCVHbKqa0itzZtI61Gfc/UoMzftGOA5Y+InufF4OOKQN1sVowymc OooeLhp2uziLyymAc80WhmI2DbtJeF3EJZF6hSsY= From: Ekaitz Zarraga Message-ID: In-Reply-To: <34Y0W0Ll0Mpsb3EexxFit46MyRTOblEmy9rRB5bwJbSzUx9Udyj4a4k55gDRn6r5JRgFs3YINo8MjKOs1pWCNGF4mQWRAreN6AQKO9tUDOQ=@elenq.tech> References: <20200209153042.31f2d723@tachikoma.lepiller.eu> <34Y0W0Ll0Mpsb3EexxFit46MyRTOblEmy9rRB5bwJbSzUx9Udyj4a4k55gDRn6r5JRgFs3YINo8MjKOs1pWCNGF4mQWRAreN6AQKO9tUDOQ=@elenq.tech> Feedback-ID: yrcNPDs6h_GmICDqa8wDN84Xewau0mXpBhN3eq2lvinS3lyxTuFMITDIGb7qalJ2C1nOhz7EVHHgQPysAd4y8g==:Ext:ProtonMail MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ekaitz Zarraga Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From 34d4965c61f4a1f5153aaf6d959c06745790d0d0 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Sun, 9 Feb 2020 16:10:28 +0100 Subject: [PATCH 1/2] gnu: chicken: Move to a separate module. * gnu/packages/scheme.scm (chicken): Move to chicken.scm. * gnu/packages/chicken.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/packages/chicken.scm | 66 ++++++++++++++++++++++++++++++++++++++++ gnu/packages/scheme.scm | 41 ------------------------- 3 files changed, 67 insertions(+), 41 deletions(-) create mode 100644 gnu/packages/chicken.scm -- 2.17.1 diff --git a/gnu/local.mk b/gnu/local.mk index 64ad653542..d86b39cacb 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -109,6 +109,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/check.scm \ %D%/packages/chemistry.scm \ %D%/packages/chez.scm \ + %D%/packages/chicken.scm \ %D%/packages/chromium.scm \ %D%/packages/ci.scm \ %D%/packages/cinnamon.scm \ diff --git a/gnu/packages/chicken.scm b/gnu/packages/chicken.scm new file mode 100644 index 0000000000..53631f9bd6 --- /dev/null +++ b/gnu/packages/chicken.scm @@ -0,0 +1,66 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020 Ekaitz Zarraga +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages chicken) + #:use-module (gnu packages) + #:use-module (guix packages) + #:use-module (guix build-system gnu) + #:use-module (guix download) + #:use-module ((guix licenses) + #:select (bsd-3))) + +(define-public chicken + (package + (name "chicken") + (version "5.0.0") + (source (origin + (method url-fetch) + (uri (string-append "https://code.call-cc.org/releases/" + version "/chicken-" version ".tar.gz")) + (sha256 + (base32 + "15b5yrzfa8aimzba79x7v6y282f898rxqxfxrr446sjx9jwlpfd8")))) + (build-system gnu-build-system) + (arguments + `(#:modules ((guix build gnu-build-system) + (guix build utils) + (srfi srfi-1)) + + ;; No `configure' script; run "make check" after "make install" as + ;; prescribed by README. + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'check) + (add-after 'install 'check + (assoc-ref %standard-phases 'check))) + + #:make-flags (let ((out (assoc-ref %outputs "out"))) + (list "PLATFORM=linux" + (string-append "PREFIX=" out) + (string-append "VARDIR=" out "/var/lib"))) + + ;; Parallel builds are not supported, as noted in README. + #:parallel-build? #f)) + (home-page "http://www.call-cc.org/") + (synopsis "R5RS Scheme implementation that compiles native code via C") + (description + "CHICKEN is a compiler for the Scheme programming language. CHICKEN +produces portable and efficient C, supports almost all of the R5RS Scheme +language standard, and includes many enhancements and extensions.") + (license bsd-3))) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index 1009896a70..c891a77a18 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -368,47 +368,6 @@ applications in many fields such as multimedia (web galleries, music players, mashups, office (web agendas, mail clients, ...), etc.") (license gpl2+))) -(define-public chicken - (package - (name "chicken") - (version "5.0.0") - (source (origin - (method url-fetch) - (uri (string-append "https://code.call-cc.org/releases/" - version "/chicken-" version ".tar.gz")) - (sha256 - (base32 - "15b5yrzfa8aimzba79x7v6y282f898rxqxfxrr446sjx9jwlpfd8")))) - (build-system gnu-build-system) - (arguments - `(#:modules ((guix build gnu-build-system) - (guix build utils) - (srfi srfi-1)) - - ;; No `configure' script; run "make check" after "make install" as - ;; prescribed by README. - #:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'check) - (add-after 'install 'check - (assoc-ref %standard-phases 'check))) - - #:make-flags (let ((out (assoc-ref %outputs "out"))) - (list "PLATFORM=linux" - (string-append "PREFIX=" out) - (string-append "VARDIR=" out "/var/lib"))) - - ;; Parallel builds are not supported, as noted in README. - #:parallel-build? #f)) - (home-page "http://www.call-cc.org/") - (synopsis "R5RS Scheme implementation that compiles native code via C") - (description - "CHICKEN is a compiler for the Scheme programming language. CHICKEN -produces portable and efficient C, supports almost all of the R5RS Scheme -language standard, and includes many enhancements and extensions.") - (license bsd-3))) - (define-public scheme48 (package (name "scheme48")