From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gPQJMcI5FGdV7QAAe85BDQ:P1 (envelope-from ) for ; Sat, 19 Oct 2024 22:59:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id gPQJMcI5FGdV7QAAe85BDQ (envelope-from ) for ; Sun, 20 Oct 2024 00:59:14 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=W7FY0nBh; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=Jn+HsJsq; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729378754; 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=uZ+wAUu+pIk/oUhp+dvgvC4PoEfrRwIcaSF6v0MDFjA=; b=u3FErOshyuFTYR26gOutSQRGEfHat1Qi4R/SXUS4vH08quAf4n9HbGVt1v90nHfLS+b5lx HxrZDZf4V0QBP4raYKNPTNhNiQCLonRVoxkek5J8iIZC8k3ctqYG4mopklg0saKe2iLiUZ iXjobgX/v97csf6a+w5wIvXFadTKLtX/dr1ucb70laaHJPYtmYxNYK7STeuI8WnlPrg6Yy rKtinP4y8b94lo+kooYv2I2F+K1I/X3auB69RSz2EzRHsRhIjA8w6MnjOlJmZ6q2qgm5P3 QusxI0NWZdo5etlwZwqCUj4orWaErjtKlCFw4VVGsWb3hE6LVP1dhutOQf/0gg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=W7FY0nBh; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=Jn+HsJsq; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729378754; a=rsa-sha256; cv=none; b=ZeoPItdlicv/ZNek/iKFzIBL9w5i9p/VWSylUT/SnjPAZ/DECSe/77aijafV2diw0+q4yL wQTqQnMsExSsFSLQF98JF5zTglaee8d2waQHuEBmnIgwTC/BvfmyjM5yzVhtjdjaQm0Y2C SmCCuvnj3EJ2hfh6DOvF7xtlBB16yAoFa5cz7zropX5xPM9NNCRqdoW8wcfD03/wrXUGZm M+WGyqQoyUx1kbbcsDnWAjK2YUiiljOQ5vRCDG/JuMIO5E+urJX9os46TG6slooghjMyKS VwMfE3QqpTRbwQ9yyaFU26l5W4G//eXD7Yxrcl5wWBtTohvmISssk6lo+84EQA== 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 79E7C88019 for ; Sun, 20 Oct 2024 00:59:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2IPD-0003dM-43; Sat, 19 Oct 2024 18:58:43 -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 1t2IP9-0003cf-BS for guix-patches@gnu.org; Sat, 19 Oct 2024 18:58:39 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t2IP9-0000SB-1T for guix-patches@gnu.org; Sat, 19 Oct 2024 18:58:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=uZ+wAUu+pIk/oUhp+dvgvC4PoEfrRwIcaSF6v0MDFjA=; b=W7FY0nBhaZvu7opJ0G4YTemsxJYugT7Fw2MYFLSU03WuKxGC0zZ3frcVgIxUXSIPpGUqVyOY0atkDxT5HqBMO+wF9c7jpB8La7Cyz5b1quFlGJLlqRPOtpm15+HxYCARm4w/hSTeMDq5H3sZe/JcZEdHyRaNRUduNaEZ08mI01rZIZTyR7FgMcBdSbhBPgQLGblGXvNdsbcFWxdqbt/nZgs+ICpRWb1H9duegcTSZ+mKZ2zzEx6fFro0t6WZTWE+BaQQbs+lobv36PoWnxz8wq27jigxY2nF01nbEZPJHJZ3SrVKPYGE+WG4PVk9rNBcrZvoPnJbywYWNdojWXBpTA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2IPX-00014M-5G for guix-patches@gnu.org; Sat, 19 Oct 2024 18:59:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73893] [PATCH] gnu: faust-2: Update to 2.75.7. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Oct 2024 22:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73893 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73893@debbugs.gnu.org Cc: Nicolas Graves X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17293787174059 (code B ref -1); Sat, 19 Oct 2024 22:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Oct 2024 22:58:37 +0000 Received: from localhost ([127.0.0.1]:45066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2IP7-00013P-Al for submit@debbugs.gnu.org; Sat, 19 Oct 2024 18:58:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:36436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2IP4-00013E-Ly for submit@debbugs.gnu.org; Sat, 19 Oct 2024 18:58:35 -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 1t2IOg-0003aR-2w for guix-patches@gnu.org; Sat, 19 Oct 2024 18:58:10 -0400 Received: from 5.mo583.mail-out.ovh.net ([87.98.173.103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t2IOd-0000R9-P5 for guix-patches@gnu.org; Sat, 19 Oct 2024 18:58:09 -0400 Received: from director9.ghost.mail-out.ovh.net (unknown [10.108.25.74]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4XWH6N69NKz1RFy for ; Sat, 19 Oct 2024 22:58:04 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-lqwtg (unknown [10.110.168.40]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 5CF8F1FD3B; Sat, 19 Oct 2024 22:58:04 +0000 (UTC) Received: from ngraves.fr ([37.59.142.106]) by ghost-submission-5b5ff79f4f-lqwtg with ESMTPSA id O4crD3w5FGfAywcAdvuZvw (envelope-from ); Sat, 19 Oct 2024 22:58:04 +0000 X-OVh-ClientIp: 90.110.172.34 Date: Sun, 20 Oct 2024 00:57:57 +0200 Message-ID: <20241019225801.26934-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 4142185760014263010 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehiedgudeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepteeffefhfffhjeevleeuvdehgffgveekheeuhfekhfehuefgheffhedugfegleeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdduuddtrddujedvrdefgedpfeejrdehledrudegvddruddtieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=uZ+wAUu+pIk/oUhp+dvgvC4PoEfrRwIcaSF6v0MDFjA=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1729378685; v=1; b=Jn+HsJsqk2M6kIY96G2fVvlYuc+045L7GS/MAxcSDJUqBV9YHjC7cvxaa8ntsfJBJ9KKLyVW PWS3mPRbU9uCSrJbIMyEMHFO9ZUqitZ15G9+wW/OUn/YpRyETDS0wlgsnzpHwdmj5I3nO8w3nYS PxGzbY/MARBEVpRnNlVV6XoCeaaGLngkzh+3/LG9CcWw+QKLC3zG2ewsDOaUzUPuKiMhiVDjkwy jmSFKX4pAoC9oc2WhyEIPm0GG20Bggc8XSfNR44rpsxCLVDF3aF6M9rvbKjA0R+gSE238nuhXU5 /FxMq055IPJb+0f55WcWg8ygKjFoq2HP8Pk4n4aUIDE+w== Received-SPF: pass client-ip=87.98.173.103; envelope-from=ngraves@ngraves.fr; helo=5.mo583.mail-out.ovh.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via 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 X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.50 X-Spam-Score: 0.50 X-Migadu-Queue-Id: 79E7C88019 X-TUID: J9h6wdgTAS0H * gnu/packages/audio.scm (faust-2): Update to 2.75.7, update comments and switch to gexps. [arguments]<#:configure-flags>: Use it here... <#:phases>: ...and here in phase 'configure. [native-inputs]: Remove emacs-minimal and xxd. Update llvm to llvm-18. Improve style. --- gnu/packages/audio.scm | 51 +++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 4fde88d454..0bff16e73b 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -2268,7 +2268,7 @@ (define-public faust-0.9.67 (define-public faust-2 (package (inherit faust) - (version "2.41.1") + (version "2.75.7") (source (origin (method url-fetch) (uri (string-append "https://github.com/grame-cncm/faust/" @@ -2276,33 +2276,34 @@ (define-public faust-2 "/faust-" version ".tar.gz")) (sha256 (base32 - "0gk8ifxrbykq7ay0nvjns8fjryhp0wfhv5npgrl8xpgw9wfmw53j")))) + "11ww02zmj3vnva1w52hs9wkxvhwwf53agklyzm2c7gysw0jfvkw9")))) (build-system cmake-build-system) (arguments - `(#:tests? #f ; no tests - #:phases - (modify-phases %standard-phases - ;; The upstream package uses make to run cmake during the build stage. - ;; Here we ignore the Makefile and call cmake directly. - (replace 'configure - (lambda _ - (chdir "build") - (invoke "cmake" "-C" "backends/all.cmake" - (string-append "-DCMAKE_INSTALL_PREFIX=" - (assoc-ref %outputs "out"))))) - ;; The sound2faust tool would be built in the Makefile's "world" target - (add-after 'install 'sound2faust - (lambda _ - (chdir "../tools/sound2faust") - (setenv "PREFIX" (assoc-ref %outputs "out")) - (invoke "make") - (invoke "make" "install")))))) + (list + ;; There are tests, but they are unit/regression tests scattered in 17 + ;; different test directories, and little information indicating whether + ;; they are worth running for Guix. Ignore tests for now. + #:tests? #f + #:configure-flags + #~(list "-C" "backends/all.cmake" + (string-append "-DCMAKE_INSTALL_PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + ;; The upstream package uses make to run cmake during the build stage. + ;; Here we ignore the Makefile and call cmake directly. + (replace 'configure + (lambda* (#:key configure-flags #:allow-other-keys) + (chdir "build") + (apply invoke "cmake" configure-flags))) + ;; The sound2faust tool would be built in the Makefile's "world" target + (add-after 'install 'sound2faust + (lambda _ + (chdir "../tools/sound2faust") + (setenv "PREFIX" #$output) + (invoke "make") + (invoke "make" "install")))))) (native-inputs - `(("llvm" ,llvm) - ("which" ,which) - ("xxd" ,xxd) - ("ctags" ,emacs-minimal) ; for ctags - ("pkg-config" ,pkg-config))) + (list llvm-18 pkg-config which)) (inputs (list libsndfile libmicrohttpd ncurses openssl zlib)))) -- 2.46.0