unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49511: [PATCH] gnu: add a2jmidid
@ 2021-07-10 19:42 terramorpha
  2021-07-13 10:10 ` Efraim Flashner
  2021-07-13 17:38 ` terramorpha
  0 siblings, 2 replies; 4+ messages in thread
From: terramorpha @ 2021-07-10 19:42 UTC (permalink / raw)
  To: 49511

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 28661c5667..cd120a9dae 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -39,6 +39,7 @@
  ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
  ;;; Copyright © 2021 Frank Pursel <frank.pursel@gmail.com>
  ;;; Copyright © 2021 Rovanion Luckey <rovanion.luckey@gmail.com>
+;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
  ;;;
  ;;; This file is part of GNU Guix.
  ;;;
@@ -6679,3 +6680,27 @@ It is provided as an LV2 plugin and as a 
standalone Jack application.")
    framework.")
        (home-page "http://shiru.untergrund.net/software.shtml")
        (license license:wtfpl2))))
+
+(define-public a2jmidid
+  (package
+    (name "a2jmidid")
+    (version "9")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/jackaudio/a2jmidid")
+                    (commit version)))
+              (sha256 (base32 
"1x6rcl3f4nklnx4p5jln9a7fpj9y7agjxs9rw7cccmwnski7pnsq"))
+              (file-name (string-append "a2jmidid-" version))))
+    (arguments `(#:tests? #f))
+    (build-system meson-build-system)
+    (inputs `(("jack" ,jack-1)
+              ("alsa-lib" ,alsa-lib)
+              ("dbus" ,dbus)))
+    (native-inputs `(("pkg-config" ,pkg-config)
+                     ("cmake" ,cmake)))
+    (synopsis "Bridge program to create jack midi devices for each alsa 
midi device")
+    (description
+     "a2jmidid is a daemon that implements automatic bridging of alsa 
midi devices to jack midi devices")
+    (home-page "https://github.com/jackaudio/a2jmidid")
+    (license license:gpl2)))




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#49511: [PATCH] gnu: add a2jmidid
  2021-07-10 19:42 bug#49511: [PATCH] gnu: add a2jmidid terramorpha
@ 2021-07-13 10:10 ` Efraim Flashner
  2021-07-13 17:38 ` terramorpha
  1 sibling, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2021-07-13 10:10 UTC (permalink / raw)
  To: terramorpha; +Cc: 49511


[-- Attachment #1.1: Type: text/plain, Size: 324 bytes --]

I made some changes to the package but I don't use jack so I can't test
it out. Can you see if this works?


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #1.2: 0001-bug-49511-PATCH-gnu-add-a2jmidid.patch --]
[-- Type: text/plain, Size: 2880 bytes --]

From cba2be5634a7f2bc1a5f3980d8016ce8f1398fc7 Mon Sep 17 00:00:00 2001
Message-Id: <cba2be5634a7f2bc1a5f3980d8016ce8f1398fc7.1626170961.git.efraim@flashner.co.il>
From: "terramorpha@cock.li" <terramorpha@cock.li>
Date: Sat, 10 Jul 2021 15:42:25 -0400
Subject: [PATCH] bug#49511: [PATCH] gnu: add a2jmidid

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/music.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 28661c5667..c616fe01a3 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -39,6 +39,7 @@
 ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
 ;;; Copyright © 2021 Frank Pursel <frank.pursel@gmail.com>
 ;;; Copyright © 2021 Rovanion Luckey <rovanion.luckey@gmail.com>
+;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6679,3 +6680,44 @@ It is provided as an LV2 plugin and as a standalone Jack application.")
   framework.")
       (home-page "http://shiru.untergrund.net/software.shtml")
       (license license:wtfpl2))))
+
+(define-public a2jmidid
+  (package
+    (name "a2jmidid")
+    (version "9")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/jackaudio/a2jmidid")
+                    (commit version)))
+              (sha256
+               (base32 "1x6rcl3f4nklnx4p5jln9a7fpj9y7agjxs9rw7cccmwnski7pnsq"))
+              (file-name (git-file-name name version))))
+    (arguments
+     `(#:tests? #f      ; No tests.
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'wrap-programs
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (bin (string-append out "/bin/")))
+               (substitute* (string-append bin "a2j")
+                 (("a2j_control") (string-append bin "a2j_control")))
+               (wrap-program (string-append bin "a2j_control")
+                `("PYTHONPATH" prefix (,(getenv "PYTHONPATH"))))
+               #t))))))
+    (build-system meson-build-system)
+    (inputs
+     `(("alsa-lib" ,alsa-lib)
+       ("dbus" ,dbus)
+       ("jack" ,jack-1)
+       ("python" ,python)
+       ("python-dbus" ,python-dbus)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (synopsis "ALSA sequencer to JACK MIDI bridging")
+    (description
+     "@code{a2jmidid} is a daemon that implements automatic bridging of ALSA
+midi devices to JACK midi devices.")
+    (home-page "https://github.com/jackaudio/a2jmidid")
+    (license license:gpl2)))

base-commit: 956b6b078edbb96c207747e89ae485d8a4268c6b
-- 
2.32.0


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#49511: [PATCH] gnu: add a2jmidid.
  2021-07-10 19:42 bug#49511: [PATCH] gnu: add a2jmidid terramorpha
  2021-07-13 10:10 ` Efraim Flashner
@ 2021-07-13 17:38 ` terramorpha
  2021-07-14  6:24   ` Efraim Flashner
  1 sibling, 1 reply; 4+ messages in thread
From: terramorpha @ 2021-07-13 17:38 UTC (permalink / raw)
  To: 49511

I can confirm it works.

Cheers.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#49511: [PATCH] gnu: add a2jmidid.
  2021-07-13 17:38 ` terramorpha
@ 2021-07-14  6:24   ` Efraim Flashner
  0 siblings, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2021-07-14  6:24 UTC (permalink / raw)
  To: terramorpha; +Cc: 49511-done

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

On Tue, Jul 13, 2021 at 01:38:53PM -0400, terramorpha@cock.li wrote:
> I can confirm it works.

Thanks. Patch pushed!

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-14  6:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-10 19:42 bug#49511: [PATCH] gnu: add a2jmidid terramorpha
2021-07-13 10:10 ` Efraim Flashner
2021-07-13 17:38 ` terramorpha
2021-07-14  6:24   ` Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).