From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 KJ+jEg19SGTiYwEASxT56A (envelope-from ) for ; Wed, 26 Apr 2023 03:23:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sG/JEQ19SGSaVQAAG6o9tA (envelope-from ) for ; Wed, 26 Apr 2023 03:23:25 +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 C7BA63B38B for ; Wed, 26 Apr 2023 03:23:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prPPM-0000lH-Vt; Tue, 25 Apr 2023 16:37:05 -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 1prPPK-0000cY-CK for guix-patches@gnu.org; Tue, 25 Apr 2023 16:37: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 1prPPK-00031o-4J for guix-patches@gnu.org; Tue, 25 Apr 2023 16:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1prPPJ-0002RP-Lx for guix-patches@gnu.org; Tue, 25 Apr 2023 16:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63075] [PATCH 1/2] gnu: Fix supercollider. Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Apr 2023 20:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63075 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63075@debbugs.gnu.org Received: via spool by 63075-submit@debbugs.gnu.org id=B63075.16824549919343 (code B ref 63075); Tue, 25 Apr 2023 20:37:01 +0000 Received: (at 63075) by debbugs.gnu.org; 25 Apr 2023 20:36:31 +0000 Received: from localhost ([127.0.0.1]:53672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prPOb-0002QK-VT for submit@debbugs.gnu.org; Tue, 25 Apr 2023 16:36:31 -0400 Received: from chimborazo.ee.ethz.ch ([129.132.2.15]:55259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prPOV-0002Q1-3x for 63075@debbugs.gnu.org; Tue, 25 Apr 2023 16:36:15 -0400 Received: from blackbox (212-51-128-25.fiber7.init7.net [212.51.128.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gabriel) by chimborazo.ee.ethz.ch (Postfix) with ESMTPSA id 96E4040093 for <63075@debbugs.gnu.org>; Tue, 25 Apr 2023 22:36:03 +0200 (CEST) Date: Tue, 25 Apr 2023 22:35:59 +0200 From: Gabriel Wicki Message-ID: <20230425203559.uzhf3mwdqcc4imvv@blackbox> References: <20230425203323.j5emxz2ebvhs4ckt@blackbox> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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=1682472204; a=rsa-sha256; cv=none; b=ghLf6TN4NQdLqv0FKYxEfwtFHOqMdQmo7pUe+f/K15vTiC6Wau7OwTSdmBUkBQVkbf/VdJ YZck8ClaDLe84C7xgYKidpotvbv8lPmfpfaeMXwh9RJJIDhsD+C7/VzD1s8Fub0rRAzhxt PTkNj3wVfJ+OEjFA4OjXezr6etHEUed/vI9PqDicoQnA0w9q8iery4j5wtm4eNE+DCPu+F 09XhVlEiNKulzmpqLToVK4FoqJxBt04IEqvtV60pwA6egENAH6cG6gJYT+3Ze9vSTv9PUU Df2iQ0uGUXuEEPQOoCw5MRGkRkckKuBrjx4VjFcMmWqzVy6k3V9ntE5v1futAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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=1682472204; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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; bh=Hts0cv/ZzT5c3j49+7tPvoAIORU0phY2Lhh3rxGy+9Q=; b=WFAuAv7jJFkak/SnkSluWXUBCfGvWp3gscb+AbkxOQ2/RqEPoF4LUMKoMGle9KQEP5jLwL l6wa7vYLaA56FNJ0eeRFRldkeTT8/i6PlNPBO7hWGq2MTVWa8LfO4/dcVZHudsk04b/63k n4DuXb22w27SKDTRjT9LXnaubmMR88RJpsQclfVScHNmwd6+n3DkDpSsNEq6sLj0hJEDDj iM03mkoV87HoV+jIxBLMoaHq+IsWaaSikO4T+B3B07iXzWneUs8uHGTF8MvBdxrUYGXax/ ovIjmCOOuEg0ZrAugHt9RT+4JhbWossjRTPlnCeqGK59y0z46SxpeI2rKhkjfQ== X-Migadu-Spam-Score: -1.41 X-Spam-Score: -1.41 X-Migadu-Queue-Id: C7BA63B38B X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-TUID: aX8YqJRwJSZ7 >From f67786eb958a65ba778f67a8f443fa3d24293438 Mon Sep 17 00:00:00 2001 Message-Id: From: Gabriel Wicki Date: Tue, 25 Apr 2023 22:03:03 +0200 Subject: [PATCH 1/2] gnu: Fix supercollider. * gnu/packages/audio.scm (supercollider): Fix the build. [configure-flags] Re-enable DLIBSCSYNTH. [phases] New phase fix-struct-SOUNDFILE-tag. [inputs] Add ruby and python to appease the build process. --- gnu/packages/audio.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index dca5e516a1..109133ba8e 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -43,6 +43,7 @@ ;;; Copyright © 2023 Sergiu Ivanov ;;; Copyright © 2023 David Thompson ;;; Copyright © 2023 Sharlatan Hellseher +;;; Copyright © 2023 Gabriel Wicki ;;; ;;; This file is part of GNU Guix. ;;; @@ -119,6 +120,7 @@ (define-module (gnu packages audio) #:use-module (gnu packages qt) #:use-module (gnu packages rdf) #:use-module (gnu packages readline) + #:use-module (gnu packages ruby) #:use-module (gnu packages samba) #:use-module (gnu packages sdl) #:use-module (gnu packages serialization) @@ -3485,7 +3487,7 @@ (define-public supercollider "-DSC_QT=ON" "-DCMAKE_BUILD_TYPE=Release" "-DFORTIFY=ON" - ;; "-DLIBSCSYNTH=ON" ; TODO: Re-enable? + "-DLIBSCSYNTH=ON" "-DSC_EL=OFF") ;scel is packaged individually as emacs-scel #:phases (modify-phases %standard-phases @@ -3506,6 +3508,12 @@ (define-public supercollider "SC_Filesystem::instance\\(\\)\\.getDirectory" "\\(DirName::Resource\\) / CLASS_LIB_DIR_NAME")) (string-append "Path(\"" scclass-dir "\")")))))) + (add-after 'patch-scclass-dir 'fix-struct-SOUNDFILE-tag + (lambda* _ + (display (getcwd)) (newline) + (substitute* "include/plugin_interface/SC_SndBuf.h" + (("SNDFILE_tag") + "sf_private_tag")))) (add-before 'build 'prepare-x (lambda _ (system "Xvfb &") @@ -3532,6 +3540,8 @@ (define-public supercollider boost boost-sync yaml-cpp + python-wrapper ;there were warnings in the build process + ruby ;there were warnings in the build process qtbase-5 qtdeclarative-5 qtsvg-5 -- 2.39.2