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 ms5.migadu.com with LMTPS id GIl4MXSSWWMG5wAAbAwnHQ (envelope-from ) for ; Wed, 26 Oct 2022 22:03:00 +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 eCB4MHSSWWM5xQAAG6o9tA (envelope-from ) for ; Wed, 26 Oct 2022 22:03:00 +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 9B23839535 for ; Wed, 26 Oct 2022 22:03:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onmbb-0005mR-KL; Wed, 26 Oct 2022 16:02:27 -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 1onmbE-0002GQ-T2 for guix-patches@gnu.org; Wed, 26 Oct 2022 16:02:14 -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 1onmbC-0000t4-Iz for guix-patches@gnu.org; Wed, 26 Oct 2022 16:02:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1onmbC-0006xs-4g for guix-patches@gnu.org; Wed, 26 Oct 2022 16:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58572] [PATCH v3] gnu: juce: Fix paths References: In-Reply-To: Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Oct 2022 20:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58572 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: "58572@debbugs.gnu.org" <58572@debbugs.gnu.org> Received: via spool by 58572-submit@debbugs.gnu.org id=B58572.166681449526741 (code B ref 58572); Wed, 26 Oct 2022 20:02:02 +0000 Received: (at 58572) by debbugs.gnu.org; 26 Oct 2022 20:01:35 +0000 Received: from localhost ([127.0.0.1]:55341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onmak-0006xE-D1 for submit@debbugs.gnu.org; Wed, 26 Oct 2022 16:01:34 -0400 Received: from mail-40138.protonmail.ch ([185.70.40.138]:55541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onmad-0006ww-W6 for 58572@debbugs.gnu.org; Wed, 26 Oct 2022 16:01:33 -0400 Date: Wed, 26 Oct 2022 20:01:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1666814480; x=1667073680; bh=81MividsCPwdwWYOQnvIklH94JsiWLyy23L0V+UaP8o=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=ec6ew7FoZujNCephEov5smr/sXcXKwsL3i9qULy3AcZaOtU0oH26NJ+/NyOETV1JI 1dSLmrujLimL3F91U2fTyk4IX2AISlu5Tb8kPXItaps5LHVtNWXfyondt0CN1RIOm6 a1KInPxsF87/b5V3R6J6ic/3T9tUmbq9RCcLWt3KsHUpwXjSGruGmgRdOtudkUbAiB Y23Pr2moAD1x2Jpg7CLVqwgCM8+H9YD27V//6H4RSldrvKMRk+mREhcR+YkKIXzeDB dFPkTPbumnW888ZxkjvbcPQuukeV8tGzlQcBnkK90rF5Gl7UL5A/Iuw6wcw+EfH+/M 5ZoGKRlrE32dA== Message-ID: Feedback-ID: 45211691:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Sender: "Guix-patches" Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches From: Sughosha via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666814580; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=81MividsCPwdwWYOQnvIklH94JsiWLyy23L0V+UaP8o=; b=lib1LLRRGpsLW6QTLULsX/ZOnb8Dg2b6eSSCZcOsPnNaq1hrsZzecHKDsAGdYouD7WBCdS nJhYjRFtGJVxYjpA4X7xG3NdK9TFIL6sUQLh274O7eCUd7cNVTfjDshWqRPuVj+BUdmMJ+ pJHG6XvF0b7BqqnUm15iNCymy/ZAhealWAPmtXedwlys+fknnpxjDnApYeCjxeZ9Vnn7Na jY47zSX0IXmEQTc3ko1yobmvrk5vZbyLi4rHxXyR1Z1MN/YyK/dgEy4Lgo8bbxlv+Rhi+W oMs6H8S0Ps2mJCeTerP5dJUZ3OaUsE5cLqYieC+Gko46eyGs8lPraV4n0Cv1RQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666814580; a=rsa-sha256; cv=none; b=bDAEsiUXySWqDHEQGtLjvHIF6YbbPXFJC/jrD/iWDEaDJXYI94j+utODFwYaKu6Fkim36W 7tne8Vafa4Uszztfme0qZHRTBG3seb4o4tWN3XAPoJwNOl/MW6fdOfFq5EIoqafMHd5arA u4FY/CM0vkk273zlFUP25gjN9S5xea8atYtHfDzBMLVS/gd88/CyTs/TORcfnExjU2Clvg pWilPldKQWDpadAxB3D0p3JHoiiR0BHw4LrNojrHNkDILpS/kGaEoINm496SViUQLZz+E/ sMMcVqmkdueuZgg0Ixbtr2IfEowlS04CgqAvtN/CSbyd0pyHp3k4oOrPxwe5RA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=protonmail header.b=ec6ew7Fo; dmarc=pass (policy=none) header.from=gnu.org; 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-Spam-Score: -2.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=protonmail header.b=ec6ew7Fo; dmarc=pass (policy=none) header.from=gnu.org; 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-Queue-Id: 9B23839535 X-Spam-Score: -2.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: J70YAKhk7vkV * gnu/packages/music.scm (juce)[arguments]: Fix paths. [inputs]: Add dconf, fontconfig and glib:bin. [propagated-inputs]: Add xdg-open. --- gnu/packages/music.scm | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 6d0fd1e9c0..2fee51ed1f 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -1890,14 +1890,33 @@ (define-public juce (build-system cmake-build-system) ;; TODO: Use installed packages instead of bundled dependencies. (arguments - (list #:tests? #f)) ;no test suite + (list #:tests? #f ;no test suite + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda _ + (substitute* "extras/Projucer/Source/ProjectSa= ving/jucer_ProjectExport_CodeBlocks.h" + (("/usr/include/freetype2") + (string-append #$freetype "/include/freetyp= e"))) + (substitute* "modules/juce_graphics/native/juc= e_linux_Fonts.cpp" + (("/etc/fonts") + (string-append #$fontconfig "/etc/fonts"))) + (substitute* "modules/juce_gui_basics/native/x= 11/juce_linux_XWindowSystem.cpp" + (("/usr/bin/dconf") + (string-append #$dconf "/bin/dconf")) + (("/usr/bin/gsettings") + (string-append (ungexp glib "bin") + "/bin/gsettings")))))))) (native-inputs (list pkg-config)) (inputs (list alsa-lib curl + dconf + fontconfig freetype + `(,glib "bin") jack-1 libx11 python)) + (propagated-inputs (list xdg-utils)) ;for xdg-open to open web browser (home-page "https://juce.com") (synopsis "Cross-platform C++ application framework") (description --=20 2.38.0