From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EEPFD+o+VGd78wAA62LTzQ:P1 (envelope-from ) for ; Sat, 07 Dec 2024 12:26:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id EEPFD+o+VGd78wAA62LTzQ (envelope-from ) for ; Sat, 07 Dec 2024 13:26:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=WQ5+Sy8u; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=RUFGzlr9; 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-Seal: i=1; s=key1; d=yhetil.org; t=1733574378; a=rsa-sha256; cv=none; b=d5ZUeI6B2UNUSq1Mh/fxNeqfPDAlJEfbuzJPgUwUGYqMhUOX4ngorEF79hy2k0P53I/Sbr 0dTd7M/qInCzacaN/mJ0/lnOZUTYHyL/BPdJJewxwKCOBC+0qiOv6CgiQSQaLl7ZkgJ68G wi/mXupxQ+sqt0gLELqKParBHTIRPh6LwY98wxDxWnNTpZY6OSbEm4AROgIAalEGGrKC53 BTxkyBBsZR/KnxAppEnG9f5rNv3tesHAQzDPKrhAgfSN1eWop5uPaoVhup8jtGKAmyf7ev TofYGSGA0FXnAWNVVLenDOyOf90ydrhQKqaoPo52FkjrKvYNLQiGhC2896KD+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=WQ5+Sy8u; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=RUFGzlr9; 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=1733574378; 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=MARdPAoRjW4qCFBLo0RFX/lbAMid8y/YYYp3kB92liQ=; b=FXI2JW7Xv0RvDq+FFZG/8cxooNQBpcxzjED28IQkT+3rYqBw2Ibt24GwE4oEY3Kql/AfzH zmmxAUy2HASNCad74RQPQUA/Eqf6RpfjjSYGmkF2kXaE1GwjYGQcqfww+qZ4kXN9yEy8Nw ieDT+Z+bg5Y0QtE48AxIQ19O6KBiz1pB2ig9tY42DeGqXdi7tbzGBvMxvpcRnBW+0vQCBX Hl+zN9n7yEFiTbhuwdnii6f32El5zHXJTsZonQLvz6N1H35k6e/zeYwNiNhxJxrjgVm4gT 9b4+RnhI7IExS1meBvmqOC6G8JGHjf+V1JnRj4/G3e/dJVIkb9hcccab7fX9iA== 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 154B61A39C for ; Sat, 07 Dec 2024 13:26:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJts7-0003TP-Ax; Sat, 07 Dec 2024 07:25:19 -0500 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 1tJts2-0003PN-Ug for guix-patches@gnu.org; Sat, 07 Dec 2024 07:25:14 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJts2-0001gr-Kz for guix-patches@gnu.org; Sat, 07 Dec 2024 07:25:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=MARdPAoRjW4qCFBLo0RFX/lbAMid8y/YYYp3kB92liQ=; b=WQ5+Sy8u02mdXTFvutuvJanGy7EEiRD+FBEtWlhHi3tFLz2bUIJH+qWFYv3+6Ydbyf15KMTtYMmhVRcDoHQro6d6pbUEzXnRRW9MMei9DrXKjYuP+FkqSQWDqB3rijXTAuTS14iY5hnaTedVPnpS0T0TG1pq1FjdhFDKDIho1OOXUXTxE6Z4R2+kw1BClcE/737LejJLB1IuSA61fR8LyiUqLP5Msc5dcKRw7MJqT++tTEC3C8RcIeNe9ucHDMwV41+XGNfsBdavi3E29HLdhlv2Qe9fFSorVtdqmtTRuWXp2sL9zGRe0eZbRzq61iTxO6rm4ycFB0ZjFp3Zon1BLw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJts2-0001rr-GG for guix-patches@gnu.org; Sat, 07 Dec 2024 07:25:14 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74723] [PATCH 18/19] gnu: Add lmms-1.3. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Dec 2024 12:25:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74723 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74723@debbugs.gnu.org Cc: Sughosha Received: via spool by 74723-submit@debbugs.gnu.org id=B74723.17335743107028 (code B ref 74723); Sat, 07 Dec 2024 12:25:14 +0000 Received: (at 74723) by debbugs.gnu.org; 7 Dec 2024 12:25:10 +0000 Received: from localhost ([127.0.0.1]:45772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJtrx-0001p7-J7 for submit@debbugs.gnu.org; Sat, 07 Dec 2024 07:25:10 -0500 Received: from layka.disroot.org ([178.21.23.139]:34358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJtru-0001oA-Dg for 74723@debbugs.gnu.org; Sat, 07 Dec 2024 07:25:07 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 062C625174; Sat, 7 Dec 2024 13:25:06 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id UFDWQO81nydB; Sat, 7 Dec 2024 13:25:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1733574301; bh=y4dJgU7enbuUXCfTNP0ePPyv0YBnkDTYZfIvjeKmyUA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=RUFGzlr93bhwUUkU43Ps0L4n7lwi1ISDy1xiie4y6jgnB48WaodZ8kEh7Luep1ye8 1pyysKoykcaVF6v+DD6msgvpNX8i/2wZCRLwYl5xmS6OqHA9oBSuRavQBSqaYlLVy3 u9J3TrH6D4fuqHg0ormyw43k8VtEygJWpvrWKIOffMbP536M6K9xHm+Ceb4ZY+TZtD jemhTqJxbfJ3uS5bdAETa1cORZcvCspWDJpcBIheDdx4ihrxs3hNw1Tn0PCA5s4qzw AO4k3+Omtk/x3Fs9ujSNF0XdThe3nean7MB9DMnKN14gkxSPbpU7YJ8lj5LFz5/wWm O54+aKOEUWJLw== Date: Sat, 7 Dec 2024 17:50:32 +0530 Message-ID: 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 X-Migadu-Spam-Score: -6.15 X-Spam-Score: -6.15 X-Migadu-Queue-Id: 154B61A39C X-Migadu-Scanner: mx10.migadu.com X-TUID: jH5oN5eOTW+M * gnu/packages/music.scm (lmms-1.3): New variable. Change-Id: Ia921c482948d6d18d88ef1cba3630a7994fac5a3 --- gnu/packages/music.scm | 84 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 5ec58119ff..42688f2eac 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -163,6 +163,7 @@ (define-module (gnu packages music) #:use-module (gnu packages llvm) #:use-module (gnu packages lua) #:use-module (gnu packages man) + #:use-module (gnu packages maths) #:use-module (gnu packages mp3) #:use-module (gnu packages mpd) #:use-module (gnu packages ncurses) @@ -213,6 +214,7 @@ (define-module (gnu packages music) #:use-module (gnu packages xiph) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) + #:use-module (ice-9 match) #:use-module ((srfi srfi-1) #:select (last))) (define-public alsa-scarlett-gui @@ -5374,6 +5376,88 @@ (define-public lmms can receive input from a MIDI keyboard.") (license license:gpl2+))) +;;; This package variant tracks the latest in-development 1.3 release. +(define-public lmms-1.3 + (let ((commit "d9737881cf482e89969948f56da954cbf5c11aca") ;from master branch + (revision "0")) + (package/inherit lmms + (version (git-version "1.3.0-alpha.1" revision commit)) + (source + (origin + (inherit (package-source lmms)) + (uri (git-reference + (url "https://github.com/LMMS/lmms") + (commit commit) + ;; Clone recursively for optional plugins. + (recursive? #t))) + (file-name (git-file-name (package-name lmms) version)) + (sha256 + (base32 "0hscgnbladrkbvv551bv7vzi5949gjhf397j35wghd07hwd2lrb0")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Delete the bundled 3rd party libraries. + (for-each delete-file-recursively + (list "plugins/CarlaBase/carla" + "plugins/OpulenZ/adplug" + "plugins/Xpressive/exprtk" + "src/3rdparty")) + (substitute* "CMakeLists.txt" + ;; Do not check the submodules. + ((".*CheckSubmodules.*") "") + ;; Unuse the bundled weakjack. + (("JACK libraries\" ON") "JACK libraries\" OFF")) + (substitute* "src/CMakeLists.txt" + ((".*3rdparty.*") "") + ;; Use adplug and ringbuffer from the system. + (("\\$\\{EXTRA_LIBRARIES\\}") + "${EXTRA_LIBRARIES}\n\tadplug\n\tringbuffer")) + (with-directory-excursion "plugins" + ;; Use carla from the system. + (substitute* "CarlaBase/Carla.h" + (("#include ") "") + (("") "") + (("") ""))) + ;; Unuse the bundled exprtk. + (substitute* "Xpressive/CMakeLists.txt" + ((".*\\(exprtk .*") "") + ((".*xpressive exprtk.*") ""))))))) + (inputs + (modify-inputs (package-inputs lmms) + (delete "rpmalloc") + (replace "carla" carla) + (replace "sdl12-compat" sdl2) + (append adplug + exprtk + lame + libxml2 + lilv + lv2 + perl + perl-list-moreutils + perl-xml-parser + ringbuffer + suil))) + (native-search-paths + (list (search-path-specification + (variable "LV2_PATH") + (files '("lib/lv2")))))))) + (define-public stargate (package (name "stargate") -- 2.46.0