From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UH2xHMgHnGG1XAEAgWs5BA (envelope-from ) for ; Mon, 22 Nov 2021 22:12:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yJduGMgHnGFqQwAA1q6Kng (envelope-from ) for ; Mon, 22 Nov 2021 21:12:40 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EB417D2F4 for ; Mon, 22 Nov 2021 22:12:39 +0100 (CET) Received: from localhost ([::1]:55380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpGcA-0006MY-TO for larch@yhetil.org; Mon, 22 Nov 2021 16:12:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpGbb-0006MB-0D for guix-patches@gnu.org; Mon, 22 Nov 2021 16:12:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37714) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpGba-0003Hk-OD for guix-patches@gnu.org; Mon, 22 Nov 2021 16:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpGba-0002aI-Et for guix-patches@gnu.org; Mon, 22 Nov 2021 16:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52045] [PATCH] gnu: Add cl-clm. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Nov 2021 21:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52045 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52045@debbugs.gnu.org Cc: Guillaume Le Vaillant , Pierre Neidhardt , jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16376155119911 (code B ref -1); Mon, 22 Nov 2021 21:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Nov 2021 21:11:51 +0000 Received: from localhost ([127.0.0.1]:49260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpGb9-0002ZV-TX for submit@debbugs.gnu.org; Mon, 22 Nov 2021 16:11:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:57022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpGb6-0002ZK-Tg for submit@debbugs.gnu.org; Mon, 22 Nov 2021 16:11:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpGb6-0006Jq-N2 for guix-patches@gnu.org; Mon, 22 Nov 2021 16:11:32 -0500 Received: from mx1.dismail.de ([78.46.223.134]:17375) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpGb3-00039c-Mc for guix-patches@gnu.org; Mon, 22 Nov 2021 16:11:32 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id ae966ace; Mon, 22 Nov 2021 22:11:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=irlsg8fvMfcpOGW5+fYvNT5wdc4MahiJF2VhjO1ExTg=; b= jfIgleKC2xfqoAQtYyRXCmLsR+blfuEAq8JADgH0J8fZVtNqwajsS7KGL+8ga0PM 4FpqpUMMD04F3qGJ9CY5agZqS3e4J7vrOnd9ef3H8bQMEur1ipTN1CxdDi/jLEsG 5PT6nCGYb9c66KWOlURKtKUkXn/em5Yhilv9txL+24UFOyF+9IAnGuPhexKNQekQ TF04J3jrHjdUFVkjESpP7Cn4wGWQtaJwtw+C7KYYSz7d5ORGl3/r1HyuR3q5s4T+ F29uEwNyAp1WaoU+YahET9Ts1HnMWCJPu+Y66gifxa5vFohGg4JOUl1PuHigR1Ro z0uRzVIouohgh+xmI6l+yg== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 2dea07f7; Mon, 22 Nov 2021 22:11:20 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 9c4bf558; Mon, 22 Nov 2021 22:11:20 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 881ca1b3 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 22 Nov 2021 22:11:19 +0100 (CET) Date: Mon, 22 Nov 2021 15:45:28 -0500 Message-Id: <20211122204527.27050-1-jgart@dismail.de> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637615560; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=SBUuD6FslgJvnibJwOsFpi4nXLfoeucc94lG2oq6CLs=; b=EYFo4viSB2hHtnxpUT9UG0blBmaMRrR3Ygg8SVPbgAW99cZMbQnhnW3/yu+myn8dQQQFCI XqqPkurFujXB2hR/oFQbndm3OCHfY81CsVnkxssfRihlPk/zuiZ2kI3B6HgWAPwbp1/02d 8DDXb4dA/AfEAzk7CkODV/jszob7wjpvV9yHPxTjypD+pMPrQPZ/Ygz0Wpgas/a/NGyeGi Q1bi52B+sbKHpPzb1PCq0Wg7SxBInGnHNnaaGD7/GSew09TP0YWYkk2/1r54qbq8SkTkMT whpw6GIaLiCeLib14XVwqrQgQXWwdw97mUEpUVkM09TqwRnpL52/BX0jXR6uig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637615560; a=rsa-sha256; cv=none; b=CX/l/dxXi6IogsGL3gNUYgNh7BMHhJEU9XYBk7EtekIo+xlOYwKsEWYOYgQpd3WxACoHjO b7QLpdKXBQaz5KTWZBYgJ7oK1xdmuTusEJ3ePO9VYqhNFluHWUPFQyN46xDrtuCSxBqI+C HBmbadp+OUbfn27auq9DrjpAZzYWhUqZQKXljF5wDBzhvJm+9OhwikeUgHizvhExGNR81x RInltiDPpgb2ZzDk9y+tWdJEh3tWKYfwKcFbZFBcRichA3ru8N6HlqjIb6mfo7d29E0u2v IRPD+/a98UItk5btOtA17wCZcVaZ9+jLkjhvW5hC/vf6ZJ7qrBmWIGJrAerKjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=jfIgleKC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=jfIgleKC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EB417D2F4 X-Spam-Score: -3.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: WA4gq5EIEgbw Hi, This is another WIP patch for the Common Lisp Music package (CLM) for GNU Guix. It has a similar package definition to CMN which was successfully packaged and merged today into Guix thanks to the help of Bill, Guillaume, and Pierre: https://en.wikipedia.org/wiki/Common_Lisp_Music My goal in packaging clm and cmn is to subsequently be able to package slippery-chicken for GNU Guix: https://github.com/mdedwards/slippery-chicken slippery-chicken hints at alsa headers required by clm on this line of its' install script: https://github.com/mdedwards/slippery-chicken/blob/master/sc-install#L29 But, I think that the most immediate issue might be with the asd file in the clm repo: https://ccrma.stanford.edu/software/clm/clm-5.tar.gz Here is the asd file printed for convenience (delimited by backticks): ``` ;;; ASDF system definition file for CLM ;;; For information on ASDF see: http://www.cliki.net/asdf ;;; ;;; To load CLM from a non-standard install location: ;;; ;;; (require :asdf) ;;; (push "/path/to/clm-3/" asdf:*central-registry*) ;;; (asdf:operate 'asdf:load-source-op :clm) ;;; ;;; To download/install/load CLM from its archive: ;;; ;;; (require :asdf) ;;; (progn (push "/path/to/asdf-install/" asdf:*central-registry*) ;;; (asdf:operate 'asdf:load-op 'asdf-install)) ;;; (asdf-install:install 'clm) ;;; (asdf:operate 'asdf:load-source-op 'clm) ;; from Rick Taube in 2006: ; (asdf:defsystem "clm" ; :description "Common Lisp Music" ; :version "3" ; :author "William Schottstaedt " ; :licence "BSD or whatever" ; :components ((:file "all" ))) (in-package :asdf-user) ;; from Tito Latini 14-Dec-16: (asdf:defsystem "clm" :description "Common Lisp Music" :version "5" :author "William Schottstaedt " :licence "BSD or whatever" :perform (compile-op (o c) (load (system-relative-pathname "clm" "all.lisp")))) ``` Guillaume, do you see this asd file as needing a similar fix to your previous patching? If so, I can try my hands at patching it myself while using your previous patch to Bill as a template I can follow. I would send a patch to Bill afterwards for review and inclusion in the tarball. My knowledge of asd file configuration is rather limited. Any advice here is much appreciated. all best, jgart * gnu/packages/lisp-xyz.scm (cl-clm, sbcl-clm, ecl-clm): New variables. --- gnu/packages/lisp-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index bb697c4c60..918fb38c9f 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -19721,6 +19721,31 @@ (define-public cl-cmn (define-public ecl-cmn (sbcl-package->ecl-package sbcl-cmn)) +(define-public sbcl-clm + (package + (name "sbcl-clm") + (version "5") + (source + (origin + (method url-fetch) + (uri "https://ccrma.stanford.edu/software/clm/clm-5.tar.gz") + (file-name (string-append "clm-" version ".tar.gz")) + (sha256 + (base32 "1ckgl7rsnxppnf47jqayrbyhm3hv6c4f7n2994ylva6wiy5w7wp8")))) + (build-system asdf-build-system/sbcl) + (home-page "https://ccrma.stanford.edu/software/clm/") + (synopsis "Music synthesis and signal processing package") + (description +"Common Lisp Music is a music synthesis and signal processing package +in the Music V family.") + (license license:expat))) + +(define-public cl-clm + (sbcl-package->cl-source-package sbcl-clm)) + +(define-public ecl-clm + (sbcl-package->ecl-package sbcl-clm)) + (define-public sbcl-cl-https-everywhere ;; No release. ;; Don't forget to update the https-everywhere input. -- 2.34.0