all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#32988] [PATCH]: gnu: Add libpd.
@ 2018-10-08 13:51 宋文武
  2018-10-11 20:30 ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: 宋文武 @ 2018-10-08 13:51 UTC (permalink / raw)
  To: 32988

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

Hello, the follow patch add libpd, which strips audio driver parts from
pd (Pure Data) to make it as an embeddable C library:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-libpd.patch --]
[-- Type: text/x-patch, Size: 2226 bytes --]

From c699c159587934ca36507e5edabd284164a2e850 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@member.fsf.org>
Date: Mon, 8 Oct 2018 21:42:28 +0800
Subject: [PATCH] gnu: Add libpd.

* gnu/packages/music.scm (libpd): New variable.
---
 gnu/packages/music.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 3163e6a8f..69a2ae2fc 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1777,6 +1777,42 @@ programming methods as well as for realizing complex systems for large-scale
 projects.")
     (license license:bsd-3)))
 
+(define-public libpd
+  (package
+    (name "libpd")
+    (version "0.11.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/libpd/libpd.git")
+                    (commit version)
+                    (recursive? #t)))   ; for the 'pure-data' submodule
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+               (base32
+                "1bcg1d9iyf9n37hwwphmih0c8rd1xcqykil5z1cax6xfs76552nk"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:tests? #f                      ; no tests
+       #:make-flags '("CC=gcc")
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)            ; no configure script
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (invoke "make" "install"
+                       (string-append "prefix=" out)
+                       ;; XXX: Fix the last 2 lines of 'install' target.
+                       "LIBPD_IMPLIB=NO"
+                       "LIBPD_DEF=NO")))))))
+    (home-page "http://libpd.cc/")
+    (synopsis "Pure Data as an embeddable audio synthesis library")
+    (description
+     "Libpd embedding Pure Data as a DSP library, its main purpose
+is to liberate raw audio rendering from audio drivers and MIDI drivers.")
+    (license license:bsd-3)))
+
 (define-public portmidi
   (package
     (name "portmidi")
-- 
2.19.0


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

* [bug#32988] [PATCH]: gnu: Add libpd.
  2018-10-08 13:51 [bug#32988] [PATCH]: gnu: Add libpd 宋文武
@ 2018-10-11 20:30 ` Leo Famulari
  2018-10-12 14:24   ` bug#32988: " 宋文武
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2018-10-11 20:30 UTC (permalink / raw)
  To: 宋文武; +Cc: 32988

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

On Mon, Oct 08, 2018 at 09:51:37PM +0800, 宋文武 wrote:
> Hello, the follow patch add libpd, which strips audio driver parts from
> pd (Pure Data) to make it as an embeddable C library:

Cool!

> +    (description
> +     "Libpd embedding Pure Data as a DSP library, its main purpose
> +is to liberate raw audio rendering from audio drivers and MIDI drivers.")

How about this?

"Libpd provides Pure Data as an embeddable audio synthesis library.  Its main
purpose is to liberate raw audio rendering from audio and MIDI drivers."

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

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

* bug#32988: [PATCH]: gnu: Add libpd.
  2018-10-11 20:30 ` Leo Famulari
@ 2018-10-12 14:24   ` 宋文武
  0 siblings, 0 replies; 3+ messages in thread
From: 宋文武 @ 2018-10-12 14:24 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 32988-done

Leo Famulari <leo@famulari.name> writes:

> On Mon, Oct 08, 2018 at 09:51:37PM +0800, 宋文武 wrote:
>> Hello, the follow patch add libpd, which strips audio driver parts from
>> pd (Pure Data) to make it as an embeddable C library:
>
> Cool!
>
>> +    (description
>> +     "Libpd embedding Pure Data as a DSP library, its main purpose
>> +is to liberate raw audio rendering from audio drivers and MIDI drivers.")
>
> How about this?
>
> "Libpd provides Pure Data as an embeddable audio synthesis library.  Its main
> purpose is to liberate raw audio rendering from audio and MIDI drivers."

Sure, thank you for the review!

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

end of thread, other threads:[~2018-10-12 14:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-08 13:51 [bug#32988] [PATCH]: gnu: Add libpd 宋文武
2018-10-11 20:30 ` Leo Famulari
2018-10-12 14:24   ` bug#32988: " 宋文武

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.