From patchwork Mon May 1 05:49:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosha X-Patchwork-Id: 49723 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7BA0F27BBE9; Mon, 1 May 2023 06:51:33 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 78F1427BBE2 for ; Mon, 1 May 2023 06:51:30 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptMRH-0002tL-I5; Mon, 01 May 2023 01:51:07 -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 1ptMRF-0002tA-2t for guix-patches@gnu.org; Mon, 01 May 2023 01:51: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 1ptMRD-0007TL-8O for guix-patches@gnu.org; Mon, 01 May 2023 01:51:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ptMRC-0005Oc-6W for guix-patches@gnu.org; Mon, 01 May 2023 01:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63199] [PATCH] gnu: Add juce. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 May 2023 05:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63199 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63199@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.168292020820505 (code B ref -1); Mon, 01 May 2023 05:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 May 2023 05:50:08 +0000 Received: from localhost ([127.0.0.1]:38722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptMQJ-0005Kd-Js for submit@debbugs.gnu.org; Mon, 01 May 2023 01:50:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:48036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptMQF-0005KQ-IG for submit@debbugs.gnu.org; Mon, 01 May 2023 01:50:06 -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 1ptMQE-0002ps-6K for guix-patches@gnu.org; Mon, 01 May 2023 01:50:03 -0400 Received: from mail-40138.protonmail.ch ([185.70.40.138]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptMQA-00073G-VH for guix-patches@gnu.org; Mon, 01 May 2023 01:50:01 -0400 Date: Mon, 01 May 2023 05:49:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1682920188; x=1683179388; bh=0Bd8BYiZwnOrEWgeWQoqlImoxgBrf4pU7Sy6iiARHk8=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=aVmURg0o1vfxz/9FjoNFQZ0MghU0g8pyeS+gw/gear/VU59q8RKeRQVMEpYms6kVr KbpKrNtL8Vxe2puI14DpxQN9MBAWcqDSfNtE0x3Lw/1rvy+Qen+5aPDmGk5jMsyiL6 QgfgGPTdrUPSSsDFJua/gD6KHD7OHEkBXjawkt9GcmohBkxxk6fyRCBBRGBUa+qVuP S+E9oHcbNFMDcxmufhzkxf3p6lwPkyoM940t0dvj/CY9Q/8We8QAMyKf9P4Vfn+PQk vJfhPv+V/+Pv6g2Sy1bZEGUHQolSUYpcUCIlPddpPYl9AwgmkZdyaQZSo3qmiqRL6V X6IfkyrUvFcSQ== Message-ID: <82Vq54ICY2wY3ste1ysyzh2OlgViC2d6cXej6r12bRJd1BcNtggmr6180ZNeCvNOoItWOTzDf-wx2KCQvHemXOy-NFD0Kq8XCfUCNfySEkc=@proton.me> Feedback-ID: 45211691:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.138; envelope-from=Sughosha@proton.me; helo=mail-40138.protonmail.ch 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_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: Sughosha X-ACL-Warn: , Sughosha via Guix-patches X-Patchwork-Original-From: Sughosha via Guix-patches via From: Sughosha Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cpp.scm (juce): New variable. --- gnu/packages/cpp.scm | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) -- libgit2 1.5.1 diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 023d1c0..5945923 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -66,6 +66,7 @@ #:use-module (guix gexp) #:use-module (gnu packages) #:use-module (gnu packages assembly) + #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages boost) #:use-module (gnu packages build-tools) @@ -82,6 +83,7 @@ #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) + #:use-module (gnu packages image) #:use-module (gnu packages libevent) #:use-module (gnu packages libunwind) #:use-module (gnu packages linux) @@ -98,6 +100,7 @@ #:use-module (gnu packages pulseaudio) #:use-module (gnu packages tls) #:use-module (gnu packages web) + #:use-module (gnu packages webkit) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (ice-9 match)) @@ -2430,6 +2433,58 @@ queues, resource pools, strings, etc. @end itemize") (license license:zlib)))) +(define-public juce + (package + (name "juce") + (version "7.0.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/juce-framework/JUCE") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1zfkyf9gwwvv0mrslvvjlh6gxv1zd50bkcal54x1kqil46hps49m")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f ;no test suite + #:configure-flags #~(list "-DJUCE_TOOL_INSTALL_DIR=bin") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* + "extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_CodeBlocks.h" + (("/usr/include/freetype2") + (string-append #$freetype "/include/freetype2"))) + (substitute* + "modules/juce_graphics/native/juce_linux_Fonts.cpp" + (("/etc/fonts") + (string-append #$fontconfig "/etc/fonts")))))))) + (native-inputs + (list alsa-lib + curl + jack-1 + libx11 + pkg-config + webkitgtk-with-libsoup2)) + (inputs (list fontconfig freetype libjpeg-turbo libpng)) + (home-page "https://juce.com") + (synopsis "Cross-platform C++ application framework") + (description + "JUCE is a cross-platform C++ application framework for creating +applications including VST, VST3, AU, AUv3, AAX and LV2 audio plug-ins and +plug-in hosts.") + (license + (list license:asl2.0 ;for Oboe and AudioUnitSDK + license:bsd-3 ;for FLAC, Ogg Vorbis and OpenGL Extension Wrangler + license:expat ;for Mesa 3-D graphics and jucer icons + license:gpl3 ;for JUCE and VST3 SDK + license:ijg ;for jpeglib + license:isc ;for LV2 SDK + license:zlib)))) ;for pngLib, zlib and Box2D + (define-public ftxui (package (name "ftxui")