From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oPpAFW9vIWSejAAASxT56A (envelope-from ) for ; Mon, 27 Mar 2023 12:26:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GJo4FW9vIWQk5QAA9RJhRA (envelope-from ) for ; Mon, 27 Mar 2023 12:26:55 +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 1CEB93D412 for ; Mon, 27 Mar 2023 12:26:54 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgk3N-0008O5-Fr; Mon, 27 Mar 2023 06:26:17 -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 1pgk3A-0008JB-28 for guix-patches@gnu.org; Mon, 27 Mar 2023 06:26:05 -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-00031h-VW for guix-patches@gnu.org; Mon, 27 Mar 2023 06:26:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pgk38-0006ib-Rm for guix-patches@gnu.org; Mon, 27 Mar 2023 06:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62477] [PATCH 4/6] gnu: Add cl-mixed. 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.167991274125755 (code B ref 62477); Mon, 27 Mar 2023 10:26:02 +0000 Received: (at 62477) by debbugs.gnu.org; 27 Mar 2023 10:25:41 +0000 Received: from localhost ([127.0.0.1]:46628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgk2m-0006hJ-IV for submit@debbugs.gnu.org; Mon, 27 Mar 2023 06:25:41 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:42586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgk2Z-0006fu-IN for 62477@debbugs.gnu.org; Mon, 27 Mar 2023 06:25:28 -0400 Received: by mail-wr1-f52.google.com with SMTP id e18so8163883wra.9 for <62477@debbugs.gnu.org>; Mon, 27 Mar 2023 03:25:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679912722; 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=ZH8UrKRzXOmTtparEExnKklRGflD2b3TWGculwCvH48=; b=MeoYkT3loen8s9xfsHJ9aMEpC96QDOlxbQ2sGc0/7mprKI8gpb++mMogU727QUbjlR Yrxzo1LZfZrw/mO3J5BfeyMzvvMx9Lyt18lFo/y6MWs6vPx4kZYRsxeVGw76olgIoJwO Ut1Xel7pMw/4U/T7Eied+DcWw2lQ2W1jXUaAZIjEFGIR4zhzVs0ieEAZcjpbOft8rNjl yI1/tWV4HHGgPt4+psVOM0N+5ynAVob8lHR3JH/FdUr1LIaIZO075xb0yFxqeyleP8nR Xr33O7P+50IGRMbR43LsllKnCz8o6q3frtKacvjXHGjSMgXhzwA+p2cuWsbBydRzMuwI Aj6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679912722; 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=ZH8UrKRzXOmTtparEExnKklRGflD2b3TWGculwCvH48=; b=NMGB63WzrGtvGxyYdcwsfMOIkM/Ijp1D8NaOIuzgEy+uImmaCGgafv7RgI18sYj3sl 6ZFWhrMrcaTJqamQuFLPQ1cdNUrvg2kUG8eUTV7YE0EqLAbNRvfC+4SJ8dkKIBn+sQnJ 0bSreAG/q5eKKjp2s8jTjDqEBb+dctaJTshX4b1EkJnuVSgR9HB8bghqGtMF2jCfRb6H acNFvMaDa0jFIQF0zjVMhdpk8TQzhx7GgfrK3zQgbVS/NAgeSGk1eTbv1nPDa9k+HAyu soGbXGJ/ALVmH0tJygHmMGyMS/kyaLstnfslycsUBBedAlMJqeVH7vKQ7cHHFmLMeC5A 3bhA== X-Gm-Message-State: AAQBX9dQJ8C5ZbQ2EMnULBZV4hMik8UmBNvF3NvFhpeg07MVLJVdCu56 MSqKX275YW7QisiaTbFdIl1Otd58cLU= X-Google-Smtp-Source: AKy350YkjntVv/u6b7X7gdrBvEbwFTaW+9Y+0V+YCWUODin7f0EDnVSHEYsg53sHeioTwZW2Gu39eg== X-Received: by 2002:adf:f4d2:0:b0:2d4:a2c5:9f80 with SMTP id h18-20020adff4d2000000b002d4a2c59f80mr8494428wrp.23.1679912721892; Mon, 27 Mar 2023 03:25:21 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 03:25:21 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 27 Mar 2023 11:25:15 +0100 Message-Id: <20230327102517.14946-4-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=1679912815; a=rsa-sha256; cv=none; b=D90TVYawYFde7H1FAe7AI5t4BY7j7gQ+lFIlkH9RP3XofVzQV/a0n9kEXiGyPo7ejCavoa vdBflppHYWcy84t8DugMVFvlQcCd0igLtvnh2E5AVm3oMcFQNapF8Vbtd0yl64jfhIW3PI gPR8b6DKFdaRta7fNPi9pBIe6jBcu594P/1aWkTGqzO19Q2lLBuvaG8D3+O1tacqmbQl31 Yh7A9ALZeNpGUwGAq9k4eYlh1YIIiWBjZVm/H9/tcSVD+5j5Ezqj/gyGS2QPkFvRn6UWVw +L190LdGLLzfRh6BucmQC/JItpjjRYoHY9+wKYFtucrAylbFDHy5orzfnuamkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=MeoYkT3l; 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=1679912815; 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=ZH8UrKRzXOmTtparEExnKklRGflD2b3TWGculwCvH48=; b=o/UzHA1v6R6Gy3Kb3Y/AW11Dp4qEt/Q8Wqf2aguGY5P7QB5+sxaazvkA5392ozGbeEdXs4 rv/6ASI0gLZUYQNBJP+ceIpLiI9bLBHJRB+XFrktAuK/B8rdrIa+VcSv82KnGXJMhdjtjR 8K8tYYz707kGLm3t/wVxTHdbHeDF2z9D4vjqn/OPuqpCJ7MhGjvDpTFvIukPerKUYWy+OH HIUpAUVlkx05RsrvGq3Exb6RQgD5fyCildZeXd/IL3Nt/tVTXBURCPrgUvHQ3arMHGSB/a LGobzSq/n1qqT7Sj1kXS8pamESpbRHs/tHP497ZExH+Gp/Y3H3cP1BKPKLtYeA== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=MeoYkT3l; 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: 1CEB93D412 X-TUID: Ede6SLq7D9+K * gnu/packages/lisp-xyz.scm (cl-mixed, ecl-cl-mixed, sbcl-cl-mixed): New variables. --- gnu/packages/lisp-xyz.scm | 80 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index aff7ede062..5ab6ef6f9b 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -18981,6 +18981,86 @@ (define-public ecl-cl-mime (define-public cl-mime (sbcl-package->cl-source-package sbcl-cl-mime)) +(define-public sbcl-cl-mixed + (let ((commit "4aaff134d3902d93a2a8605c10de4bcfc62d7afa") + (revision "0")) + (package + (name "sbcl-cl-mixed") + (version (git-version "2.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Shirakumo/cl-mixed") + (commit commit))) + (file-name (git-file-name "cl-mixed" version)) + (sha256 + (base32 "1mrj95lxb1gbxxm89x8gy1ifw2ic1p5wwpapkxcd2jr8abw7zny0")) + (modules '((guix build utils))) + (snippet + ;; Delete bundled libraries. + `(begin + (delete-file-recursively "static"))))) + (build-system asdf-build-system/sbcl) + (arguments + '(#:asd-systems '("cl-mixed" + "cl-mixed-examples" + "cl-mixed-flac" + "cl-mixed-vorbis" + "cl-mixed-alsa" + "cl-mixed-jack" + "cl-mixed-mpg123" + "cl-mixed-mpt" + "cl-mixed-out123" + "cl-mixed-pulse" + "cl-mixed-sdl2" + "cl-mixed-wav") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "low-level.lisp" + (("libmixed.so.2") + (search-input-file inputs "/lib/libmixed.so.2")))))))) + (inputs + (list libmixed + sbcl-alexandria + sbcl-cffi + sbcl-cl-flac + sbcl-cl-mpg123 + sbcl-cl-out123 + sbcl-cl-vorbis + sbcl-documentation-utils + sbcl-sdl2 + sbcl-static-vectors + sbcl-trivial-features)) + (home-page "https://shirakumo.github.io/cl-mixed") + (synopsis "Extended audio library for Common Lisp") + (description + "This packages provides CFFI binding to @code{libmixed} audio library for +Common Lisp with support of other audio formats available on GNU/Linux systems: + +@itemize + +@item @acronym{Alsa, Advanced Linux Sound Architecture} +@item @acronym{Jack, JackAudio toolkit} +@item @acronym{Openmpt, Libopenmpt playback drain for tracker files} +@item @acronym{PulseAudio, PulseAudio based playback drain} +@item Flac (via CL-FLAC) +@item Mpg123 (via CL-MPG123) +@item Ogg/vorbis (via CL-VORBIS) +@item Out123 (via CL-OUT123) +@item WAV + +@end itemize") + (license license:zlib)))) + +(define-public ecl-cl-mixed + (sbcl-package->ecl-package sbcl-cl-mixed)) + +(define-public cl-mixed + (sbcl-package->cl-source-package sbcl-cl-mixed)) + (define-public sbcl-lispbuilder-sdl (let ((commit "589b3c6d552bbec4b520f61388117d6c7b3de5ab")) (package -- 2.39.2