unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Add cursynth
@ 2014-03-20 16:07 Eric Bavier
  2014-03-20 20:46 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Bavier @ 2014-03-20 16:07 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: 0001-gnu-Add-cursynth.patch --]
[-- Type: text/x-diff, Size: 3215 bytes --]

From 0cf3d0c9b7e516be06fc8b363c3cdafc87448c6e Mon Sep 17 00:00:00 2001
From: Eric Bavier <bavier@member.fsf.org>
Date: Thu, 20 Mar 2014 10:59:24 -0500
Subject: [PATCH] gnu: Add cursynth

* gnu/packages/cursynth.scm: New file
* gnu-system.am (GNU_SYSTEM_MODULES): Add it
---
 gnu-system.am             |    1 +
 gnu/packages/cursynth.scm |   51 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 gnu/packages/cursynth.scm

diff --git a/gnu-system.am b/gnu-system.am
index 987c5a6..34695af 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -54,6 +54,7 @@ GNU_SYSTEM_MODULES =				\
   gnu/packages/cross-base.scm			\
   gnu/packages/cryptsetup.scm			\
   gnu/packages/curl.scm				\
+  gnu/packages/cursynth.scm			\
   gnu/packages/cyrus-sasl.scm			\
   gnu/packages/dc.scm				\
   gnu/packages/dejagnu.scm			\
diff --git a/gnu/packages/cursynth.scm b/gnu/packages/cursynth.scm
new file mode 100644
index 0000000..f2bbca4
--- /dev/null
+++ b/gnu/packages/cursynth.scm
@@ -0,0 +1,51 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages cursynth)
+  #:use-module (guix packages)
+  #:use-module (guix licenses)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages linux))
+
+(define-public cursynth
+  (package
+    (name "cursynth")
+    (version "1.4")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://gnu/cursynth/cursynth-"
+                          version ".tar.gz"))
+      (sha256
+       (base32 "1p9c54v9b0jjx33sammqsdi5xw65csly4cr1i08wv9x6r2yib55m"))))
+    (build-system gnu-build-system)
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (inputs `(("ncurses" ,ncurses)
+              ("alsa" ,alsa-lib)))      ;TODO: Use pulseaudio instead?
+    (home-page "http://www.gnu.org/software/cursynth")
+    (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
+    (description "GNU cursynth is a polyphonic synthesizer that runs
+graphically in the terminal.  It is built on a full-featured subtractive
+synthesis engine.  Notes and parameter changes may be entered via MIDI or the
+computer's keyboard.")
+    (license gpl3+)))
+
-- 
1.7.9.5


[-- Attachment #2: Type: text/plain, Size: 12 bytes --]


-- 
`~Eric

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

* Re: [PATCH] Add cursynth
  2014-03-20 16:07 [PATCH] Add cursynth Eric Bavier
@ 2014-03-20 20:46 ` Ludovic Courtès
  2014-03-21 22:09   ` Eric Bavier
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2014-03-20 20:46 UTC (permalink / raw)
  To: Eric Bavier; +Cc: guix-devel

Eric Bavier <ericbavier@gmail.com> skribis:

> From 0cf3d0c9b7e516be06fc8b363c3cdafc87448c6e Mon Sep 17 00:00:00 2001
> From: Eric Bavier <bavier@member.fsf.org>
> Date: Thu, 20 Mar 2014 10:59:24 -0500
> Subject: [PATCH] gnu: Add cursynth
>
> * gnu/packages/cursynth.scm: New file
> * gnu-system.am (GNU_SYSTEM_MODULES): Add it

[...]

> +    (inputs `(("ncurses" ,ncurses)
> +              ("alsa" ,alsa-lib)))      ;TODO: Use pulseaudio instead?

Yes, I think we should use PulseAudio consistently.

We should probably write this kind of choices somewhere, maybe under
“Packaging Guidelines”.  Any volunteer?

Thanks,
Ludo’.

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

* Re: [PATCH] Add cursynth
  2014-03-20 20:46 ` Ludovic Courtès
@ 2014-03-21 22:09   ` Eric Bavier
  2014-03-22 14:12     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Bavier @ 2014-03-21 22:09 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

ludo@gnu.org (Ludovic Courtès) writes:

> Eric Bavier <ericbavier@gmail.com> skribis:
>
>> From 0cf3d0c9b7e516be06fc8b363c3cdafc87448c6e Mon Sep 17 00:00:00
>> 2001 From: Eric Bavier <bavier@member.fsf.org> Date: Thu, 20 Mar
>> 2014 10:59:24 -0500 Subject: [PATCH] gnu: Add cursynth
>> * gnu/packages/cursynth.scm: New file * gnu-system.am
>> (GNU_SYSTEM_MODULES): Add it
>
> [...]
>
>> + (inputs `(("ncurses" ,ncurses) + ("alsa" ,alsa-lib))) ;TODO: Use
>> pulseaudio instead?
>
> Yes, I think we should use PulseAudio consistently.

BTW, I ran into some trouble anabling cursynth's pulseaudio support and
have contacted the developers, but haven't heard back yet.  Would it be
alright to push this patch in the meantime?

>
> We should probably write this kind of choices somewhere, maybe under
> “Packaging Guidelines”.  Any volunteer?

I might take a look at it.

Thanks

-- 
`~Eric

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

* Re: [PATCH] Add cursynth
  2014-03-21 22:09   ` Eric Bavier
@ 2014-03-22 14:12     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2014-03-22 14:12 UTC (permalink / raw)
  To: Eric Bavier; +Cc: guix-devel

Eric Bavier <ericbavier@gmail.com> skribis:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Eric Bavier <ericbavier@gmail.com> skribis:
>>
>>> From 0cf3d0c9b7e516be06fc8b363c3cdafc87448c6e Mon Sep 17 00:00:00
>>> 2001 From: Eric Bavier <bavier@member.fsf.org> Date: Thu, 20 Mar
>>> 2014 10:59:24 -0500 Subject: [PATCH] gnu: Add cursynth
>>> * gnu/packages/cursynth.scm: New file * gnu-system.am
>>> (GNU_SYSTEM_MODULES): Add it
>>
>> [...]
>>
>>> + (inputs `(("ncurses" ,ncurses) + ("alsa" ,alsa-lib))) ;TODO: Use
>>> pulseaudio instead?
>>
>> Yes, I think we should use PulseAudio consistently.
>
> BTW, I ran into some trouble anabling cursynth's pulseaudio support and
> have contacted the developers, but haven't heard back yet.  Would it be
> alright to push this patch in the meantime?

Yes, makes sense, with a comment about that.

>> We should probably write this kind of choices somewhere, maybe under
>> “Packaging Guidelines”.  Any volunteer?
>
> I might take a look at it.

Cool, thank you!

Ludo’.

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

end of thread, other threads:[~2014-03-22 14:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-20 16:07 [PATCH] Add cursynth Eric Bavier
2014-03-20 20:46 ` Ludovic Courtès
2014-03-21 22:09   ` Eric Bavier
2014-03-22 14:12     ` Ludovic Courtès

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).