From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oGnRLoPSGGS7cgEASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 22:39:15 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uOLRLoPSGGRGsQAA9RJhRA (envelope-from ) for ; Mon, 20 Mar 2023 22:39:15 +0100 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 aspmx2.migadu.com (Postfix) with ESMTPS id E79F438E25 for ; Mon, 20 Mar 2023 22:39:14 +0100 (CET) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=dZAEX15A; dmarc=none; spf=pass (aspmx2.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=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679348355; h=from:from:sender:sender: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=wbqsXR1vYOgxAuIG3P4AIihzkQ8JLU9FLumxGjcqnKM=; b=EsbLc3C80SfADvSVXZH1fVlFMKQMhYKp6Xub5Rsesln603KEuN4g0A+bwx5/edh0bb9GLo 1YnesoFe6Gj79jIVtn0MM8H1y9jfO+CCfw/ShcqcN9eA84u5eBo5wqsQqwC2Sdz9DE8Nkf Rhqy53rINMrviLrxM+0N0+FFJOPvOcIXp428diSL/vKcdlfzu8HRoM4uGq5HC+Cdpa4jcn 47YEQ9vAu4w7fJSHql42lQntS3SVdAQoYKkB/GWF89YMBBePadAOTWLQkac8PbvDLwCLXg HksQYHvF6qiODWpY0owMNiU1o4dPzddZxinRdif0MZmYQzj78PNf+n/bCjoYgw== ARC-Authentication-Results: i=2; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=dZAEX15A; dmarc=none; spf=pass (aspmx2.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=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1679348355; a=rsa-sha256; cv=fail; b=L/IpAToGReo3N0U4WkY6Ge4xo8L+XwAkyedb8PO1J1pleyu3aOs6pO84zbO6movK3MrPtD TGC7Xavf0xNudLrEheG3SekWp5BBy2HO84Nu18LIg2ATyTLOw+g7iBFyovHXNfONV5AdiO 4DKOwJfHgXsoiLiSenCdoFmS48GtODiusnvHKCEwQMnhGV1UfXdvQ8tIdSbeCPHoEpkDwB LXxTv5w5W7WACkgRTuBYHW15eAX5a+L5rhps8EjTVkJwUwyimWDvDQGgnus5XMqIBn3k4e OBFPkhHTLbHx+ibyLlcW2v9zAMJi3zbdD3iJLj1b3Ni0UQvFfwdFDLn8sUumRQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peNDf-0001we-55; Mon, 20 Mar 2023 17:39: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 1peNDb-0001w9-2S for guix-patches@gnu.org; Mon, 20 Mar 2023 17:39:03 -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 1peNDa-0001WO-AF for guix-patches@gnu.org; Mon, 20 Mar 2023 17:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peNDZ-0006RX-Sb for guix-patches@gnu.org; Mon, 20 Mar 2023 17:39:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62304] [PATCH] gnu: Add ctrlr. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 21:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62304 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62304@debbugs.gnu.org Cc: Ricardo Wurmus X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167934831624713 (code B ref -1); Mon, 20 Mar 2023 21:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Mar 2023 21:38:36 +0000 Received: from localhost ([127.0.0.1]:56919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peNDA-0006QX-2i for submit@debbugs.gnu.org; Mon, 20 Mar 2023 17:38:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:34510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peND9-0006QQ-7r for submit@debbugs.gnu.org; Mon, 20 Mar 2023 17:38: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 1peND8-0001pD-OA for guix-patches@gnu.org; Mon, 20 Mar 2023 17:38:34 -0400 Received: from sender3-of-o58.zoho.com ([136.143.184.58]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peND6-0001Q7-Pv for guix-patches@gnu.org; Mon, 20 Mar 2023 17:38:34 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1679348308; cv=none; d=zohomail.com; s=zohoarc; b=gKVugzeROMdowiEFEnMwlSrBVgbt7ps9EbfBCF/+Z+omJjNduCAfs526wgXujf8cmBNZetaW+yUhlGRl75vz3m50FQrwJPQMDW5Y1Z1ASzHKuW/V1GXxnV6F4BswY+quZC43UfEca5OISB+uTqyDVOkW6b+SYQZTa11mQI2Ws/o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1679348308; h=Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=wbqsXR1vYOgxAuIG3P4AIihzkQ8JLU9FLumxGjcqnKM=; b=EOT1rmD5AtOxKuuHJOQUFU9RSZcZoMrGD7fDpMwvweNZV1anXaWPgFKSz9yTE/6IvAGOdfydJVl1jHKMF6cY/HfTTuLZDrZ2GF1QMiDsUdJwuCGR4dokJ1jag1KxumJ7Oqx05wrqxkLVkxW/9rlJAxc1kNJA5R6orFJFsxrb/lo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1679348308; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:MIME-Version:Content-Transfer-Encoding:Reply-To; bh=wbqsXR1vYOgxAuIG3P4AIihzkQ8JLU9FLumxGjcqnKM=; b=dZAEX15AFRtgysTlOTlVAp+C7HqDmvYJgttziSIZVqc8tG4R4urI7OdE4iw0HJQu ipgf/4fCKrH3Ioxr2BYP2ZUGvLnBEmo8xC7Tl4J7UP9oIEml8t78dbd6Mbf9EVugOBS K9AP1ogq0gYYx3v/Qn/6/tQTO/lOTmHPVJ6WpwEk= Received: from localhost (i5E862D98.versanet.de [94.134.45.152]) by mx.zohomail.com with SMTPS id 1679348307213480.50240474963607; Mon, 20 Mar 2023 14:38:27 -0700 (PDT) From: Ricardo Wurmus Date: Mon, 20 Mar 2023 22:38:19 +0100 Message-Id: <20230320213819.26608-1-rekado@elephly.net> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.184.58; envelope-from=rekado@elephly.net; helo=sender3-of-o58.zoho.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, RCVD_IN_MSPIKE_H2=-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: X-Migadu-Queue-Id: E79F438E25 X-Spam-Score: -1.35 X-Migadu-Spam-Score: -1.35 X-Migadu-Scanner: scn0.migadu.com 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 X-TUID: 1i23Q8JCZHh5 * gnu/packages/music.scm (ctrlr): New variable. --- gnu/packages/music.scm | 65 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index acedfd4a26..489c5ba74c 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -122,6 +122,7 @@ (define-module (gnu packages music) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages game-development) + #:use-module (gnu packages gcc) #:use-module (gnu packages gnupg) #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) @@ -478,6 +479,70 @@ (define-public clementine ;; qocoa is under MIT and CC by-sa for the icons. license:cc-by-sa3.0)))) +(define-public ctrlr + ;; The latest release from 2021 does not have a build system. + (let ((commit "8aa00d82127acda42ad9ac9b7b479461e9436aa4") + (revision "1")) + (package + (name "ctrlr") + (version (git-version "5.5.9" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/RomanKubiak/ctrlr") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lpfkjp9y0wh2kj02isv8ixnxn3wyvrxhkx0rybwzswfiz5kqdlm")))) + (build-system cmake-build-system) + (arguments + (list + #:cmake cmake ;needs 3.25 + #:tests? #false ;there are none + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'pre-configure + (lambda _ + ;; Override default location of fonts.conf. Without this no + ;; fonts will be rendered at all. + (substitute* "JUCE/modules/juce_graphics/native/juce_linux_Fonts.cpp" + (("/usr/share/fonts/fonts.conf") + "/run/current-system/profile/etc/fonts/fonts.conf")) + ;; Do not build the VST or AU plugins, because these require + ;; external proprietary SDKs. + (substitute* "CMakeLists.txt" + (("juce_set_vst2_sdk_path.*") "") + (("FORMATS VST3 VST AU Standalone") + "FORMATS Standalone") + ;; BFD also need -liberty. + (("list\\(APPEND ctrlrLibs \"bfd\"\\)" m) + (string-append m " +list(APPEND ctrlrLibs \"iberty\")"))))) + ;; The install target doesn't install ctrlr but JUCE helpers. + (replace 'install + (lambda _ + (install-file "ctrlr_artefacts/RelWithDebInfo/Standalone/ctrlr" + (string-append #$output "/bin"))))))) + (inputs + (list alsa-lib + boost + eudev + freetype + libiberty + libx11 + webkitgtk)) + (native-inputs + (list pkg-config)) + (home-page "https://ctrlr.org/") + (synopsis "Control any MIDI-enabled hardware") + (description "Control any MIDI-enabled hardware: synthesizers, drum +machines, samplers, effects. Create custom user interfaces for your MIDI +hardware.") + (license (list license:gpl2+ + license:gpl3 ;JUCE + license:bsd-3))))) + (define-public strawberry (package (name "strawberry") -- 2.39.2