From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8ESBJlI0MmDCNAAA0tVLHw (envelope-from ) for ; Sun, 21 Feb 2021 10:22:10 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QDY/IlI0MmD3TwAAB5/wlQ (envelope-from ) for ; Sun, 21 Feb 2021 10:22:10 +0000 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 5B5941CDF7 for ; Sun, 21 Feb 2021 11:22:10 +0100 (CET) Received: from localhost ([::1]:43814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDlsP-0004TL-31 for larch@yhetil.org; Sun, 21 Feb 2021 05:22:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDlsI-0004T7-S0 for guix-patches@gnu.org; Sun, 21 Feb 2021 05:22:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41995) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDlsI-0004Eb-Kb for guix-patches@gnu.org; Sun, 21 Feb 2021 05:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDlsI-0002Th-Fz for guix-patches@gnu.org; Sun, 21 Feb 2021 05:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46680] [PATCH] gnu: Add midicomp. Resent-From: Alexandros Theodotou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Feb 2021 10:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46680 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46680@debbugs.gnu.org Cc: Alexandros Theodotou X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16139029139510 (code B ref -1); Sun, 21 Feb 2021 10:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2021 10:21:53 +0000 Received: from localhost ([127.0.0.1]:53541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDls9-0002TJ-Dj for submit@debbugs.gnu.org; Sun, 21 Feb 2021 05:21:53 -0500 Received: from lists.gnu.org ([209.51.188.17]:45212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDls7-0002TA-EE for submit@debbugs.gnu.org; Sun, 21 Feb 2021 05:21:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDls7-0004NA-8e for guix-patches@gnu.org; Sun, 21 Feb 2021 05:21:51 -0500 Received: from mout01.posteo.de ([185.67.36.141]:52746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDls4-00047t-Sh for guix-patches@gnu.org; Sun, 21 Feb 2021 05:21:51 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7DB7816006C for ; Sun, 21 Feb 2021 11:21:46 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Dk1ZK4sXKz6tmK; Sun, 21 Feb 2021 11:21:45 +0100 (CET) From: Alexandros Theodotou Date: Sun, 21 Feb 2021 10:21:37 +0000 Message-Id: <20210221102137.22967-1-alex@zrythm.org> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.141; envelope-from=alex@zrythm.org; helo=mout01.posteo.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.73 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=zrythm.org (policy=none); spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 5B5941CDF7 X-Spam-Score: 2.73 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7q+MfP1A7PBY * gnu/packages/audio.scm (midicomp): New variable. --- gnu/packages/audio.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 16e0eec418..e910c314fd 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -1223,6 +1223,37 @@ object library.") language and software synthesizer.") (license license:lgpl2.1+))) +(define-public midicomp + ;; The latest tagged release is 9 years old and there have been + ;; unreleased fixes, so we take the last commit. + (let ((commit "70f76963cb0cdb3cbe03ec6e7246b1fb885d3c68") + (revision "1")) + (package + (name "midicomp") + (version (string-append "0.0.6-" revision "." (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/markc/midicomp") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "12zh247c6v88ssy4l8v7yirh4bl2jcc1ch7f4gdry79a82kai1gf")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ; no "check" target + (synopsis "MIDI compiler") + (description + "midicomp can manipulate SMF (Standard MIDI File) files. It can both + read and write SMF files in 0 or format 1 and also read and write its own + plain text format. This means a SMF file can be turned into easily + parseable text, edited with any text editor or filtered through any script + language, and recompiled back into a binary SMF file.") + (home-page "https://github.com/markc/midicomp") + (license license:agpl3)))) + (define-public clalsadrv (package (name "clalsadrv") -- 2.30.0