From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] Add Pure Data. Date: Thu, 06 Aug 2015 19:19:38 +0200 Message-ID: <87lhdopc5x.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/x-patch Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNOpc-0007bR-Hn for guix-devel@gnu.org; Thu, 06 Aug 2015 13:19:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNOpU-00052W-AH for guix-devel@gnu.org; Thu, 06 Aug 2015 13:19:52 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:25367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNOpU-00051T-20 for guix-devel@gnu.org; Thu, 06 Aug 2015 13:19:44 -0400 Content-Disposition: inline; filename=0001-gnu-Add-Pure-Data.patch List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel >From b93b9a3e4a87a0095398ac9256ea35de5407a3b6 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 6 Aug 2015 19:18:54 +0200 Subject: [PATCH] gnu: Add Pure Data. * gnu/packages/music.scm (pd): New variable. --- gnu/packages/music.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 9fa9ece..7ce7461 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -27,6 +27,7 @@ #:use-module (guix build-system waf) #:use-module (gnu packages) #:use-module (gnu packages audio) + #:use-module (gnu packages autotools) #:use-module (gnu packages base) ;libbdf #:use-module (gnu packages boost) #:use-module (gnu packages bison) @@ -63,12 +64,14 @@ #:use-module (gnu packages qt) #:use-module (gnu packages rdf) #:use-module (gnu packages rsync) + #:use-module (gnu packages tcl) #:use-module (gnu packages texinfo) #:use-module (gnu packages texlive) #:use-module (gnu packages web) #:use-module (gnu packages xml) #:use-module (gnu packages xiph) - #:use-module (gnu packages zip)) + #:use-module (gnu packages zip) + #:use-module ((srfi srfi-1) #:select (last))) (define-public extempore (package @@ -694,3 +697,57 @@ management, bend/slide/vibrato/hammer-on/pull-off effects, support for tuplets, time signature management, tempo management, gp3/gp4/gp5 import and export.") (license license:lgpl2.1+))) + +(define-public pd + (package + (name "pd") + (version "0.45.4") + (source (origin + (method url-fetch) + (uri + (string-append "mirror://sourceforge/pure-data/pure-data/" + version "/pd-" (version-major+minor version) + "-" (last (string-split version #\.)) + ".src.tar.gz")) + (sha256 + (base32 + "1ls2ap5yi2zxvmr247621g4jx0hhfds4j5704a050bn2n3l0va2p")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no "check" target + #:phases + (modify-phases %standard-phases + (add-before + 'configure 'fix-wish-path + (lambda _ + (substitute* "src/s_inter.c" + ((" wish ") (string-append " " (which "wish8.6") " "))) + (substitute* "tcl/pd-gui.tcl" + (("exec wish ") (string-append "exec " (which "wish8.6") " "))) + #t)) + (add-after + 'unpack 'autoconf + (lambda _ (zero? (system* "autoreconf" "-vfi"))))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("gettext" ,gnu-gettext) + ("pkg-config" ,pkg-config))) + (inputs + `(("tk" ,tk) + ("alsa-lib" ,alsa-lib) + ("jack" ,jack-1))) + (home-page "http://puredata.info") + (synopsis "Visual programming language") + (description + "Pure Data (aka Pd) is a visual programming language. Pd enables +musicians, visual artists, performers, researchers, and developers to create +software graphically, without writing lines of code. Pd is used to process +and generate sound, video, 2D/3D graphics, and interface sensors, input +devices, and MIDI. Pd can easily work over local and remote networks to +integrate wearable technology, motor systems, lighting rigs, and other +equipment. Pd is suitable for learning basic multimedia processing and visual +programming methods as well as for realizing complex systems for large-scale +projects.") + (license license:bsd-3))) -- 2.4.3