From unknown Sat Jun 21 10:28:02 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#63147 <63147@debbugs.gnu.org> To: bug#63147 <63147@debbugs.gnu.org> Subject: Status: [PATCH 1/2] gnu: supercollider: Use G-expressions. Reply-To: bug#63147 <63147@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:28:02 +0000 retitle 63147 [PATCH 1/2] gnu: supercollider: Use G-expressions. reassign 63147 guix-patches submitter 63147 Zhu Zihao severity 63147 normal tag 63147 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 28 09:35:03 2023 Received: (at submit) by debbugs.gnu.org; 28 Apr 2023 13:35:03 +0000 Received: from localhost ([127.0.0.1]:60789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psOFa-0000TL-Ha for submit@debbugs.gnu.org; Fri, 28 Apr 2023 09:35:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:56050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psOFX-0000Sh-Qr for submit@debbugs.gnu.org; Fri, 28 Apr 2023 09:35:01 -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 1psOFX-0007Ae-8h for guix-patches@gnu.org; Fri, 28 Apr 2023 09:34:59 -0400 Received: from m12.mail.163.com ([220.181.12.215]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psOFM-0003pj-Ac for guix-patches@gnu.org; Fri, 28 Apr 2023 09:34:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=U/Df9 wKrT8sw0yP5v4163DSCENQIEjFQnFGna/ECqZ4=; b=aKi9/uHuvlOHtJK3E8Kst iCAcrp9iXtZJ9JgNR51QyoPyZijAXPHQh0YTDBErb8eot1SCnIkbEnGD+hBZ5gC9 o5MA9ahSBDAs7Aa8Y7/xUVww2mQOPDN9fHKpC+rBpcxIXUmWalCctH/+F+2nT8// vOJNWQWz3l3Q828Wc81pyk= Received: from localhost.localdomain (unknown [119.123.68.49]) by zwqz-smtp-mta-g5-2 (Coremail) with SMTP id _____wD3kghVy0tkdZWNAQ--.9886S2; Fri, 28 Apr 2023 21:34:30 +0800 (CST) From: Zhu Zihao To: guix-patches@gnu.org Subject: [PATCH 1/2] gnu: supercollider: Use G-expressions. Date: Fri, 28 Apr 2023 21:33:28 +0800 Message-Id: <20230428133329.31666-1-all_but_last@163.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wD3kghVy0tkdZWNAQ--.9886S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxWr17AFyrXry8Kr45Aw48Crg_yoWrKF4fpr y7KwnayrZ8AryxJws3Zr4xZrW3KFZ2kw1Yyrs7Ar1Ik3yFkFWxJr47JrWfu3W7Jan7A3y7 Wa1vq34UXrW0grDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JUzyxiUUUUU= X-Originating-IP: [119.123.68.49] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBZghfr1aEDWR+4wAAs4 Received-SPF: pass client-ip=220.181.12.215; envelope-from=all_but_last@163.com; helo=m12.mail.163.com 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, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Zhu Zihao X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/audio.scm (supercollider)[source]: Use G-expression in snippet. [arguments]: Use G-expressions. <#:phases>: Replace `(assoc-ref outputs ...)` with `#$output`. --- gnu/packages/audio.scm | 102 ++++++++++++++++++++--------------------- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index dca5e516a1..69570109d9 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -3460,64 +3460,64 @@ (define-public supercollider ;; The build system doesn't allow us to unbundle the following ;; libraries. hidapi is also heavily patched and upstream not ;; actively maintained. - '(let ((keep-dirs '("nova-simd" "nova-tt" "hidapi" - "TLSF-2.4.6" "oscpack_1_1_0" "." ".."))) - (with-directory-excursion "./external_libraries" - (for-each - delete-file-recursively - (scandir "." - (lambda (x) - (and (eq? (stat:type (stat x)) 'directory) - (not (member (basename x) keep-dirs))))))) - ;; To find the Guix provided ableton-link library. - (substitute* "lang/CMakeLists.txt" - (("include\\(\\.\\./external_libraries/link/\ + #~(let ((keep-dirs '("nova-simd" "nova-tt" "hidapi" + "TLSF-2.4.6" "oscpack_1_1_0" "." ".."))) + (with-directory-excursion "./external_libraries" + (for-each + delete-file-recursively + (scandir "." + (lambda (x) + (and (eq? (stat:type (stat x)) 'directory) + (not (member (basename x) keep-dirs))))))) + ;; To find the Guix provided ableton-link library. + (substitute* "lang/CMakeLists.txt" + (("include\\(\\.\\./external_libraries/link/\ AbletonLinkConfig\\.cmake\\)") - "find_package(AbletonLink NAMES AbletonLink ableton-link \ + "find_package(AbletonLink NAMES AbletonLink ableton-link \ link REQUIRED)")))))) (build-system cmake-build-system) (outputs '("out" ;core language "ide")) ;qt ide (arguments - `(#:configure-flags '("-DSYSTEM_BOOST=ON" - "-DSYSTEM_YAMLCPP=ON" - "-DSC_QT=ON" - "-DCMAKE_BUILD_TYPE=Release" - "-DFORTIFY=ON" - ;; "-DLIBSCSYNTH=ON" ; TODO: Re-enable? - "-DSC_EL=OFF") ;scel is packaged individually as emacs-scel - #:phases - (modify-phases %standard-phases - ;; HOME must be defined otherwise supercollider throws a "ERROR: - ;; Primitive '_FileMkDir' failed." error when generating the doc. - ;; The graphical tests also hang without it. - (add-after 'unpack 'set-home-directory - (lambda _ - (setenv "HOME" (getcwd)))) - (add-after 'unpack 'patch-scclass-dir - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (scclass-dir - (string-append out - "/share/SuperCollider/SCClassLibrary"))) - (substitute* "lang/LangSource/SC_LanguageConfig.cpp" - (((string-append - "SC_Filesystem::instance\\(\\)\\.getDirectory" - "\\(DirName::Resource\\) / CLASS_LIB_DIR_NAME")) - (string-append "Path(\"" scclass-dir "\")")))))) - (add-before 'build 'prepare-x - (lambda _ - (system "Xvfb &") - (setenv "DISPLAY" ":0"))) - (add-before 'install 'install-ide - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (ide (assoc-ref outputs "ide")) - (scide "editors/sc-ide/scide")) - (install-file scide - (string-append ide "/bin")) - (delete-file scide))))))) + (list + #:configure-flags + #~(list "-DSYSTEM_BOOST=ON" + "-DSYSTEM_YAMLCPP=ON" + "-DSC_QT=ON" + "-DCMAKE_BUILD_TYPE=Release" + "-DFORTIFY=ON" + ;; "-DLIBSCSYNTH=ON" ; TODO: Re-enable? + "-DSC_EL=OFF") ;scel is packaged individually as emacs-scel + #:phases + #~(modify-phases %standard-phases + ;; HOME must be defined otherwise supercollider throws a "ERROR: + ;; Primitive '_FileMkDir' failed." error when generating the doc. + ;; The graphical tests also hang without it. + (add-after 'unpack 'set-home-directory + (lambda _ + (setenv "HOME" (getcwd)))) + (add-after 'unpack 'patch-scclass-dir + (lambda _ + (let* ((scclass-dir + (string-append #$output + "/share/SuperCollider/SCClassLibrary"))) + (substitute* "lang/LangSource/SC_LanguageConfig.cpp" + (((string-append + "SC_Filesystem::instance\\(\\)\\.getDirectory" + "\\(DirName::Resource\\) / CLASS_LIB_DIR_NAME")) + (string-append "Path(\"" scclass-dir "\")")))))) + (add-before 'build 'prepare-x + (lambda _ + (system "Xvfb &") + (setenv "DISPLAY" ":0"))) + (add-before 'install 'install-ide + (lambda _ + (let* ((ide #$output:ide) + (scide "editors/sc-ide/scide")) + (install-file scide + (string-append ide "/bin")) + (delete-file scide))))))) (native-inputs (list ableton-link pkg-config qttools-5 xorg-server-for-tests)) (inputs (list jack-1 -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 28 11:11:48 2023 Received: (at 63147) by debbugs.gnu.org; 28 Apr 2023 15:11:48 +0000 Received: from localhost ([127.0.0.1]:34234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psPlE-0006lj-BO for submit@debbugs.gnu.org; Fri, 28 Apr 2023 11:11:48 -0400 Received: from m12.mail.163.com ([220.181.12.198]:47770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psPl9-0006lQ-BS for 63147@debbugs.gnu.org; Fri, 28 Apr 2023 11:11:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version: Content-Type; bh=tS6acb/PhSKYBJsNmiS29kA1jjLDiPfIFCEUSukIn4s=; b=Q5HLzlHurM5yp5hUFuXrl/MScaZV6+DLw2HgH0IoGiBBiQn+0S3OsqMrG+bUYs xx33d16ooEJd9NeU53pc0hAg1Kjfm0vlScl9VvmA3EYr7A6WxplvqYrFOkdwrhoM Llp+m1NugTNi5+JHUAM5TITPH5g53mY75CP5i5j/P6DuU= Received: from asus-laptop (unknown [119.123.68.49]) by zwqz-smtp-mta-g1-4 (Coremail) with SMTP id _____wBnn1Mg4ktkdJyNAQ--.40995S2; Fri, 28 Apr 2023 23:11:34 +0800 (CST) References: <20230428133329.31666-1-all_but_last@163.com> User-agent: mu4e 1.8.13; emacs 30.0.50 From: Zhu Zihao To: 63147@debbugs.gnu.org Subject: [PATCH 2/2] gnu: supercollider: Update to 3.13.0. Date: Fri, 28 Apr 2023 23:10:34 +0800 In-reply-to: Message-ID: <86v8hg82ju.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-CM-TRANSID: _____wBnn1Mg4ktkdJyNAQ--.40995S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUnXdbDUUUU X-Originating-IP: [119.123.68.49] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBoQlfr2I0YhQSywAAsh X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63147 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQT4UAIrVkIEZilSHr2K2nJqP6LM8gUCZEviFRUcYWxsX2J1dF9s YXN0QDE2My5jb20ACgkQitpyaj+izPKGXgEA/eQRbS5o6Ft/bJCb5aHNDEQx0JQk 9LEQ7Xc5+wOq0HUA/jFZLX37AUAS4u1+3wVsWG/DNjeIHqF7VlsEOfY2QxMK =rzAe -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-supercollider-Update-to-3.13.0.patch >From 4bf2a1cfc6b5633ad1c6cb1a6e302bc36cd24ab6 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Fri, 28 Apr 2023 21:17:54 +0800 Subject: [PATCH 2/2] gnu: supercollider: Update to 3.13.0. * gnu/packages/audio.scm (supercollider): Update to 3.13.0. --- gnu/packages/audio.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 69570109d9..c3db095007 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -3441,7 +3441,7 @@ (define-public qjackrcd (define-public supercollider (package (name "supercollider") - (version "3.12.1") + (version "3.13.0") (source (origin (method git-fetch) @@ -3453,7 +3453,7 @@ (define-public supercollider (file-name (git-file-name name version)) (sha256 (base32 - "0id522338a464j1slcspajwc7klypbc9qpigw5mqjhrw970wij5z")) + "1dkpnaly4m2j41ypy7xj5m2yhbl4ykw3vbnam345z4dk6qhyj9b1")) (modules '((guix build utils) (ice-9 ftw))) (snippet -- 2.39.2 --=-=-= Content-Type: text/plain -- Retrieve my PGP public key: gpg --recv-keys B3EBC086AB0EBC0F45E0B4D433DB374BCEE4D9DC Zihao --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu May 11 06:47:15 2023 Received: (at 63147-done) by debbugs.gnu.org; 11 May 2023 10:47:16 +0000 Received: from localhost ([127.0.0.1]:49823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px3pL-0006yK-O7 for submit@debbugs.gnu.org; Thu, 11 May 2023 06:47:15 -0400 Received: from mail.envs.net ([5.199.136.28]:37066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px3pJ-0006y4-6g for 63147-done@debbugs.gnu.org; Thu, 11 May 2023 06:47:14 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 2A34038A18AC; Thu, 11 May 2023 10:47:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1683802030; bh=S4X9XGTSUiX4Kvquee7RgiURLnf+HFc9FmRpJrB1mw4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=OgTx5v0796a7r0WiZM9UtRAS8+bKdc5EzRrAlqsXSd+DM+9jBaf19Z8xLmFEK+6HM 1fOW6raUhzXmZeh8ZWmXYDqDcYFcxdZpbyo+9REH3//5YGnfyBUx2o0pX1quUh2Pkp iBfNVIrpF6MMucXqqa59jKVfSCxx38vz/omoiqVw99VHUDUKIeaJ+SvmU7MWCtqnGN 1Mg35ZjQX6DjNgJ8RSZLVZI0XJG9mlrqqal2FtSHtHmq18dTh7YAZNUCa2pISFPSr2 JtKofCEZPaaOQcSJ/y3NmBqHaOa3JXW+svxjR2zeJAXllxQttrdXH5FmiCrwwGIG8l gMIZpeEf9ODiw7cCIWiPAw6FB9Mu+DO6tVFEtOtoqTx61slboO5j9Q9QrN/8Y3OTm4 l9SDWWV4j6uoRvH7AQ3X/xQ9sQAE8dRQN/sTczfp03xEqwGBnRzKclgr/bYo7lS/Jz syba6HBxQ396n6UQPGra9c14/L53poaNAhVO9qy56IkWLMhwOknUhOjE2NnTdEUHQZ tsfbKmG7xHZ4AAg6F8VT0fjra0knecdJjMKUhHBhdsd98KcMgBauE/XL+uRc7yUapg 7I9Zx66Aacz0IECcK/EF4D3ZFbhQD6pXP10PgIc4pQyuXP8Obc+KNhjhbyoczhkygz ISBIEN+cWkeX4qH4gCsyQk88= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id eh0q_qfWAS5h; Thu, 11 May 2023 10:47:06 +0000 (UTC) Received: from localhost (unknown [36.170.44.145]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Thu, 11 May 2023 10:47:06 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 79612e1d; Thu, 11 May 2023 10:47:03 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= To: Zhu Zihao Subject: Re: bug#63147: [PATCH 1/2] gnu: supercollider: Use G-expressions. References: <20230428133329.31666-1-all_but_last@163.com> <86v8hg82ju.fsf@163.com> Date: Thu, 11 May 2023 18:47:03 +0800 In-Reply-To: <86v8hg82ju.fsf@163.com> (Zhu Zihao's message of "Fri, 28 Apr 2023 23:10:34 +0800") Message-ID: <87jzxfywk8.fsf_-_@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63147-done Cc: 63147-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Applied, thank you! From unknown Sat Jun 21 10:28:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 08 Jun 2023 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator