GNU bug report logs - #32988
[PATCH]: gnu: Add libpd.

Previous Next

Package: guix-patches;

Reported by: iyzsong <at> member.fsf.org (宋文武)

Date: Mon, 8 Oct 2018 14:01:01 UTC

Severity: normal

Tags: patch

Done: iyzsong <at> member.fsf.org (宋文武)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32988 in the body.
You can then email your comments to 32988 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#32988; Package guix-patches. (Mon, 08 Oct 2018 14:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to iyzsong <at> member.fsf.org (宋文武):
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 08 Oct 2018 14:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> member.fsf.org (宋文武)
To: guix-patches <at> gnu.org
Subject: [PATCH]: gnu: Add libpd.
Date: Mon, 08 Oct 2018 21:51:37 +0800
[Message part 1 (text/plain, inline)]
Hello, the follow patch add libpd, which strips audio driver parts from
pd (Pure Data) to make it as an embeddable C library:

[0001-gnu-Add-libpd.patch (text/x-patch, inline)]
From c699c159587934ca36507e5edabd284164a2e850 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong <at> 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


Information forwarded to guix-patches <at> gnu.org:
bug#32988; Package guix-patches. (Thu, 11 Oct 2018 20:31:01 GMT) Full text and rfc822 format available.

Message #8 received at 32988 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: 宋文武 <iyzsong <at> member.fsf.org>
Cc: 32988 <at> debbugs.gnu.org
Subject: Re: [bug#32988] [PATCH]: gnu: Add libpd.
Date: Thu, 11 Oct 2018 16:30:08 -0400
[Message part 1 (text/plain, inline)]
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."
[signature.asc (application/pgp-signature, inline)]

Reply sent to iyzsong <at> member.fsf.org (宋文武):
You have taken responsibility. (Fri, 12 Oct 2018 14:26:01 GMT) Full text and rfc822 format available.

Notification sent to iyzsong <at> member.fsf.org (宋文武):
bug acknowledged by developer. (Fri, 12 Oct 2018 14:26:02 GMT) Full text and rfc822 format available.

Message #13 received at 32988-done <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> member.fsf.org (宋文武)
To: Leo Famulari <leo <at> famulari.name>
Cc: 32988-done <at> debbugs.gnu.org
Subject: Re: [bug#32988] [PATCH]: gnu: Add libpd.
Date: Fri, 12 Oct 2018 22:24:43 +0800
Leo Famulari <leo <at> 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!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 10 Nov 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.