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 ms9.migadu.com with LMTPS id mHxCCD41o2S+LgEASxT56A (envelope-from ) for ; Mon, 03 Jul 2023 22:53:18 +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 oGyCBz41o2Si4AAAG6o9tA (envelope-from ) for ; Mon, 03 Jul 2023 22:53:18 +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 C87D01591E for ; Mon, 3 Jul 2023 22:53:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGQXh-0006jX-Kx; Mon, 03 Jul 2023 16:53: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 1qGQXe-0006hO-Sh for guix-patches@gnu.org; Mon, 03 Jul 2023 16:53: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 1qGQXe-0006cb-Ju for guix-patches@gnu.org; Mon, 03 Jul 2023 16:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qGQXe-0005HK-Ax for guix-patches@gnu.org; Mon, 03 Jul 2023 16:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64374] [PATCH v2 2/3] gnu: ardour: Install bundled MIDI loops. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 Jul 2023 20:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64374 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64374@debbugs.gnu.org Cc: Sughosha Received: via spool by 64374-submit@debbugs.gnu.org id=B64374.168841756120243 (code B ref 64374); Mon, 03 Jul 2023 20:53:02 +0000 Received: (at 64374) by debbugs.gnu.org; 3 Jul 2023 20:52:41 +0000 Received: from localhost ([127.0.0.1]:34551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGQXI-0005GM-Ii for submit@debbugs.gnu.org; Mon, 03 Jul 2023 16:52:40 -0400 Received: from knopi.disroot.org ([178.21.23.139]:52826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGQXF-0005Fw-Ay for 64374@debbugs.gnu.org; Mon, 03 Jul 2023 16:52:38 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A7E4144E7F; Mon, 3 Jul 2023 22:52:33 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y3e0f0wGr1So; Mon, 3 Jul 2023 22:52:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1688417552; bh=U3UwUWY4bNkqY010k6mnRoJoEMaNQ2RZNoFkqoE0hDE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=fUrixrwCbaY2bovEme+feBfE4dMW3Vu0SpQtuBw1CnDYMXxZulRNHEvbwnymEZ+6s 1tn9ZJSOdVGv1id/pvTqcB2+ACpcxiSX5vzG8A5kcfVsqdSm3FjECQYBKGI4JCSBSe zxIgxqZx9EGABhlFJLRPtMA5we3xg1MPPwn+1/MpN5HPHcDXYHd3MkZo0vR49JmRcm HSNVBJbqHGN2h8LMkRrRYbpbqgxPMHSVsoBIu6/FfvkFFugw1GvCi4hSIaiXpb9yhI DjgtrVlHNl8f2S38aRqVoEvOQhHpMxutBiaMivk+N1Rhhlst45qHexov5/kM2b+L0/ Z7kem0f12jOrA== Date: Mon, 3 Jul 2023 22:52:18 +0200 Message-Id: <525fecd2e07fd9e513af675ecae52cde0911cc62.1688416868.git.sughosha@disroot.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 From: Sughosha via Guix-patches via 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=1688417597; a=rsa-sha256; cv=none; b=cAm+0pxphkSvkO/pr3qSNeBlqf7dVYfMNeZDECP+CsDnm+ItRoLLngj1FzmZ5usOd993dI P5sXZfRFziTGzvsYXQh/HcWdx5IsVUCWGMeRNW7PSxFdTZHUfklybnnbPfrHMyig+qstdq jeo6oKLP4TN6N2iZk3mkFAkPlmr6HIfWGigi+2pVAiOnSCH7njR5ebIVPGNcDzp75TQRf1 PMSVKM+Uc6W2hJ/Fob88GhPOjfGINeifkYtBvkUUYePFX3yFCGphZ4wE/tzRTZIyj7yLKR WARZoZ1zJfGzkMks8g9rrVEKCjrRy8WLAaDnq6fl1eFKO1CC1eNhoGCic2vKqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=fUrixrwC; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688417597; h=from:from:sender:sender:reply-to: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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Z00p1K5GA/vo97XuZrwkw6Eu1YUV/wWcNDWZdchlnXo=; b=NKTUvwjE9FQMWOoS062l+28T3KsNWNIkk96CC3j+cpVca4KGW7IzwZO81MlzWpvrt9mJW0 PpWmcUIbkYvIUhEjpjdAl26/ybfgQG4QFaAeYuILaiPFhhpyn3DG743yqdHLEoajJqQFyH 7l/FnjXuQk0ptXoIYCe9BWzak/XDg3Tw/CkZhof4p46J/8z92AdVF6obFGFu9sICVEJUeH 1Gdckn/fHsmuDrIInHXLHE/ijoaLitfdi4VmPxaut8/HOIHhxOlM2xGuTzV+3XjGQFJOp8 ++O8IpCayg5HuV7cmKuidhVFZnlAXeaVx/BRzL/RfEPL/jHWw9qEZHdEladpKw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=fUrixrwC; 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.06 X-Spam-Score: -4.06 X-Migadu-Queue-Id: C87D01591E X-TUID: vmndBazkM4nS * gnu/packages/audio.scm (ardour)[#:phases]: Add install-bundled-media. [native-inputs]: Add unzip. [license]: Add cc0 and expat. --- gnu/packages/audio.scm | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 550f653420..25fa8acf33 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -735,6 +735,14 @@ (define (ardour-rpath-phase major-version) libdir "/surfaces" ":" libdir "/vamp" "\"]")))))) +(define ardour-bundled-media + (origin + (method url-fetch) + (uri "http://stuff.ardour.org/loops/ArdourBundledMedia.zip") + (sha256 + (base32 + "0k135sm559yywfidrya7h5cddwqa2p2abhimrar2khydf43f03d0")))) + (define-public ardour (package (name "ardour") @@ -793,7 +801,14 @@ (define-public ardour (add-after 'install 'install-man-page (lambda* (#:key outputs #:allow-other-keys) (install-file "ardour.1" (string-append (assoc-ref outputs "out") - "/share/man/man1"))))) + "/share/man/man1")))) + (add-after 'install 'install-bundled-media + (lambda* (#:key outputs #:allow-other-keys) + (invoke "unzip" "-d" (string-append (assoc-ref outputs "out") + "/share/ardour" + ,(version-major version) + "/media/") + ,ardour-bundled-media)))) #:test-target "test")) (inputs (list alsa-lib @@ -848,14 +863,17 @@ (define-public ardour gettext-minimal itstool perl - pkg-config)) + pkg-config + unzip)) (home-page "https://ardour.org") (synopsis "Digital audio workstation") (description "Ardour is a multi-channel digital audio workstation, allowing users to record, edit, mix and master audio and MIDI projects. It is targeted at audio engineers, musicians, soundtrack editors and composers.") - (license license:gpl2+))) + (license (list license:gpl2+ + license:cc0 ;used by MIDI Beats + license:expat)))) ;used by MIDI Chords and Progressions (define-public audacity (package -- 2.40.1