From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IFOsOndvIWR49QAASxT56A (envelope-from ) for ; Mon, 27 Mar 2023 12:27:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YHHHOXdvIWRd1QAAG6o9tA (envelope-from ) for ; Mon, 27 Mar 2023 12:27:03 +0200 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 B69F1300F2 for ; Mon, 27 Mar 2023 12:27:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgk3K-0008Ke-Ge; Mon, 27 Mar 2023 06:26:14 -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 1pgk38-0008Ib-FD for guix-patches@gnu.org; Mon, 27 Mar 2023 06:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgk38-00030d-6W for guix-patches@gnu.org; Mon, 27 Mar 2023 06:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pgk38-0006iL-2k for guix-patches@gnu.org; Mon, 27 Mar 2023 06:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62477] [PATCH 2/6] gnu: Add cl-vorbis. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Mar 2023 10:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62477 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62477@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 62477-submit@debbugs.gnu.org id=B62477.167991273025721 (code B ref 62477); Mon, 27 Mar 2023 10:26:02 +0000 Received: (at 62477) by debbugs.gnu.org; 27 Mar 2023 10:25:30 +0000 Received: from localhost ([127.0.0.1]:46622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgk2b-0006ga-DI for submit@debbugs.gnu.org; Mon, 27 Mar 2023 06:25:29 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]:35517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgk2Y-0006fq-G7 for 62477@debbugs.gnu.org; Mon, 27 Mar 2023 06:25:27 -0400 Received: by mail-wr1-f50.google.com with SMTP id l27so8185903wrb.2 for <62477@debbugs.gnu.org>; Mon, 27 Mar 2023 03:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679912720; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dpuJ1TSklvGQPiqZuY+17iTYrWE250VkqiVBP/1xAmU=; b=EQVh4uKU+LxCRpc25Xw+4G3X9KWi5ytbo+TcnpprK+sAk1A8IrDUmsTMOGB+2RiLmp fznmmCxPVZ/3bCdTCRF8x0/WGS8QkX3df4nugFyLnt2GqXf5DI/+3mIVsMG2u2fmbXtY 0WkGGU6vwr0OBUWMZ5lVNhXMZdIlfrUSONTDE9tkUYKo6xVSor1r+bovDCqfY2mBG91J b51cZzVyJx99LNvFanAw9p4r1YYXPzrLovHa2TWhka34OuSZ5PM+mp0aiTQARKldrdpy +JoOLJtvhYzqR37uid1q7wCcJgvseC+GYAIeGka9vZv1CMuUSarP44KZUhQ0WIDLVNnQ dmJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679912720; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dpuJ1TSklvGQPiqZuY+17iTYrWE250VkqiVBP/1xAmU=; b=L+3bsJfRgzuC6CaJPHec4mbsTGSldfkMiKpdQKzXrstKHAFhWSC99m6AsYdkJ4fu0z GdPIUlxschaLH9IEbnF43Y7PTIg3bqiSH9ofgG8TFk8kxLHigpASvv6boH0lQwUGd2m6 O9jEUNFUw8CALzeSZGgUY3V0dJjS7302UkKYwt5jD8yxbnW2K/1qqRg4ODsNAUPZvaIQ RZD0pQrV9H6dPL1sCjYv6vM6a2gcqS6ZfzbRuseyVlbiNFi9Au8POHOojeXpdhdg5B/c kq2LZskJXHn0J2Fga9fsZKBxVHSiCaEsbRWoDVLoc5XX2v73clAdibGtE4qht5UGGHt1 RMdg== X-Gm-Message-State: AAQBX9eAul+4wiIyPKNLsnhN/+lZ3+XXTrZGoM+Fg2jNO3jw1/Sq29b8 s+3gFgnP+s7V1QwFijRX5WOXJaOrBEI= X-Google-Smtp-Source: AKy350bFDkgmpXQIBaKhYtBVJGAA2F5qjdqkIiCFQtC0VzhB6mA9s3ij/iG7/69ocQUwTWCuv5YVxg== X-Received: by 2002:a5d:6411:0:b0:2c7:1e16:57cf with SMTP id z17-20020a5d6411000000b002c71e1657cfmr8812217wru.67.1679912720434; Mon, 27 Mar 2023 03:25:20 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id c15-20020adfef4f000000b002c7066a6f77sm24707506wrp.31.2023.03.27.03.25.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 03:25:19 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 27 Mar 2023 11:25:13 +0100 Message-Id: <20230327102517.14946-2-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230327102517.14946-1-sharlatanus@gmail.com> References: <20230327102517.14946-1-sharlatanus@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679912823; a=rsa-sha256; cv=none; b=F+h8LJg4jpX2IEc00PtQ8OjJ2FiTh1QZV7FK07mHROzutKDdSj1O8QOa5aLdt4+SdP6erz xAXL/ihlIAYncSbT+uOw9+5NfZEWtx+Ln6ASsMKBGyTQ2sUsfRAxxQgNa7RBYPq7jZ2rWS AZeF3kLgiQMW8WIdmcZWDBXR630mI9YWQcdBefxhA8ITFB63dbvEnJiGShLJ+YNo3h3c8d mFeIjrv9Fu9O4u7o3RBZG+lDK4X6zNmsFxVvXFDilncSWK0UtuVHn8RjC9HFVGYG/uRoOD Aszr24K0QKjKY0xQOK1EKcG3m6YysrfMILT8+i4vgnK4BvYmMcUBuhHPTddWQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EQVh4uKU; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679912823; h=from:from:sender:sender: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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dpuJ1TSklvGQPiqZuY+17iTYrWE250VkqiVBP/1xAmU=; b=syXBYGgYssi3EkvT7n3RFnMY1PmPhHnVnV7Mzxk3XeUwSVXYF6jr12hUKjdCfCo6jLo/PV SMLp21rhCtvX6w/lFN2PvHmvJKpGhn1trY09KjK9XQlzuqY63jriZR3cIiqRVoL08p+c0X w/dxaNcYC6zZCXKYq6NlXXo81jsMpB19arNRwwXyNJBmky7YLgceupCcE9lEjVDMZJpEfm zyKP+j9umUwQU4jy7B85Vdl6BmMSYOMp7yzeK10qaCg65E2XPIIxj4ueniO96f2qIaRAKH nW5y0Ret9fsZfzRR/11dhKnufbRNPFSmLe56cSo+FJlDlLl4iwknGrgKNOMNmw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EQVh4uKU; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.63 X-Spam-Score: -0.63 X-Migadu-Queue-Id: B69F1300F2 X-TUID: bP3EK19sp041 * gnu/packages/lisp-xyz.scm (cl-vorbis, ecl-cl-vorbis, sbcl-cl-vorbis): New variables. --- gnu/packages/lisp-xyz.scm | 51 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index ae8524657b..aff7ede062 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -27854,6 +27854,57 @@ (define-public cl-variates (define-public ecl-cl-variates (sbcl-package->ecl-package sbcl-cl-variates)) +(define-public sbcl-cl-vorbis + (let ((commit "c5835cd7091aea9e2e389ad359d244542d637758") + (revision "0")) + (package + (name "sbcl-cl-vorbis") + (version (git-version "2.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Shirakumo/cl-vorbis") + (commit commit))) + (file-name (git-file-name "cl-vorbis" version)) + (sha256 + (base32 "0713pl5c2khfpf8m3h1l2y0ilack7akf580h70jq6qcrnq3h4b40")) + (modules '((guix build utils))) + (snippet + ;; Delete bundled libraries, GlibC and Vorbis sources. + `(begin + (delete-file-recursively "static") + (for-each delete-file '("glibc-2.13.h" + "stb_vorbis.c" + "stb_vorbis_patch.c")))))) + (build-system asdf-build-system/sbcl) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "low-level.lisp" + (("libvorbis-lin-amd64.so") + (search-input-file inputs "/lib/libvorbis.so")))))))) + (inputs + (list libvorbis + sbcl-cffi + sbcl-documentation-utils + sbcl-static-vectors + sbcl-trivial-features + sbcl-trivial-garbage)) + (home-page "https://shirakumo.github.io/cl-vorbis") + (synopsis "OGG/Vorbis decoding using stb_vorbis for Common Lisp") + (description "This package provides a CFFI binding of @code{ctb_vorbis} +audio library to Common Lisp.") + (license license:zlib)))) + +(define-public ecl-cl-vorbis + (sbcl-package->ecl-package sbcl-cl-vorbis)) + +(define-public cl-vorbis + (sbcl-package->cl-source-package sbcl-cl-vorbis)) + (define-public sbcl-cephes (let ((commit "d87146fa38c8425ffb5fe425eee5eb3e818bacd4") (revision "0")) -- 2.39.2