From patchwork Sun Feb 21 10:21:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandros Theodotou X-Patchwork-Id: 27181 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 7FC3727BC49; Sun, 21 Feb 2021 10:22:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 428F427BC48 for ; Sun, 21 Feb 2021 10:22:09 +0000 (GMT) Received: from localhost ([::1]:43814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDlsO-0004TL-DR for patchwork@mira.cbaines.net; Sun, 21 Feb 2021 05:22:08 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")